@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.
- package/CHANGELOG.md +204 -5
- package/dist/index.js +74 -10
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/agentPoolsAbortLatestOperationSample.js +1 -1
- package/dist-esm/samples-dev/agentPoolsCreateOrUpdateSample.js +46 -18
- package/dist-esm/samples-dev/agentPoolsCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/agentPoolsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/agentPoolsGetAvailableAgentPoolVersionsSample.js +1 -1
- package/dist-esm/samples-dev/agentPoolsGetSample.js +1 -1
- package/dist-esm/samples-dev/agentPoolsGetUpgradeProfileSample.js +1 -1
- package/dist-esm/samples-dev/agentPoolsListSample.js +1 -1
- package/dist-esm/samples-dev/agentPoolsUpgradeNodeImageVersionSample.js +1 -1
- package/dist-esm/samples-dev/maintenanceConfigurationsCreateOrUpdateSample.js +2 -2
- package/dist-esm/samples-dev/maintenanceConfigurationsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/maintenanceConfigurationsGetSample.js +2 -2
- package/dist-esm/samples-dev/maintenanceConfigurationsListByManagedClusterSample.js +2 -2
- package/dist-esm/samples-dev/managedClustersAbortLatestOperationSample.js +1 -1
- package/dist-esm/samples-dev/managedClustersCreateOrUpdateSample.js +28 -30
- package/dist-esm/samples-dev/managedClustersCreateOrUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/managedClustersDeleteSample.js +1 -1
- package/dist-esm/samples-dev/managedClustersGetAccessProfileSample.js +1 -1
- package/dist-esm/samples-dev/managedClustersGetCommandResultSample.js +2 -2
- package/dist-esm/samples-dev/managedClustersGetMeshRevisionProfileSample.js +1 -1
- package/dist-esm/samples-dev/managedClustersGetMeshUpgradeProfileSample.js +1 -1
- package/dist-esm/samples-dev/managedClustersGetOSOptionsSample.js +1 -1
- package/dist-esm/samples-dev/managedClustersGetSample.js +1 -1
- package/dist-esm/samples-dev/managedClustersGetUpgradeProfileSample.js +1 -1
- package/dist-esm/samples-dev/managedClustersListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/managedClustersListClusterAdminCredentialsSample.js +1 -1
- package/dist-esm/samples-dev/managedClustersListClusterMonitoringUserCredentialsSample.js +1 -1
- package/dist-esm/samples-dev/managedClustersListClusterUserCredentialsSample.js +1 -1
- package/dist-esm/samples-dev/managedClustersListKubernetesVersionsSample.js +1 -1
- package/dist-esm/samples-dev/managedClustersListMeshRevisionProfilesSample.js +1 -1
- package/dist-esm/samples-dev/managedClustersListMeshUpgradeProfilesSample.js +1 -1
- package/dist-esm/samples-dev/managedClustersListOutboundNetworkDependenciesEndpointsSample.js +1 -1
- package/dist-esm/samples-dev/managedClustersListSample.js +1 -1
- package/dist-esm/samples-dev/managedClustersResetAadProfileSample.js +1 -1
- package/dist-esm/samples-dev/managedClustersResetServicePrincipalProfileSample.js +1 -1
- package/dist-esm/samples-dev/managedClustersRotateClusterCertificatesSample.js +1 -1
- package/dist-esm/samples-dev/managedClustersRotateServiceAccountSigningKeysSample.js +1 -1
- package/dist-esm/samples-dev/managedClustersRunCommandSample.js +1 -1
- package/dist-esm/samples-dev/managedClustersStartSample.js +1 -1
- package/dist-esm/samples-dev/managedClustersStopSample.js +1 -1
- package/dist-esm/samples-dev/managedClustersUpdateTagsSample.js +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsGetSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsListSample.js +1 -1
- package/dist-esm/samples-dev/privateEndpointConnectionsUpdateSample.js +1 -1
- package/dist-esm/samples-dev/privateLinkResourcesListSample.js +1 -1
- package/dist-esm/samples-dev/resolvePrivateLinkServiceIdPostSample.js +1 -1
- package/dist-esm/samples-dev/snapshotsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/snapshotsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/snapshotsGetSample.js +1 -1
- package/dist-esm/samples-dev/snapshotsListByResourceGroupSample.js +1 -1
- package/dist-esm/samples-dev/snapshotsListSample.js +1 -1
- package/dist-esm/samples-dev/snapshotsUpdateTagsSample.js +1 -1
- package/dist-esm/samples-dev/trustedAccessRoleBindingsCreateOrUpdateSample.js +1 -1
- package/dist-esm/samples-dev/trustedAccessRoleBindingsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/trustedAccessRoleBindingsGetSample.js +1 -1
- package/dist-esm/samples-dev/trustedAccessRoleBindingsListSample.js +1 -1
- package/dist-esm/samples-dev/trustedAccessRolesListSample.js +1 -1
- package/dist-esm/src/containerServiceClient.js +2 -2
- package/dist-esm/src/models/index.d.ts +23 -4
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +3 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +68 -7
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.js +1 -1
- package/dist-esm/test/containerservice_examples.d.ts +3 -0
- package/dist-esm/test/containerservice_examples.d.ts.map +1 -1
- package/dist-esm/test/containerservice_examples.js +40 -14
- package/dist-esm/test/containerservice_examples.js.map +1 -1
- package/package.json +5 -4
- package/review/arm-containerservice.api.md +19 -3
- package/src/containerServiceClient.ts +2 -2
- package/src/models/index.ts +26 -2
- package/src/models/mappers.ts +73 -7
- package/src/models/parameters.ts +1 -1
- package/types/arm-containerservice.d.ts +26 -4
package/package.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
"sdk-type": "mgmt",
|
4
4
|
"author": "Microsoft Corporation",
|
5
5
|
"description": "A generated SDK for ContainerServiceClient.",
|
6
|
-
"version": "
|
6
|
+
"version": "20.0.0",
|
7
7
|
"engines": {
|
8
8
|
"node": ">=18.0.0"
|
9
9
|
},
|
@@ -34,12 +34,13 @@
|
|
34
34
|
"uglify-js": "^3.4.9",
|
35
35
|
"rimraf": "^5.0.0",
|
36
36
|
"dotenv": "^16.0.0",
|
37
|
-
"@azure/dev-tool": "
|
37
|
+
"@azure/dev-tool": "^1.0.0",
|
38
38
|
"@azure/identity": "^4.0.1",
|
39
39
|
"@azure-tools/test-recorder": "^3.0.0",
|
40
40
|
"@azure-tools/test-credential": "^1.0.0",
|
41
41
|
"mocha": "^10.0.0",
|
42
42
|
"@types/mocha": "^10.0.0",
|
43
|
+
"esm": "^3.2.18",
|
43
44
|
"@types/chai": "^4.2.8",
|
44
45
|
"chai": "^4.2.0",
|
45
46
|
"cross-env": "^7.0.2",
|
@@ -75,7 +76,7 @@
|
|
75
76
|
"minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
|
76
77
|
"prepack": "npm run build",
|
77
78
|
"pack": "npm pack 2>&1",
|
78
|
-
"extract-api": "
|
79
|
+
"extract-api": "api-extractor run --local",
|
79
80
|
"lint": "echo skipped",
|
80
81
|
"clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
|
81
82
|
"build:node": "echo skipped",
|
@@ -114,4 +115,4 @@
|
|
114
115
|
"disableDocsMs": true,
|
115
116
|
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-containerservice?view=azure-node-preview"
|
116
117
|
}
|
117
|
-
}
|
118
|
+
}
|
@@ -64,6 +64,7 @@ export interface AgentPool extends SubResource {
|
|
64
64
|
upgradeSettings?: AgentPoolUpgradeSettings;
|
65
65
|
vmSize?: string;
|
66
66
|
vnetSubnetID?: string;
|
67
|
+
windowsProfile?: AgentPoolWindowsProfile;
|
67
68
|
workloadRuntime?: WorkloadRuntime;
|
68
69
|
}
|
69
70
|
|
@@ -225,6 +226,11 @@ export interface AgentPoolUpgradeSettings {
|
|
225
226
|
nodeSoakDurationInMinutes?: number;
|
226
227
|
}
|
227
228
|
|
229
|
+
// @public
|
230
|
+
export interface AgentPoolWindowsProfile {
|
231
|
+
disableOutboundNat?: boolean;
|
232
|
+
}
|
233
|
+
|
228
234
|
// @public
|
229
235
|
export interface AzureKeyVaultKms {
|
230
236
|
enabled?: boolean;
|
@@ -455,9 +461,6 @@ export interface IstioComponents {
|
|
455
461
|
// @public
|
456
462
|
export interface IstioEgressGateway {
|
457
463
|
enabled: boolean;
|
458
|
-
nodeSelector?: {
|
459
|
-
[propertyName: string]: string;
|
460
|
-
};
|
461
464
|
}
|
462
465
|
|
463
466
|
// @public
|
@@ -810,6 +813,7 @@ export type KubernetesSupportPlan = string;
|
|
810
813
|
// @public
|
811
814
|
export interface KubernetesVersion {
|
812
815
|
capabilities?: KubernetesVersionCapabilities;
|
816
|
+
isDefault?: boolean;
|
813
817
|
isPreview?: boolean;
|
814
818
|
patchVersions?: {
|
815
819
|
[propertyName: string]: KubernetesPatchVersion;
|
@@ -936,6 +940,7 @@ export interface ManagedCluster extends TrackedResource {
|
|
936
940
|
kubernetesVersion?: string;
|
937
941
|
linuxProfile?: ContainerServiceLinuxProfile;
|
938
942
|
readonly maxAgentPools?: number;
|
943
|
+
metricsProfile?: ManagedClusterMetricsProfile;
|
939
944
|
networkProfile?: ContainerServiceNetworkProfile;
|
940
945
|
nodeResourceGroup?: string;
|
941
946
|
oidcIssuerProfile?: ManagedClusterOidcIssuerProfile;
|
@@ -1039,6 +1044,7 @@ export interface ManagedClusterAgentPoolProfileProperties {
|
|
1039
1044
|
upgradeSettings?: AgentPoolUpgradeSettings;
|
1040
1045
|
vmSize?: string;
|
1041
1046
|
vnetSubnetID?: string;
|
1047
|
+
windowsProfile?: AgentPoolWindowsProfile;
|
1042
1048
|
workloadRuntime?: WorkloadRuntime;
|
1043
1049
|
}
|
1044
1050
|
|
@@ -1074,6 +1080,11 @@ export interface ManagedClusterAzureMonitorProfileMetrics {
|
|
1074
1080
|
kubeStateMetrics?: ManagedClusterAzureMonitorProfileKubeStateMetrics;
|
1075
1081
|
}
|
1076
1082
|
|
1083
|
+
// @public
|
1084
|
+
export interface ManagedClusterCostAnalysis {
|
1085
|
+
enabled?: boolean;
|
1086
|
+
}
|
1087
|
+
|
1077
1088
|
// @public
|
1078
1089
|
export interface ManagedClusterHttpProxyConfig {
|
1079
1090
|
httpProxy?: string;
|
@@ -1146,6 +1157,11 @@ export interface ManagedClusterManagedOutboundIPProfile {
|
|
1146
1157
|
count?: number;
|
1147
1158
|
}
|
1148
1159
|
|
1160
|
+
// @public
|
1161
|
+
export interface ManagedClusterMetricsProfile {
|
1162
|
+
costAnalysis?: ManagedClusterCostAnalysis;
|
1163
|
+
}
|
1164
|
+
|
1149
1165
|
// @public
|
1150
1166
|
export interface ManagedClusterNATGatewayProfile {
|
1151
1167
|
effectiveOutboundIPs?: ResourceReference[];
|
@@ -72,7 +72,7 @@ export class ContainerServiceClient extends coreClient.ServiceClient {
|
|
72
72
|
credential: credentials,
|
73
73
|
};
|
74
74
|
|
75
|
-
const packageDetails = `azsdk-js-arm-containerservice/
|
75
|
+
const packageDetails = `azsdk-js-arm-containerservice/20.0.0`;
|
76
76
|
const userAgentPrefix =
|
77
77
|
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
78
78
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
@@ -126,7 +126,7 @@ export class ContainerServiceClient extends coreClient.ServiceClient {
|
|
126
126
|
|
127
127
|
// Assigning values to Constant parameters
|
128
128
|
this.$host = options.$host || "https://management.azure.com";
|
129
|
-
this.apiVersion = options.apiVersion || "2024-
|
129
|
+
this.apiVersion = options.apiVersion || "2024-02-01";
|
130
130
|
this.operations = new OperationsImpl(this);
|
131
131
|
this.managedClusters = new ManagedClustersImpl(this);
|
132
132
|
this.maintenanceConfigurations = new MaintenanceConfigurationsImpl(this);
|
package/src/models/index.ts
CHANGED
@@ -110,6 +110,8 @@ export interface KubernetesVersion {
|
|
110
110
|
version?: string;
|
111
111
|
/** Capabilities on this Kubernetes version. */
|
112
112
|
capabilities?: KubernetesVersionCapabilities;
|
113
|
+
/** Whether this version is default. */
|
114
|
+
isDefault?: boolean;
|
113
115
|
/** Whether this version is in preview mode. */
|
114
116
|
isPreview?: boolean;
|
115
117
|
/** Patch versions of Kubernetes release */
|
@@ -304,6 +306,8 @@ export interface ManagedClusterAgentPoolProfileProperties {
|
|
304
306
|
hostGroupID?: string;
|
305
307
|
/** Network-related settings of an agent pool. */
|
306
308
|
networkProfile?: AgentPoolNetworkProfile;
|
309
|
+
/** The Windows agent pool's specific profile. */
|
310
|
+
windowsProfile?: AgentPoolWindowsProfile;
|
307
311
|
}
|
308
312
|
|
309
313
|
/** Settings for upgrading an agentpool */
|
@@ -448,6 +452,12 @@ export interface PortRange {
|
|
448
452
|
protocol?: Protocol;
|
449
453
|
}
|
450
454
|
|
455
|
+
/** The Windows agent pool's specific profile. */
|
456
|
+
export interface AgentPoolWindowsProfile {
|
457
|
+
/** The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled. */
|
458
|
+
disableOutboundNat?: boolean;
|
459
|
+
}
|
460
|
+
|
451
461
|
/** Profile for Linux VMs in the container service cluster. */
|
452
462
|
export interface ContainerServiceLinuxProfile {
|
453
463
|
/** The administrator username to use for Linux VMs. */
|
@@ -1004,8 +1014,6 @@ export interface IstioIngressGateway {
|
|
1004
1014
|
export interface IstioEgressGateway {
|
1005
1015
|
/** Whether to enable the egress gateway. */
|
1006
1016
|
enabled: boolean;
|
1007
|
-
/** NodeSelector for scheduling the egress gateway. */
|
1008
|
-
nodeSelector?: { [propertyName: string]: string };
|
1009
1017
|
}
|
1010
1018
|
|
1011
1019
|
/** Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca */
|
@@ -1028,6 +1036,18 @@ export interface IstioPluginCertificateAuthority {
|
|
1028
1036
|
certChainObjectName?: string;
|
1029
1037
|
}
|
1030
1038
|
|
1039
|
+
/** The metrics profile for the ManagedCluster. */
|
1040
|
+
export interface ManagedClusterMetricsProfile {
|
1041
|
+
/** The cost analysis configuration for the cluster */
|
1042
|
+
costAnalysis?: ManagedClusterCostAnalysis;
|
1043
|
+
}
|
1044
|
+
|
1045
|
+
/** The cost analysis configuration for the cluster */
|
1046
|
+
export interface ManagedClusterCostAnalysis {
|
1047
|
+
/** The Managed Cluster sku.tier must be set to 'Standard' or 'Premium' to enable this feature. Enabling this will add Kubernetes Namespace and Deployment details to the Cost Analysis views in the Azure portal. If not specified, the default is false. For more information see aka.ms/aks/docs/cost-analysis. */
|
1048
|
+
enabled?: boolean;
|
1049
|
+
}
|
1050
|
+
|
1031
1051
|
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
1032
1052
|
export interface Resource {
|
1033
1053
|
/**
|
@@ -1795,6 +1815,8 @@ export interface AgentPool extends SubResource {
|
|
1795
1815
|
hostGroupID?: string;
|
1796
1816
|
/** Network-related settings of an agent pool. */
|
1797
1817
|
networkProfile?: AgentPoolNetworkProfile;
|
1818
|
+
/** The Windows agent pool's specific profile. */
|
1819
|
+
windowsProfile?: AgentPoolWindowsProfile;
|
1798
1820
|
}
|
1799
1821
|
|
1800
1822
|
/** Mesh upgrade profile properties for a major.minor release. */
|
@@ -1912,6 +1934,8 @@ export interface ManagedCluster extends TrackedResource {
|
|
1912
1934
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
1913
1935
|
*/
|
1914
1936
|
readonly resourceUID?: string;
|
1937
|
+
/** Optional cluster metrics configuration. */
|
1938
|
+
metricsProfile?: ManagedClusterMetricsProfile;
|
1915
1939
|
}
|
1916
1940
|
|
1917
1941
|
/** Managed cluster Access Profile. */
|
package/src/models/mappers.ts
CHANGED
@@ -241,6 +241,12 @@ export const KubernetesVersion: coreClient.CompositeMapper = {
|
|
241
241
|
className: "KubernetesVersionCapabilities",
|
242
242
|
},
|
243
243
|
},
|
244
|
+
isDefault: {
|
245
|
+
serializedName: "isDefault",
|
246
|
+
type: {
|
247
|
+
name: "Boolean",
|
248
|
+
},
|
249
|
+
},
|
244
250
|
isPreview: {
|
245
251
|
serializedName: "isPreview",
|
246
252
|
type: {
|
@@ -786,6 +792,13 @@ export const ManagedClusterAgentPoolProfileProperties: coreClient.CompositeMappe
|
|
786
792
|
className: "AgentPoolNetworkProfile",
|
787
793
|
},
|
788
794
|
},
|
795
|
+
windowsProfile: {
|
796
|
+
serializedName: "windowsProfile",
|
797
|
+
type: {
|
798
|
+
name: "Composite",
|
799
|
+
className: "AgentPoolWindowsProfile",
|
800
|
+
},
|
801
|
+
},
|
789
802
|
},
|
790
803
|
},
|
791
804
|
};
|
@@ -1246,6 +1259,21 @@ export const PortRange: coreClient.CompositeMapper = {
|
|
1246
1259
|
},
|
1247
1260
|
};
|
1248
1261
|
|
1262
|
+
export const AgentPoolWindowsProfile: coreClient.CompositeMapper = {
|
1263
|
+
type: {
|
1264
|
+
name: "Composite",
|
1265
|
+
className: "AgentPoolWindowsProfile",
|
1266
|
+
modelProperties: {
|
1267
|
+
disableOutboundNat: {
|
1268
|
+
serializedName: "disableOutboundNat",
|
1269
|
+
type: {
|
1270
|
+
name: "Boolean",
|
1271
|
+
},
|
1272
|
+
},
|
1273
|
+
},
|
1274
|
+
},
|
1275
|
+
};
|
1276
|
+
|
1249
1277
|
export const ContainerServiceLinuxProfile: coreClient.CompositeMapper = {
|
1250
1278
|
type: {
|
1251
1279
|
name: "Composite",
|
@@ -2958,13 +2986,6 @@ export const IstioEgressGateway: coreClient.CompositeMapper = {
|
|
2958
2986
|
name: "Boolean",
|
2959
2987
|
},
|
2960
2988
|
},
|
2961
|
-
nodeSelector: {
|
2962
|
-
serializedName: "nodeSelector",
|
2963
|
-
type: {
|
2964
|
-
name: "Dictionary",
|
2965
|
-
value: { type: { name: "String" } },
|
2966
|
-
},
|
2967
|
-
},
|
2968
2989
|
},
|
2969
2990
|
},
|
2970
2991
|
};
|
@@ -3024,6 +3045,37 @@ export const IstioPluginCertificateAuthority: coreClient.CompositeMapper = {
|
|
3024
3045
|
},
|
3025
3046
|
};
|
3026
3047
|
|
3048
|
+
export const ManagedClusterMetricsProfile: coreClient.CompositeMapper = {
|
3049
|
+
type: {
|
3050
|
+
name: "Composite",
|
3051
|
+
className: "ManagedClusterMetricsProfile",
|
3052
|
+
modelProperties: {
|
3053
|
+
costAnalysis: {
|
3054
|
+
serializedName: "costAnalysis",
|
3055
|
+
type: {
|
3056
|
+
name: "Composite",
|
3057
|
+
className: "ManagedClusterCostAnalysis",
|
3058
|
+
},
|
3059
|
+
},
|
3060
|
+
},
|
3061
|
+
},
|
3062
|
+
};
|
3063
|
+
|
3064
|
+
export const ManagedClusterCostAnalysis: coreClient.CompositeMapper = {
|
3065
|
+
type: {
|
3066
|
+
name: "Composite",
|
3067
|
+
className: "ManagedClusterCostAnalysis",
|
3068
|
+
modelProperties: {
|
3069
|
+
enabled: {
|
3070
|
+
serializedName: "enabled",
|
3071
|
+
type: {
|
3072
|
+
name: "Boolean",
|
3073
|
+
},
|
3074
|
+
},
|
3075
|
+
},
|
3076
|
+
},
|
3077
|
+
};
|
3078
|
+
|
3027
3079
|
export const Resource: coreClient.CompositeMapper = {
|
3028
3080
|
type: {
|
3029
3081
|
name: "Composite",
|
@@ -5011,6 +5063,13 @@ export const AgentPool: coreClient.CompositeMapper = {
|
|
5011
5063
|
className: "AgentPoolNetworkProfile",
|
5012
5064
|
},
|
5013
5065
|
},
|
5066
|
+
windowsProfile: {
|
5067
|
+
serializedName: "properties.windowsProfile",
|
5068
|
+
type: {
|
5069
|
+
name: "Composite",
|
5070
|
+
className: "AgentPoolWindowsProfile",
|
5071
|
+
},
|
5072
|
+
},
|
5014
5073
|
},
|
5015
5074
|
},
|
5016
5075
|
};
|
@@ -5339,6 +5398,13 @@ export const ManagedCluster: coreClient.CompositeMapper = {
|
|
5339
5398
|
name: "String",
|
5340
5399
|
},
|
5341
5400
|
},
|
5401
|
+
metricsProfile: {
|
5402
|
+
serializedName: "properties.metricsProfile",
|
5403
|
+
type: {
|
5404
|
+
name: "Composite",
|
5405
|
+
className: "ManagedClusterMetricsProfile",
|
5406
|
+
},
|
5407
|
+
},
|
5342
5408
|
},
|
5343
5409
|
},
|
5344
5410
|
};
|
package/src/models/parameters.ts
CHANGED
@@ -52,7 +52,7 @@ export const $host: OperationURLParameter = {
|
|
52
52
|
export const apiVersion: OperationQueryParameter = {
|
53
53
|
parameterPath: "apiVersion",
|
54
54
|
mapper: {
|
55
|
-
defaultValue: "2024-
|
55
|
+
defaultValue: "2024-02-01",
|
56
56
|
isConstant: true,
|
57
57
|
serializedName: "api-version",
|
58
58
|
type: {
|
@@ -113,6 +113,8 @@ export declare interface AgentPool extends SubResource {
|
|
113
113
|
hostGroupID?: string;
|
114
114
|
/** Network-related settings of an agent pool. */
|
115
115
|
networkProfile?: AgentPoolNetworkProfile;
|
116
|
+
/** The Windows agent pool's specific profile. */
|
117
|
+
windowsProfile?: AgentPoolWindowsProfile;
|
116
118
|
}
|
117
119
|
|
118
120
|
/** The list of available versions for an agent pool. */
|
@@ -436,6 +438,12 @@ export declare interface AgentPoolUpgradeSettings {
|
|
436
438
|
nodeSoakDurationInMinutes?: number;
|
437
439
|
}
|
438
440
|
|
441
|
+
/** The Windows agent pool's specific profile. */
|
442
|
+
export declare interface AgentPoolWindowsProfile {
|
443
|
+
/** The default value is false. Outbound NAT can only be disabled if the cluster outboundType is NAT Gateway and the Windows agent pool does not have node public IP enabled. */
|
444
|
+
disableOutboundNat?: boolean;
|
445
|
+
}
|
446
|
+
|
439
447
|
/** Azure Key Vault key management service settings for the security profile. */
|
440
448
|
export declare interface AzureKeyVaultKms {
|
441
449
|
/** Whether to enable Azure Key Vault key management service. The default is false. */
|
@@ -834,10 +842,6 @@ export declare interface IstioComponents {
|
|
834
842
|
export declare interface IstioEgressGateway {
|
835
843
|
/** Whether to enable the egress gateway. */
|
836
844
|
enabled: boolean;
|
837
|
-
/** NodeSelector for scheduling the egress gateway. */
|
838
|
-
nodeSelector?: {
|
839
|
-
[propertyName: string]: string;
|
840
|
-
};
|
841
845
|
}
|
842
846
|
|
843
847
|
/** Istio ingress gateway configuration. For now, we support up to one external ingress gateway named `aks-istio-ingressgateway-external` and one internal ingress gateway named `aks-istio-ingressgateway-internal`. */
|
@@ -1364,6 +1368,8 @@ export declare interface KubernetesVersion {
|
|
1364
1368
|
version?: string;
|
1365
1369
|
/** Capabilities on this Kubernetes version. */
|
1366
1370
|
capabilities?: KubernetesVersionCapabilities;
|
1371
|
+
/** Whether this version is default. */
|
1372
|
+
isDefault?: boolean;
|
1367
1373
|
/** Whether this version is in preview mode. */
|
1368
1374
|
isPreview?: boolean;
|
1369
1375
|
/** Patch versions of Kubernetes release */
|
@@ -1641,6 +1647,8 @@ export declare interface ManagedCluster extends TrackedResource {
|
|
1641
1647
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
1642
1648
|
*/
|
1643
1649
|
readonly resourceUID?: string;
|
1650
|
+
/** Optional cluster metrics configuration. */
|
1651
|
+
metricsProfile?: ManagedClusterMetricsProfile;
|
1644
1652
|
}
|
1645
1653
|
|
1646
1654
|
/** For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad). */
|
@@ -1793,6 +1801,8 @@ export declare interface ManagedClusterAgentPoolProfileProperties {
|
|
1793
1801
|
hostGroupID?: string;
|
1794
1802
|
/** Network-related settings of an agent pool. */
|
1795
1803
|
networkProfile?: AgentPoolNetworkProfile;
|
1804
|
+
/** The Windows agent pool's specific profile. */
|
1805
|
+
windowsProfile?: AgentPoolWindowsProfile;
|
1796
1806
|
}
|
1797
1807
|
|
1798
1808
|
/** Access profile for managed cluster API server. */
|
@@ -1839,6 +1849,12 @@ export declare interface ManagedClusterAzureMonitorProfileMetrics {
|
|
1839
1849
|
kubeStateMetrics?: ManagedClusterAzureMonitorProfileKubeStateMetrics;
|
1840
1850
|
}
|
1841
1851
|
|
1852
|
+
/** The cost analysis configuration for the cluster */
|
1853
|
+
export declare interface ManagedClusterCostAnalysis {
|
1854
|
+
/** The Managed Cluster sku.tier must be set to 'Standard' or 'Premium' to enable this feature. Enabling this will add Kubernetes Namespace and Deployment details to the Cost Analysis views in the Azure portal. If not specified, the default is false. For more information see aka.ms/aks/docs/cost-analysis. */
|
1855
|
+
enabled?: boolean;
|
1856
|
+
}
|
1857
|
+
|
1842
1858
|
/** Cluster HTTP proxy configuration. */
|
1843
1859
|
export declare interface ManagedClusterHttpProxyConfig {
|
1844
1860
|
/** The HTTP proxy server endpoint to use. */
|
@@ -1951,6 +1967,12 @@ export declare interface ManagedClusterManagedOutboundIPProfile {
|
|
1951
1967
|
count?: number;
|
1952
1968
|
}
|
1953
1969
|
|
1970
|
+
/** The metrics profile for the ManagedCluster. */
|
1971
|
+
export declare interface ManagedClusterMetricsProfile {
|
1972
|
+
/** The cost analysis configuration for the cluster */
|
1973
|
+
costAnalysis?: ManagedClusterCostAnalysis;
|
1974
|
+
}
|
1975
|
+
|
1954
1976
|
/** Profile of the managed cluster NAT gateway. */
|
1955
1977
|
export declare interface ManagedClusterNATGatewayProfile {
|
1956
1978
|
/** Profile of the managed outbound IP resources of the cluster NAT gateway. */
|