@azure/arm-domainservices 3.2.0 → 4.0.1-alpha.20220118.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/LICENSE +21 -0
  3. package/README.md +69 -80
  4. package/dist/index.js +2502 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/domainServicesResourceProvider.d.ts +22 -0
  9. package/dist-esm/src/domainServicesResourceProvider.d.ts.map +1 -0
  10. package/dist-esm/src/domainServicesResourceProvider.js +55 -0
  11. package/dist-esm/src/domainServicesResourceProvider.js.map +1 -0
  12. package/dist-esm/src/index.d.ts +5 -0
  13. package/dist-esm/src/index.d.ts.map +1 -0
  14. package/dist-esm/src/index.js +12 -0
  15. package/dist-esm/src/index.js.map +1 -0
  16. package/dist-esm/src/lroImpl.d.ts +16 -0
  17. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  18. package/dist-esm/src/lroImpl.js +29 -0
  19. package/dist-esm/src/lroImpl.js.map +1 -0
  20. package/dist-esm/src/models/index.d.ts +768 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +98 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +27 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/dist-esm/src/models/mappers.js +1015 -0
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +13 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/dist-esm/src/models/parameters.js +117 -0
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/dist-esm/src/operations/domainServiceOperations.d.ts +32 -0
  33. package/dist-esm/src/operations/domainServiceOperations.d.ts.map +1 -0
  34. package/dist-esm/src/operations/domainServiceOperations.js +120 -0
  35. package/dist-esm/src/operations/domainServiceOperations.js.map +1 -0
  36. package/dist-esm/src/operations/domainServices.d.ts +127 -0
  37. package/dist-esm/src/operations/domainServices.d.ts.map +1 -0
  38. package/dist-esm/src/operations/domainServices.js +520 -0
  39. package/dist-esm/src/operations/domainServices.js.map +1 -0
  40. package/dist-esm/src/operations/index.d.ts +5 -0
  41. package/dist-esm/src/operations/index.d.ts.map +1 -0
  42. package/dist-esm/src/operations/index.js +12 -0
  43. package/dist-esm/src/operations/index.js.map +1 -0
  44. package/dist-esm/src/operations/ouContainerOperationGrp.d.ts +111 -0
  45. package/dist-esm/src/operations/ouContainerOperationGrp.d.ts.map +1 -0
  46. package/dist-esm/src/operations/ouContainerOperationGrp.js +441 -0
  47. package/dist-esm/src/operations/ouContainerOperationGrp.js.map +1 -0
  48. package/dist-esm/src/operations/ouContainerOperations.d.ts +32 -0
  49. package/dist-esm/src/operations/ouContainerOperations.d.ts.map +1 -0
  50. package/dist-esm/src/operations/ouContainerOperations.js +120 -0
  51. package/dist-esm/src/operations/ouContainerOperations.js.map +1 -0
  52. package/dist-esm/src/operationsInterfaces/domainServiceOperations.d.ts +11 -0
  53. package/dist-esm/src/operationsInterfaces/domainServiceOperations.d.ts.map +1 -0
  54. package/dist-esm/src/operationsInterfaces/domainServiceOperations.js +9 -0
  55. package/dist-esm/src/operationsInterfaces/domainServiceOperations.js.map +1 -0
  56. package/dist-esm/src/operationsInterfaces/domainServices.d.ts +87 -0
  57. package/dist-esm/src/operationsInterfaces/domainServices.d.ts.map +1 -0
  58. package/dist-esm/src/operationsInterfaces/domainServices.js +9 -0
  59. package/dist-esm/src/operationsInterfaces/domainServices.js.map +1 -0
  60. package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
  61. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  62. package/dist-esm/src/operationsInterfaces/index.js +12 -0
  63. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  64. package/dist-esm/src/operationsInterfaces/ouContainerOperationGrp.d.ts +84 -0
  65. package/dist-esm/src/operationsInterfaces/ouContainerOperationGrp.d.ts.map +1 -0
  66. package/dist-esm/src/operationsInterfaces/ouContainerOperationGrp.js +9 -0
  67. package/dist-esm/src/operationsInterfaces/ouContainerOperationGrp.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/ouContainerOperations.d.ts +11 -0
  69. package/dist-esm/src/operationsInterfaces/ouContainerOperations.d.ts.map +1 -0
  70. package/dist-esm/src/operationsInterfaces/ouContainerOperations.js +9 -0
  71. package/dist-esm/src/operationsInterfaces/ouContainerOperations.js.map +1 -0
  72. package/dist-esm/test/sampleTest.d.ts +2 -0
  73. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  74. package/dist-esm/test/sampleTest.js +40 -0
  75. package/dist-esm/test/sampleTest.js.map +1 -0
  76. package/package.json +69 -24
  77. package/review/arm-domainservices.api.md +591 -0
  78. package/rollup.config.js +184 -27
  79. package/src/domainServicesResourceProvider.ts +92 -0
  80. package/src/index.ts +12 -0
  81. package/src/lroImpl.ts +34 -0
  82. package/src/models/index.ts +689 -557
  83. package/src/models/mappers.ts +760 -217
  84. package/src/models/parameters.ts +87 -29
  85. package/src/operations/domainServiceOperations.ts +87 -73
  86. package/src/operations/domainServices.ts +519 -342
  87. package/src/operations/index.ts +5 -5
  88. package/src/operations/ouContainerOperationGrp.ts +632 -0
  89. package/src/operations/ouContainerOperations.ts +137 -0
  90. package/src/operationsInterfaces/domainServiceOperations.ts +25 -0
  91. package/src/operationsInterfaces/domainServices.ts +154 -0
  92. package/src/operationsInterfaces/index.ts +12 -0
  93. package/src/operationsInterfaces/ouContainerOperationGrp.ts +157 -0
  94. package/src/operationsInterfaces/ouContainerOperations.ts +25 -0
  95. package/tsconfig.json +4 -4
  96. package/types/arm-domainservices.d.ts +1062 -0
  97. package/types/tsdoc-metadata.json +11 -0
  98. package/dist/arm-domainservices.js +0 -1233
  99. package/dist/arm-domainservices.js.map +0 -1
  100. package/dist/arm-domainservices.min.js +0 -1
  101. package/dist/arm-domainservices.min.js.map +0 -1
  102. package/esm/domainservicesManagementClient.d.ts +0 -26
  103. package/esm/domainservicesManagementClient.d.ts.map +0 -1
  104. package/esm/domainservicesManagementClient.js +0 -40
  105. package/esm/domainservicesManagementClient.js.map +0 -1
  106. package/esm/domainservicesManagementClientContext.d.ts +0 -23
  107. package/esm/domainservicesManagementClientContext.d.ts.map +0 -1
  108. package/esm/domainservicesManagementClientContext.js +0 -62
  109. package/esm/domainservicesManagementClientContext.js.map +0 -1
  110. package/esm/models/domainServiceOperationsMappers.d.ts +0 -2
  111. package/esm/models/domainServiceOperationsMappers.d.ts.map +0 -1
  112. package/esm/models/domainServiceOperationsMappers.js +0 -11
  113. package/esm/models/domainServiceOperationsMappers.js.map +0 -1
  114. package/esm/models/domainServicesMappers.d.ts +0 -2
  115. package/esm/models/domainServicesMappers.d.ts.map +0 -1
  116. package/esm/models/domainServicesMappers.js +0 -11
  117. package/esm/models/domainServicesMappers.js.map +0 -1
  118. package/esm/models/index.d.ts +0 -693
  119. package/esm/models/index.d.ts.map +0 -1
  120. package/esm/models/index.js +0 -10
  121. package/esm/models/index.js.map +0 -1
  122. package/esm/models/mappers.d.ts +0 -15
  123. package/esm/models/mappers.d.ts.map +0 -1
  124. package/esm/models/mappers.js +0 -498
  125. package/esm/models/mappers.js.map +0 -1
  126. package/esm/models/parameters.d.ts +0 -8
  127. package/esm/models/parameters.d.ts.map +0 -1
  128. package/esm/models/parameters.js +0 -76
  129. package/esm/models/parameters.js.map +0 -1
  130. package/esm/operations/domainServiceOperations.d.ts +0 -46
  131. package/esm/operations/domainServiceOperations.d.ts.map +0 -1
  132. package/esm/operations/domainServiceOperations.js +0 -77
  133. package/esm/operations/domainServiceOperations.js.map +0 -1
  134. package/esm/operations/domainServices.d.ts +0 -189
  135. package/esm/operations/domainServices.d.ts.map +0 -1
  136. package/esm/operations/domainServices.js +0 -356
  137. package/esm/operations/domainServices.js.map +0 -1
  138. package/esm/operations/index.d.ts +0 -3
  139. package/esm/operations/index.d.ts.map +0 -1
  140. package/esm/operations/index.js +0 -12
  141. package/esm/operations/index.js.map +0 -1
  142. package/src/domainservicesManagementClient.ts +0 -51
  143. package/src/domainservicesManagementClientContext.ts +0 -69
  144. package/src/models/domainServiceOperationsMappers.ts +0 -17
  145. package/src/models/domainServicesMappers.ts +0 -23
