@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
@@ -140,6 +140,18 @@ export const roleName: msRest.OperationURLParameter = {
140
140
  }
141
141
  }
142
142
  };
143
+ export const serverFqdn: msRest.OperationQueryParameter = {
144
+ parameterPath: [
145
+ "options",
146
+ "serverFqdn"
147
+ ],
148
+ mapper: {
149
+ serializedName: "server-fqdn",
150
+ type: {
151
+ name: "String"
152
+ }
153
+ }
154
+ };
143
155
  export const subscriptionId: msRest.OperationURLParameter = {
144
156
  parameterPath: "subscriptionId",
145
157
  mapper: {
@@ -15,6 +15,7 @@ export {
15
15
  ContainerServiceNetworkProfile,
16
16
  ContainerServiceSshConfiguration,
17
17
  ContainerServiceSshPublicKey,
18
+ CreationData,
18
19
  ExtendedLocation,
19
20
  KubeletConfig,
20
21
  LinuxOSConfig,
@@ -35,12 +36,17 @@ export {
35
36
  ManagedClusterLoadBalancerProfileManagedOutboundIPs,
36
37
  ManagedClusterLoadBalancerProfileOutboundIPPrefixes,
37
38
  ManagedClusterLoadBalancerProfileOutboundIPs,
39
+ ManagedClusterManagedOutboundIPProfile,
40
+ ManagedClusterNATGatewayProfile,
38
41
  ManagedClusterPodIdentity,
39
42
  ManagedClusterPodIdentityException,
40
43
  ManagedClusterPodIdentityProfile,
44
+ ManagedClusterPodIdentityProvisioningError,
45
+ ManagedClusterPodIdentityProvisioningErrorBody,
41
46
  ManagedClusterPodIdentityProvisioningInfo,
42
47
  ManagedClusterPropertiesAutoScalerProfile,
43
- ManagedClusterPropertiesIdentityProfileValue,
48
+ ManagedClusterSecurityProfile,
49
+ ManagedClusterSecurityProfileAzureDefender,
44
50
  ManagedClusterServicePrincipalProfile,
45
51
  ManagedClusterSKU,
46
52
  ManagedClusterWindowsProfile,
@@ -52,10 +58,12 @@ export {
52
58
  PrivateLinkServiceConnectionState,
53
59
  Resource,
54
60
  ResourceReference,
61
+ Snapshot,
55
62
  SubResource,
56
63
  SysctlConfig,
57
64
  SystemData,
58
65
  TimeInWeek,
59
66
  TimeSpan,
60
- UserAssignedIdentity
67
+ UserAssignedIdentity,
68
+ WindowsGmsaProfile
61
69
  } from "../models/mappers";
@@ -0,0 +1,70 @@
1
+ /*
2
+ * Copyright (c) Microsoft Corporation.
3
+ * Licensed under the MIT License.
4
+ *
5
+ * Code generated by Microsoft (R) AutoRest Code Generator.
6
+ * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
+ */
8
+
9
+ export {
10
+ AgentPool,
11
+ AgentPoolUpgradeSettings,
12
+ BaseResource,
13
+ CloudError,
14
+ ContainerServiceLinuxProfile,
15
+ ContainerServiceNetworkProfile,
16
+ ContainerServiceSshConfiguration,
17
+ ContainerServiceSshPublicKey,
18
+ CreationData,
19
+ ExtendedLocation,
20
+ KubeletConfig,
21
+ LinuxOSConfig,
22
+ MaintenanceConfiguration,
23
+ ManagedCluster,
24
+ ManagedClusterAADProfile,
25
+ ManagedClusterAccessProfile,
26
+ ManagedClusterAddonProfile,
27
+ ManagedClusterAddonProfileIdentity,
28
+ ManagedClusterAgentPoolProfile,
29
+ ManagedClusterAgentPoolProfileProperties,
30
+ ManagedClusterAPIServerAccessProfile,
31
+ ManagedClusterAutoUpgradeProfile,
32
+ ManagedClusterHTTPProxyConfig,
33
+ ManagedClusterIdentity,
34
+ ManagedClusterIdentityUserAssignedIdentitiesValue,
35
+ ManagedClusterLoadBalancerProfile,
36
+ ManagedClusterLoadBalancerProfileManagedOutboundIPs,
37
+ ManagedClusterLoadBalancerProfileOutboundIPPrefixes,
38
+ ManagedClusterLoadBalancerProfileOutboundIPs,
39
+ ManagedClusterManagedOutboundIPProfile,
40
+ ManagedClusterNATGatewayProfile,
41
+ ManagedClusterPodIdentity,
42
+ ManagedClusterPodIdentityException,
43
+ ManagedClusterPodIdentityProfile,
44
+ ManagedClusterPodIdentityProvisioningError,
45
+ ManagedClusterPodIdentityProvisioningErrorBody,
46
+ ManagedClusterPodIdentityProvisioningInfo,
47
+ ManagedClusterPropertiesAutoScalerProfile,
48
+ ManagedClusterSecurityProfile,
49
+ ManagedClusterSecurityProfileAzureDefender,
50
+ ManagedClusterServicePrincipalProfile,
51
+ ManagedClusterSKU,
52
+ ManagedClusterWindowsProfile,
53
+ PowerState,
54
+ PrivateEndpoint,
55
+ PrivateEndpointConnection,
56
+ PrivateLinkResource,
57
+ PrivateLinkServiceConnectionState,
58
+ Resource,
59
+ ResourceReference,
60
+ Snapshot,
61
+ SnapshotListResult,
62
+ SubResource,
63
+ SysctlConfig,
64
+ SystemData,
65
+ TagsObject,
66
+ TimeInWeek,
67
+ TimeSpan,
68
+ UserAssignedIdentity,
69
+ WindowsGmsaProfile
70
+ } from "../models/mappers";
@@ -27,8 +27,6 @@ export class AgentPools {
27
27
  }
28
28
 
29
29
  /**
30
- * Gets a list of agent pools in the specified managed cluster. The operation returns properties of
31
- * each agent pool.
32
30
  * @summary Gets a list of agent pools in the specified managed cluster.
33
31
  * @param resourceGroupName The name of the resource group.
34
32
  * @param resourceName The name of the managed cluster resource.
@@ -61,8 +59,7 @@ export class AgentPools {
61
59
  }
62
60
 
63
61
  /**
64
- * Gets the details of the agent pool by managed cluster and resource group.
65
- * @summary Gets the agent pool.
62
+ * @summary Gets the specified managed cluster agent pool.
66
63
  * @param resourceGroupName The name of the resource group.
67
64
  * @param resourceName The name of the managed cluster resource.
68
65
  * @param agentPoolName The name of the agent pool.
@@ -98,12 +95,11 @@ export class AgentPools {
98
95
  }
99
96
 
100
97
  /**
101
- * Creates or updates an agent pool in the specified managed cluster.
102
- * @summary Creates or updates an agent pool.
98
+ * @summary Creates or updates an agent pool in the specified managed cluster.
103
99
  * @param resourceGroupName The name of the resource group.
104
100
  * @param resourceName The name of the managed cluster resource.
105
101
  * @param agentPoolName The name of the agent pool.
106
- * @param parameters Parameters supplied to the Create or Update an agent pool operation.
102
+ * @param parameters The agent pool to create or update.
107
103
  * @param [options] The optional parameters
108
104
  * @returns Promise<Models.AgentPoolsCreateOrUpdateResponse>
109
105
  */
@@ -113,8 +109,7 @@ export class AgentPools {
113
109
  }
114
110
 
115
111
  /**
116
- * Deletes the agent pool in the specified managed cluster.
117
- * @summary Deletes an agent pool.
112
+ * @summary Deletes an agent pool in the specified managed cluster.
118
113
  * @param resourceGroupName The name of the resource group.
119
114
  * @param resourceName The name of the managed cluster resource.
120
115
  * @param agentPoolName The name of the agent pool.
@@ -127,9 +122,7 @@ export class AgentPools {
127
122
  }
128
123
 
129
124
  /**
130
- * Gets the details of the upgrade profile for an agent pool with a specified resource group and
131
- * managed cluster name.
132
- * @summary Gets upgrade profile for an agent pool.
125
+ * @summary Gets the upgrade profile for an agent pool.
133
126
  * @param resourceGroupName The name of the resource group.
134
127
  * @param resourceName The name of the managed cluster resource.
135
128
  * @param agentPoolName The name of the agent pool.
@@ -165,8 +158,10 @@ export class AgentPools {
165
158
  }
166
159
 
167
160
  /**
168
- * Gets a list of supported versions for the specified agent pool.
169
- * @summary Gets a list of supported versions for the specified agent pool.
161
+ * See [supported Kubernetes
162
+ * versions](https://docs.microsoft.com/azure/aks/supported-kubernetes-versions) for more details
163
+ * about the version lifecycle.
164
+ * @summary Gets a list of supported Kubernetes versions for the specified agent pool.
170
165
  * @param resourceGroupName The name of the resource group.
171
166
  * @param resourceName The name of the managed cluster resource.
172
167
  * @param [options] The optional parameters
@@ -198,8 +193,10 @@ export class AgentPools {
198
193
  }
199
194
 
200
195
  /**
201
- * Upgrade node image version of an agent pool to the latest.
202
- * @summary Upgrade node image version of an agent pool to the latest.
196
+ * Upgrading the node image version of an agent pool applies the newest OS and runtime updates to
197
+ * the nodes. AKS provides one new image per week with the latest updates. For more details on node
198
+ * image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade
199
+ * @summary Upgrades the node image version of an agent pool to the latest.
203
200
  * @param resourceGroupName The name of the resource group.
204
201
  * @param resourceName The name of the managed cluster resource.
205
202
  * @param agentPoolName The name of the agent pool.
@@ -212,12 +209,11 @@ export class AgentPools {
212
209
  }
213
210
 
214
211
  /**
215
- * Creates or updates an agent pool in the specified managed cluster.
216
- * @summary Creates or updates an agent pool.
212
+ * @summary Creates or updates an agent pool in the specified managed cluster.
217
213
  * @param resourceGroupName The name of the resource group.
218
214
  * @param resourceName The name of the managed cluster resource.
219
215
  * @param agentPoolName The name of the agent pool.
220
- * @param parameters Parameters supplied to the Create or Update an agent pool operation.
216
+ * @param parameters The agent pool to create or update.
221
217
  * @param [options] The optional parameters
222
218
  * @returns Promise<msRestAzure.LROPoller>
223
219
  */
@@ -235,8 +231,7 @@ export class AgentPools {
235
231
  }
236
232
 
237
233
  /**
238
- * Deletes the agent pool in the specified managed cluster.
239
- * @summary Deletes an agent pool.
234
+ * @summary Deletes an agent pool in the specified managed cluster.
240
235
  * @param resourceGroupName The name of the resource group.
241
236
  * @param resourceName The name of the managed cluster resource.
242
237
  * @param agentPoolName The name of the agent pool.
@@ -256,8 +251,10 @@ export class AgentPools {
256
251
  }
257
252
 
258
253
  /**
259
- * Upgrade node image version of an agent pool to the latest.
260
- * @summary Upgrade node image version of an agent pool to the latest.
254
+ * Upgrading the node image version of an agent pool applies the newest OS and runtime updates to
255
+ * the nodes. AKS provides one new image per week with the latest updates. For more details on node
256
+ * image versions, see: https://docs.microsoft.com/azure/aks/node-image-upgrade
257
+ * @summary Upgrades the node image version of an agent pool to the latest.
261
258
  * @param resourceGroupName The name of the resource group.
262
259
  * @param resourceName The name of the managed cluster resource.
263
260
  * @param agentPoolName The name of the agent pool.
@@ -277,8 +274,6 @@ export class AgentPools {
277
274
  }
278
275
 
279
276
  /**
280
- * Gets a list of agent pools in the specified managed cluster. The operation returns properties of
281
- * each agent pool.
282
277
  * @summary Gets a list of agent pools in the specified managed cluster.
283
278
  * @param nextPageLink The NextLink from the previous successful call to List operation.
284
279
  * @param [options] The optional parameters
@@ -488,12 +483,16 @@ const beginUpgradeNodeImageVersionOperationSpec: msRest.OperationSpec = {
488
483
  Parameters.acceptLanguage
489
484
  ],
490
485
  responses: {
491
- 200: {},
486
+ 200: {
487
+ headersMapper: Mappers.AgentPoolsUpgradeNodeImageVersionHeaders
488
+ },
492
489
  202: {
493
- bodyMapper: Mappers.AgentPool
490
+ bodyMapper: Mappers.AgentPool,
491
+ headersMapper: Mappers.AgentPoolsUpgradeNodeImageVersionHeaders
494
492
  },
495
493
  default: {
496
- bodyMapper: Mappers.CloudError
494
+ bodyMapper: Mappers.CloudError,
495
+ headersMapper: Mappers.AgentPoolsUpgradeNodeImageVersionHeaders
497
496
  }
498
497
  },
499
498
  serializer
@@ -14,3 +14,4 @@ export * from "./agentPools";
14
14
  export * from "./privateEndpointConnections";
15
15
  export * from "./privateLinkResources";
16
16
  export * from "./resolvePrivateLinkServiceId";
17
+ export * from "./snapshots";
@@ -26,8 +26,6 @@ export class MaintenanceConfigurations {
26
26
  }
27
27
 
28
28
  /**
29
- * Gets a list of maintenance configurations in the specified managed cluster. The operation
30
- * returns properties of each maintenance configuration.
31
29
  * @summary Gets a list of maintenance configurations in the specified managed cluster.
32
30
  * @param resourceGroupName The name of the resource group.
33
31
  * @param resourceName The name of the managed cluster resource.
@@ -60,8 +58,7 @@ export class MaintenanceConfigurations {
60
58
  }
61
59
 
62
60
  /**
63
- * Gets the details of maintenance configurations by managed cluster and resource group.
64
- * @summary Gets the maintenance configuration.
61
+ * @summary Gets the specified maintenance configuration of a managed cluster.
65
62
  * @param resourceGroupName The name of the resource group.
66
63
  * @param resourceName The name of the managed cluster resource.
67
64
  * @param configName The name of the maintenance configuration.
@@ -97,13 +94,11 @@ export class MaintenanceConfigurations {
97
94
  }
98
95
 
99
96
  /**
100
- * Creates or updates a maintenance configuration in the specified managed cluster.
101
- * @summary Creates or updates a maintenance configurations.
97
+ * @summary Creates or updates a maintenance configuration in the specified managed cluster.
102
98
  * @param resourceGroupName The name of the resource group.
103
99
  * @param resourceName The name of the managed cluster resource.
104
100
  * @param configName The name of the maintenance configuration.
105
- * @param parameters Parameters supplied to the Create or Update a default maintenance
106
- * configuration.
101
+ * @param parameters The maintenance configuration to create or update.
107
102
  * @param [options] The optional parameters
108
103
  * @returns Promise<Models.MaintenanceConfigurationsCreateOrUpdateResponse>
109
104
  */
@@ -112,8 +107,7 @@ export class MaintenanceConfigurations {
112
107
  * @param resourceGroupName The name of the resource group.
113
108
  * @param resourceName The name of the managed cluster resource.
114
109
  * @param configName The name of the maintenance configuration.
115
- * @param parameters Parameters supplied to the Create or Update a default maintenance
116
- * configuration.
110
+ * @param parameters The maintenance configuration to create or update.
117
111
  * @param callback The callback
118
112
  */
119
113
  createOrUpdate(resourceGroupName: string, resourceName: string, configName: string, parameters: Models.MaintenanceConfiguration, callback: msRest.ServiceCallback<Models.MaintenanceConfiguration>): void;
@@ -121,8 +115,7 @@ export class MaintenanceConfigurations {
121
115
  * @param resourceGroupName The name of the resource group.
122
116
  * @param resourceName The name of the managed cluster resource.
123
117
  * @param configName The name of the maintenance configuration.
124
- * @param parameters Parameters supplied to the Create or Update a default maintenance
125
- * configuration.
118
+ * @param parameters The maintenance configuration to create or update.
126
119
  * @param options The optional parameters
127
120
  * @param callback The callback
128
121
  */
@@ -141,7 +134,6 @@ export class MaintenanceConfigurations {
141
134
  }
142
135
 
143
136
  /**
144
- * Deletes the maintenance configuration in the specified managed cluster.
145
137
  * @summary Deletes a maintenance configuration.
146
138
  * @param resourceGroupName The name of the resource group.
147
139
  * @param resourceName The name of the managed cluster resource.
@@ -178,8 +170,6 @@ export class MaintenanceConfigurations {
178
170
  }
179
171
 
180
172
  /**
181
- * Gets a list of maintenance configurations in the specified managed cluster. The operation
182
- * returns properties of each maintenance configuration.
183
173
  * @summary Gets a list of maintenance configurations in the specified managed cluster.
184
174
  * @param nextPageLink The NextLink from the previous successful call to List operation.
185
175
  * @param [options] The optional parameters