Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ class DomainservicesManagementClient extends DomainservicesManagementClientConte
// Operation groups
domainServiceOperations: operations.DomainServiceOperations;
domainServices: operations.DomainServices;
ouContainerOperations: operations.OuContainerOperations;
ouContainer: operations.OuContainerOperationsOperations;

/**
* Initializes a new instance of the DomainservicesManagementClient class.
Expand All @@ -31,6 +33,8 @@ class DomainservicesManagementClient extends DomainservicesManagementClientConte
super(credentials, subscriptionId, options);
this.domainServiceOperations = new operations.DomainServiceOperations(this);
this.domainServices = new operations.DomainServices(this);
this.ouContainerOperations = new operations.OuContainerOperations(this);
this.ouContainer = new operations.OuContainerOperationsOperations(this);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@
export {
BaseResource,
CloudError,
ContainerAccount,
DomainSecuritySettings,
DomainService,
DomainServiceListResult,
HealthAlert,
HealthMonitor,
LdapsSettings,
NotificationSettings,
OuContainer,
Resource
} from "../models/mappers";
251 changes: 251 additions & 0 deletions sdk/domainservices/arm-domainservices/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,64 @@ export interface OperationEntity {
origin?: string;
}

/**
* Container Account Description
*/
export interface ContainerAccount {
/**
* The account name
*/
accountName?: string;
/**
* The account spn
*/
spn?: string;
/**
* The account password
*/
password?: string;
}

/**
* Resource for OuContainer.
*/
export interface OuContainer extends Resource {
/**
* Azure Active Directory tenant id
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly tenantId?: string;
/**
* The domain name of Domain Services.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly domainName?: string;
/**
* The Deployment id
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly deploymentId?: string;
/**
* The OuContainer name
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly containerId?: string;
/**
* The list of container accounts
*/
accounts?: ContainerAccount[];
/**
* Status of OuContainer instance
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly serviceStatus?: string;
/**
* The current deployment or provisioning state, which only appears in the response.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly provisioningState?: string;
}

/**
* An interface representing DomainservicesManagementClientOptions.
*/
Expand Down Expand Up @@ -335,6 +393,19 @@ export interface DomainServiceListResult extends Array<DomainService> {
readonly nextLink?: string;
}

/**
* @interface
* The response from the List OuContainer operation.
* @extends Array<OuContainer>
*/
export interface OuContainerListResult extends Array<OuContainer> {
/**
* The continuation token for the next page of results.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly nextLink?: string;
}

/**
* Defines values for Ldaps.
* Possible values include: 'Enabled', 'Disabled'
Expand Down Expand Up @@ -618,3 +689,183 @@ export type DomainServicesListByResourceGroupNextResponse = DomainServiceListRes
parsedBody: DomainServiceListResult;
};
};

/**
* Contains response data for the list operation.
*/
export type OuContainerOperationsListResponse = OperationEntityListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: OperationEntityListResult;
};
};

/**
* Contains response data for the listNext operation.
*/
export type OuContainerOperationsListNextResponse = OperationEntityListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: OperationEntityListResult;
};
};

/**
* Contains response data for the list operation.
*/
export type OuContainerListResponse = OuContainerListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: OuContainerListResult;
};
};

/**
* Contains response data for the get operation.
*/
export type OuContainerGetResponse = OuContainer & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: OuContainer;
};
};

/**
* Contains response data for the create operation.
*/
export type OuContainerCreateResponse = OuContainer & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: OuContainer;
};
};

/**
* Contains response data for the update operation.
*/
export type OuContainerUpdateResponse = OuContainer & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: OuContainer;
};
};

/**
* Contains response data for the beginCreate operation.
*/
export type OuContainerBeginCreateResponse = OuContainer & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: OuContainer;
};
};

/**
* Contains response data for the beginUpdate operation.
*/
export type OuContainerBeginUpdateResponse = OuContainer & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: OuContainer;
};
};

/**
* Contains response data for the listNext operation.
*/
export type OuContainerListNextResponse = OuContainerListResult & {
/**
* The underlying HTTP response.
*/
_response: msRest.HttpResponse & {
/**
* The response body as text (string format)
*/
bodyAsText: string;

/**
* The response body as parsed JSON or XML
*/
parsedBody: OuContainerListResult;
};
};
Loading