@azure/arm-containerservice 19.8.1-alpha.20240425.1 → 20.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. package/CHANGELOG.md +204 -5
  2. package/dist/index.js +74 -10
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/agentPoolsAbortLatestOperationSample.js +1 -1
  7. package/dist-esm/samples-dev/agentPoolsCreateOrUpdateSample.js +46 -18
  8. package/dist-esm/samples-dev/agentPoolsCreateOrUpdateSample.js.map +1 -1
  9. package/dist-esm/samples-dev/agentPoolsDeleteSample.js +1 -1
  10. package/dist-esm/samples-dev/agentPoolsGetAvailableAgentPoolVersionsSample.js +1 -1
  11. package/dist-esm/samples-dev/agentPoolsGetSample.js +1 -1
  12. package/dist-esm/samples-dev/agentPoolsGetUpgradeProfileSample.js +1 -1
  13. package/dist-esm/samples-dev/agentPoolsListSample.js +1 -1
  14. package/dist-esm/samples-dev/agentPoolsUpgradeNodeImageVersionSample.js +1 -1
  15. package/dist-esm/samples-dev/maintenanceConfigurationsCreateOrUpdateSample.js +2 -2
  16. package/dist-esm/samples-dev/maintenanceConfigurationsDeleteSample.js +2 -2
  17. package/dist-esm/samples-dev/maintenanceConfigurationsGetSample.js +2 -2
  18. package/dist-esm/samples-dev/maintenanceConfigurationsListByManagedClusterSample.js +2 -2
  19. package/dist-esm/samples-dev/managedClustersAbortLatestOperationSample.js +1 -1
  20. package/dist-esm/samples-dev/managedClustersCreateOrUpdateSample.js +28 -30
  21. package/dist-esm/samples-dev/managedClustersCreateOrUpdateSample.js.map +1 -1
  22. package/dist-esm/samples-dev/managedClustersDeleteSample.js +1 -1
  23. package/dist-esm/samples-dev/managedClustersGetAccessProfileSample.js +1 -1
  24. package/dist-esm/samples-dev/managedClustersGetCommandResultSample.js +2 -2
  25. package/dist-esm/samples-dev/managedClustersGetMeshRevisionProfileSample.js +1 -1
  26. package/dist-esm/samples-dev/managedClustersGetMeshUpgradeProfileSample.js +1 -1
  27. package/dist-esm/samples-dev/managedClustersGetOSOptionsSample.js +1 -1
  28. package/dist-esm/samples-dev/managedClustersGetSample.js +1 -1
  29. package/dist-esm/samples-dev/managedClustersGetUpgradeProfileSample.js +1 -1
  30. package/dist-esm/samples-dev/managedClustersListByResourceGroupSample.js +1 -1
  31. package/dist-esm/samples-dev/managedClustersListClusterAdminCredentialsSample.js +1 -1
  32. package/dist-esm/samples-dev/managedClustersListClusterMonitoringUserCredentialsSample.js +1 -1
  33. package/dist-esm/samples-dev/managedClustersListClusterUserCredentialsSample.js +1 -1
  34. package/dist-esm/samples-dev/managedClustersListKubernetesVersionsSample.js +1 -1
  35. package/dist-esm/samples-dev/managedClustersListMeshRevisionProfilesSample.js +1 -1
  36. package/dist-esm/samples-dev/managedClustersListMeshUpgradeProfilesSample.js +1 -1
  37. package/dist-esm/samples-dev/managedClustersListOutboundNetworkDependenciesEndpointsSample.js +1 -1
  38. package/dist-esm/samples-dev/managedClustersListSample.js +1 -1
  39. package/dist-esm/samples-dev/managedClustersResetAadProfileSample.js +1 -1
  40. package/dist-esm/samples-dev/managedClustersResetServicePrincipalProfileSample.js +1 -1
  41. package/dist-esm/samples-dev/managedClustersRotateClusterCertificatesSample.js +1 -1
  42. package/dist-esm/samples-dev/managedClustersRotateServiceAccountSigningKeysSample.js +1 -1
  43. package/dist-esm/samples-dev/managedClustersRunCommandSample.js +1 -1
  44. package/dist-esm/samples-dev/managedClustersStartSample.js +1 -1
  45. package/dist-esm/samples-dev/managedClustersStopSample.js +1 -1
  46. package/dist-esm/samples-dev/managedClustersUpdateTagsSample.js +1 -1
  47. package/dist-esm/samples-dev/operationsListSample.js +1 -1
  48. package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
  49. package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
  50. package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +1 -1
  51. package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js +1 -1
  52. package/dist-esm/samples-dev/privateLinkResourcesListSample.js +1 -1
  53. package/dist-esm/samples-dev/resolvePrivateLinkServiceIdPostSample.js +1 -1
  54. package/dist-esm/samples-dev/snapshotsCreateOrUpdateSample.js +1 -1
  55. package/dist-esm/samples-dev/snapshotsDeleteSample.js +1 -1
  56. package/dist-esm/samples-dev/snapshotsGetSample.js +1 -1
  57. package/dist-esm/samples-dev/snapshotsListByResourceGroupSample.js +1 -1
  58. package/dist-esm/samples-dev/snapshotsListSample.js +1 -1
  59. package/dist-esm/samples-dev/snapshotsUpdateTagsSample.js +1 -1
  60. package/dist-esm/samples-dev/trustedAccessRoleBindingsCreateOrUpdateSample.js +1 -1
  61. package/dist-esm/samples-dev/trustedAccessRoleBindingsDeleteSample.js +1 -1
  62. package/dist-esm/samples-dev/trustedAccessRoleBindingsGetSample.js +1 -1
  63. package/dist-esm/samples-dev/trustedAccessRoleBindingsListSample.js +1 -1
  64. package/dist-esm/samples-dev/trustedAccessRolesListSample.js +1 -1
  65. package/dist-esm/src/containerServiceClient.js +2 -2
  66. package/dist-esm/src/models/index.d.ts +23 -4
  67. package/dist-esm/src/models/index.d.ts.map +1 -1
  68. package/dist-esm/src/models/index.js.map +1 -1
  69. package/dist-esm/src/models/mappers.d.ts +3 -0
  70. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  71. package/dist-esm/src/models/mappers.js +68 -7
  72. package/dist-esm/src/models/mappers.js.map +1 -1
  73. package/dist-esm/src/models/parameters.js +1 -1
  74. package/dist-esm/test/containerservice_examples.d.ts +3 -0
  75. package/dist-esm/test/containerservice_examples.d.ts.map +1 -1
  76. package/dist-esm/test/containerservice_examples.js +40 -14
  77. package/dist-esm/test/containerservice_examples.js.map +1 -1
  78. package/package.json +5 -4
  79. package/review/arm-containerservice.api.md +19 -3
  80. package/src/containerServiceClient.ts +2 -2
  81. package/src/models/index.ts +26 -2
  82. package/src/models/mappers.ts +73 -7
  83. package/src/models/parameters.ts +1 -1
  84. package/types/arm-containerservice.d.ts +26 -4
