@azure/arm-domainservices 0.1.0 → 4.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/LICENSE.txt +21 -21
  4. package/README.md +98 -96
  5. package/dist/index.js +2502 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/index.min.js +1 -0
  8. package/dist/index.min.js.map +1 -0
  9. package/dist-esm/src/domainServicesResourceProvider.d.ts +22 -0
  10. package/dist-esm/src/domainServicesResourceProvider.d.ts.map +1 -0
  11. package/dist-esm/src/domainServicesResourceProvider.js +55 -0
  12. package/dist-esm/src/domainServicesResourceProvider.js.map +1 -0
  13. package/dist-esm/src/index.d.ts +5 -0
  14. package/dist-esm/src/index.d.ts.map +1 -0
  15. package/dist-esm/src/index.js +12 -0
  16. package/dist-esm/src/index.js.map +1 -0
  17. package/dist-esm/src/lroImpl.d.ts +16 -0
  18. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  19. package/dist-esm/src/lroImpl.js +29 -0
  20. package/dist-esm/src/lroImpl.js.map +1 -0
  21. package/dist-esm/src/models/index.d.ts +768 -0
  22. package/dist-esm/src/models/index.d.ts.map +1 -0
  23. package/dist-esm/src/models/index.js +98 -0
  24. package/dist-esm/src/models/index.js.map +1 -0
  25. package/dist-esm/src/models/mappers.d.ts +27 -0
  26. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  27. package/dist-esm/src/models/mappers.js +1015 -0
  28. package/dist-esm/src/models/mappers.js.map +1 -0
  29. package/dist-esm/src/models/parameters.d.ts +13 -0
  30. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  31. package/dist-esm/src/models/parameters.js +117 -0
  32. package/dist-esm/src/models/parameters.js.map +1 -0
  33. package/dist-esm/src/operations/domainServiceOperations.d.ts +32 -0
  34. package/dist-esm/src/operations/domainServiceOperations.d.ts.map +1 -0
  35. package/dist-esm/src/operations/domainServiceOperations.js +120 -0
  36. package/dist-esm/src/operations/domainServiceOperations.js.map +1 -0
  37. package/dist-esm/src/operations/domainServices.d.ts +127 -0
  38. package/dist-esm/src/operations/domainServices.d.ts.map +1 -0
  39. package/dist-esm/src/operations/domainServices.js +520 -0
  40. package/dist-esm/src/operations/domainServices.js.map +1 -0
  41. package/dist-esm/src/operations/index.d.ts +5 -0
  42. package/dist-esm/src/operations/index.d.ts.map +1 -0
  43. package/dist-esm/src/operations/index.js +12 -0
  44. package/dist-esm/src/operations/index.js.map +1 -0
  45. package/dist-esm/src/operations/ouContainerOperationGrp.d.ts +111 -0
  46. package/dist-esm/src/operations/ouContainerOperationGrp.d.ts.map +1 -0
  47. package/dist-esm/src/operations/ouContainerOperationGrp.js +441 -0
  48. package/dist-esm/src/operations/ouContainerOperationGrp.js.map +1 -0
  49. package/dist-esm/src/operations/ouContainerOperations.d.ts +32 -0
  50. package/dist-esm/src/operations/ouContainerOperations.d.ts.map +1 -0
  51. package/dist-esm/src/operations/ouContainerOperations.js +120 -0
  52. package/dist-esm/src/operations/ouContainerOperations.js.map +1 -0
  53. package/dist-esm/src/operationsInterfaces/domainServiceOperations.d.ts +11 -0
  54. package/dist-esm/src/operationsInterfaces/domainServiceOperations.d.ts.map +1 -0
  55. package/dist-esm/src/operationsInterfaces/domainServiceOperations.js +9 -0
  56. package/dist-esm/src/operationsInterfaces/domainServiceOperations.js.map +1 -0
  57. package/dist-esm/src/operationsInterfaces/domainServices.d.ts +87 -0
  58. package/dist-esm/src/operationsInterfaces/domainServices.d.ts.map +1 -0
  59. package/dist-esm/src/operationsInterfaces/domainServices.js +9 -0
  60. package/dist-esm/src/operationsInterfaces/domainServices.js.map +1 -0
  61. package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
  62. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  63. package/dist-esm/src/operationsInterfaces/index.js +12 -0
  64. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  65. package/dist-esm/src/operationsInterfaces/ouContainerOperationGrp.d.ts +84 -0
  66. package/dist-esm/src/operationsInterfaces/ouContainerOperationGrp.d.ts.map +1 -0
  67. package/dist-esm/src/operationsInterfaces/ouContainerOperationGrp.js +9 -0
  68. package/dist-esm/src/operationsInterfaces/ouContainerOperationGrp.js.map +1 -0
  69. package/dist-esm/src/operationsInterfaces/ouContainerOperations.d.ts +11 -0
  70. package/dist-esm/src/operationsInterfaces/ouContainerOperations.d.ts.map +1 -0
  71. package/dist-esm/src/operationsInterfaces/ouContainerOperations.js +9 -0
  72. package/dist-esm/src/operationsInterfaces/ouContainerOperations.js.map +1 -0
  73. package/dist-esm/test/sampleTest.d.ts +2 -0
  74. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  75. package/dist-esm/test/sampleTest.js +40 -0
  76. package/dist-esm/test/sampleTest.js.map +1 -0
  77. package/package.json +71 -34
  78. package/review/arm-domainservices.api.md +591 -0
  79. package/rollup.config.js +184 -27
  80. package/src/domainServicesResourceProvider.ts +92 -0
  81. package/src/index.ts +12 -0
  82. package/src/lroImpl.ts +34 -0
  83. package/src/models/index.ts +868 -0
  84. package/src/models/mappers.ts +1069 -0
  85. package/src/models/parameters.ts +136 -0
  86. package/src/operations/domainServiceOperations.ts +137 -0
  87. package/src/operations/domainServices.ts +690 -0
  88. package/{lib → src}/operations/index.ts +5 -5
  89. package/src/operations/ouContainerOperationGrp.ts +632 -0
  90. package/src/operations/ouContainerOperations.ts +137 -0
  91. package/src/operationsInterfaces/domainServiceOperations.ts +25 -0
  92. package/src/operationsInterfaces/domainServices.ts +154 -0
  93. package/src/operationsInterfaces/index.ts +12 -0
  94. package/src/operationsInterfaces/ouContainerOperationGrp.ts +157 -0
  95. package/src/operationsInterfaces/ouContainerOperations.ts +25 -0
  96. package/tsconfig.json +4 -4
  97. package/types/arm-domainservices.d.ts +1062 -0
  98. package/types/tsdoc-metadata.json +11 -0
  99. package/dist/arm-domainservices.js +0 -1223
  100. package/dist/arm-domainservices.js.map +0 -1
  101. package/dist/arm-domainservices.min.js +0 -1
  102. package/dist/arm-domainservices.min.js.map +0 -1
  103. package/esm/domainservicesManagementClient.d.ts +0 -20
  104. package/esm/domainservicesManagementClient.d.ts.map +0 -1
  105. package/esm/domainservicesManagementClient.js +0 -35
  106. package/esm/domainservicesManagementClient.js.map +0 -1
  107. package/esm/domainservicesManagementClientContext.d.ts +0 -17
  108. package/esm/domainservicesManagementClientContext.d.ts.map +0 -1
  109. package/esm/domainservicesManagementClientContext.js +0 -57
  110. package/esm/domainservicesManagementClientContext.js.map +0 -1
  111. package/esm/models/domainServiceOperationsMappers.d.ts +0 -2
  112. package/esm/models/domainServiceOperationsMappers.d.ts.map +0 -1
  113. package/esm/models/domainServiceOperationsMappers.js +0 -11
  114. package/esm/models/domainServiceOperationsMappers.js.map +0 -1
  115. package/esm/models/domainServicesMappers.d.ts +0 -2
  116. package/esm/models/domainServicesMappers.d.ts.map +0 -1
  117. package/esm/models/domainServicesMappers.js +0 -11
  118. package/esm/models/domainServicesMappers.js.map +0 -1
  119. package/esm/models/index.d.ts +0 -693
  120. package/esm/models/index.d.ts.map +0 -1
  121. package/esm/models/index.js +0 -10
  122. package/esm/models/index.js.map +0 -1
  123. package/esm/models/mappers.d.ts +0 -15
  124. package/esm/models/mappers.d.ts.map +0 -1
  125. package/esm/models/mappers.js +0 -498
  126. package/esm/models/mappers.js.map +0 -1
  127. package/esm/models/parameters.d.ts +0 -8
  128. package/esm/models/parameters.d.ts.map +0 -1
  129. package/esm/models/parameters.js +0 -76
  130. package/esm/models/parameters.js.map +0 -1
  131. package/esm/operations/domainServiceOperations.d.ts +0 -46
  132. package/esm/operations/domainServiceOperations.d.ts.map +0 -1
  133. package/esm/operations/domainServiceOperations.js +0 -77
  134. package/esm/operations/domainServiceOperations.js.map +0 -1
  135. package/esm/operations/domainServices.d.ts +0 -189
  136. package/esm/operations/domainServices.d.ts.map +0 -1
  137. package/esm/operations/domainServices.js +0 -356
  138. package/esm/operations/domainServices.js.map +0 -1
  139. package/esm/operations/index.d.ts +0 -3
  140. package/esm/operations/index.d.ts.map +0 -1
  141. package/esm/operations/index.js +0 -12
  142. package/esm/operations/index.js.map +0 -1
  143. package/lib/domainservicesManagementClient.ts +0 -45
  144. package/lib/domainservicesManagementClientContext.ts +0 -63
  145. package/lib/models/domainServiceOperationsMappers.ts +0 -17
  146. package/lib/models/domainServicesMappers.ts +0 -23
  147. package/lib/models/index.ts +0 -736
  148. package/lib/models/mappers.ts +0 -526
  149. package/lib/models/parameters.ts +0 -78
  150. package/lib/operations/domainServiceOperations.ts +0 -123
  151. package/lib/operations/domainServices.ts +0 -513
