@azure/arm-containerservice 13.3.1 → 14.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/README.md +3 -6
  2. package/dist/arm-containerservice.js +1270 -255
  3. package/dist/arm-containerservice.js.map +1 -1
  4. package/dist/arm-containerservice.min.js +1 -1
  5. package/dist/arm-containerservice.min.js.map +1 -1
  6. package/esm/containerServiceClient.d.ts +1 -0
  7. package/esm/containerServiceClient.d.ts.map +1 -1
  8. package/esm/containerServiceClient.js +1 -0
  9. package/esm/containerServiceClient.js.map +1 -1
  10. package/esm/containerServiceClientContext.d.ts +1 -1
  11. package/esm/containerServiceClientContext.d.ts.map +1 -1
  12. package/esm/containerServiceClientContext.js +2 -2
  13. package/esm/containerServiceClientContext.js.map +1 -1
  14. package/esm/models/agentPoolsMappers.d.ts +1 -1
  15. package/esm/models/agentPoolsMappers.d.ts.map +1 -1
  16. package/esm/models/agentPoolsMappers.js +1 -1
  17. package/esm/models/agentPoolsMappers.js.map +1 -1
  18. package/esm/models/index.d.ts +1077 -429
  19. package/esm/models/index.d.ts.map +1 -1
  20. package/esm/models/maintenanceConfigurationsMappers.d.ts +1 -1
  21. package/esm/models/maintenanceConfigurationsMappers.d.ts.map +1 -1
  22. package/esm/models/maintenanceConfigurationsMappers.js +1 -1
  23. package/esm/models/maintenanceConfigurationsMappers.js.map +1 -1
  24. package/esm/models/managedClustersMappers.d.ts +1 -1
  25. package/esm/models/managedClustersMappers.d.ts.map +1 -1
  26. package/esm/models/managedClustersMappers.js +1 -1
  27. package/esm/models/managedClustersMappers.js.map +1 -1
  28. package/esm/models/mappers.d.ts +19 -5
  29. package/esm/models/mappers.d.ts.map +1 -1
  30. package/esm/models/mappers.js +712 -173
  31. package/esm/models/mappers.js.map +1 -1
  32. package/esm/models/parameters.d.ts +1 -0
  33. package/esm/models/parameters.d.ts.map +1 -1
  34. package/esm/models/parameters.js +12 -0
  35. package/esm/models/parameters.js.map +1 -1
  36. package/esm/models/privateEndpointConnectionsMappers.d.ts +1 -1
  37. package/esm/models/privateEndpointConnectionsMappers.d.ts.map +1 -1
  38. package/esm/models/privateEndpointConnectionsMappers.js +1 -1
  39. package/esm/models/privateEndpointConnectionsMappers.js.map +1 -1
  40. package/esm/models/snapshotsMappers.d.ts +2 -0
  41. package/esm/models/snapshotsMappers.d.ts.map +1 -0
  42. package/esm/models/snapshotsMappers.js +9 -0
  43. package/esm/models/snapshotsMappers.js.map +1 -0
  44. package/esm/operations/agentPools.d.ts +20 -25
  45. package/esm/operations/agentPools.d.ts.map +1 -1
  46. package/esm/operations/agentPools.js +21 -17
  47. package/esm/operations/agentPools.js.map +1 -1
  48. package/esm/operations/index.d.ts +1 -0
  49. package/esm/operations/index.d.ts.map +1 -1
  50. package/esm/operations/index.js +1 -0
  51. package/esm/operations/index.js.map +1 -1
  52. package/esm/operations/maintenanceConfigurations.d.ts +5 -15
  53. package/esm/operations/maintenanceConfigurations.d.ts.map +1 -1
  54. package/esm/operations/maintenanceConfigurations.js.map +1 -1
  55. package/esm/operations/managedClusters.d.ts +108 -79
  56. package/esm/operations/managedClusters.d.ts.map +1 -1
  57. package/esm/operations/managedClusters.js +112 -47
  58. package/esm/operations/managedClusters.js.map +1 -1
  59. package/esm/operations/operations.d.ts +1 -1
  60. package/esm/operations/privateEndpointConnections.d.ts +6 -10
  61. package/esm/operations/privateEndpointConnections.d.ts.map +1 -1
  62. package/esm/operations/privateEndpointConnections.js +0 -2
  63. package/esm/operations/privateEndpointConnections.js.map +1 -1
  64. package/esm/operations/privateLinkResources.d.ts +1 -2
  65. package/esm/operations/privateLinkResources.d.ts.map +1 -1
  66. package/esm/operations/privateLinkResources.js.map +1 -1
  67. package/esm/operations/resolvePrivateLinkServiceId.d.ts +3 -7
  68. package/esm/operations/resolvePrivateLinkServiceId.d.ts.map +1 -1
  69. package/esm/operations/resolvePrivateLinkServiceId.js.map +1 -1
  70. package/esm/operations/snapshots.d.ts +172 -0
  71. package/esm/operations/snapshots.d.ts.map +1 -0
  72. package/esm/operations/snapshots.js +277 -0
  73. package/esm/operations/snapshots.js.map +1 -0
  74. package/package.json +2 -2
  75. package/src/containerServiceClient.ts +2 -0
  76. package/src/containerServiceClientContext.ts +3 -3
  77. package/src/models/agentPoolsMappers.ts +11 -2
  78. package/src/models/index.ts +1115 -428
  79. package/src/models/maintenanceConfigurationsMappers.ts +10 -2
  80. package/src/models/managedClustersMappers.ts +14 -2
  81. package/src/models/mappers.ts +751 -183
  82. package/src/models/parameters.ts +12 -0
  83. package/src/models/privateEndpointConnectionsMappers.ts +10 -2
  84. package/src/models/snapshotsMappers.ts +70 -0
  85. package/src/operations/agentPools.ts +27 -28
  86. package/src/operations/index.ts +1 -0
  87. package/src/operations/maintenanceConfigurations.ts +5 -15
  88. package/src/operations/managedClusters.ts +187 -85
  89. package/src/operations/operations.ts +1 -1
  90. package/src/operations/privateEndpointConnections.ts +6 -10
  91. package/src/operations/privateLinkResources.ts +1 -2
  92. package/src/operations/resolvePrivateLinkServiceId.ts +3 -7
  93. package/src/operations/snapshots.ts +484 -0