package/CHANGELOG.md CHANGED
@@ -1,15 +1,214 @@
1
1
  # Release History
2
+
3
+ ## 20.0.0 (2024-04-26)
4
+
5
+ **Features**
2
6
 
3
- ## 19.8.1 (Unreleased)
7
+ - Added Interface AgentPoolWindowsProfile
8
+ - Added Interface ManagedClusterCostAnalysis
9
+ - Added Interface ManagedClusterMetricsProfile
10
+ - Interface AgentPool has a new optional parameter windowsProfile
11
+ - Interface KubernetesVersion has a new optional parameter isDefault
12
+ - Interface ManagedCluster has a new optional parameter metricsProfile
13
+ - Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter windowsProfile
4
14
 
5
- ### Features Added
15
+ **Breaking Changes**
6
16
 
7
- ### Breaking Changes
17
+ - Interface IstioEgressGateway no longer has parameter nodeSelector
18
+
19
+
20
+ ## 20.0.0-beta.1 (2024-04-12)
21
+
22
+ **Features**
8
23
 
9
- ### Bugs Fixed
24
+ - Added operation group Machines
25
+ - Added operation group ManagedClusterSnapshots
26
+ - Added operation group OperationStatusResultOperations
27
+ - Added operation AgentPools.beginDeleteMachines
28
+ - Added operation AgentPools.beginDeleteMachinesAndWait
29
+ - Added operation ManagedClusters.getGuardrailsVersions
30
+ - Added operation ManagedClusters.getSafeguardsVersions
31
+ - Added operation ManagedClusters.listGuardrailsVersions
32
+ - Added operation ManagedClusters.listSafeguardsVersions
33
+ - Added Interface AgentPoolArtifactStreamingProfile
34
+ - Added Interface AgentPoolDeleteMachinesParameter
35
+ - Added Interface AgentPoolGatewayProfile
36
+ - Added Interface AgentPoolGPUProfile
37
+ - Added Interface AgentPoolsDeleteMachinesHeaders
38
+ - Added Interface AgentPoolsDeleteMachinesOptionalParams
39
+ - Added Interface AgentPoolSecurityProfile
40
+ - Added Interface AgentPoolWindowsProfile
41
+ - Added Interface ContainerServiceNetworkProfileKubeProxyConfig
42
+ - Added Interface ContainerServiceNetworkProfileKubeProxyConfigIpvsConfig
43
+ - Added Interface GuardrailsAvailableVersion
44
+ - Added Interface GuardrailsAvailableVersionsList
45
+ - Added Interface GuardrailsAvailableVersionsProperties
46
+ - Added Interface Machine
47
+ - Added Interface MachineIpAddress
48
+ - Added Interface MachineListResult
49
+ - Added Interface MachineNetworkProperties
50
+ - Added Interface MachineProperties
51
+ - Added Interface MachinesGetOptionalParams
52
+ - Added Interface MachinesListNextOptionalParams
53
+ - Added Interface MachinesListOptionalParams
54
+ - Added Interface ManagedClusterAIToolchainOperatorProfile
55
+ - Added Interface ManagedClusterAzureMonitorProfileAppMonitoring
56
+ - Added Interface ManagedClusterAzureMonitorProfileAppMonitoringAutoInstrumentation
57
+ - Added Interface ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryLogs
58
+ - Added Interface ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics
59
+ - Added Interface ManagedClusterAzureMonitorProfileContainerInsights
60
+ - Added Interface ManagedClusterBootstrapProfile
61
+ - Added Interface ManagedClusterCostAnalysis
62
+ - Added Interface ManagedClusterMetricsProfile
63
+ - Added Interface ManagedClusterNodeProvisioningProfile
64
+ - Added Interface ManagedClusterNodeResourceGroupProfile
65
+ - Added Interface ManagedClusterPropertiesForSnapshot
66
+ - Added Interface ManagedClusterSecurityProfileImageIntegrity
67
+ - Added Interface ManagedClusterSecurityProfileNodeRestriction
68
+ - Added Interface ManagedClustersGetGuardrailsVersionsOptionalParams
69
+ - Added Interface ManagedClustersGetSafeguardsVersionsOptionalParams
70
+ - Added Interface ManagedClustersListGuardrailsVersionsNextOptionalParams
71
+ - Added Interface ManagedClustersListGuardrailsVersionsOptionalParams
72
+ - Added Interface ManagedClustersListSafeguardsVersionsNextOptionalParams
73
+ - Added Interface ManagedClustersListSafeguardsVersionsOptionalParams
74
+ - Added Interface ManagedClusterSnapshot
75
+ - Added Interface ManagedClusterSnapshotListResult
76
+ - Added Interface ManagedClusterSnapshotsCreateOrUpdateOptionalParams
77
+ - Added Interface ManagedClusterSnapshotsDeleteOptionalParams
78
+ - Added Interface ManagedClusterSnapshotsGetOptionalParams
79
+ - Added Interface ManagedClusterSnapshotsListByResourceGroupNextOptionalParams
80
+ - Added Interface ManagedClusterSnapshotsListByResourceGroupOptionalParams
81
+ - Added Interface ManagedClusterSnapshotsListNextOptionalParams
82
+ - Added Interface ManagedClusterSnapshotsListOptionalParams
83
+ - Added Interface ManagedClusterSnapshotsUpdateTagsOptionalParams
84
+ - Added Interface ManagedClusterStaticEgressGatewayProfile
85
+ - Added Interface ManualScaleProfile
86
+ - Added Interface NetworkMonitoring
87
+ - Added Interface NetworkProfileForSnapshot
88
+ - Added Interface OperationStatusResult
89
+ - Added Interface OperationStatusResultGetByAgentPoolOptionalParams
90
+ - Added Interface OperationStatusResultGetOptionalParams
91
+ - Added Interface OperationStatusResultList
92
+ - Added Interface OperationStatusResultListNextOptionalParams
93
+ - Added Interface OperationStatusResultListOptionalParams
94
+ - Added Interface SafeguardsAvailableVersion
95
+ - Added Interface SafeguardsAvailableVersionsList
96
+ - Added Interface SafeguardsAvailableVersionsProperties
97
+ - Added Interface SafeguardsProfile
98
+ - Added Interface ScaleProfile
99
+ - Added Interface VirtualMachineNodes
100
+ - Added Interface VirtualMachinesProfile
101
+ - Added Type Alias AddonAutoscaling
102
+ - Added Type Alias AgentPoolsDeleteMachinesResponse
103
+ - Added Type Alias AgentPoolSSHAccess
104
+ - Added Type Alias ArtifactSource
105
+ - Added Type Alias ClusterServiceLoadBalancerHealthProbeMode
106
+ - Added Type Alias GuardrailsSupport
107
+ - Added Type Alias IpvsScheduler
108
+ - Added Type Alias Level
109
+ - Added Type Alias MachinesGetResponse
110
+ - Added Type Alias MachinesListNextResponse
111
+ - Added Type Alias MachinesListResponse
112
+ - Added Type Alias ManagedClustersGetGuardrailsVersionsResponse
113
+ - Added Type Alias ManagedClustersGetSafeguardsVersionsResponse
114
+ - Added Type Alias ManagedClustersListGuardrailsVersionsNextResponse
115
+ - Added Type Alias ManagedClustersListGuardrailsVersionsResponse
116
+ - Added Type Alias ManagedClustersListSafeguardsVersionsNextResponse
117
+ - Added Type Alias ManagedClustersListSafeguardsVersionsResponse
118
+ - Added Type Alias ManagedClusterSnapshotsCreateOrUpdateResponse
119
+ - Added Type Alias ManagedClusterSnapshotsGetResponse
120
+ - Added Type Alias ManagedClusterSnapshotsListByResourceGroupNextResponse
121
+ - Added Type Alias ManagedClusterSnapshotsListByResourceGroupResponse
122
+ - Added Type Alias ManagedClusterSnapshotsListNextResponse
123
+ - Added Type Alias ManagedClusterSnapshotsListResponse
124
+ - Added Type Alias ManagedClusterSnapshotsUpdateTagsResponse
125
+ - Added Type Alias Mode
126
+ - Added Type Alias NodeProvisioningMode
127
+ - Added Type Alias OperationStatusResultGetByAgentPoolResponse
128
+ - Added Type Alias OperationStatusResultGetResponse
129
+ - Added Type Alias OperationStatusResultListNextResponse
130
+ - Added Type Alias OperationStatusResultListResponse
131
+ - Added Type Alias PodIPAllocationMode
132
+ - Added Type Alias RestrictionLevel
133
+ - Added Type Alias SafeguardsSupport
134
+ - Interface AgentPool has a new optional parameter artifactStreamingProfile
135
+ - Interface AgentPool has a new optional parameter enableCustomCATrust
136
+ - Interface AgentPool has a new optional parameter gatewayProfile
137
+ - Interface AgentPool has a new optional parameter gpuProfile
138
+ - Interface AgentPool has a new optional parameter messageOfTheDay
139
+ - Interface AgentPool has a new optional parameter nodeInitializationTaints
140
+ - Interface AgentPool has a new optional parameter podIPAllocationMode
141
+ - Interface AgentPool has a new optional parameter securityProfile
142
+ - Interface AgentPool has a new optional parameter virtualMachineNodesStatus
143
+ - Interface AgentPool has a new optional parameter virtualMachinesProfile
144
+ - Interface AgentPool has a new optional parameter windowsProfile
145
+ - Interface AgentPoolsDeleteOptionalParams has a new optional parameter ignorePodDisruptionBudget
146
+ - Interface ContainerServiceNetworkProfile has a new optional parameter kubeProxyConfig
147
+ - Interface ContainerServiceNetworkProfile has a new optional parameter monitoring
148
+ - Interface ContainerServiceNetworkProfile has a new optional parameter staticEgressGatewayProfile
149
+ - Interface KubernetesVersion has a new optional parameter isDefault
150
+ - Interface ManagedCluster has a new optional parameter aiToolchainOperatorProfile
151
+ - Interface ManagedCluster has a new optional parameter bootstrapProfile
152
+ - Interface ManagedCluster has a new optional parameter creationData
153
+ - Interface ManagedCluster has a new optional parameter enableNamespaceResources
154
+ - Interface ManagedCluster has a new optional parameter kind
155
+ - Interface ManagedCluster has a new optional parameter metricsProfile
156
+ - Interface ManagedCluster has a new optional parameter nodeProvisioningProfile
157
+ - Interface ManagedCluster has a new optional parameter nodeResourceGroupProfile
158
+ - Interface ManagedCluster has a new optional parameter safeguardsProfile
159
+ - Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter artifactStreamingProfile
160
+ - Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter enableCustomCATrust
161
+ - Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter gatewayProfile
162
+ - Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter gpuProfile
163
+ - Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter messageOfTheDay
164
+ - Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter nodeInitializationTaints
165
+ - Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter podIPAllocationMode
166
+ - Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter securityProfile
167
+ - Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter virtualMachineNodesStatus
168
+ - Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter virtualMachinesProfile
169
+ - Interface ManagedClusterAgentPoolProfileProperties has a new optional parameter windowsProfile
170
+ - Interface ManagedClusterAPIServerAccessProfile has a new optional parameter enableVnetIntegration
171
+ - Interface ManagedClusterAPIServerAccessProfile has a new optional parameter subnetId
172
+ - Interface ManagedClusterAzureMonitorProfile has a new optional parameter appMonitoring
173
+ - Interface ManagedClusterAzureMonitorProfile has a new optional parameter containerInsights
174
+ - Interface ManagedClusterHttpProxyConfig has a new optional parameter effectiveNoProxy
175
+ - Interface ManagedClusterLoadBalancerProfile has a new optional parameter clusterServiceLoadBalancerHealthProbeMode
176
+ - Interface ManagedClusterPropertiesAutoScalerProfile has a new optional parameter daemonsetEvictionForEmptyNodes
177
+ - Interface ManagedClusterPropertiesAutoScalerProfile has a new optional parameter daemonsetEvictionForOccupiedNodes
178
+ - Interface ManagedClusterPropertiesAutoScalerProfile has a new optional parameter ignoreDaemonsetsUtilization
179
+ - Interface ManagedClustersDeleteOptionalParams has a new optional parameter ignorePodDisruptionBudget
180
+ - Interface ManagedClusterSecurityProfile has a new optional parameter customCATrustCertificates
181
+ - Interface ManagedClusterSecurityProfile has a new optional parameter imageIntegrity
182
+ - Interface ManagedClusterSecurityProfile has a new optional parameter nodeRestriction
183
+ - Interface ManagedClusterStorageProfileDiskCSIDriver has a new optional parameter version
184
+ - Interface ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler has a new optional parameter addonAutoscaling
185
+ - Added Enum KnownAddonAutoscaling
186
+ - Added Enum KnownAgentPoolSSHAccess
187
+ - Added Enum KnownArtifactSource
188
+ - Added Enum KnownClusterServiceLoadBalancerHealthProbeMode
189
+ - Added Enum KnownGuardrailsSupport
190
+ - Added Enum KnownIpvsScheduler
191
+ - Added Enum KnownLevel
192
+ - Added Enum KnownMode
193
+ - Added Enum KnownNodeProvisioningMode
194
+ - Added Enum KnownPodIPAllocationMode
195
+ - Added Enum KnownRestrictionLevel
196
+ - Added Enum KnownSafeguardsSupport
197
+ - Enum KnownAgentPoolMode has a new value Gateway
198
+ - Enum KnownAgentPoolType has a new value VirtualMachines
199
+ - Enum KnownNetworkPolicy has a new value None
200
+ - Enum KnownNodeOSUpgradeChannel has a new value SecurityPatch
201
+ - Enum KnownOssku has a new value Mariner
202
+ - Enum KnownOssku has a new value WindowsAnnual
203
+ - Enum KnownPublicNetworkAccess has a new value SecuredByPerimeter
204
+ - Enum KnownSnapshotType has a new value ManagedCluster
205
+ - Enum KnownWorkloadRuntime has a new value KataMshvVmIsolation
10
206
 