@@ -0,0 +1,137 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { OuContainerOperations } from "../operationsInterfaces";
11
+ import * as coreClient from "@azure/core-client";
12
+ import * as Mappers from "../models/mappers";
13
+ import * as Parameters from "../models/parameters";
14
+ import { DomainServicesResourceProvider } from "../domainServicesResourceProvider";
15
+ import {
16
+ OperationEntity,
17
+ OuContainerOperationsListNextOptionalParams,
18
+ OuContainerOperationsListOptionalParams,
19
+ OuContainerOperationsListResponse,
20
+ OuContainerOperationsListNextResponse
21
+ } from "../models";
22
+
23
+ /// <reference lib="esnext.asynciterable" />
24
+ /** Class containing OuContainerOperations operations. */
25
+ export class OuContainerOperationsImpl implements OuContainerOperations {
26
+ private readonly client: DomainServicesResourceProvider;
27
+
28
+ /**
29
+ * Initialize a new instance of the class OuContainerOperations class.
30
+ * @param client Reference to the service client
31
+ */
32
+ constructor(client: DomainServicesResourceProvider) {
33
+ this.client = client;
34
+ }
35
+
36
+ /**
37
+ * Lists all the available OuContainer operations.
38
+ * @param options The options parameters.
39
+ */
40
+ public list(
41
+ options?: OuContainerOperationsListOptionalParams
42
+ ): PagedAsyncIterableIterator<OperationEntity> {
43
+ const iter = this.listPagingAll(options);
44
+ return {
45
+ next() {
46
+ return iter.next();
47
+ },
48
+ [Symbol.asyncIterator]() {
49
+ return this;
50
+ },
51
+ byPage: () => {
52
+ return this.listPagingPage(options);
53
+ }
54
+ };
55
+ }
56
+
57
+ private async *listPagingPage(
58
+ options?: OuContainerOperationsListOptionalParams
59
+ ): AsyncIterableIterator<OperationEntity[]> {
60
+ let result = await this._list(options);
61
+ yield result.value || [];
62
+ let continuationToken = result.nextLink;
63
+ while (continuationToken) {
64
+ result = await this._listNext(continuationToken, options);
65
+ continuationToken = result.nextLink;
66
+ yield result.value || [];
67
+ }
68
+ }
69
+
70
+ private async *listPagingAll(
71
+ options?: OuContainerOperationsListOptionalParams
72
+ ): AsyncIterableIterator<OperationEntity> {
73
+ for await (const page of this.listPagingPage(options)) {
74
+ yield* page;
75
+ }
76
+ }
77
+
78
+ /**
79
+ * Lists all the available OuContainer operations.
80
+ * @param options The options parameters.
81
+ */
82
+ private _list(
83
+ options?: OuContainerOperationsListOptionalParams
84
+ ): Promise<OuContainerOperationsListResponse> {
85
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
86
+ }
87
+
88
+ /**
89
+ * ListNext
90
+ * @param nextLink The nextLink from the previous successful call to the List method.
91
+ * @param options The options parameters.
92
+ */
93
+ private _listNext(
94
+ nextLink: string,
95
+ options?: OuContainerOperationsListNextOptionalParams
96
+ ): Promise<OuContainerOperationsListNextResponse> {
97
+ return this.client.sendOperationRequest(
98
+ { nextLink, options },
99
+ listNextOperationSpec
100
+ );
101
+ }
102
+ }
103
+ // Operation Specifications
104
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
105
+
106
+ const listOperationSpec: coreClient.OperationSpec = {
107
+ path: "/providers/Microsoft.Aad/operations",
108
+ httpMethod: "GET",
109
+ responses: {
110
+ 200: {
111
+ bodyMapper: Mappers.OperationEntityListResult
112
+ },
113
+ default: {
114
+ bodyMapper: Mappers.CloudError
115
+ }
116
+ },
117
+ queryParameters: [Parameters.apiVersion],
118
+ urlParameters: [Parameters.$host],
119
+ headerParameters: [Parameters.accept],
120
+ serializer
121
+ };
122
+ const listNextOperationSpec: coreClient.OperationSpec = {
123
+ path: "{nextLink}",
124
+ httpMethod: "GET",
125
+ responses: {
126
+ 200: {
127
+ bodyMapper: Mappers.OperationEntityListResult
128
+ },
129
+ default: {
130
+ bodyMapper: Mappers.CloudError
131
+ }
132
+ },
133
+ queryParameters: [Parameters.apiVersion],
134
+ urlParameters: [Parameters.$host, Parameters.nextLink],
135
+ headerParameters: [Parameters.accept],
136
+ serializer
137
+ };
@@ -0,0 +1,25 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ OperationEntity,
12
+ DomainServiceOperationsListOptionalParams
13
+ } from "../models";
14
+
15
+ /// <reference lib="esnext.asynciterable" />
16
+ /** Interface representing a DomainServiceOperations. */
17
+ export interface DomainServiceOperations {
18
+ /**
19
+ * Lists all the available Domain Services operations.
20
+ * @param options The options parameters.
21
+ */
22
+ list(
23
+ options?: DomainServiceOperationsListOptionalParams
24
+ ): PagedAsyncIterableIterator<OperationEntity>;
25
+ }
@@ -0,0 +1,154 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ DomainService,
13
+ DomainServicesListOptionalParams,
14
+ DomainServicesListByResourceGroupOptionalParams,
15
+ DomainServicesCreateOrUpdateOptionalParams,
16
+ DomainServicesCreateOrUpdateResponse,
17
+ DomainServicesGetOptionalParams,
18
+ DomainServicesGetResponse,
19
+ DomainServicesDeleteOptionalParams,
20
+ DomainServicesUpdateOptionalParams,
21
+ DomainServicesUpdateResponse
22
+ } from "../models";
23
+
24
+ /// <reference lib="esnext.asynciterable" />
25
+ /** Interface representing a DomainServices. */
26
+ export interface DomainServices {
27
+ /**
28
+ * The List Domain Services in Subscription operation lists all the domain services available under the
29
+ * given subscription (and across all resource groups within that subscription).
30
+ * @param options The options parameters.
31
+ */
32
+ list(
33
+ options?: DomainServicesListOptionalParams
34
+ ): PagedAsyncIterableIterator<DomainService>;
35
+ /**
36
+ * The List Domain Services in Resource Group operation lists all the domain services available under
37
+ * the given resource group.
38
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
39
+ * case insensitive.
40
+ * @param options The options parameters.
41
+ */
42
+ listByResourceGroup(
43
+ resourceGroupName: string,
44
+ options?: DomainServicesListByResourceGroupOptionalParams
45
+ ): PagedAsyncIterableIterator<DomainService>;
46
+ /**
47
+ * The Create Domain Service operation creates a new domain service with the specified parameters. If
48
+ * the specific service already exists, then any patchable properties will be updated and any immutable
49
+ * properties will remain unchanged.
50
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
51
+ * case insensitive.
52
+ * @param domainServiceName The name of the domain service.
53
+ * @param domainService Properties supplied to the Create or Update a Domain Service operation.
54
+ * @param options The options parameters.
55
+ */
56
+ beginCreateOrUpdate(
57
+ resourceGroupName: string,
58
+ domainServiceName: string,
59
+ domainService: DomainService,
60
+ options?: DomainServicesCreateOrUpdateOptionalParams
61
+ ): Promise<
62
+ PollerLike<
63
+ PollOperationState<DomainServicesCreateOrUpdateResponse>,
64
+ DomainServicesCreateOrUpdateResponse
65
+ >
66
+ >;
67
+ /**
68
+ * The Create Domain Service operation creates a new domain service with the specified parameters. If
69
+ * the specific service already exists, then any patchable properties will be updated and any immutable
70
+ * properties will remain unchanged.
71
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
72
+ * case insensitive.
73
+ * @param domainServiceName The name of the domain service.
74
+ * @param domainService Properties supplied to the Create or Update a Domain Service operation.
75
+ * @param options The options parameters.
76
+ */
77
+ beginCreateOrUpdateAndWait(
78
+ resourceGroupName: string,
79
+ domainServiceName: string,
80
+ domainService: DomainService,
81
+ options?: DomainServicesCreateOrUpdateOptionalParams
82
+ ): Promise<DomainServicesCreateOrUpdateResponse>;
83
+ /**
84
+ * The Get Domain Service operation retrieves a json representation of the Domain Service.
85
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
86
+ * case insensitive.
87
+ * @param domainServiceName The name of the domain service.
88
+ * @param options The options parameters.
89
+ */
90
+ get(
91
+ resourceGroupName: string,
92
+ domainServiceName: string,
93
+ options?: DomainServicesGetOptionalParams
94
+ ): Promise<DomainServicesGetResponse>;
95
+ /**
96
+ * The Delete Domain Service operation deletes an existing Domain Service.
97
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
98
+ * case insensitive.
99
+ * @param domainServiceName The name of the domain service.
100
+ * @param options The options parameters.
101
+ */
102
+ beginDelete(
103
+ resourceGroupName: string,
104
+ domainServiceName: string,
105
+ options?: DomainServicesDeleteOptionalParams
106
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
107
+ /**
108
+ * The Delete Domain Service operation deletes an existing Domain Service.
109
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
110
+ * case insensitive.
111
+ * @param domainServiceName The name of the domain service.
112
+ * @param options The options parameters.
113
+ */
114
+ beginDeleteAndWait(
115
+ resourceGroupName: string,
116
+ domainServiceName: string,
117
+ options?: DomainServicesDeleteOptionalParams
118
+ ): Promise<void>;
119
+ /**
120
+ * The Update Domain Service operation can be used to update the existing deployment. The update call
121
+ * only supports the properties listed in the PATCH body.
122
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
123
+ * case insensitive.
124
+ * @param domainServiceName The name of the domain service.
125
+ * @param domainService Properties supplied to the Update a Domain Service operation.
126
+ * @param options The options parameters.
127
+ */
128
+ beginUpdate(
129
+ resourceGroupName: string,
130
+ domainServiceName: string,
131
+ domainService: DomainService,
132
+ options?: DomainServicesUpdateOptionalParams
133
+ ): Promise<
134
+ PollerLike<
135
+ PollOperationState<DomainServicesUpdateResponse>,
136
+ DomainServicesUpdateResponse
137
+ >
138
+ >;
139
+ /**
140
+ * The Update Domain Service operation can be used to update the existing deployment. The update call
141
+ * only supports the properties listed in the PATCH body.
142
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
143
+ * case insensitive.
144
+ * @param domainServiceName The name of the domain service.
145
+ * @param domainService Properties supplied to the Update a Domain Service operation.
146
+ * @param options The options parameters.
147
+ */
148
+ beginUpdateAndWait(
149
+ resourceGroupName: string,
150
+ domainServiceName: string,
151
+ domainService: DomainService,
152
+ options?: DomainServicesUpdateOptionalParams
153
+ ): Promise<DomainServicesUpdateResponse>;
154
+ }
@@ -0,0 +1,12 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ export * from "./domainServiceOperations";
10
+ export * from "./domainServices";
11
+ export * from "./ouContainerOperations";
12
+ export * from "./ouContainerOperationGrp";
@@ -0,0 +1,157 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ OuContainer,
13
+ OuContainerListOptionalParams,
14
+ OuContainerGetOptionalParams,
15
+ OuContainerGetResponse,
16
+ ContainerAccount,
17
+ OuContainerCreateOptionalParams,
18
+ OuContainerCreateResponse,
19
+ OuContainerDeleteOptionalParams,
20
+ OuContainerUpdateOptionalParams,
21
+ OuContainerUpdateResponse
22
+ } from "../models";
23
+
24
+ /// <reference lib="esnext.asynciterable" />
25
+ /** Interface representing a OuContainerOperationGrp. */
26
+ export interface OuContainerOperationGrp {
27
+ /**
28
+ * The List of OuContainers in DomainService instance.
29
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
30
+ * case insensitive.
31
+ * @param domainServiceName The name of the domain service.
32
+ * @param options The options parameters.
33
+ */
34
+ list(
35
+ resourceGroupName: string,
36
+ domainServiceName: string,
37
+ options?: OuContainerListOptionalParams
38
+ ): PagedAsyncIterableIterator<OuContainer>;
39
+ /**
40
+ * Get OuContainer in DomainService instance.
41
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
42
+ * case insensitive.
43
+ * @param domainServiceName The name of the domain service.
44
+ * @param ouContainerName The name of the OuContainer.
45
+ * @param options The options parameters.
46
+ */
47
+ get(
48
+ resourceGroupName: string,
49
+ domainServiceName: string,
50
+ ouContainerName: string,
51
+ options?: OuContainerGetOptionalParams
52
+ ): Promise<OuContainerGetResponse>;
53
+ /**
54
+ * The Create OuContainer operation creates a new OuContainer under the specified Domain Service
55
+ * instance.
56
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
57
+ * case insensitive.
58
+ * @param domainServiceName The name of the domain service.
59
+ * @param ouContainerName The name of the OuContainer.
60
+ * @param containerAccount Container Account Description.
61
+ * @param options The options parameters.
62
+ */
63
+ beginCreate(
64
+ resourceGroupName: string,
65
+ domainServiceName: string,
66
+ ouContainerName: string,
67
+ containerAccount: ContainerAccount,
68
+ options?: OuContainerCreateOptionalParams
69
+ ): Promise<
70
+ PollerLike<
71
+ PollOperationState<OuContainerCreateResponse>,
72
+ OuContainerCreateResponse
73
+ >
74
+ >;
75
+ /**
76
+ * The Create OuContainer operation creates a new OuContainer under the specified Domain Service
77
+ * instance.
78
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
79
+ * case insensitive.
80
+ * @param domainServiceName The name of the domain service.
81
+ * @param ouContainerName The name of the OuContainer.
82
+ * @param containerAccount Container Account Description.
83
+ * @param options The options parameters.
84
+ */
85
+ beginCreateAndWait(
86
+ resourceGroupName: string,
87
+ domainServiceName: string,
88
+ ouContainerName: string,
89
+ containerAccount: ContainerAccount,
90
+ options?: OuContainerCreateOptionalParams
91
+ ): Promise<OuContainerCreateResponse>;
92
+ /**
93
+ * The Delete OuContainer operation deletes specified OuContainer.
94
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
95
+ * case insensitive.
96
+ * @param domainServiceName The name of the domain service.
97
+ * @param ouContainerName The name of the OuContainer.
98
+ * @param options The options parameters.
99
+ */
100
+ beginDelete(
101
+ resourceGroupName: string,
102
+ domainServiceName: string,
103
+ ouContainerName: string,
104
+ options?: OuContainerDeleteOptionalParams
105
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
106
+ /**
107
+ * The Delete OuContainer operation deletes specified OuContainer.
108
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
109
+ * case insensitive.
110
+ * @param domainServiceName The name of the domain service.
111
+ * @param ouContainerName The name of the OuContainer.
112
+ * @param options The options parameters.
113
+ */
114
+ beginDeleteAndWait(
115
+ resourceGroupName: string,
116
+ domainServiceName: string,
117
+ ouContainerName: string,
118
+ options?: OuContainerDeleteOptionalParams
119
+ ): Promise<void>;
120
+ /**
121
+ * The Update OuContainer operation can be used to update the existing OuContainers.
122
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
123
+ * case insensitive.
124
+ * @param domainServiceName The name of the domain service.
125
+ * @param ouContainerName The name of the OuContainer.
126
+ * @param containerAccount Container Account Description.
127
+ * @param options The options parameters.
128
+ */
129
+ beginUpdate(
130
+ resourceGroupName: string,
131
+ domainServiceName: string,
132
+ ouContainerName: string,
133
+ containerAccount: ContainerAccount,
134
+ options?: OuContainerUpdateOptionalParams
135
+ ): Promise<
136
+ PollerLike<
137
+ PollOperationState<OuContainerUpdateResponse>,
138
+ OuContainerUpdateResponse
139
+ >
140
+ >;
141
+ /**
142
+ * The Update OuContainer operation can be used to update the existing OuContainers.
143
+ * @param resourceGroupName The name of the resource group within the user's subscription. The name is
144
+ * case insensitive.
145
+ * @param domainServiceName The name of the domain service.
146
+ * @param ouContainerName The name of the OuContainer.
147
+ * @param containerAccount Container Account Description.
148
+ * @param options The options parameters.
149
+ */
150
+ beginUpdateAndWait(
151
+ resourceGroupName: string,
152
+ domainServiceName: string,
153
+ ouContainerName: string,
154
+ containerAccount: ContainerAccount,
155
+ options?: OuContainerUpdateOptionalParams
156
+ ): Promise<OuContainerUpdateResponse>;
157
+ }
@@ -0,0 +1,25 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
10
+ import {
11
+ OperationEntity,
12
+ OuContainerOperationsListOptionalParams
13
+ } from "../models";
14
+
15
+ /// <reference lib="esnext.asynciterable" />
16
+ /** Interface representing a OuContainerOperations. */
17
+ export interface OuContainerOperations {
18
+ /**
19
+ * Lists all the available OuContainer operations.
20
+ * @param options The options parameters.
21
+ */
22
+ list(
23
+ options?: OuContainerOperationsListOptionalParams
24
+ ): PagedAsyncIterableIterator<OperationEntity>;
25
+ }
package/tsconfig.json CHANGED
@@ -3,17 +3,17 @@
3
3
  "module": "es6",
4
4
  "moduleResolution": "node",
5
5
  "strict": true,
6
- "target": "es5",
6
+ "target": "es6",
7
7
  "sourceMap": true,
8
8
  "declarationMap": true,
9
9
  "esModuleInterop": true,
10
10
  "allowSyntheticDefaultImports": true,
11
11
  "forceConsistentCasingInFileNames": true,
12
- "lib": ["es6"],
12
+ "lib": ["es6", "dom"],
13
13
  "declaration": true,
14
- "outDir": "./esm",
14
+ "outDir": "./dist-esm",
15
15
  "importHelpers": true
16
16
  },
17
- "include": ["./lib/**/*.ts"],
17
+ "include": ["./src/**/*.ts", "./test/**/*.ts"],
18
18
  "exclude": ["node_modules"]
19
19
  }