@@ -27,7 +27,6 @@ export class ManagedClusters {
27
27
  }
28
28
 
29
29
  /**
30
- * Gets supported OS options in the specified subscription.
31
30
  * @summary Gets supported OS options in the specified subscription.
32
31
  * @param location The name of a supported Azure region.
33
32
  * @param [options] The optional parameters
@@ -56,8 +55,6 @@ export class ManagedClusters {
56
55
  }
57
56
 
58
57
  /**
59
- * Gets a list of managed clusters in the specified subscription. The operation returns properties
60
- * of each managed cluster.
61
58
  * @summary Gets a list of managed clusters in the specified subscription.
62
59
  * @param [options] The optional parameters
63
60
  * @returns Promise<Models.ManagedClustersListResponse>
@@ -82,8 +79,6 @@ export class ManagedClusters {
82
79
  }
83
80
 
84
81
  /**
85
- * Lists managed clusters in the specified subscription and resource group. The operation returns
86
- * properties of each managed cluster.
87
82
  * @summary Lists managed clusters in the specified subscription and resource group.
88
83
  * @param resourceGroupName The name of the resource group.
89
84
  * @param [options] The optional parameters
@@ -112,9 +107,7 @@ export class ManagedClusters {
112
107
  }
113
108
 
114
109
  /**
115
- * Gets the details of the upgrade profile for a managed cluster with a specified resource group
116
- * and name.
117
- * @summary Gets upgrade profile for a managed cluster.
110
+ * @summary Gets the upgrade profile of a managed cluster.
118
111
  * @param resourceGroupName The name of the resource group.
119
112
  * @param resourceName The name of the managed cluster resource.
120
113
  * @param [options] The optional parameters
@@ -146,11 +139,10 @@ export class ManagedClusters {
146
139
  }
147
140
 
148
141
  /**
149
- * Gets the accessProfile for the specified role name of the managed cluster with a specified
150
- * resource group and name. **WARNING**: This API will be deprecated. Instead use
151
- * [ListClusterUserCredentials](https://docs.microsoft.com/en-us/rest/api/aks/managedclusters/listclusterusercredentials)
142
+ * **WARNING**: This API will be deprecated. Instead use
143
+ * [ListClusterUserCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusterusercredentials)
152
144
  * or
153
- * [ListClusterAdminCredentials](https://docs.microsoft.com/en-us/rest/api/aks/managedclusters/listclusteradmincredentials)
145
+ * [ListClusterAdminCredentials](https://docs.microsoft.com/rest/api/aks/managedclusters/listclusteradmincredentials)
154
146
  * .
155
147
  * @summary Gets an access profile of a managed cluster.
156
148
  * @param resourceGroupName The name of the resource group.
@@ -191,14 +183,13 @@ export class ManagedClusters {
191
183
  }
192
184
 
193
185
  /**
194
- * Gets cluster admin credential of the managed cluster with a specified resource group and name.
195
- * @summary Gets cluster admin credential of a managed cluster.
186
+ * @summary Lists the admin credentials of a managed cluster.
196
187
  * @param resourceGroupName The name of the resource group.
197
188
  * @param resourceName The name of the managed cluster resource.
198
189
  * @param [options] The optional parameters
199
190
  * @returns Promise<Models.ManagedClustersListClusterAdminCredentialsResponse>
200
191
  */