11
- ### Other Changes
207
+ **Breaking Changes**
12
208
 
209
+ - Interface IstioEgressGateway no longer has parameter nodeSelector
210
+
211
+
13
212
  ## 19.8.0 (2024-03-22)
14
213
 
15
214
  **Features**
package/dist/index.js CHANGED
@@ -714,6 +714,12 @@ const KubernetesVersion = {
714
714
  className: "KubernetesVersionCapabilities",
715
715
  },
716
716
  },
717
+ isDefault: {
718
+ serializedName: "isDefault",
719
+ type: {
720
+ name: "Boolean",
721
+ },
722
+ },
717
723
  isPreview: {
718
724
  serializedName: "isPreview",
719
725
  type: {
@@ -1247,6 +1253,13 @@ const ManagedClusterAgentPoolProfileProperties = {
1247
1253
  className: "AgentPoolNetworkProfile",
1248
1254
  },
1249
1255
  },
1256
+ windowsProfile: {
1257
+ serializedName: "windowsProfile",
1258
+ type: {
1259
+ name: "Composite",
1260
+ className: "AgentPoolWindowsProfile",
1261
+ },
1262
+ },
1250
1263
  },
1251
1264
  },
1252
1265
  };
@@ -1698,6 +1711,20 @@ const PortRange = {
1698
1711
  },