@@ -1,736 +1,868 @@
1
1
  /*
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Licensed under the MIT License. See License.txt in the project root for
4
- * license information.
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
5
4
  *
6
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
7
- * Changes may cause incorrect behavior and will be lost if the code is
8
- * regenerated.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
9
7
  */
10
8
 
11
- import { BaseResource, CloudError, AzureServiceClientOptions } from "@azure/ms-rest-azure-js";
12
- import * as msRest from "@azure/ms-rest-js";
9
+ import * as coreClient from "@azure/core-client";
13
10
 
14
- export { BaseResource, CloudError };
15
-
16
-
17
- /**
18
- * @interface
19
- * An interface representing Resource.
20
- * The Resource model definition.
21
- *
22
- * @extends BaseResource
23
- */
24
- export interface Resource extends BaseResource {
25
- /**
26
- * @member {string} [id] Resource Id
27
- * **NOTE: This property will not be serialized. It can only be populated by
28
- * the server.**
29
- */
30
- readonly id?: string;
31
- /**
32
- * @member {string} [name] Resource name
33
- * **NOTE: This property will not be serialized. It can only be populated by
34
- * the server.**
35
- */
36
- readonly name?: string;
37
- /**
38
- * @member {string} [type] Resource type
39
- * **NOTE: This property will not be serialized. It can only be populated by
40
- * the server.**
41
- */
42
- readonly type?: string;
43
- /**
44
- * @member {string} [location] Resource location
45
- */
46
- location?: string;
11
+ /** The list of domain service operation response. */
12
+ export interface OperationEntityListResult {
13
+ /** The list of operations. */
14
+ value?: OperationEntity[];
47
15
  /**
48
- * @member {{ [propertyName: string]: string }} [tags] Resource tags
16
+ * The continuation token for the next page of results.
17
+ * NOTE: This property will not be serialized. It can only be populated by the server.
49
18
  */
50
- tags?: { [propertyName: string]: string };
19
+ readonly nextLink?: string;
20
+ }
21
+
22
+ /** The operation supported by Domain Services. */
23
+ export interface OperationEntity {
24
+ /** Operation name: {provider}/{resource}/{operation}. */
25
+ name?: string;
26
+ /** The operation supported by Domain Services. */
27
+ display?: OperationDisplayInfo;
28
+ /** The origin of the operation. */
29
+ origin?: string;
30
+ }
31
+
32
+ /** The operation supported by Domain Services. */
33
+ export interface OperationDisplayInfo {
34
+ /** The description of the operation. */
35
+ description?: string;
36
+ /** The action that users can perform, based on their permission level. */
37
+ operation?: string;
38
+ /** Service provider: Domain Services. */
39
+ provider?: string;
40
+ /** Resource on which the operation is performed. */
41
+ resource?: string;
42
+ }
43
+
44
+ /** An error response from the Domain Services. */
45
+ export interface CloudError {
46
+ /** An error response from the Domain Services. */
47
+ error?: CloudErrorBody;
48
+ }
49
+
50
+ /** An error response from the Domain Services. */
51
+ export interface CloudErrorBody {
52
+ /** An identifier for the error. Codes are invariant and are intended to be consumed programmatically. */
53
+ code?: string;
54
+ /** A message describing the error, intended to be suitable for display in a user interface. */
55
+ message?: string;
56
+ /** The target of the particular error. For example, the name of the property in error. */
57
+ target?: string;
58
+ /** A list of additional details about the error. */
59
+ details?: CloudErrorBody[];
60
+ }
61
+
62
+ /** The response from the List Domain Services operation. */
63
+ export interface DomainServiceListResult {
64
+ /** the list of domain services. */
65
+ value?: DomainService[];
51
66
  /**
52
- * @member {string} [etag] Resource etag
67
+ * The continuation token for the next page of results.
68
+ * NOTE: This property will not be serialized. It can only be populated by the server.
53
69
  */
54
- etag?: string;
70
+ readonly nextLink?: string;
55
71
  }
56
72
 
57
- /**
58
- * @interface
59
- * An interface representing LdapsSettings.
60
- * Secure LDAP Settings
61
- *
62
- */
63
- export interface LdapsSettings {
73
+ /** Replica Set Definition */
74
+ export interface ReplicaSet {
64
75
  /**
65
- * @member {Ldaps} [ldaps] A flag to determine whether or not Secure LDAP is
66
- * enabled or disabled. Possible values include: 'Enabled', 'Disabled'
76
+ * ReplicaSet Id
77
+ * NOTE: This property will not be serialized. It can only be populated by the server.
67
78
  */
68
- ldaps?: Ldaps;
79
+ readonly replicaSetId?: string;
80
+ /** Virtual network location */
81
+ location?: string;
69
82
  /**
70
- * @member {string} [pfxCertificate] The certificate required to configure
71
- * Secure LDAP. The parameter passed here should be a base64encoded
72
- * representation of the certificate pfx file.
83
+ * Virtual network site id
84
+ * NOTE: This property will not be serialized. It can only be populated by the server.
73
85
  */
74
- pfxCertificate?: string;
86
+ readonly vnetSiteId?: string;
87
+ /** The name of the virtual network that Domain Services will be deployed on. The id of the subnet that Domain Services will be deployed on. /virtualNetwork/vnetName/subnets/subnetName. */
88
+ subnetId?: string;
75
89
  /**
76
- * @member {string} [pfxCertificatePassword] The password to decrypt the
77
- * provided Secure LDAP certificate pfx file.
90
+ * List of Domain Controller IP Address
91
+ * NOTE: This property will not be serialized. It can only be populated by the server.
78
92
  */
79
- pfxCertificatePassword?: string;
93
+ readonly domainControllerIpAddress?: string[];
80
94
  /**
81
- * @member {string} [publicCertificate] Public certificate used to configure
82
- * secure ldap.
83
- * **NOTE: This property will not be serialized. It can only be populated by
84
- * the server.**
95
+ * External access ip address.
96
+ * NOTE: This property will not be serialized. It can only be populated by the server.
85
97
  */
86
- readonly publicCertificate?: string;
98
+ readonly externalAccessIpAddress?: string;
87
99
  /**
88
- * @member {string} [certificateThumbprint] Thumbprint of configure ldaps
89
- * certificate.
90
- * **NOTE: This property will not be serialized. It can only be populated by
91
- * the server.**
100
+ * Status of Domain Service instance
101
+ * NOTE: This property will not be serialized. It can only be populated by the server.
92
102
  */
93
- readonly certificateThumbprint?: string;
103
+ readonly serviceStatus?: string;
94
104
  /**
95
- * @member {Date} [certificateNotAfter] NotAfter DateTime of configure ldaps
96
- * certificate.
97
- * **NOTE: This property will not be serialized. It can only be populated by
98
- * the server.**
105
+ * Last domain evaluation run DateTime
106
+ * NOTE: This property will not be serialized. It can only be populated by the server.
99
107
  */
100
- readonly certificateNotAfter?: Date;
108
+ readonly healthLastEvaluated?: Date;
101
109
  /**
102
- * @member {ExternalAccess} [externalAccess] A flag to determine whether or
103
- * not Secure LDAP access over the internet is enabled or disabled. Possible
104
- * values include: 'Enabled', 'Disabled'
110
+ * List of Domain Health Monitors
111
+ * NOTE: This property will not be serialized. It can only be populated by the server.
105
112
  */
106
- externalAccess?: ExternalAccess;
113
+ readonly healthMonitors?: HealthMonitor[];
107
114
  /**
108
- * @member {string} [externalAccessIpAddress] External access ip address.
109
- * **NOTE: This property will not be serialized. It can only be populated by
110
- * the server.**
115
+ * List of Domain Health Alerts
116
+ * NOTE: This property will not be serialized. It can only be populated by the server.
111
117
  */
112
- readonly externalAccessIpAddress?: string;
118
+ readonly healthAlerts?: HealthAlert[];
113
119
  }
114
120
 
115
- /**
116
- * @interface
117
- * An interface representing HealthMonitor.
118
- * Health Monitor Description
119
- *
120
- */
121
+ /** Health Monitor Description */
121
122
  export interface HealthMonitor {
122
123
  /**
123
- * @member {string} [id] Health Monitor Id
124
- * **NOTE: This property will not be serialized. It can only be populated by
125
- * the server.**
124
+ * Health Monitor Id
125
+ * NOTE: This property will not be serialized. It can only be populated by the server.
126
126
  */
127
127
  readonly id?: string;
128
128
  /**
129
- * @member {string} [name] Health Monitor Name
130
- * **NOTE: This property will not be serialized. It can only be populated by
131
- * the server.**
129
+ * Health Monitor Name
130
+ * NOTE: This property will not be serialized. It can only be populated by the server.
132
131
  */
133
132
  readonly name?: string;
134
133
  /**
135
- * @member {string} [details] Health Monitor Details
136
- * **NOTE: This property will not be serialized. It can only be populated by
137
- * the server.**
134
+ * Health Monitor Details
135
+ * NOTE: This property will not be serialized. It can only be populated by the server.
138
136
  */
139
137
  readonly details?: string;
140
138
  }
141
139
 
142
- /**
143
- * @interface
144
- * An interface representing HealthAlert.
145
- * Health Alert Description
146
- *
147
- */
140
+ /** Health Alert Description */
148
141
  export interface HealthAlert {
149
142
  /**
150
- * @member {string} [id] Health Alert Id
151
- * **NOTE: This property will not be serialized. It can only be populated by
152
- * the server.**
143
+ * Health Alert Id
144
+ * NOTE: This property will not be serialized. It can only be populated by the server.
153
145
  */
154
146
  readonly id?: string;
155
147
  /**
156
- * @member {string} [name] Health Alert Name
157
- * **NOTE: This property will not be serialized. It can only be populated by
158
- * the server.**
148
+ * Health Alert Name
149
+ * NOTE: This property will not be serialized. It can only be populated by the server.
159
150
  */
160
151
  readonly name?: string;
161
152
  /**
162
- * @member {string} [issue] Health Alert Issue
163
- * **NOTE: This property will not be serialized. It can only be populated by
164
- * the server.**
153
+ * Health Alert Issue
154
+ * NOTE: This property will not be serialized. It can only be populated by the server.
165
155
  */
166
156
  readonly issue?: string;
167
157
  /**
168
- * @member {string} [severity] Health Alert Severity
169
- * **NOTE: This property will not be serialized. It can only be populated by
170
- * the server.**
158
+ * Health Alert Severity
159
+ * NOTE: This property will not be serialized. It can only be populated by the server.
171
160
  */
172
161
  readonly severity?: string;
173
162
  /**
174
- * @member {Date} [raised] Health Alert Raised DateTime
175
- * **NOTE: This property will not be serialized. It can only be populated by
176
- * the server.**
163
+ * Health Alert Raised DateTime
164
+ * NOTE: This property will not be serialized. It can only be populated by the server.
177
165
  */
178
166
  readonly raised?: Date;
179
167
  /**
180
- * @member {Date} [lastDetected] Health Alert Last Detected DateTime
181
- * **NOTE: This property will not be serialized. It can only be populated by
182
- * the server.**
168
+ * Health Alert Last Detected DateTime
169
+ * NOTE: This property will not be serialized. It can only be populated by the server.
183
170
  */
184
171
  readonly lastDetected?: Date;
185
172
  /**
186
- * @member {string} [resolutionUri] Health Alert TSG Link
187
- * **NOTE: This property will not be serialized. It can only be populated by
188
- * the server.**
173
+ * Health Alert TSG Link
174
+ * NOTE: This property will not be serialized. It can only be populated by the server.
189
175
  */
190
176
  readonly resolutionUri?: string;
191
177
  }
192
178
 
193
- /**
194
- * @interface
195
- * An interface representing NotificationSettings.
196
- * Settings for notification
197
- *
198
- */
199
- export interface NotificationSettings {
179
+ /** Secure LDAP Settings */
180
+ export interface LdapsSettings {
181
+ /** A flag to determine whether or not Secure LDAP is enabled or disabled. */
182
+ ldaps?: Ldaps;
183
+ /** The certificate required to configure Secure LDAP. The parameter passed here should be a base64encoded representation of the certificate pfx file. */
184
+ pfxCertificate?: string;
185
+ /** The password to decrypt the provided Secure LDAP certificate pfx file. */
186
+ pfxCertificatePassword?: string;
200
187
  /**
201
- * @member {NotifyGlobalAdmins} [notifyGlobalAdmins] Should global admins be
202
- * notified. Possible values include: 'Enabled', 'Disabled'
188
+ * Public certificate used to configure secure ldap.
189
+ * NOTE: This property will not be serialized. It can only be populated by the server.
203
190
  */
204
- notifyGlobalAdmins?: NotifyGlobalAdmins;
191
+ readonly publicCertificate?: string;
205
192
  /**
206
- * @member {NotifyDcAdmins} [notifyDcAdmins] Should domain controller admins
207
- * be notified. Possible values include: 'Enabled', 'Disabled'
193
+ * Thumbprint of configure ldaps certificate.
194
+ * NOTE: This property will not be serialized. It can only be populated by the server.
208
195
  */
209
- notifyDcAdmins?: NotifyDcAdmins;
196
+ readonly certificateThumbprint?: string;
210
197
  /**
211
- * @member {string[]} [additionalRecipients] The list of additional
212
- * recipients
198
+ * NotAfter DateTime of configure ldaps certificate.
199
+ * NOTE: This property will not be serialized. It can only be populated by the server.
213
200
  */
214
- additionalRecipients?: string[];
201
+ readonly certificateNotAfter?: Date;
202
+ /** A flag to determine whether or not Secure LDAP access over the internet is enabled or disabled. */
203
+ externalAccess?: ExternalAccess;
215
204
  }
216
205
 
217
- /**
218
- * @interface
219
- * An interface representing DomainSecuritySettings.
220
- * Domain Security Settings
221
- *
222
- */
206
+ /** Settings for Resource Forest */
207
+ export interface ResourceForestSettings {
208
+ /** List of settings for Resource Forest */
209
+ settings?: ForestTrust[];
210
+ /** Resource Forest */
211
+ resourceForest?: string;
212
+ }
213
+
214
+ /** Forest Trust Setting */
215
+ export interface ForestTrust {
216
+ /** Trusted Domain FQDN */
217
+ trustedDomainFqdn?: string;
218
+ /** Trust Direction */
219
+ trustDirection?: string;
220
+ /** Friendly Name */
221
+ friendlyName?: string;
222
+ /** Remote Dns ips */
223
+ remoteDnsIps?: string;
224
+ /** Trust Password */
225
+ trustPassword?: string;
226
+ }
227
+
228
+ /** Domain Security Settings */
223
229
  export interface DomainSecuritySettings {
224
- /**
225
- * @member {NtlmV1} [ntlmV1] A flag to determine whether or not NtlmV1 is
226
- * enabled or disabled. Possible values include: 'Enabled', 'Disabled'
227
- */
230
+ /** A flag to determine whether or not NtlmV1 is enabled or disabled. */
228
231
  ntlmV1?: NtlmV1;
229
- /**
230
- * @member {TlsV1} [tlsV1] A flag to determine whether or not TlsV1 is
231
- * enabled or disabled. Possible values include: 'Enabled', 'Disabled'
232
- */
232
+ /** A flag to determine whether or not TlsV1 is enabled or disabled. */
233
233
  tlsV1?: TlsV1;
234
- /**
235
- * @member {SyncNtlmPasswords} [syncNtlmPasswords] A flag to determine
236
- * whether or not SyncNtlmPasswords is enabled or disabled. Possible values
237
- * include: 'Enabled', 'Disabled'
238
- */
234
+ /** A flag to determine whether or not SyncNtlmPasswords is enabled or disabled. */
239
235
  syncNtlmPasswords?: SyncNtlmPasswords;
236
+ /** A flag to determine whether or not SyncKerberosPasswords is enabled or disabled. */
237
+ syncKerberosPasswords?: SyncKerberosPasswords;
238
+ /** A flag to determine whether or not SyncOnPremPasswords is enabled or disabled. */
239
+ syncOnPremPasswords?: SyncOnPremPasswords;
240
+ /** A flag to determine whether or not KerberosRc4Encryption is enabled or disabled. */
241
+ kerberosRc4Encryption?: KerberosRc4Encryption;
242
+ /** A flag to determine whether or not KerberosArmoring is enabled or disabled. */
243
+ kerberosArmoring?: KerberosArmoring;
240
244
  }
241
245
 
242
- /**
243
- * @interface
244
- * An interface representing DomainService.
245
- * Domain service.
246
- *
247
- * @extends Resource
248
- */
249
- export interface DomainService extends Resource {
246
+ /** Settings for notification */
247
+ export interface NotificationSettings {
248
+ /** Should global admins be notified */
249
+ notifyGlobalAdmins?: NotifyGlobalAdmins;
250
+ /** Should domain controller admins be notified */
251
+ notifyDcAdmins?: NotifyDcAdmins;
252
+ /** The list of additional recipients */
253
+ additionalRecipients?: string[];
254
+ }
255
+
256
+ /** Migration Properties */
257
+ export interface MigrationProperties {
250
258
  /**
251
- * @member {string} [tenantId] Azure Active Directory tenant id
252
- * **NOTE: This property will not be serialized. It can only be populated by
253
- * the server.**
259
+ * Old Subnet Id
260
+ * NOTE: This property will not be serialized. It can only be populated by the server.
254
261
  */
255
- readonly tenantId?: string;
262
+ readonly oldSubnetId?: string;
256
263
  /**
257
- * @member {string} [domainName] The name of the Azure domain that the user
258
- * would like to deploy Domain Services to.
264
+ * Old Vnet Site Id
265
+ * NOTE: This property will not be serialized. It can only be populated by the server.
259
266
  */
260
- domainName?: string;
267
+ readonly oldVnetSiteId?: string;
261
268
  /**
262
- * @member {string} [vnetSiteId] Virtual network site id
263
- * **NOTE: This property will not be serialized. It can only be populated by
264
- * the server.**
269
+ * Migration Progress
270
+ * NOTE: This property will not be serialized. It can only be populated by the server.
265
271
  */
266
- readonly vnetSiteId?: string;
272
+ readonly migrationProgress?: MigrationProgress;
273
+ }
274
+
275
+ /** Migration Progress */
276
+ export interface MigrationProgress {
277
+ /** Completion Percentage */
278
+ completionPercentage?: number;
279
+ /** Progress Message */
280
+ progressMessage?: string;
281
+ }
282
+
283
+ /** Configuration Diagnostics */
284
+ export interface ConfigDiagnostics {
285
+ /** Last domain configuration diagnostics DateTime */
286
+ lastExecuted?: Date;
287
+ /** List of Configuration Diagnostics validator results. */
288
+ validatorResults?: ConfigDiagnosticsValidatorResult[];
289
+ }
290
+
291
+ /** Config Diagnostics validator result data */
292
+ export interface ConfigDiagnosticsValidatorResult {
293
+ /** Validator identifier */
294
+ validatorId?: string;
295
+ /** Replica set location and subnet name */
296
+ replicaSetSubnetDisplayName?: string;
297
+ /** Status for individual validator after running diagnostics. */
298
+ status?: Status;
299
+ /** List of resource config validation issues. */
300
+ issues?: ConfigDiagnosticsValidatorResultIssue[];
301
+ }
302
+
303
+ /** Specific issue for a particular config diagnostics validator */
304
+ export interface ConfigDiagnosticsValidatorResultIssue {
305
+ /** Validation issue identifier. */
306
+ id?: string;
307
+ /** List of domain resource property name or values used to compose a rich description. */
308
+ descriptionParams?: string[];
309
+ }
310
+
311
+ /** The Resource model definition. */
312
+ export interface Resource {
267
313
  /**
268
- * @member {string} [subnetId] The name of the virtual network that Domain
269
- * Services will be deployed on. The id of the subnet that Domain Services
270
- * will be deployed on. /virtualNetwork/vnetName/subnets/subnetName.
314
+ * Resource Id
315
+ * NOTE: This property will not be serialized. It can only be populated by the server.
271
316
  */
272
- subnetId?: string;
317
+ readonly id?: string;
273
318
  /**
274
- * @member {LdapsSettings} [ldapsSettings] Secure LDAP Settings
319
+ * Resource name
320
+ * NOTE: This property will not be serialized. It can only be populated by the server.
275
321
  */
276
- ldapsSettings?: LdapsSettings;
322
+ readonly name?: string;
277
323
  /**
278
- * @member {Date} [healthLastEvaluated] Last domain evaluation run DateTime
279
- * **NOTE: This property will not be serialized. It can only be populated by
280
- * the server.**
324
+ * Resource type
325
+ * NOTE: This property will not be serialized. It can only be populated by the server.
281
326
  */
282
- readonly healthLastEvaluated?: Date;
327
+ readonly type?: string;
328
+ /** Resource location */
329
+ location?: string;
330
+ /** Resource tags */
331
+ tags?: { [propertyName: string]: string };
332
+ /** Resource etag */
333
+ etag?: string;
283
334
  /**
284
- * @member {HealthMonitor[]} [healthMonitors] List of Domain Health Monitors
285
- * **NOTE: This property will not be serialized. It can only be populated by
286
- * the server.**
335
+ * The system meta data relating to this resource.
336
+ * NOTE: This property will not be serialized. It can only be populated by the server.
287
337
  */
288
- readonly healthMonitors?: HealthMonitor[];
338
+ readonly systemData?: SystemData;
339
+ }
340
+
341
+ /** Metadata pertaining to creation and last modification of the resource. */
342
+ export interface SystemData {
343
+ /** The identity that created the resource. */
344
+ createdBy?: string;
345
+ /** The type of identity that created the resource. */
346
+ createdByType?: CreatedByType;
347
+ /** The timestamp of resource creation (UTC). */
348
+ createdAt?: Date;
349
+ /** The identity that last modified the resource. */
350
+ lastModifiedBy?: string;
351
+ /** The type of identity that last modified the resource. */
352
+ lastModifiedByType?: CreatedByType;
353
+ /** The timestamp of resource last modification (UTC) */
354
+ lastModifiedAt?: Date;
355
+ }
356
+
357
+ /** The response from the List OuContainer operation. */
358
+ export interface OuContainerListResult {
359
+ /** The list of OuContainer. */
360
+ value?: OuContainer[];
289
361
  /**
290
- * @member {HealthAlert[]} [healthAlerts] List of Domain Health Alerts
291
- * **NOTE: This property will not be serialized. It can only be populated by
292
- * the server.**
362
+ * The continuation token for the next page of results.
363
+ * NOTE: This property will not be serialized. It can only be populated by the server.
293
364
  */
294
- readonly healthAlerts?: HealthAlert[];
365
+ readonly nextLink?: string;
366
+ }
367
+
368
+ /** Container Account Description */
369
+ export interface ContainerAccount {
370
+ /** The account name */
371
+ accountName?: string;
372
+ /** The account spn */
373
+ spn?: string;
374
+ /** The account password */
375
+ password?: string;
376
+ }
377
+
378
+ /** Domain service. */
379
+ export type DomainService = Resource & {
295
380
  /**
296
- * @member {NotificationSettings} [notificationSettings] Notification
297
- * Settings
381
+ * Data Model Version
382
+ * NOTE: This property will not be serialized. It can only be populated by the server.
298
383
  */
299
- notificationSettings?: NotificationSettings;
384
+ readonly version?: number;
300
385
  /**
301
- * @member {DomainSecuritySettings} [domainSecuritySettings] DomainSecurity
302
- * Settings
386
+ * Azure Active Directory Tenant Id
387
+ * NOTE: This property will not be serialized. It can only be populated by the server.
303
388
  */
304
- domainSecuritySettings?: DomainSecuritySettings;
389
+ readonly tenantId?: string;
390
+ /** The name of the Azure domain that the user would like to deploy Domain Services to. */
391
+ domainName?: string;
305
392
  /**
306
- * @member {FilteredSync} [filteredSync] Enabled or Disabled flag to turn on
307
- * Group-based filtered sync. Possible values include: 'Enabled', 'Disabled'
393
+ * Deployment Id
394
+ * NOTE: This property will not be serialized. It can only be populated by the server.
308
395
  */
309
- filteredSync?: FilteredSync;
396
+ readonly deploymentId?: string;
310
397
  /**
311
- * @member {string[]} [domainControllerIpAddress] List of Domain Controller
312
- * IP Address
313
- * **NOTE: This property will not be serialized. It can only be populated by
314
- * the server.**
398
+ * SyncOwner ReplicaSet Id
399
+ * NOTE: This property will not be serialized. It can only be populated by the server.
315
400
  */
316
- readonly domainControllerIpAddress?: string[];
401
+ readonly syncOwner?: string;
402
+ /** List of ReplicaSets */
403
+ replicaSets?: ReplicaSet[];
404
+ /** Secure LDAP Settings */
405
+ ldapsSettings?: LdapsSettings;
406
+ /** Resource Forest Settings */
407
+ resourceForestSettings?: ResourceForestSettings;
408
+ /** DomainSecurity Settings */
409
+ domainSecuritySettings?: DomainSecuritySettings;
410
+ /** Domain Configuration Type */
411
+ domainConfigurationType?: string;
412
+ /** Sku Type */
413
+ sku?: string;
414
+ /** Enabled or Disabled flag to turn on Group-based filtered sync */
415
+ filteredSync?: FilteredSync;
416
+ /** Notification Settings */
417
+ notificationSettings?: NotificationSettings;
317
418
  /**
318
- * @member {string} [serviceStatus] Status of Domain Service instance
319
- * **NOTE: This property will not be serialized. It can only be populated by
320
- * the server.**
419
+ * Migration Properties
420
+ * NOTE: This property will not be serialized. It can only be populated by the server.
321
421
  */
322
- readonly serviceStatus?: string;
422
+ readonly migrationProperties?: MigrationProperties;
323
423
  /**
324
- * @member {string} [provisioningState] the current deployment or
325
- * provisioning state, which only appears in the response.
326
- * **NOTE: This property will not be serialized. It can only be populated by
327
- * the server.**
424
+ * the current deployment or provisioning state, which only appears in the response.
425
+ * NOTE: This property will not be serialized. It can only be populated by the server.
328
426
  */
329
427
  readonly provisioningState?: string;
330
- }
428
+ /** Configuration diagnostics data containing latest execution from client. */
429
+ configDiagnostics?: ConfigDiagnostics;
430
+ };
331
431
 
332
- /**
333
- * @interface
334
- * An interface representing OperationDisplayInfo.
335
- * The operation supported by Domain Services.
336
- *
337
- */
338
- export interface OperationDisplayInfo {
432
+ /** Resource for OuContainer. */
433
+ export type OuContainer = Resource & {
339
434
  /**
340
- * @member {string} [description] The description of the operation.
435
+ * Azure Active Directory tenant id
436
+ * NOTE: This property will not be serialized. It can only be populated by the server.
341
437
  */
342
- description?: string;
438
+ readonly tenantId?: string;
343
439
  /**
344
- * @member {string} [operation] The action that users can perform, based on
345
- * their permission level.
440
+ * The domain name of Domain Services.
441
+ * NOTE: This property will not be serialized. It can only be populated by the server.
346
442
  */
347
- operation?: string;
443
+ readonly domainName?: string;
348
444
  /**
349
- * @member {string} [provider] Service provider: Domain Services.
445
+ * The Deployment id
446
+ * NOTE: This property will not be serialized. It can only be populated by the server.
350
447
  */
351
- provider?: string;
448
+ readonly deploymentId?: string;
352
449
  /**
353
- * @member {string} [resource] Resource on which the operation is performed.
450
+ * The OuContainer name
451
+ * NOTE: This property will not be serialized. It can only be populated by the server.
354
452
  */
355
- resource?: string;
356
- }
357
-
358
- /**
359
- * @interface
360
- * An interface representing OperationEntity.
361
- * The operation supported by Domain Services.
362
- *
363
- */
364
- export interface OperationEntity {
453
+ readonly containerId?: string;
454
+ /** The list of container accounts */
455
+ accounts?: ContainerAccount[];
365
456
  /**
366
- * @member {string} [name] Operation name: {provider}/{resource}/{operation}.
457
+ * Status of OuContainer instance
458
+ * NOTE: This property will not be serialized. It can only be populated by the server.
367
459
  */
368
- name?: string;
460
+ readonly serviceStatus?: string;
369
461
  /**
370
- * @member {OperationDisplayInfo} [display] The operation supported by Domain
371
- * Services.
462
+ * Distinguished Name of OuContainer instance
463
+ * NOTE: This property will not be serialized. It can only be populated by the server.
372
464
  */
373
- display?: OperationDisplayInfo;
465
+ readonly distinguishedName?: string;
374
466
  /**
375
- * @member {string} [origin] The origin of the operation.
467
+ * The current deployment or provisioning state, which only appears in the response.
468
+ * NOTE: This property will not be serialized. It can only be populated by the server.
376
469
  */
377
- origin?: string;
470
+ readonly provisioningState?: string;
471
+ };
472
+
473
+ /** Known values of {@link Ldaps} that the service accepts. */
474
+ export enum KnownLdaps {
475
+ Enabled = "Enabled",
476
+ Disabled = "Disabled"
378
477
  }
379
478
 
380
479
  /**
381
- * @interface
382
- * An interface representing DomainservicesManagementClientOptions.
383
- * @extends AzureServiceClientOptions
480
+ * Defines values for Ldaps. \
481
+ * {@link KnownLdaps} can be used interchangeably with Ldaps,
482
+ * this enum contains the known values that the service supports.
483
+ * ### Known values supported by the service
484
+ * **Enabled** \
485
+ * **Disabled**
384
486
  */
385
- export interface DomainservicesManagementClientOptions extends AzureServiceClientOptions {
386
- /**
387
- * @member {string} [baseUri]
388
- */
389
- baseUri?: string;
390
- }
487
+ export type Ldaps = string;
391
488
 
489
+ /** Known values of {@link ExternalAccess} that the service accepts. */
490
+ export enum KnownExternalAccess {
491
+ Enabled = "Enabled",
492
+ Disabled = "Disabled"
493
+ }
392
494
 
393
495
  /**
394
- * @interface
395
- * An interface representing the OperationEntityListResult.
396
- * The list of domain service operation response.
397
- *
398
- * @extends Array<OperationEntity>
496
+ * Defines values for ExternalAccess. \
497
+ * {@link KnownExternalAccess} can be used interchangeably with ExternalAccess,
498
+ * this enum contains the known values that the service supports.
499
+ * ### Known values supported by the service
500
+ * **Enabled** \
501
+ * **Disabled**
399
502
  */
400
- export interface OperationEntityListResult extends Array<OperationEntity> {
401
- /**
402
- * @member {string} [nextLink] The continuation token for the next page of
403
- * results.
404
- * **NOTE: This property will not be serialized. It can only be populated by
405
- * the server.**
406
- */
407
- readonly nextLink?: string;
503
+ export type ExternalAccess = string;
504
+
505
+ /** Known values of {@link NtlmV1} that the service accepts. */
506
+ export enum KnownNtlmV1 {
507
+ Enabled = "Enabled",
508
+ Disabled = "Disabled"
408
509
  }
409
510
 
410
511
  /**
411
- * @interface
412
- * An interface representing the DomainServiceListResult.
413
- * The response from the List Domain Services operation.
414
- *
415
- * @extends Array<DomainService>
512
+ * Defines values for NtlmV1. \
513
+ * {@link KnownNtlmV1} can be used interchangeably with NtlmV1,
514
+ * this enum contains the known values that the service supports.
515
+ * ### Known values supported by the service
516
+ * **Enabled** \
517
+ * **Disabled**
416
518
  */
417
- export interface DomainServiceListResult extends Array<DomainService> {
418
- /**
419
- * @member {string} [nextLink] The continuation token for the next page of
420
- * results.
421
- * **NOTE: This property will not be serialized. It can only be populated by
422
- * the server.**
423
- */
424
- readonly nextLink?: string;
519
+ export type NtlmV1 = string;
520
+
521
+ /** Known values of {@link TlsV1} that the service accepts. */
522
+ export enum KnownTlsV1 {
523
+ Enabled = "Enabled",
524
+ Disabled = "Disabled"
425
525
  }
426
526
 
427
527
  /**
428
- * Defines values for Ldaps.
429
- * Possible values include: 'Enabled', 'Disabled'
430
- * @readonly
431
- * @enum {string}
528
+ * Defines values for TlsV1. \
529
+ * {@link KnownTlsV1} can be used interchangeably with TlsV1,
530
+ * this enum contains the known values that the service supports.
531
+ * ### Known values supported by the service
532
+ * **Enabled** \
533
+ * **Disabled**
432
534
  */
433
- export type Ldaps = 'Enabled' | 'Disabled';
535
+ export type TlsV1 = string;
434
536
 
435
- /**
436
- * Defines values for ExternalAccess.
437
- * Possible values include: 'Enabled', 'Disabled'
438
- * @readonly
439
- * @enum {string}
440
- */
441
- export type ExternalAccess = 'Enabled' | 'Disabled';
537
+ /** Known values of {@link SyncNtlmPasswords} that the service accepts. */
538
+ export enum KnownSyncNtlmPasswords {
539
+ Enabled = "Enabled",
540
+ Disabled = "Disabled"
541
+ }
442
542
 
443
543
  /**
444
- * Defines values for NotifyGlobalAdmins.
445
- * Possible values include: 'Enabled', 'Disabled'
446
- * @readonly
447
- * @enum {string}
544
+ * Defines values for SyncNtlmPasswords. \
545
+ * {@link KnownSyncNtlmPasswords} can be used interchangeably with SyncNtlmPasswords,
546
+ * this enum contains the known values that the service supports.
547
+ * ### Known values supported by the service
548
+ * **Enabled** \
549
+ * **Disabled**
448
550
  */
449
- export type NotifyGlobalAdmins = 'Enabled' | 'Disabled';
551
+ export type SyncNtlmPasswords = string;
450
552
 
451
- /**
452
- * Defines values for NotifyDcAdmins.
453
- * Possible values include: 'Enabled', 'Disabled'
454
- * @readonly
455
- * @enum {string}
456
- */
457
- export type NotifyDcAdmins = 'Enabled' | 'Disabled';
553
+ /** Known values of {@link SyncKerberosPasswords} that the service accepts. */
554
+ export enum KnownSyncKerberosPasswords {
555
+ Enabled = "Enabled",
556
+ Disabled = "Disabled"
557
+ }
458
558
 
459
559
  /**
460
- * Defines values for NtlmV1.
461
- * Possible values include: 'Enabled', 'Disabled'
462
- * @readonly
463
- * @enum {string}
560
+ * Defines values for SyncKerberosPasswords. \
561
+ * {@link KnownSyncKerberosPasswords} can be used interchangeably with SyncKerberosPasswords,
562
+ * this enum contains the known values that the service supports.
563
+ * ### Known values supported by the service
564
+ * **Enabled** \
565
+ * **Disabled**
464
566
  */
465
- export type NtlmV1 = 'Enabled' | 'Disabled';
567
+ export type SyncKerberosPasswords = string;
466
568
 
467
- /**
468
- * Defines values for TlsV1.
469
- * Possible values include: 'Enabled', 'Disabled'
470
- * @readonly
471
- * @enum {string}
472
- */
473
- export type TlsV1 = 'Enabled' | 'Disabled';
569
+ /** Known values of {@link SyncOnPremPasswords} that the service accepts. */
570
+ export enum KnownSyncOnPremPasswords {
571
+ Enabled = "Enabled",
572
+ Disabled = "Disabled"
573
+ }
474
574
 
475
575
  /**
476
- * Defines values for SyncNtlmPasswords.
477
- * Possible values include: 'Enabled', 'Disabled'
478
- * @readonly
479
- * @enum {string}
576
+ * Defines values for SyncOnPremPasswords. \
577
+ * {@link KnownSyncOnPremPasswords} can be used interchangeably with SyncOnPremPasswords,
578
+ * this enum contains the known values that the service supports.
579
+ * ### Known values supported by the service
580
+ * **Enabled** \
581
+ * **Disabled**
480
582
  */
481
- export type SyncNtlmPasswords = 'Enabled' | 'Disabled';
583
+ export type SyncOnPremPasswords = string;
482
584
 
483
- /**
484
- * Defines values for FilteredSync.
485
- * Possible values include: 'Enabled', 'Disabled'
486
- * @readonly
487
- * @enum {string}
488
- */
489
- export type FilteredSync = 'Enabled' | 'Disabled';
585
+ /** Known values of {@link KerberosRc4Encryption} that the service accepts. */
586
+ export enum KnownKerberosRc4Encryption {
587
+ Enabled = "Enabled",
588
+ Disabled = "Disabled"
589
+ }
490
590
 
491
591
  /**
492
- * Contains response data for the list operation.
592
+ * Defines values for KerberosRc4Encryption. \
593
+ * {@link KnownKerberosRc4Encryption} can be used interchangeably with KerberosRc4Encryption,
594
+ * this enum contains the known values that the service supports.
595
+ * ### Known values supported by the service
596
+ * **Enabled** \
597
+ * **Disabled**
493
598
  */
494
- export type DomainServiceOperationsListResponse = OperationEntityListResult & {
495
- /**
496
- * The underlying HTTP response.
497
- */
498
- _response: msRest.HttpResponse & {
499
- /**
500
- * The response body as text (string format)
501
- */
502
- bodyAsText: string;
503
- /**
504
- * The response body as parsed JSON or XML
505
- */
506
- parsedBody: OperationEntityListResult;
507
- };
508
- };
599
+ export type KerberosRc4Encryption = string;
509
600
 
510
- /**
511
- * Contains response data for the listNext operation.
512
- */
513
- export type DomainServiceOperationsListNextResponse = OperationEntityListResult & {
514
- /**
515
- * The underlying HTTP response.
516
- */
517
- _response: msRest.HttpResponse & {
518
- /**
519
- * The response body as text (string format)
520
- */
521
- bodyAsText: string;
522
- /**
523
- * The response body as parsed JSON or XML
524
- */
525
- parsedBody: OperationEntityListResult;
526
- };
527
- };
601
+ /** Known values of {@link KerberosArmoring} that the service accepts. */
602
+ export enum KnownKerberosArmoring {
603
+ Enabled = "Enabled",
604
+ Disabled = "Disabled"
605
+ }
528
606
 
529
607
  /**
530
- * Contains response data for the list operation.
608
+ * Defines values for KerberosArmoring. \
609
+ * {@link KnownKerberosArmoring} can be used interchangeably with KerberosArmoring,
610
+ * this enum contains the known values that the service supports.
611
+ * ### Known values supported by the service
612
+ * **Enabled** \
613
+ * **Disabled**
531
614
  */
532
- export type DomainServicesListResponse = DomainServiceListResult & {
533
- /**
534
- * The underlying HTTP response.
535
- */
536
- _response: msRest.HttpResponse & {
537
- /**
538
- * The response body as text (string format)
539
- */
540
- bodyAsText: string;
541
- /**
542
- * The response body as parsed JSON or XML
543
- */
544
- parsedBody: DomainServiceListResult;
545
- };
546
- };
615
+ export type KerberosArmoring = string;
547
616
 
548
- /**
549
- * Contains response data for the listByResourceGroup operation.
550
- */
551
- export type DomainServicesListByResourceGroupResponse = DomainServiceListResult & {
552
- /**
553
- * The underlying HTTP response.
554
- */
555
- _response: msRest.HttpResponse & {
556
- /**
557
- * The response body as text (string format)
558
- */
559
- bodyAsText: string;
560
- /**
561
- * The response body as parsed JSON or XML
562
- */
563
- parsedBody: DomainServiceListResult;
564
- };
565
- };
617
+ /** Known values of {@link FilteredSync} that the service accepts. */
618
+ export enum KnownFilteredSync {
619
+ Enabled = "Enabled",
620
+ Disabled = "Disabled"
621
+ }
566
622
 
567
623
  /**
568
- * Contains response data for the createOrUpdate operation.
624
+ * Defines values for FilteredSync. \
625
+ * {@link KnownFilteredSync} can be used interchangeably with FilteredSync,
626
+ * this enum contains the known values that the service supports.
627
+ * ### Known values supported by the service
628
+ * **Enabled** \
629
+ * **Disabled**
569
630
  */
570
- export type DomainServicesCreateOrUpdateResponse = DomainService & {
571
- /**
572
- * The underlying HTTP response.
573
- */
574
- _response: msRest.HttpResponse & {
575
- /**
576
- * The response body as text (string format)
577
- */
578
- bodyAsText: string;
579
- /**
580
- * The response body as parsed JSON or XML
581
- */
582
- parsedBody: DomainService;
583
- };
584
- };
631
+ export type FilteredSync = string;
585
632
 
586
- /**
587
- * Contains response data for the get operation.
588
- */
589
- export type DomainServicesGetResponse = DomainService & {
590
- /**
591
- * The underlying HTTP response.
592
- */
593
- _response: msRest.HttpResponse & {
594
- /**
595
- * The response body as text (string format)
596
- */
597
- bodyAsText: string;
598
- /**
599
- * The response body as parsed JSON or XML
600
- */
601
- parsedBody: DomainService;
602
- };
603
- };
633
+ /** Known values of {@link NotifyGlobalAdmins} that the service accepts. */
634
+ export enum KnownNotifyGlobalAdmins {
635
+ Enabled = "Enabled",
636
+ Disabled = "Disabled"
637
+ }
604
638
 
605
639
  /**
606
- * Contains response data for the deleteMethod operation.
640
+ * Defines values for NotifyGlobalAdmins. \
641
+ * {@link KnownNotifyGlobalAdmins} can be used interchangeably with NotifyGlobalAdmins,
642
+ * this enum contains the known values that the service supports.
643
+ * ### Known values supported by the service
644
+ * **Enabled** \
645
+ * **Disabled**
607
646
  */
608
- export type DomainServicesDeleteMethodResponse = DomainService & {
609
- /**
610
- * The underlying HTTP response.
611
- */
612
- _response: msRest.HttpResponse & {
613
- /**
614
- * The response body as text (string format)
615
- */
616
- bodyAsText: string;
617
- /**
618
- * The response body as parsed JSON or XML
619
- */
620
- parsedBody: DomainService;
621
- };
622
- };
647
+ export type NotifyGlobalAdmins = string;
623
648
 
624
- /**
625
- * Contains response data for the update operation.
626
- */
627
- export type DomainServicesUpdateResponse = DomainService & {
628
- /**
629
- * The underlying HTTP response.
630
- */
631
- _response: msRest.HttpResponse & {
632
- /**
633
- * The response body as text (string format)
634
- */
635
- bodyAsText: string;
636
- /**
637
- * The response body as parsed JSON or XML
638
- */
639
- parsedBody: DomainService;
640
- };
641
- };
649
+ /** Known values of {@link NotifyDcAdmins} that the service accepts. */
650
+ export enum KnownNotifyDcAdmins {
651
+ Enabled = "Enabled",
652
+ Disabled = "Disabled"
653
+ }
642
654
 
643
655
  /**
644
- * Contains response data for the beginCreateOrUpdate operation.
656
+ * Defines values for NotifyDcAdmins. \
657
+ * {@link KnownNotifyDcAdmins} can be used interchangeably with NotifyDcAdmins,
658
+ * this enum contains the known values that the service supports.
659
+ * ### Known values supported by the service
660
+ * **Enabled** \
661
+ * **Disabled**
645
662
  */
646
- export type DomainServicesBeginCreateOrUpdateResponse = DomainService & {
647
- /**
648
- * The underlying HTTP response.
649
- */
650
- _response: msRest.HttpResponse & {
651
- /**
652
- * The response body as text (string format)
653
- */
654
- bodyAsText: string;
655
- /**
656
- * The response body as parsed JSON or XML
657
- */
658
- parsedBody: DomainService;
659
- };
660
- };
663
+ export type NotifyDcAdmins = string;
661
664
 
662
- /**
663
- * Contains response data for the beginDeleteMethod operation.
664
- */
665
- export type DomainServicesBeginDeleteMethodResponse = DomainService & {
666
- /**
667
- * The underlying HTTP response.
668
- */
669
- _response: msRest.HttpResponse & {
670
- /**
671
- * The response body as text (string format)
672
- */
673
- bodyAsText: string;
674
- /**
675
- * The response body as parsed JSON or XML
676
- */
677
- parsedBody: DomainService;
678
- };
679
- };
665
+ /** Known values of {@link Status} that the service accepts. */
666
+ export enum KnownStatus {
667
+ None = "None",
668
+ Running = "Running",
669
+ OK = "OK",
670
+ Failure = "Failure",
671
+ Warning = "Warning",
672
+ Skipped = "Skipped"
673
+ }
680
674
 
681
675
  /**
682
- * Contains response data for the beginUpdate operation.
683
- */
684
- export type DomainServicesBeginUpdateResponse = DomainService & {
685
- /**
686
- * The underlying HTTP response.
687
- */
688
- _response: msRest.HttpResponse & {
689
- /**
690
- * The response body as text (string format)
691
- */
692
- bodyAsText: string;
693
- /**
694
- * The response body as parsed JSON or XML
695
- */
696
- parsedBody: DomainService;
697
- };
698
- };
676
+ * Defines values for Status. \
677
+ * {@link KnownStatus} can be used interchangeably with Status,
678
+ * this enum contains the known values that the service supports.
679
+ * ### Known values supported by the service
680
+ * **None** \
681
+ * **Running** \
682
+ * **OK** \
683
+ * **Failure** \
684
+ * **Warning** \
685
+ * **Skipped**
686
+ */
687
+ export type Status = string;
688
+
689
+ /** Known values of {@link CreatedByType} that the service accepts. */
690
+ export enum KnownCreatedByType {
691
+ User = "User",
692
+ Application = "Application",
693
+ ManagedIdentity = "ManagedIdentity",
694
+ Key = "Key"
695
+ }
699
696
 
700
697
  /**
701
- * Contains response data for the listNext operation.
698
+ * Defines values for CreatedByType. \
699
+ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
700
+ * this enum contains the known values that the service supports.
701
+ * ### Known values supported by the service
702
+ * **User** \
703
+ * **Application** \
704
+ * **ManagedIdentity** \
705
+ * **Key**
702
706
  */
703
- export type DomainServicesListNextResponse = DomainServiceListResult & {
704
- /**
705
- * The underlying HTTP response.
706
- */
707
- _response: msRest.HttpResponse & {
708
- /**
709
- * The response body as text (string format)
710
- */
711
- bodyAsText: string;
712
- /**
713
- * The response body as parsed JSON or XML
714
- */
715
- parsedBody: DomainServiceListResult;
716
- };
717
- };
707
+ export type CreatedByType = string;
718
708
 
719
- /**
720
- * Contains response data for the listByResourceGroupNext operation.
721
- */
722
- export type DomainServicesListByResourceGroupNextResponse = DomainServiceListResult & {
723
- /**
724
- * The underlying HTTP response.
725
- */
726
- _response: msRest.HttpResponse & {
727
- /**
728
- * The response body as text (string format)
729
- */
730
- bodyAsText: string;
731
- /**
732
- * The response body as parsed JSON or XML
733
- */
734
- parsedBody: DomainServiceListResult;
735
- };
736
- };
709
+ /** Optional parameters. */
710
+ export interface DomainServiceOperationsListOptionalParams
711
+ extends coreClient.OperationOptions {}
712
+
713
+ /** Contains response data for the list operation. */
714
+ export type DomainServiceOperationsListResponse = OperationEntityListResult;
715
+
716
+ /** Optional parameters. */
717
+ export interface DomainServiceOperationsListNextOptionalParams
718
+ extends coreClient.OperationOptions {}
719
+
720
+ /** Contains response data for the listNext operation. */
721
+ export type DomainServiceOperationsListNextResponse = OperationEntityListResult;
722
+
723
+ /** Optional parameters. */
724
+ export interface DomainServicesListOptionalParams
725
+ extends coreClient.OperationOptions {}
726
+
727
+ /** Contains response data for the list operation. */
728
+ export type DomainServicesListResponse = DomainServiceListResult;
729
+
730
+ /** Optional parameters. */
731
+ export interface DomainServicesListByResourceGroupOptionalParams
732
+ extends coreClient.OperationOptions {}
733
+
734
+ /** Contains response data for the listByResourceGroup operation. */
735
+ export type DomainServicesListByResourceGroupResponse = DomainServiceListResult;
736
+
737
+ /** Optional parameters. */
738
+ export interface DomainServicesCreateOrUpdateOptionalParams
739
+ extends coreClient.OperationOptions {
740
+ /** Delay to wait until next poll, in milliseconds. */
741
+ updateIntervalInMs?: number;
742
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
743
+ resumeFrom?: string;
744
+ }
745
+
746
+ /** Contains response data for the createOrUpdate operation. */
747
+ export type DomainServicesCreateOrUpdateResponse = DomainService;
748
+
749
+ /** Optional parameters. */
750
+ export interface DomainServicesGetOptionalParams
751
+ extends coreClient.OperationOptions {}
752
+
753
+ /** Contains response data for the get operation. */
754
+ export type DomainServicesGetResponse = DomainService;
755
+
756
+ /** Optional parameters. */
757
+ export interface DomainServicesDeleteOptionalParams
758
+ extends coreClient.OperationOptions {
759
+ /** Delay to wait until next poll, in milliseconds. */
760
+ updateIntervalInMs?: number;
761
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
762
+ resumeFrom?: string;
763
+ }
764
+
765
+ /** Optional parameters. */
766
+ export interface DomainServicesUpdateOptionalParams
767
+ extends coreClient.OperationOptions {
768
+ /** Delay to wait until next poll, in milliseconds. */
769
+ updateIntervalInMs?: number;
770
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
771
+ resumeFrom?: string;
772
+ }
773
+
774
+ /** Contains response data for the update operation. */
775
+ export type DomainServicesUpdateResponse = DomainService;
776
+
777
+ /** Optional parameters. */
778
+ export interface DomainServicesListNextOptionalParams
779
+ extends coreClient.OperationOptions {}
780
+
781
+ /** Contains response data for the listNext operation. */
782
+ export type DomainServicesListNextResponse = DomainServiceListResult;
783
+
784
+ /** Optional parameters. */
785
+ export interface DomainServicesListByResourceGroupNextOptionalParams
786
+ extends coreClient.OperationOptions {}
787
+
788
+ /** Contains response data for the listByResourceGroupNext operation. */
789
+ export type DomainServicesListByResourceGroupNextResponse = DomainServiceListResult;
790
+
791
+ /** Optional parameters. */
792
+ export interface OuContainerOperationsListOptionalParams
793
+ extends coreClient.OperationOptions {}
794
+
795
+ /** Contains response data for the list operation. */
796
+ export type OuContainerOperationsListResponse = OperationEntityListResult;
797
+
798
+ /** Optional parameters. */
799
+ export interface OuContainerOperationsListNextOptionalParams
800
+ extends coreClient.OperationOptions {}
801
+
802
+ /** Contains response data for the listNext operation. */
803
+ export type OuContainerOperationsListNextResponse = OperationEntityListResult;
804
+
805
+ /** Optional parameters. */
806
+ export interface OuContainerListOptionalParams
807
+ extends coreClient.OperationOptions {}
808
+
809
+ /** Contains response data for the list operation. */
810
+ export type OuContainerListResponse = OuContainerListResult;
811
+
812
+ /** Optional parameters. */
813
+ export interface OuContainerGetOptionalParams
814
+ extends coreClient.OperationOptions {}
815
+
816
+ /** Contains response data for the get operation. */
817
+ export type OuContainerGetResponse = OuContainer;
818
+
819
+ /** Optional parameters. */
820
+ export interface OuContainerCreateOptionalParams
821
+ extends coreClient.OperationOptions {
822
+ /** Delay to wait until next poll, in milliseconds. */
823
+ updateIntervalInMs?: number;
824
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
825
+ resumeFrom?: string;
826
+ }
827
+
828
+ /** Contains response data for the create operation. */
829
+ export type OuContainerCreateResponse = OuContainer;
830
+
831
+ /** Optional parameters. */
832
+ export interface OuContainerDeleteOptionalParams
833
+ extends coreClient.OperationOptions {
834
+ /** Delay to wait until next poll, in milliseconds. */
835
+ updateIntervalInMs?: number;
836
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
837
+ resumeFrom?: string;
838
+ }
839
+
840
+ /** Optional parameters. */
841
+ export interface OuContainerUpdateOptionalParams
842
+ extends coreClient.OperationOptions {
843
+ /** Delay to wait until next poll, in milliseconds. */
844
+ updateIntervalInMs?: number;
845
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
846
+ resumeFrom?: string;
847
+ }
848
+
849
+ /** Contains response data for the update operation. */
850
+ export type OuContainerUpdateResponse = OuContainer;
851
+
852
+ /** Optional parameters. */
853
+ export interface OuContainerListNextOptionalParams
854
+ extends coreClient.OperationOptions {}
855
+
856
+ /** Contains response data for the listNext operation. */
857
+ export type OuContainerListNextResponse = OuContainerListResult;
858
+
859
+ /** Optional parameters. */
860
+ export interface DomainServicesResourceProviderOptionalParams
861
+ extends coreClient.ServiceClientOptions {
862
+ /** server parameter */
863
+ $host?: string;
864
+ /** Api Version */
865
+ apiVersion?: string;
866
+ /** Overrides client endpoint. */
867
+ endpoint?: string;
868
+ }