201
- listClusterAdminCredentials(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedClustersListClusterAdminCredentialsResponse>;
192
+ listClusterAdminCredentials(resourceGroupName: string, resourceName: string, options?: Models.ManagedClustersListClusterAdminCredentialsOptionalParams): Promise<Models.ManagedClustersListClusterAdminCredentialsResponse>;
202
193
  /**
203
194
  * @param resourceGroupName The name of the resource group.
204
195
  * @param resourceName The name of the managed cluster resource.
@@ -211,8 +202,8 @@ export class ManagedClusters {
211
202
  * @param options The optional parameters
212
203
  * @param callback The callback
213
204
  */
214
- listClusterAdminCredentials(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.CredentialResults>): void;
215
- listClusterAdminCredentials(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.CredentialResults>, callback?: msRest.ServiceCallback<Models.CredentialResults>): Promise<Models.ManagedClustersListClusterAdminCredentialsResponse> {
205
+ listClusterAdminCredentials(resourceGroupName: string, resourceName: string, options: Models.ManagedClustersListClusterAdminCredentialsOptionalParams, callback: msRest.ServiceCallback<Models.CredentialResults>): void;
206
+ listClusterAdminCredentials(resourceGroupName: string, resourceName: string, options?: Models.ManagedClustersListClusterAdminCredentialsOptionalParams | msRest.ServiceCallback<Models.CredentialResults>, callback?: msRest.ServiceCallback<Models.CredentialResults>): Promise<Models.ManagedClustersListClusterAdminCredentialsResponse> {
216
207
  return this.client.sendOperationRequest(
217
208
  {
218
209
  resourceGroupName,
@@ -224,14 +215,13 @@ export class ManagedClusters {
224
215
  }
225
216
 
226
217
  /**
227
- * Gets cluster user credential of the managed cluster with a specified resource group and name.
228
- * @summary Gets cluster user credential of a managed cluster.
218
+ * @summary Lists the user credentials of a managed cluster.
229
219
  * @param resourceGroupName The name of the resource group.
230
220
  * @param resourceName The name of the managed cluster resource.
231
221
  * @param [options] The optional parameters
232
222
  * @returns Promise<Models.ManagedClustersListClusterUserCredentialsResponse>
233
223
  */
234
- listClusterUserCredentials(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedClustersListClusterUserCredentialsResponse>;
224
+ listClusterUserCredentials(resourceGroupName: string, resourceName: string, options?: Models.ManagedClustersListClusterUserCredentialsOptionalParams): Promise<Models.ManagedClustersListClusterUserCredentialsResponse>;
235
225
  /**
236
226
  * @param resourceGroupName The name of the resource group.
237
227
  * @param resourceName The name of the managed cluster resource.
@@ -244,8 +234,8 @@ export class ManagedClusters {
244
234
  * @param options The optional parameters
245
235
  * @param callback The callback
246
236
  */
247
- listClusterUserCredentials(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.CredentialResults>): void;
248
- listClusterUserCredentials(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.CredentialResults>, callback?: msRest.ServiceCallback<Models.CredentialResults>): Promise<Models.ManagedClustersListClusterUserCredentialsResponse> {
237
+ listClusterUserCredentials(resourceGroupName: string, resourceName: string, options: Models.ManagedClustersListClusterUserCredentialsOptionalParams, callback: msRest.ServiceCallback<Models.CredentialResults>): void;
238
+ listClusterUserCredentials(resourceGroupName: string, resourceName: string, options?: Models.ManagedClustersListClusterUserCredentialsOptionalParams | msRest.ServiceCallback<Models.CredentialResults>, callback?: msRest.ServiceCallback<Models.CredentialResults>): Promise<Models.ManagedClustersListClusterUserCredentialsResponse> {
249
239
  return this.client.sendOperationRequest(
250
240
  {
251
241
  resourceGroupName,
@@ -257,15 +247,13 @@ export class ManagedClusters {
257
247
  }
258
248
 
259
249
  /**
260
- * Gets cluster monitoring user credential of the managed cluster with a specified resource group
261
- * and name.
262
- * @summary Gets cluster monitoring user credential of a managed cluster.
250
+ * @summary Lists the cluster monitoring user credentials of a managed cluster.
263
251
  * @param resourceGroupName The name of the resource group.
264
252
  * @param resourceName The name of the managed cluster resource.
265
253
  * @param [options] The optional parameters
266
254
  * @returns Promise<Models.ManagedClustersListClusterMonitoringUserCredentialsResponse>
267
255
  */
268
- listClusterMonitoringUserCredentials(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedClustersListClusterMonitoringUserCredentialsResponse>;
256
+ listClusterMonitoringUserCredentials(resourceGroupName: string, resourceName: string, options?: Models.ManagedClustersListClusterMonitoringUserCredentialsOptionalParams): Promise<Models.ManagedClustersListClusterMonitoringUserCredentialsResponse>;
269
257
  /**
270
258
  * @param resourceGroupName The name of the resource group.
271
259
  * @param resourceName The name of the managed cluster resource.
@@ -278,8 +266,8 @@ export class ManagedClusters {
278
266
  * @param options The optional parameters
279
267
  * @param callback The callback
280
268
  */
281
- listClusterMonitoringUserCredentials(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.CredentialResults>): void;
282
- listClusterMonitoringUserCredentials(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.CredentialResults>, callback?: msRest.ServiceCallback<Models.CredentialResults>): Promise<Models.ManagedClustersListClusterMonitoringUserCredentialsResponse> {
269
+ listClusterMonitoringUserCredentials(resourceGroupName: string, resourceName: string, options: Models.ManagedClustersListClusterMonitoringUserCredentialsOptionalParams, callback: msRest.ServiceCallback<Models.CredentialResults>): void;
270
+ listClusterMonitoringUserCredentials(resourceGroupName: string, resourceName: string, options?: Models.ManagedClustersListClusterMonitoringUserCredentialsOptionalParams | msRest.ServiceCallback<Models.CredentialResults>, callback?: msRest.ServiceCallback<Models.CredentialResults>): Promise<Models.ManagedClustersListClusterMonitoringUserCredentialsResponse> {
283
271
  return this.client.sendOperationRequest(
284
272
  {
285
273
  resourceGroupName,
@@ -291,7 +279,6 @@ export class ManagedClusters {
291
279
  }
292
280
 
293
281
  /**
294
- * Gets the details of the managed cluster with a specified resource group and name.
295
282
  * @summary Gets a managed cluster.
296
283
  * @param resourceGroupName The name of the resource group.
297
284
  * @param resourceName The name of the managed cluster resource.
@@ -324,12 +311,10 @@ export class ManagedClusters {
324
311
  }
325
312
 
326
313
  /**
327
- * Creates or updates a managed cluster with the specified configuration for agents and Kubernetes
328
- * version.
329
314
  * @summary Creates or updates a managed cluster.
330
315
  * @param resourceGroupName The name of the resource group.
331
316
  * @param resourceName The name of the managed cluster resource.
332
- * @param parameters Parameters supplied to the Create or Update a Managed Cluster operation.
317
+ * @param parameters The managed cluster to create or update.
333
318
  * @param [options] The optional parameters
334
319
  * @returns Promise<Models.ManagedClustersCreateOrUpdateResponse>
335
320
  */
@@ -339,7 +324,6 @@ export class ManagedClusters {
339
324
  }
340
325
 
341
326
  /**
342
- * Updates a managed cluster with the specified tags.
343
327
  * @summary Updates tags on a managed cluster.
344
328
  * @param resourceGroupName The name of the resource group.
345
329
  * @param resourceName The name of the managed cluster resource.
@@ -353,7 +337,6 @@ export class ManagedClusters {
353
337
  }
354
338
 
355
339
  /**
356
- * Deletes the managed cluster with a specified resource group and name.
357
340
  * @summary Deletes a managed cluster.
358
341
  * @param resourceGroupName The name of the resource group.
359
342
  * @param resourceName The name of the managed cluster resource.
@@ -366,12 +349,11 @@ export class ManagedClusters {
366
349
  }
367
350
 
368
351
  /**
369
- * Update the service principal Profile for a managed cluster.
370
- * @summary Reset Service Principal Profile of a managed cluster.
352
+ * This action cannot be performed on a cluster that is not using a service principal
353
+ * @summary Reset the Service Principal Profile of a managed cluster.
371
354
  * @param resourceGroupName The name of the resource group.
372
355
  * @param resourceName The name of the managed cluster resource.
373
- * @param parameters Parameters supplied to the Reset Service Principal Profile operation for a
374
- * Managed Cluster.
356
+ * @param parameters The service principal profile to set on the managed cluster.
375
357
  * @param [options] The optional parameters
376
358
  * @returns Promise<msRest.RestResponse>
377
359
  */
@@ -381,11 +363,10 @@ export class ManagedClusters {
381
363
  }
382
364
 
383
365
  /**
384
- * Update the AAD Profile for a managed cluster.
385
- * @summary Reset AAD Profile of a managed cluster.
366
+ * @summary Reset the AAD Profile of a managed cluster.
386
367
  * @param resourceGroupName The name of the resource group.
387
368
  * @param resourceName The name of the managed cluster resource.
388
- * @param parameters Parameters supplied to the Reset AAD Profile operation for a Managed Cluster.
369
+ * @param parameters The AAD profile to set on the Managed Cluster
389
370
  * @param [options] The optional parameters
390
371
  * @returns Promise<msRest.RestResponse>
391
372
  */
@@ -395,8 +376,9 @@ export class ManagedClusters {
395
376
  }
396
377
 
397
378
  /**
398
- * Rotate certificates of a managed cluster.
399
- * @summary Rotate certificates of a managed cluster.
379
+ * See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more
380
+ * details about rotating managed cluster certificates.
381
+ * @summary Rotates the certificates of a managed cluster.
400
382
  * @param resourceGroupName The name of the resource group.
401
383
  * @param resourceName The name of the managed cluster resource.
402
384
  * @param [options] The optional parameters
@@ -408,8 +390,12 @@ export class ManagedClusters {
408
390
  }
409
391
 
410
392
  /**
411
- * Stops a Running Managed Cluster
412
- * @summary Stop Managed Cluster
393
+ * This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a
394
+ * cluster stops the control plane and agent nodes entirely, while maintaining all object and
395
+ * cluster state. A cluster does not accrue charges while it is stopped. See [stopping a
396
+ * cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about
397
+ * stopping a cluster.
398
+ * @summary Stops a Managed Cluster
413
399
  * @param resourceGroupName The name of the resource group.
414
400
  * @param resourceName The name of the managed cluster resource.
415
401
  * @param [options] The optional parameters
@@ -421,8 +407,9 @@ export class ManagedClusters {
421
407
  }
422
408
 
423
409
  /**
424
- * Starts a Stopped Managed Cluster
425
- * @summary Start Managed Cluster
410
+ * See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more
411
+ * details about starting a cluster.
412
+ * @summary Starts a previously stopped Managed Cluster
426
413
  * @param resourceGroupName The name of the resource group.
427
414
  * @param resourceName The name of the managed cluster resource.
428
415
  * @param [options] The optional parameters
@@ -434,12 +421,13 @@ export class ManagedClusters {
434
421
  }
435
422
 
436
423
  /**
437
- * Submit a command to run against managed kubernetes service, it will create a pod to run the
438
- * command.
439
- * @summary Run Command against Managed Kubernetes Service
424
+ * AKS will create a pod to run the command. This is primarily useful for private clusters. For
425
+ * more information see [AKS Run
426
+ * Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview).
427
+ * @summary Submits a command to run against the Managed Cluster.
440
428
  * @param resourceGroupName The name of the resource group.
441
429
  * @param resourceName The name of the managed cluster resource.
442
- * @param requestPayload Parameters supplied to the RunCommand operation.
430
+ * @param requestPayload The run command request
443
431
  * @param [options] The optional parameters
444
432
  * @returns Promise<Models.ManagedClustersRunCommandResponse>
445
433
  */
@@ -449,11 +437,10 @@ export class ManagedClusters {
449
437
  }
450
438
 
451
439
  /**
452
- * Get command result from previous runCommand invoke.
453
- * @summary Get command result.
440
+ * @summary Gets the results of a command which has been run on the Managed Cluster.
454
441
  * @param resourceGroupName The name of the resource group.
455
442
  * @param resourceName The name of the managed cluster resource.
456
- * @param commandId Id of the command request.
443
+ * @param commandId Id of the command.
457
444
  * @param [options] The optional parameters
458
445
  * @returns Promise<Models.ManagedClustersGetCommandResultResponse>
459
446
  */
@@ -461,14 +448,14 @@ export class ManagedClusters {
461
448
  /**
462
449
  * @param resourceGroupName The name of the resource group.
463
450
  * @param resourceName The name of the managed cluster resource.
464
- * @param commandId Id of the command request.
451
+ * @param commandId Id of the command.
465
452
  * @param callback The callback
466
453
  */
467
454
  getCommandResult(resourceGroupName: string, resourceName: string, commandId: string, callback: msRest.ServiceCallback<Models.RunCommandResult>): void;
468
455
  /**
469
456
  * @param resourceGroupName The name of the resource group.
470
457
  * @param resourceName The name of the managed cluster resource.
471
- * @param commandId Id of the command request.
458
+ * @param commandId Id of the command.
472
459
  * @param options The optional parameters
473
460
  * @param callback The callback
474
461
  */
@@ -486,12 +473,45 @@ export class ManagedClusters {
486
473
  }
487
474
 
488
475
  /**
489
- * Creates or updates a managed cluster with the specified configuration for agents and Kubernetes
490
- * version.
476
+ * Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the
477
+ * specified managed cluster. The operation returns properties of each egress endpoint.
478
+ * @summary Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the
479
+ * specified managed cluster.
480
+ * @param resourceGroupName The name of the resource group.
481
+ * @param resourceName The name of the managed cluster resource.
482
+ * @param [options] The optional parameters
483
+ * @returns Promise<Models.ManagedClustersListOutboundNetworkDependenciesEndpointsResponse>
484
+ */
485
+ listOutboundNetworkDependenciesEndpoints(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedClustersListOutboundNetworkDependenciesEndpointsResponse>;
486
+ /**
487
+ * @param resourceGroupName The name of the resource group.
488
+ * @param resourceName The name of the managed cluster resource.
489
+ * @param callback The callback
490
+ */
491
+ listOutboundNetworkDependenciesEndpoints(resourceGroupName: string, resourceName: string, callback: msRest.ServiceCallback<Models.OutboundEnvironmentEndpointCollection>): void;
492
+ /**
493
+ * @param resourceGroupName The name of the resource group.
494
+ * @param resourceName The name of the managed cluster resource.
495
+ * @param options The optional parameters
496
+ * @param callback The callback
497
+ */
498
+ listOutboundNetworkDependenciesEndpoints(resourceGroupName: string, resourceName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OutboundEnvironmentEndpointCollection>): void;
499
+ listOutboundNetworkDependenciesEndpoints(resourceGroupName: string, resourceName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.OutboundEnvironmentEndpointCollection>, callback?: msRest.ServiceCallback<Models.OutboundEnvironmentEndpointCollection>): Promise<Models.ManagedClustersListOutboundNetworkDependenciesEndpointsResponse> {
500
+ return this.client.sendOperationRequest(
501
+ {
502
+ resourceGroupName,
503
+ resourceName,
504
+ options
505
+ },
506
+ listOutboundNetworkDependenciesEndpointsOperationSpec,
507
+ callback) as Promise<Models.ManagedClustersListOutboundNetworkDependenciesEndpointsResponse>;
508
+ }
509
+
510
+ /**
491
511
  * @summary Creates or updates a managed cluster.
492
512
  * @param resourceGroupName The name of the resource group.
493
513
  * @param resourceName The name of the managed cluster resource.
494
- * @param parameters Parameters supplied to the Create or Update a Managed Cluster operation.
514
+ * @param parameters The managed cluster to create or update.
495
515
  * @param [options] The optional parameters
496
516
  * @returns Promise<msRestAzure.LROPoller>
497
517
  */
@@ -508,7 +528,6 @@ export class ManagedClusters {
508
528
  }
509
529
 
510
530
  /**
511
- * Updates a managed cluster with the specified tags.
512
531
  * @summary Updates tags on a managed cluster.
513
532
  * @param resourceGroupName The name of the resource group.
514
533
  * @param resourceName The name of the managed cluster resource.
@@ -529,7 +548,6 @@ export class ManagedClusters {
529
548
  }
530
549
 
531
550
  /**
532
- * Deletes the managed cluster with a specified resource group and name.
533
551
  * @summary Deletes a managed cluster.
534
552
  * @param resourceGroupName The name of the resource group.
535
553
  * @param resourceName The name of the managed cluster resource.
@@ -548,12 +566,11 @@ export class ManagedClusters {
548
566
  }
549
567
 
550
568
  /**
551
- * Update the service principal Profile for a managed cluster.
552
- * @summary Reset Service Principal Profile of a managed cluster.
569
+ * This action cannot be performed on a cluster that is not using a service principal
570
+ * @summary Reset the Service Principal Profile of a managed cluster.
553
571
  * @param resourceGroupName The name of the resource group.
554
572
  * @param resourceName The name of the managed cluster resource.
555
- * @param parameters Parameters supplied to the Reset Service Principal Profile operation for a
556
- * Managed Cluster.
573
+ * @param parameters The service principal profile to set on the managed cluster.
557
574
  * @param [options] The optional parameters
558
575
  * @returns Promise<msRestAzure.LROPoller>
559
576
  */
@@ -570,11 +587,10 @@ export class ManagedClusters {
570
587
  }
571
588
 
572
589
  /**
573
- * Update the AAD Profile for a managed cluster.
574
- * @summary Reset AAD Profile of a managed cluster.
590
+ * @summary Reset the AAD Profile of a managed cluster.
575
591
  * @param resourceGroupName The name of the resource group.
576
592
  * @param resourceName The name of the managed cluster resource.
577
- * @param parameters Parameters supplied to the Reset AAD Profile operation for a Managed Cluster.
593
+ * @param parameters The AAD profile to set on the Managed Cluster
578
594
  * @param [options] The optional parameters
579
595
  * @returns Promise<msRestAzure.LROPoller>
580
596
  */
@@ -591,8 +607,9 @@ export class ManagedClusters {
591
607
  }
592
608
 
593
609
  /**
594
- * Rotate certificates of a managed cluster.
595
- * @summary Rotate certificates of a managed cluster.
610
+ * See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more
611
+ * details about rotating managed cluster certificates.
612
+ * @summary Rotates the certificates of a managed cluster.
596
613
  * @param resourceGroupName The name of the resource group.
597
614
  * @param resourceName The name of the managed cluster resource.
598
615
  * @param [options] The optional parameters
@@ -610,8 +627,12 @@ export class ManagedClusters {
610
627
  }
611
628
 
612
629
  /**
613
- * Stops a Running Managed Cluster
614
- * @summary Stop Managed Cluster
630
+ * This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a
631
+ * cluster stops the control plane and agent nodes entirely, while maintaining all object and
632
+ * cluster state. A cluster does not accrue charges while it is stopped. See [stopping a
633
+ * cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about
634
+ * stopping a cluster.
635
+ * @summary Stops a Managed Cluster
615
636
  * @param resourceGroupName The name of the resource group.
616
637
  * @param resourceName The name of the managed cluster resource.
617
638
  * @param [options] The optional parameters
@@ -629,8 +650,9 @@ export class ManagedClusters {
629
650
  }
630
651
 
631
652
  /**
632
- * Starts a Stopped Managed Cluster
633
- * @summary Start Managed Cluster
653
+ * See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more
654
+ * details about starting a cluster.
655
+ * @summary Starts a previously stopped Managed Cluster
634
656
  * @param resourceGroupName The name of the resource group.
635
657
  * @param resourceName The name of the managed cluster resource.
636
658
  * @param [options] The optional parameters
@@ -648,12 +670,13 @@ export class ManagedClusters {
648
670
  }
649
671
 
650
672
  /**
651
- * Submit a command to run against managed kubernetes service, it will create a pod to run the
652
- * command.
653
- * @summary Run Command against Managed Kubernetes Service
673
+ * AKS will create a pod to run the command. This is primarily useful for private clusters. For
674
+ * more information see [AKS Run
675
+ * Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview).
676
+ * @summary Submits a command to run against the Managed Cluster.
654
677
  * @param resourceGroupName The name of the resource group.
655
678
  * @param resourceName The name of the managed cluster resource.
656
- * @param requestPayload Parameters supplied to the RunCommand operation.
679
+ * @param requestPayload The run command request
657
680
  * @param [options] The optional parameters
658
681
  * @returns Promise<msRestAzure.LROPoller>
659
682
  */
@@ -670,8 +693,6 @@ export class ManagedClusters {
670
693
  }
671
694
 
672
695
  /**
673
- * Gets a list of managed clusters in the specified subscription. The operation returns properties
674
- * of each managed cluster.
675
696
  * @summary Gets a list of managed clusters in the specified subscription.
676
697
  * @param nextPageLink The NextLink from the previous successful call to List operation.
677
698
  * @param [options] The optional parameters
@@ -700,8 +721,6 @@ export class ManagedClusters {
700
721
  }
701
722
 
702
723
  /**
703
- * Lists managed clusters in the specified subscription and resource group. The operation returns
704
- * properties of each managed cluster.
705
724
  * @summary Lists managed clusters in the specified subscription and resource group.
706
725
  * @param nextPageLink The NextLink from the previous successful call to List operation.
707
726
  * @param [options] The optional parameters
@@ -728,6 +747,37 @@ export class ManagedClusters {
728
747
  listByResourceGroupNextOperationSpec,
729
748
  callback) as Promise<Models.ManagedClustersListByResourceGroupNextResponse>;
730
749
  }
750
+
751
+ /**
752
+ * Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the
753
+ * specified managed cluster. The operation returns properties of each egress endpoint.
754
+ * @summary Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the
755
+ * specified managed cluster.
756
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
757
+ * @param [options] The optional parameters
758
+ * @returns Promise<Models.ManagedClustersListOutboundNetworkDependenciesEndpointsNextResponse>
759
+ */
760
+ listOutboundNetworkDependenciesEndpointsNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ManagedClustersListOutboundNetworkDependenciesEndpointsNextResponse>;
761
+ /**
762
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
763
+ * @param callback The callback
764
+ */
765
+ listOutboundNetworkDependenciesEndpointsNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.OutboundEnvironmentEndpointCollection>): void;
766
+ /**
767
+ * @param nextPageLink The NextLink from the previous successful call to List operation.
768
+ * @param options The optional parameters
769
+ * @param callback The callback
770
+ */
771
+ listOutboundNetworkDependenciesEndpointsNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.OutboundEnvironmentEndpointCollection>): void;
772
+ listOutboundNetworkDependenciesEndpointsNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.OutboundEnvironmentEndpointCollection>, callback?: msRest.ServiceCallback<Models.OutboundEnvironmentEndpointCollection>): Promise<Models.ManagedClustersListOutboundNetworkDependenciesEndpointsNextResponse> {
773
+ return this.client.sendOperationRequest(
774
+ {
775
+ nextPageLink,
776
+ options
777
+ },
778
+ listOutboundNetworkDependenciesEndpointsNextOperationSpec,
779
+ callback) as Promise<Models.ManagedClustersListOutboundNetworkDependenciesEndpointsNextResponse>;
780
+ }
731
781
  }
732
782
 
733
783
  // Operation Specifications
@@ -864,7 +914,8 @@ const listClusterAdminCredentialsOperationSpec: msRest.OperationSpec = {
864
914
  Parameters.resourceName
865
915
  ],
866
916
  queryParameters: [
867
- Parameters.apiVersion
917
+ Parameters.apiVersion,
918
+ Parameters.serverFqdn
868
919
  ],
869
920
  headerParameters: [
870
921
  Parameters.acceptLanguage
@@ -889,7 +940,8 @@ const listClusterUserCredentialsOperationSpec: msRest.OperationSpec = {
889
940
  Parameters.resourceName
890
941
  ],
891
942
  queryParameters: [
892
- Parameters.apiVersion
943
+ Parameters.apiVersion,
944
+ Parameters.serverFqdn
893
945
  ],
894
946
  headerParameters: [
895
947
  Parameters.acceptLanguage
@@ -914,7 +966,8 @@ const listClusterMonitoringUserCredentialsOperationSpec: msRest.OperationSpec =
914
966
  Parameters.resourceName
915
967
  ],
916
968
  queryParameters: [
917
- Parameters.apiVersion
969
+ Parameters.apiVersion,
970
+ Parameters.serverFqdn
918
971
  ],
919
972
  headerParameters: [
920
973
  Parameters.acceptLanguage
@@ -982,6 +1035,31 @@ const getCommandResultOperationSpec: msRest.OperationSpec = {
982
1035
  serializer
983
1036
  };
984
1037
 
1038
+ const listOutboundNetworkDependenciesEndpointsOperationSpec: msRest.OperationSpec = {
1039
+ httpMethod: "GET",
1040
+ path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/outboundNetworkDependenciesEndpoints",
1041
+ urlParameters: [
1042
+ Parameters.subscriptionId,
1043
+ Parameters.resourceGroupName,
1044
+ Parameters.resourceName
1045
+ ],
1046
+ queryParameters: [
1047
+ Parameters.apiVersion
1048
+ ],
1049
+ headerParameters: [
1050
+ Parameters.acceptLanguage
1051
+ ],
1052
+ responses: {
1053
+ 200: {
1054
+ bodyMapper: Mappers.OutboundEnvironmentEndpointCollection
1055
+ },
1056
+ default: {
1057
+ bodyMapper: Mappers.CloudError
1058
+ }
1059
+ },
1060
+ serializer
1061
+ };
1062
+
985
1063
  const beginCreateOrUpdateOperationSpec: msRest.OperationSpec = {
986
1064
  httpMethod: "PUT",
987
1065
  path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}",
@@ -1287,3 +1365,27 @@ const listByResourceGroupNextOperationSpec: msRest.OperationSpec = {
1287
1365
  },
1288
1366
  serializer
1289
1367
  };
1368
+
1369
+ const listOutboundNetworkDependenciesEndpointsNextOperationSpec: msRest.OperationSpec = {
1370
+ httpMethod: "GET",
1371
+ baseUrl: "https://management.azure.com",
1372
+ path: "{nextLink}",
1373
+ urlParameters: [
1374
+ Parameters.nextPageLink
1375
+ ],
1376
+ queryParameters: [
1377
+ Parameters.apiVersion
1378
+ ],
1379
+ headerParameters: [
1380
+ Parameters.acceptLanguage
1381
+ ],
1382
+ responses: {
1383
+ 200: {
1384
+ bodyMapper: Mappers.OutboundEnvironmentEndpointCollection
1385
+ },
1386
+ default: {
1387
+ bodyMapper: Mappers.CloudError
1388
+ }
1389
+ },
1390
+ serializer
1391
+ };
@@ -26,7 +26,7 @@ export class Operations {
26
26
  }
27
27
 
28
28
  /**
29
- * Gets a list of compute operations.
29
+ * @summary Gets a list of operations.
30
30
  * @param [options] The optional parameters
31
31
  * @returns Promise<Models.OperationsListResponse>
32
32
  */
@@ -27,8 +27,7 @@ export class PrivateEndpointConnections {
27
27
  }
28
28
 
29
29
  /**
30
- * Gets a list of private endpoint connections in the specified managed cluster. The operation
31
- * returns properties of each private endpoint connection.
30
+ * To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters
32
31
  * @summary Gets a list of private endpoint connections in the specified managed cluster.
33
32
  * @param resourceGroupName The name of the resource group.
34
33
  * @param resourceName The name of the managed cluster resource.
@@ -61,8 +60,8 @@ export class PrivateEndpointConnections {
61
60
  }
62
61
 
63
62
  /**
64
- * Gets the details of the private endpoint connection by managed cluster and resource group.
65
- * @summary Gets the private endpoint connection.
63
+ * To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters
64
+ * @summary Gets the specified private endpoint connection.
66
65
  * @param resourceGroupName The name of the resource group.
67
66
  * @param resourceName The name of the managed cluster resource.
68
67
  * @param privateEndpointConnectionName The name of the private endpoint connection.
@@ -98,12 +97,11 @@ export class PrivateEndpointConnections {
98
97
  }
99
98
 
100
99
  /**
101
- * Updates a private endpoint connection in the specified managed cluster.
102
100
  * @summary Updates a private endpoint connection.
103
101
  * @param resourceGroupName The name of the resource group.
104
102
  * @param resourceName The name of the managed cluster resource.
105
103
  * @param privateEndpointConnectionName The name of the private endpoint connection.
106
- * @param parameters Parameters supplied to the Update a private endpoint connection operation.
104
+ * @param parameters The updated private endpoint connection.
107
105
  * @param [options] The optional parameters
108
106
  * @returns Promise<Models.PrivateEndpointConnectionsUpdateResponse>
109
107
  */
@@ -112,7 +110,7 @@ export class PrivateEndpointConnections {
112
110
  * @param resourceGroupName The name of the resource group.
113
111
  * @param resourceName The name of the managed cluster resource.
114
112
  * @param privateEndpointConnectionName The name of the private endpoint connection.
115
- * @param parameters Parameters supplied to the Update a private endpoint connection operation.
113
+ * @param parameters The updated private endpoint connection.
116
114
  * @param callback The callback
117
115
  */
118
116
  update(resourceGroupName: string, resourceName: string, privateEndpointConnectionName: string, parameters: Models.PrivateEndpointConnection, callback: msRest.ServiceCallback<Models.PrivateEndpointConnection>): void;
@@ -120,7 +118,7 @@ export class PrivateEndpointConnections {
120
118
  * @param resourceGroupName The name of the resource group.
121
119
  * @param resourceName The name of the managed cluster resource.
122
120
  * @param privateEndpointConnectionName The name of the private endpoint connection.
123
- * @param parameters Parameters supplied to the Update a private endpoint connection operation.
121
+ * @param parameters The updated private endpoint connection.
124
122
  * @param options The optional parameters
125
123
  * @param callback The callback
126
124
  */
@@ -139,7 +137,6 @@ export class PrivateEndpointConnections {
139
137
  }
140
138
 
141
139
  /**
142
- * Deletes the private endpoint connection in the specified managed cluster.
143
140
  * @summary Deletes a private endpoint connection.
144
141
  * @param resourceGroupName The name of the resource group.
145
142
  * @param resourceName The name of the managed cluster resource.
@@ -153,7 +150,6 @@ export class PrivateEndpointConnections {
153
150
  }
154
151
 
155
152
  /**
156
- * Deletes the private endpoint connection in the specified managed cluster.
157
153
  * @summary Deletes a private endpoint connection.
158
154
  * @param resourceGroupName The name of the resource group.
159
155
  * @param resourceName The name of the managed cluster resource.