1699
1712
  },
1700
1713
  };
1714
+ const AgentPoolWindowsProfile = {
1715
+ type: {
1716
+ name: "Composite",
1717
+ className: "AgentPoolWindowsProfile",
1718
+ modelProperties: {
1719
+ disableOutboundNat: {
1720
+ serializedName: "disableOutboundNat",
1721
+ type: {
1722
+ name: "Boolean",
1723
+ },
1724
+ },
1725
+ },
1726
+ },
1727
+ };
1701
1728
  const ContainerServiceLinuxProfile = {
1702
1729
  type: {
1703
1730
  name: "Composite",
@@ -3324,13 +3351,6 @@ const IstioEgressGateway = {
3324
3351
  name: "Boolean",
3325
3352
  },
3326
3353
  },
3327
- nodeSelector: {
3328
- serializedName: "nodeSelector",
3329
- type: {
3330
- name: "Dictionary",
3331
- value: { type: { name: "String" } },
3332
- },
3333
- },
3334
3354
  },
3335
3355
  },
3336
3356
  };
@@ -3387,6 +3407,35 @@ const IstioPluginCertificateAuthority = {
3387
3407
  },
3388
3408
  },
3389
3409
  };
3410
+ const ManagedClusterMetricsProfile = {
3411
+ type: {
3412
+ name: "Composite",
3413
+ className: "ManagedClusterMetricsProfile",
3414
+ modelProperties: {
3415
+ costAnalysis: {
3416
+ serializedName: "costAnalysis",
3417
+ type: {
3418
+ name: "Composite",
3419
+ className: "ManagedClusterCostAnalysis",
3420
+ },
3421
+ },
3422
+ },
3423
+ },
3424
+ };
3425
+ const ManagedClusterCostAnalysis = {
3426
+ type: {
3427
+ name: "Composite",
3428
+ className: "ManagedClusterCostAnalysis",
3429
+ modelProperties: {
3430
+ enabled: {
3431
+ serializedName: "enabled",
3432
+ type: {
3433
+ name: "Boolean",
3434
+ },
3435
+ },
3436
+ },
3437
+ },
3438
+ };
3390
3439
  const Resource = {
3391
3440
  type: {
3392
3441
  name: "Composite",
@@ -5248,6 +5297,12 @@ const AgentPool = {
5248
5297
  name: "Composite",
5249
5298
  className: "AgentPoolNetworkProfile",
5250
5299
  },
5300
+ }, windowsProfile: {
5301
+ serializedName: "properties.windowsProfile",
5302
+ type: {
5303
+ name: "Composite",
5304
+ className: "AgentPoolWindowsProfile",
5305
+ },
5251
5306
  } }),
5252
5307
  },
5253
5308
  };
@@ -5527,6 +5582,12 @@ const ManagedCluster = {
5527
5582
  type: {
5528
5583
  name: "String",
5529
5584
  },
5585
+ }, metricsProfile: {
5586
+ serializedName: "properties.metricsProfile",
5587
+ type: {
5588
+ name: "Composite",
5589
+ className: "ManagedClusterMetricsProfile",
5590
+ },
5530
5591
  } }),
5531
5592
  },
5532
5593
  };
@@ -5844,6 +5905,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
5844
5905
  AgentPoolUpgradeProfile: AgentPoolUpgradeProfile,
5845
5906
  AgentPoolUpgradeProfilePropertiesUpgradesItem: AgentPoolUpgradeProfilePropertiesUpgradesItem,
5846
5907
  AgentPoolUpgradeSettings: AgentPoolUpgradeSettings,
5908
+ AgentPoolWindowsProfile: AgentPoolWindowsProfile,
5847
5909
  AgentPoolsAbortLatestOperationHeaders: AgentPoolsAbortLatestOperationHeaders,
5848
5910
  AgentPoolsDeleteHeaders: AgentPoolsDeleteHeaders,
5849
5911
  AgentPoolsUpgradeNodeImageVersionHeaders: AgentPoolsUpgradeNodeImageVersionHeaders,
@@ -5896,6 +5958,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
5896
5958
  ManagedClusterAzureMonitorProfile: ManagedClusterAzureMonitorProfile,
5897
5959
  ManagedClusterAzureMonitorProfileKubeStateMetrics: ManagedClusterAzureMonitorProfileKubeStateMetrics,
5898
5960
  ManagedClusterAzureMonitorProfileMetrics: ManagedClusterAzureMonitorProfileMetrics,
5961
+ ManagedClusterCostAnalysis: ManagedClusterCostAnalysis,
5899
5962
  ManagedClusterHttpProxyConfig: ManagedClusterHttpProxyConfig,
5900
5963
  ManagedClusterIdentity: ManagedClusterIdentity,
5901
5964
  ManagedClusterIngressProfile: ManagedClusterIngressProfile,
@@ -5906,6 +5969,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
5906
5969
  ManagedClusterLoadBalancerProfileOutboundIPPrefixes: ManagedClusterLoadBalancerProfileOutboundIPPrefixes,
5907
5970
  ManagedClusterLoadBalancerProfileOutboundIPs: ManagedClusterLoadBalancerProfileOutboundIPs,
5908
5971
  ManagedClusterManagedOutboundIPProfile: ManagedClusterManagedOutboundIPProfile,
5972
+ ManagedClusterMetricsProfile: ManagedClusterMetricsProfile,
5909
5973
  ManagedClusterNATGatewayProfile: ManagedClusterNATGatewayProfile,
5910
5974
  ManagedClusterOidcIssuerProfile: ManagedClusterOidcIssuerProfile,
5911
5975
  ManagedClusterPodIdentity: ManagedClusterPodIdentity,
@@ -6027,7 +6091,7 @@ const $host = {
6027
6091
  const apiVersion = {
6028
6092
  parameterPath: "apiVersion",
6029
6093
  mapper: {
6030
- defaultValue: "2024-01-01",
6094
+ defaultValue: "2024-02-01",
6031
6095
  isConstant: true,
6032
6096
  serializedName: "api-version",
6033
6097
  type: {
@@ -10409,7 +10473,7 @@ class ContainerServiceClient extends coreClient__namespace.ServiceClient {
10409
10473
  requestContentType: "application/json; charset=utf-8",
10410
10474
  credential: credentials,
10411
10475
  };
10412
- const packageDetails = `azsdk-js-arm-containerservice/19.8.1`;
10476
+ const packageDetails = `azsdk-js-arm-containerservice/20.0.0`;
10413
10477
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
10414
10478
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
10415
10479
  : `${packageDetails}`;
@@ -10442,7 +10506,7 @@ class ContainerServiceClient extends coreClient__namespace.ServiceClient {
10442
10506
  this.subscriptionId = subscriptionId;
10443
10507
  // Assigning values to Constant parameters
10444
10508
  this.$host = options.$host || "https://management.azure.com";
10445
- this.apiVersion = options.apiVersion || "2024-01-01";
10509
+ this.apiVersion = options.apiVersion || "2024-02-01";
10446
10510
  this.operations = new OperationsImpl(this);
10447
10511
  this.managedClusters = new ManagedClustersImpl(this);
10448
10512
  this.maintenanceConfigurations = new MaintenanceConfigurationsImpl(this);