@azure/arm-containerservice 25.3.0-beta.1 → 25.4.0-beta.1
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.
- package/dist/browser/api/agentPools/operations.js +47 -27
- package/dist/browser/api/agentPools/operations.js.map +1 -1
- package/dist/browser/api/containerService/operations.js +5 -3
- package/dist/browser/api/containerService/operations.js.map +1 -1
- package/dist/browser/api/containerServiceContext.js +4 -2
- package/dist/browser/api/containerServiceContext.js.map +1 -1
- package/dist/browser/api/identityBindings/operations.js +19 -11
- package/dist/browser/api/identityBindings/operations.js.map +1 -1
- package/dist/browser/api/jwtAuthenticators/operations.js +19 -11
- package/dist/browser/api/jwtAuthenticators/operations.js.map +1 -1
- package/dist/browser/api/loadBalancers/operations.js +18 -10
- package/dist/browser/api/loadBalancers/operations.js.map +1 -1
- package/dist/browser/api/machines/operations.js +14 -8
- package/dist/browser/api/machines/operations.js.map +1 -1
- package/dist/browser/api/maintenanceConfigurations/operations.js +17 -9
- package/dist/browser/api/maintenanceConfigurations/operations.js.map +1 -1
- package/dist/browser/api/maintenanceWindows/index.d.ts +3 -0
- package/dist/browser/api/maintenanceWindows/index.js +4 -0
- package/dist/browser/api/maintenanceWindows/index.js.map +1 -0
- package/dist/browser/api/maintenanceWindows/operations.d.ts +31 -0
- package/dist/browser/api/maintenanceWindows/operations.js +202 -0
- package/dist/browser/api/maintenanceWindows/operations.js.map +1 -0
- package/dist/browser/api/maintenanceWindows/options.d.ts +24 -0
- package/dist/browser/api/maintenanceWindows/options.js +4 -0
- package/dist/browser/api/maintenanceWindows/options.js.map +1 -0
- package/dist/browser/api/managedClusterSnapshots/operations.js +26 -14
- package/dist/browser/api/managedClusterSnapshots/operations.js.map +1 -1
- package/dist/browser/api/managedClusters/operations.d.ts +2 -2
- package/dist/browser/api/managedClusters/operations.js +146 -84
- package/dist/browser/api/managedClusters/operations.js.map +1 -1
- package/dist/browser/api/managedNamespaces/operations.js +27 -15
- package/dist/browser/api/managedNamespaces/operations.js.map +1 -1
- package/dist/browser/api/meshMemberships/operations.js +19 -11
- package/dist/browser/api/meshMemberships/operations.js.map +1 -1
- package/dist/browser/api/operationStatusResult/operations.js +13 -7
- package/dist/browser/api/operationStatusResult/operations.js.map +1 -1
- package/dist/browser/api/operations/operations.js +5 -3
- package/dist/browser/api/operations/operations.js.map +1 -1
- package/dist/browser/api/privateEndpointConnections/operations.js +17 -9
- package/dist/browser/api/privateEndpointConnections/operations.js.map +1 -1
- package/dist/browser/api/privateLinkResources/operations.js +4 -2
- package/dist/browser/api/privateLinkResources/operations.js.map +1 -1
- package/dist/browser/api/resolvePrivateLinkServiceId/operations.js +4 -2
- package/dist/browser/api/resolvePrivateLinkServiceId/operations.js.map +1 -1
- package/dist/browser/api/snapshots/operations.js +26 -14
- package/dist/browser/api/snapshots/operations.js.map +1 -1
- package/dist/browser/api/trustedAccessRoleBindings/operations.js +19 -11
- package/dist/browser/api/trustedAccessRoleBindings/operations.js.map +1 -1
- package/dist/browser/api/trustedAccessRoles/operations.js +5 -3
- package/dist/browser/api/trustedAccessRoles/operations.js.map +1 -1
- package/dist/browser/api/vmSkus/operations.js +5 -3
- package/dist/browser/api/vmSkus/operations.js.map +1 -1
- package/dist/browser/classic/index.d.ts +1 -0
- package/dist/browser/classic/index.js.map +1 -1
- package/dist/browser/classic/maintenanceWindows/index.d.ts +31 -0
- package/dist/browser/classic/maintenanceWindows/index.js +36 -0
- package/dist/browser/classic/maintenanceWindows/index.js.map +1 -0
- package/dist/browser/classic/managedClusters/index.d.ts +1 -1
- package/dist/browser/classic/managedClusters/index.js.map +1 -1
- package/dist/browser/containerServiceClient.d.ts +3 -0
- package/dist/browser/containerServiceClient.js +4 -0
- package/dist/browser/containerServiceClient.js.map +1 -1
- package/dist/browser/index.d.ts +5 -3
- package/dist/browser/index.js +2 -1
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/models/index.d.ts +2 -2
- package/dist/browser/models/index.js +1 -1
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/models.d.ts +153 -4
- package/dist/browser/models/models.js +114 -2
- package/dist/browser/models/models.js.map +1 -1
- package/dist/browser/restorePollerHelpers.js +10 -1
- package/dist/browser/restorePollerHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pagingHelpers.js +1 -1
- package/dist/browser/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/pollingHelpers.d.ts +1 -1
- package/dist/browser/static-helpers/pollingHelpers.js +1 -1
- package/dist/browser/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/browser/static-helpers/simplePollerHelpers.d.ts +1 -1
- package/dist/browser/static-helpers/simplePollerHelpers.js.map +1 -1
- package/dist/commonjs/api/agentPools/operations.js +47 -27
- package/dist/commonjs/api/agentPools/operations.js.map +2 -2
- package/dist/commonjs/api/containerService/operations.js +5 -3
- package/dist/commonjs/api/containerService/operations.js.map +2 -2
- package/dist/commonjs/api/containerServiceContext.js +4 -2
- package/dist/commonjs/api/containerServiceContext.js.map +2 -2
- package/dist/commonjs/api/identityBindings/operations.js +19 -11
- package/dist/commonjs/api/identityBindings/operations.js.map +2 -2
- package/dist/commonjs/api/jwtAuthenticators/operations.js +19 -11
- package/dist/commonjs/api/jwtAuthenticators/operations.js.map +2 -2
- package/dist/commonjs/api/loadBalancers/operations.js +18 -10
- package/dist/commonjs/api/loadBalancers/operations.js.map +2 -2
- package/dist/commonjs/api/machines/operations.js +14 -8
- package/dist/commonjs/api/machines/operations.js.map +2 -2
- package/dist/commonjs/api/maintenanceConfigurations/operations.js +17 -9
- package/dist/commonjs/api/maintenanceConfigurations/operations.js.map +2 -2
- package/dist/commonjs/api/maintenanceWindows/index.d.ts +3 -0
- package/dist/commonjs/api/maintenanceWindows/index.js +38 -0
- package/dist/commonjs/api/maintenanceWindows/index.js.map +7 -0
- package/dist/commonjs/api/maintenanceWindows/operations.d.ts +31 -0
- package/dist/commonjs/api/maintenanceWindows/operations.js +296 -0
- package/dist/commonjs/api/maintenanceWindows/operations.js.map +7 -0
- package/dist/commonjs/api/maintenanceWindows/options.d.ts +24 -0
- package/dist/commonjs/api/maintenanceWindows/options.js +16 -0
- package/dist/commonjs/api/maintenanceWindows/options.js.map +7 -0
- package/dist/commonjs/api/managedClusterSnapshots/operations.js +26 -14
- package/dist/commonjs/api/managedClusterSnapshots/operations.js.map +2 -2
- package/dist/commonjs/api/managedClusters/operations.d.ts +2 -2
- package/dist/commonjs/api/managedClusters/operations.js +146 -84
- package/dist/commonjs/api/managedClusters/operations.js.map +2 -2
- package/dist/commonjs/api/managedNamespaces/operations.js +27 -15
- package/dist/commonjs/api/managedNamespaces/operations.js.map +2 -2
- package/dist/commonjs/api/meshMemberships/operations.js +19 -11
- package/dist/commonjs/api/meshMemberships/operations.js.map +2 -2
- package/dist/commonjs/api/operationStatusResult/operations.js +13 -7
- package/dist/commonjs/api/operationStatusResult/operations.js.map +2 -2
- package/dist/commonjs/api/operations/operations.js +5 -3
- package/dist/commonjs/api/operations/operations.js.map +2 -2
- package/dist/commonjs/api/privateEndpointConnections/operations.js +17 -9
- package/dist/commonjs/api/privateEndpointConnections/operations.js.map +2 -2
- package/dist/commonjs/api/privateLinkResources/operations.js +4 -2
- package/dist/commonjs/api/privateLinkResources/operations.js.map +2 -2
- package/dist/commonjs/api/resolvePrivateLinkServiceId/operations.js +4 -2
- package/dist/commonjs/api/resolvePrivateLinkServiceId/operations.js.map +2 -2
- package/dist/commonjs/api/snapshots/operations.js +26 -14
- package/dist/commonjs/api/snapshots/operations.js.map +2 -2
- package/dist/commonjs/api/trustedAccessRoleBindings/operations.js +19 -11
- package/dist/commonjs/api/trustedAccessRoleBindings/operations.js.map +2 -2
- package/dist/commonjs/api/trustedAccessRoles/operations.js +5 -3
- package/dist/commonjs/api/trustedAccessRoles/operations.js.map +2 -2
- package/dist/commonjs/api/vmSkus/operations.js +5 -3
- package/dist/commonjs/api/vmSkus/operations.js.map +2 -2
- package/dist/commonjs/classic/index.d.ts +1 -0
- package/dist/commonjs/classic/index.js.map +1 -1
- package/dist/commonjs/classic/maintenanceWindows/index.d.ts +31 -0
- package/dist/commonjs/classic/maintenanceWindows/index.js +72 -0
- package/dist/commonjs/classic/maintenanceWindows/index.js.map +7 -0
- package/dist/commonjs/classic/managedClusters/index.d.ts +1 -1
- package/dist/commonjs/classic/managedClusters/index.js.map +1 -1
- package/dist/commonjs/containerServiceClient.d.ts +3 -0
- package/dist/commonjs/containerServiceClient.js +4 -0
- package/dist/commonjs/containerServiceClient.js.map +2 -2
- package/dist/commonjs/index.d.ts +5 -3
- package/dist/commonjs/index.js +9 -0
- package/dist/commonjs/index.js.map +2 -2
- package/dist/commonjs/models/index.d.ts +2 -2
- package/dist/commonjs/models/index.js +4 -0
- package/dist/commonjs/models/index.js.map +2 -2
- package/dist/commonjs/models/models.d.ts +153 -4
- package/dist/commonjs/models/models.js +109 -1
- package/dist/commonjs/models/models.js.map +3 -3
- package/dist/commonjs/restorePollerHelpers.js +29 -20
- package/dist/commonjs/restorePollerHelpers.js.map +3 -3
- package/dist/commonjs/static-helpers/pagingHelpers.js +1 -1
- package/dist/commonjs/static-helpers/pagingHelpers.js.map +2 -2
- package/dist/commonjs/static-helpers/pollingHelpers.d.ts +1 -1
- package/dist/commonjs/static-helpers/pollingHelpers.js +1 -1
- package/dist/commonjs/static-helpers/pollingHelpers.js.map +2 -2
- package/dist/commonjs/static-helpers/simplePollerHelpers.d.ts +1 -1
- package/dist/commonjs/static-helpers/simplePollerHelpers.js.map +1 -1
- package/dist/esm/api/agentPools/operations.js +47 -27
- package/dist/esm/api/agentPools/operations.js.map +1 -1
- package/dist/esm/api/containerService/operations.js +5 -3
- package/dist/esm/api/containerService/operations.js.map +1 -1
- package/dist/esm/api/containerServiceContext.js +4 -2
- package/dist/esm/api/containerServiceContext.js.map +1 -1
- package/dist/esm/api/identityBindings/operations.js +19 -11
- package/dist/esm/api/identityBindings/operations.js.map +1 -1
- package/dist/esm/api/jwtAuthenticators/operations.js +19 -11
- package/dist/esm/api/jwtAuthenticators/operations.js.map +1 -1
- package/dist/esm/api/loadBalancers/operations.js +18 -10
- package/dist/esm/api/loadBalancers/operations.js.map +1 -1
- package/dist/esm/api/machines/operations.js +14 -8
- package/dist/esm/api/machines/operations.js.map +1 -1
- package/dist/esm/api/maintenanceConfigurations/operations.js +17 -9
- package/dist/esm/api/maintenanceConfigurations/operations.js.map +1 -1
- package/dist/esm/api/maintenanceWindows/index.d.ts +3 -0
- package/dist/esm/api/maintenanceWindows/index.js +4 -0
- package/dist/esm/api/maintenanceWindows/index.js.map +1 -0
- package/dist/esm/api/maintenanceWindows/operations.d.ts +31 -0
- package/dist/esm/api/maintenanceWindows/operations.js +202 -0
- package/dist/esm/api/maintenanceWindows/operations.js.map +1 -0
- package/dist/esm/api/maintenanceWindows/options.d.ts +24 -0
- package/dist/esm/api/maintenanceWindows/options.js +4 -0
- package/dist/esm/api/maintenanceWindows/options.js.map +1 -0
- package/dist/esm/api/managedClusterSnapshots/operations.js +26 -14
- package/dist/esm/api/managedClusterSnapshots/operations.js.map +1 -1
- package/dist/esm/api/managedClusters/operations.d.ts +2 -2
- package/dist/esm/api/managedClusters/operations.js +146 -84
- package/dist/esm/api/managedClusters/operations.js.map +1 -1
- package/dist/esm/api/managedNamespaces/operations.js +27 -15
- package/dist/esm/api/managedNamespaces/operations.js.map +1 -1
- package/dist/esm/api/meshMemberships/operations.js +19 -11
- package/dist/esm/api/meshMemberships/operations.js.map +1 -1
- package/dist/esm/api/operationStatusResult/operations.js +13 -7
- package/dist/esm/api/operationStatusResult/operations.js.map +1 -1
- package/dist/esm/api/operations/operations.js +5 -3
- package/dist/esm/api/operations/operations.js.map +1 -1
- package/dist/esm/api/privateEndpointConnections/operations.js +17 -9
- package/dist/esm/api/privateEndpointConnections/operations.js.map +1 -1
- package/dist/esm/api/privateLinkResources/operations.js +4 -2
- package/dist/esm/api/privateLinkResources/operations.js.map +1 -1
- package/dist/esm/api/resolvePrivateLinkServiceId/operations.js +4 -2
- package/dist/esm/api/resolvePrivateLinkServiceId/operations.js.map +1 -1
- package/dist/esm/api/snapshots/operations.js +26 -14
- package/dist/esm/api/snapshots/operations.js.map +1 -1
- package/dist/esm/api/trustedAccessRoleBindings/operations.js +19 -11
- package/dist/esm/api/trustedAccessRoleBindings/operations.js.map +1 -1
- package/dist/esm/api/trustedAccessRoles/operations.js +5 -3
- package/dist/esm/api/trustedAccessRoles/operations.js.map +1 -1
- package/dist/esm/api/vmSkus/operations.js +5 -3
- package/dist/esm/api/vmSkus/operations.js.map +1 -1
- package/dist/esm/classic/index.d.ts +1 -0
- package/dist/esm/classic/index.js.map +1 -1
- package/dist/esm/classic/maintenanceWindows/index.d.ts +31 -0
- package/dist/esm/classic/maintenanceWindows/index.js +36 -0
- package/dist/esm/classic/maintenanceWindows/index.js.map +1 -0
- package/dist/esm/classic/managedClusters/index.d.ts +1 -1
- package/dist/esm/classic/managedClusters/index.js.map +1 -1
- package/dist/esm/containerServiceClient.d.ts +3 -0
- package/dist/esm/containerServiceClient.js +4 -0
- package/dist/esm/containerServiceClient.js.map +1 -1
- package/dist/esm/index.d.ts +5 -3
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/index.d.ts +2 -2
- package/dist/esm/models/index.js +1 -1
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/models.d.ts +153 -4
- package/dist/esm/models/models.js +114 -2
- package/dist/esm/models/models.js.map +1 -1
- package/dist/esm/restorePollerHelpers.js +10 -1
- package/dist/esm/restorePollerHelpers.js.map +1 -1
- package/dist/esm/static-helpers/pagingHelpers.js +1 -1
- package/dist/esm/static-helpers/pagingHelpers.js.map +1 -1
- package/dist/esm/static-helpers/pollingHelpers.d.ts +1 -1
- package/dist/esm/static-helpers/pollingHelpers.js +1 -1
- package/dist/esm/static-helpers/pollingHelpers.js.map +1 -1
- package/dist/esm/static-helpers/simplePollerHelpers.d.ts +1 -1
- package/dist/esm/static-helpers/simplePollerHelpers.js.map +1 -1
- package/package.json +18 -3
|
@@ -9,7 +9,7 @@ export function _listKubernetesVersionsSend(context, location, options = { reque
|
|
|
9
9
|
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/kubernetesVersions{?api%2Dversion}", {
|
|
10
10
|
subscriptionId: context.subscriptionId,
|
|
11
11
|
location: location,
|
|
12
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
12
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-02-preview",
|
|
13
13
|
}, {
|
|
14
14
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
15
15
|
});
|
|
@@ -22,7 +22,9 @@ export async function _listKubernetesVersionsDeserialize(result) {
|
|
|
22
22
|
const expectedStatuses = ["200"];
|
|
23
23
|
if (!expectedStatuses.includes(result.status)) {
|
|
24
24
|
const error = createRestError(result);
|
|
25
|
-
|
|
25
|
+
if (result.body) {
|
|
26
|
+
error.details = errorResponseDeserializer(result.body);
|
|
27
|
+
}
|
|
26
28
|
throw error;
|
|
27
29
|
}
|
|
28
30
|
return kubernetesVersionListResultDeserializer(result.body);
|
|
@@ -37,7 +39,7 @@ export function _listMeshUpgradeProfilesSend(context, resourceGroupName, resourc
|
|
|
37
39
|
subscriptionId: context.subscriptionId,
|
|
38
40
|
resourceGroupName: resourceGroupName,
|
|
39
41
|
resourceName: resourceName,
|
|
40
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
42
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-02-preview",
|
|
41
43
|
}, {
|
|
42
44
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
43
45
|
});
|
|
@@ -50,7 +52,9 @@ export async function _listMeshUpgradeProfilesDeserialize(result) {
|
|
|
50
52
|
const expectedStatuses = ["200"];
|
|
51
53
|
if (!expectedStatuses.includes(result.status)) {
|
|
52
54
|
const error = createRestError(result);
|
|
53
|
-
|
|
55
|
+
if (result.body) {
|
|
56
|
+
error.details = errorResponseDeserializer(result.body);
|
|
57
|
+
}
|
|
54
58
|
throw error;
|
|
55
59
|
}
|
|
56
60
|
return _meshUpgradeProfileListDeserializer(result.body);
|
|
@@ -60,7 +64,7 @@ export function listMeshUpgradeProfiles(context, resourceGroupName, resourceName
|
|
|
60
64
|
return buildPagedAsyncIterator(context, () => _listMeshUpgradeProfilesSend(context, resourceGroupName, resourceName, options), _listMeshUpgradeProfilesDeserialize, ["200"], {
|
|
61
65
|
itemName: "value",
|
|
62
66
|
nextLinkName: "nextLink",
|
|
63
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
67
|
+
apiVersion: context.apiVersion ?? "2026-04-02-preview",
|
|
64
68
|
});
|
|
65
69
|
}
|
|
66
70
|
export function _getMeshUpgradeProfileSend(context, resourceGroupName, resourceName, mode, options = { requestOptions: {} }) {
|
|
@@ -69,7 +73,7 @@ export function _getMeshUpgradeProfileSend(context, resourceGroupName, resourceN
|
|
|
69
73
|
resourceGroupName: resourceGroupName,
|
|
70
74
|
resourceName: resourceName,
|
|
71
75
|
mode: mode,
|
|
72
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
76
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-02-preview",
|
|
73
77
|
}, {
|
|
74
78
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
75
79
|
});
|
|
@@ -82,7 +86,9 @@ export async function _getMeshUpgradeProfileDeserialize(result) {
|
|
|
82
86
|
const expectedStatuses = ["200"];
|
|
83
87
|
if (!expectedStatuses.includes(result.status)) {
|
|
84
88
|
const error = createRestError(result);
|
|
85
|
-
|
|
89
|
+
if (result.body) {
|
|
90
|
+
error.details = errorResponseDeserializer(result.body);
|
|
91
|
+
}
|
|
86
92
|
throw error;
|
|
87
93
|
}
|
|
88
94
|
return meshUpgradeProfileDeserializer(result.body);
|
|
@@ -96,7 +102,7 @@ export function _listMeshRevisionProfilesSend(context, location, options = { req
|
|
|
96
102
|
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/meshRevisionProfiles{?api%2Dversion}", {
|
|
97
103
|
subscriptionId: context.subscriptionId,
|
|
98
104
|
location: location,
|
|
99
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
105
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-02-preview",
|
|
100
106
|
}, {
|
|
101
107
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
102
108
|
});
|
|
@@ -109,7 +115,9 @@ export async function _listMeshRevisionProfilesDeserialize(result) {
|
|
|
109
115
|
const expectedStatuses = ["200"];
|
|
110
116
|
if (!expectedStatuses.includes(result.status)) {
|
|
111
117
|
const error = createRestError(result);
|
|
112
|
-
|
|
118
|
+
if (result.body) {
|
|
119
|
+
error.details = errorResponseDeserializer(result.body);
|
|
120
|
+
}
|
|
113
121
|
throw error;
|
|
114
122
|
}
|
|
115
123
|
return _meshRevisionProfileListDeserializer(result.body);
|
|
@@ -119,7 +127,7 @@ export function listMeshRevisionProfiles(context, location, options = { requestO
|
|
|
119
127
|
return buildPagedAsyncIterator(context, () => _listMeshRevisionProfilesSend(context, location, options), _listMeshRevisionProfilesDeserialize, ["200"], {
|
|
120
128
|
itemName: "value",
|
|
121
129
|
nextLinkName: "nextLink",
|
|
122
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
130
|
+
apiVersion: context.apiVersion ?? "2026-04-02-preview",
|
|
123
131
|
});
|
|
124
132
|
}
|
|
125
133
|
export function _getMeshRevisionProfileSend(context, location, mode, options = { requestOptions: {} }) {
|
|
@@ -127,7 +135,7 @@ export function _getMeshRevisionProfileSend(context, location, mode, options = {
|
|
|
127
135
|
subscriptionId: context.subscriptionId,
|
|
128
136
|
location: location,
|
|
129
137
|
mode: mode,
|
|
130
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
138
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-02-preview",
|
|
131
139
|
}, {
|
|
132
140
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
133
141
|
});
|
|
@@ -140,7 +148,9 @@ export async function _getMeshRevisionProfileDeserialize(result) {
|
|
|
140
148
|
const expectedStatuses = ["200"];
|
|
141
149
|
if (!expectedStatuses.includes(result.status)) {
|
|
142
150
|
const error = createRestError(result);
|
|
143
|
-
|
|
151
|
+
if (result.body) {
|
|
152
|
+
error.details = errorResponseDeserializer(result.body);
|
|
153
|
+
}
|
|
144
154
|
throw error;
|
|
145
155
|
}
|
|
146
156
|
return meshRevisionProfileDeserializer(result.body);
|
|
@@ -154,7 +164,7 @@ export function _listSafeguardsVersionsSend(context, location, options = { reque
|
|
|
154
164
|
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/safeguardsVersions{?api%2Dversion}", {
|
|
155
165
|
subscriptionId: context.subscriptionId,
|
|
156
166
|
location: location,
|
|
157
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
167
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-02-preview",
|
|
158
168
|
}, {
|
|
159
169
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
160
170
|
});
|
|
@@ -167,7 +177,9 @@ export async function _listSafeguardsVersionsDeserialize(result) {
|
|
|
167
177
|
const expectedStatuses = ["200"];
|
|
168
178
|
if (!expectedStatuses.includes(result.status)) {
|
|
169
179
|
const error = createRestError(result);
|
|
170
|
-
|
|
180
|
+
if (result.body) {
|
|
181
|
+
error.details = errorResponseDeserializer(result.body);
|
|
182
|
+
}
|
|
171
183
|
throw error;
|
|
172
184
|
}
|
|
173
185
|
return _safeguardsAvailableVersionsListDeserializer(result.body);
|
|
@@ -177,7 +189,7 @@ export function listSafeguardsVersions(context, location, options = { requestOpt
|
|
|
177
189
|
return buildPagedAsyncIterator(context, () => _listSafeguardsVersionsSend(context, location, options), _listSafeguardsVersionsDeserialize, ["200"], {
|
|
178
190
|
itemName: "value",
|
|
179
191
|
nextLinkName: "nextLink",
|
|
180
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
192
|
+
apiVersion: context.apiVersion ?? "2026-04-02-preview",
|
|
181
193
|
});
|
|
182
194
|
}
|
|
183
195
|
export function _getSafeguardsVersionsSend(context, location, version, options = { requestOptions: {} }) {
|
|
@@ -185,7 +197,7 @@ export function _getSafeguardsVersionsSend(context, location, version, options =
|
|
|
185
197
|
subscriptionId: context.subscriptionId,
|
|
186
198
|
location: location,
|
|
187
199
|
version: version,
|
|
188
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
200
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-02-preview",
|
|
189
201
|
}, {
|
|
190
202
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
191
203
|
});
|
|
@@ -198,7 +210,9 @@ export async function _getSafeguardsVersionsDeserialize(result) {
|
|
|
198
210
|
const expectedStatuses = ["200"];
|
|
199
211
|
if (!expectedStatuses.includes(result.status)) {
|
|
200
212
|
const error = createRestError(result);
|
|
201
|
-
|
|
213
|
+
if (result.body) {
|
|
214
|
+
error.details = errorResponseDeserializer(result.body);
|
|
215
|
+
}
|
|
202
216
|
throw error;
|
|
203
217
|
}
|
|
204
218
|
return safeguardsAvailableVersionDeserializer(result.body);
|
|
@@ -212,7 +226,7 @@ export function _listGuardrailsVersionsSend(context, location, options = { reque
|
|
|
212
226
|
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/locations/{location}/guardrailsVersions{?api%2Dversion}", {
|
|
213
227
|
subscriptionId: context.subscriptionId,
|
|
214
228
|
location: location,
|
|
215
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
229
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-02-preview",
|
|
216
230
|
}, {
|
|
217
231
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
218
232
|
});
|
|
@@ -225,7 +239,9 @@ export async function _listGuardrailsVersionsDeserialize(result) {
|
|
|
225
239
|
const expectedStatuses = ["200"];
|
|
226
240
|
if (!expectedStatuses.includes(result.status)) {
|
|
227
241
|
const error = createRestError(result);
|
|
228
|
-
|
|
242
|
+
if (result.body) {
|
|
243
|
+
error.details = errorResponseDeserializer(result.body);
|
|
244
|
+
}
|
|
229
245
|
throw error;
|
|
230
246
|
}
|
|
231
247
|
return _guardrailsAvailableVersionsListDeserializer(result.body);
|
|
@@ -235,7 +251,7 @@ export function listGuardrailsVersions(context, location, options = { requestOpt
|
|
|
235
251
|
return buildPagedAsyncIterator(context, () => _listGuardrailsVersionsSend(context, location, options), _listGuardrailsVersionsDeserialize, ["200"], {
|
|
236
252
|
itemName: "value",
|
|
237
253
|
nextLinkName: "nextLink",
|
|
238
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
254
|
+
apiVersion: context.apiVersion ?? "2026-04-02-preview",
|
|
239
255
|
});
|
|
240
256
|
}
|
|
241
257
|
export function _getGuardrailsVersionsSend(context, location, version, options = { requestOptions: {} }) {
|
|
@@ -243,7 +259,7 @@ export function _getGuardrailsVersionsSend(context, location, version, options =
|
|
|
243
259
|
subscriptionId: context.subscriptionId,
|
|
244
260
|
location: location,
|
|
245
261
|
version: version,
|
|
246
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
262
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-02-preview",
|
|
247
263
|
}, {
|
|
248
264
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
249
265
|
});
|
|
@@ -256,7 +272,9 @@ export async function _getGuardrailsVersionsDeserialize(result) {
|
|
|
256
272
|
const expectedStatuses = ["200"];
|
|
257
273
|
if (!expectedStatuses.includes(result.status)) {
|
|
258
274
|
const error = createRestError(result);
|
|
259
|
-
|
|
275
|
+
if (result.body) {
|
|
276
|
+
error.details = errorResponseDeserializer(result.body);
|
|
277
|
+
}
|
|
260
278
|
throw error;
|
|
261
279
|
}
|
|
262
280
|
return guardrailsAvailableVersionDeserializer(result.body);
|
|
@@ -271,7 +289,7 @@ export function _getUpgradeProfileSend(context, resourceGroupName, resourceName,
|
|
|
271
289
|
subscriptionId: context.subscriptionId,
|
|
272
290
|
resourceGroupName: resourceGroupName,
|
|
273
291
|
resourceName: resourceName,
|
|
274
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
292
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-02-preview",
|
|
275
293
|
}, {
|
|
276
294
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
277
295
|
});
|
|
@@ -284,7 +302,9 @@ export async function _getUpgradeProfileDeserialize(result) {
|
|
|
284
302
|
const expectedStatuses = ["200"];
|
|
285
303
|
if (!expectedStatuses.includes(result.status)) {
|
|
286
304
|
const error = createRestError(result);
|
|
287
|
-
|
|
305
|
+
if (result.body) {
|
|
306
|
+
error.details = errorResponseDeserializer(result.body);
|
|
307
|
+
}
|
|
288
308
|
throw error;
|
|
289
309
|
}
|
|
290
310
|
return managedClusterUpgradeProfileDeserializer(result.body);
|
|
@@ -299,7 +319,7 @@ export function _rebalanceLoadBalancersSend(context, resourceGroupName, resource
|
|
|
299
319
|
subscriptionId: context.subscriptionId,
|
|
300
320
|
resourceGroupName: resourceGroupName,
|
|
301
321
|
resourceName: resourceName,
|
|
302
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
322
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-02-preview",
|
|
303
323
|
}, {
|
|
304
324
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
305
325
|
});
|
|
@@ -313,7 +333,9 @@ export async function _rebalanceLoadBalancersDeserialize(result) {
|
|
|
313
333
|
const expectedStatuses = ["202", "204", "200", "201"];
|
|
314
334
|
if (!expectedStatuses.includes(result.status)) {
|
|
315
335
|
const error = createRestError(result);
|
|
316
|
-
|
|
336
|
+
if (result.body) {
|
|
337
|
+
error.details = errorResponseDeserializer(result.body);
|
|
338
|
+
}
|
|
317
339
|
throw error;
|
|
318
340
|
}
|
|
319
341
|
return;
|
|
@@ -325,7 +347,7 @@ export function rebalanceLoadBalancers(context, resourceGroupName, resourceName,
|
|
|
325
347
|
abortSignal: options?.abortSignal,
|
|
326
348
|
getInitialResponse: () => _rebalanceLoadBalancersSend(context, resourceGroupName, resourceName, parameters, options),
|
|
327
349
|
resourceLocationConfig: "azure-async-operation",
|
|
328
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
350
|
+
apiVersion: context.apiVersion ?? "2026-04-02-preview",
|
|
329
351
|
});
|
|
330
352
|
}
|
|
331
353
|
export function _listOutboundNetworkDependenciesEndpointsSend(context, resourceGroupName, resourceName, options = {
|
|
@@ -335,7 +357,7 @@ export function _listOutboundNetworkDependenciesEndpointsSend(context, resourceG
|
|
|
335
357
|
subscriptionId: context.subscriptionId,
|
|
336
358
|
resourceGroupName: resourceGroupName,
|
|
337
359
|
resourceName: resourceName,
|
|
338
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
360
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-02-preview",
|
|
339
361
|
}, {
|
|
340
362
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
341
363
|
});
|
|
@@ -348,7 +370,9 @@ export async function _listOutboundNetworkDependenciesEndpointsDeserialize(resul
|
|
|
348
370
|
const expectedStatuses = ["200"];
|
|
349
371
|
if (!expectedStatuses.includes(result.status)) {
|
|
350
372
|
const error = createRestError(result);
|
|
351
|
-
|
|
373
|
+
if (result.body) {
|
|
374
|
+
error.details = errorResponseDeserializer(result.body);
|
|
375
|
+
}
|
|
352
376
|
throw error;
|
|
353
377
|
}
|
|
354
378
|
return _outboundEnvironmentEndpointCollectionDeserializer(result.body);
|
|
@@ -360,7 +384,7 @@ export function listOutboundNetworkDependenciesEndpoints(context, resourceGroupN
|
|
|
360
384
|
return buildPagedAsyncIterator(context, () => _listOutboundNetworkDependenciesEndpointsSend(context, resourceGroupName, resourceName, options), _listOutboundNetworkDependenciesEndpointsDeserialize, ["200"], {
|
|
361
385
|
itemName: "value",
|
|
362
386
|
nextLinkName: "nextLink",
|
|
363
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
387
|
+
apiVersion: context.apiVersion ?? "2026-04-02-preview",
|
|
364
388
|
});
|
|
365
389
|
}
|
|
366
390
|
export function _getCommandResultSend(context, resourceGroupName, resourceName, commandId, options = { requestOptions: {} }) {
|
|
@@ -369,7 +393,7 @@ export function _getCommandResultSend(context, resourceGroupName, resourceName,
|
|
|
369
393
|
resourceGroupName: resourceGroupName,
|
|
370
394
|
resourceName: resourceName,
|
|
371
395
|
commandId: commandId,
|
|
372
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
396
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-02-preview",
|
|
373
397
|
}, {
|
|
374
398
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
375
399
|
});
|
|
@@ -382,10 +406,12 @@ export async function _getCommandResultDeserialize(result) {
|
|
|
382
406
|
const expectedStatuses = ["200", "202"];
|
|
383
407
|
if (!expectedStatuses.includes(result.status)) {
|
|
384
408
|
const error = createRestError(result);
|
|
385
|
-
|
|
409
|
+
if (result.body) {
|
|
410
|
+
error.details = errorResponseDeserializer(result.body);
|
|
411
|
+
}
|
|
386
412
|
throw error;
|
|
387
413
|
}
|
|
388
|
-
return runCommandResultDeserializer(result.body);
|
|
414
|
+
return result.body ? runCommandResultDeserializer(result.body) : undefined;
|
|
389
415
|
}
|
|
390
416
|
/** Gets the results of a command which has been run on the Managed Cluster. */
|
|
391
417
|
export async function getCommandResult(context, resourceGroupName, resourceName, commandId, options = { requestOptions: {} }) {
|
|
@@ -397,7 +423,7 @@ export function _runCommandSend(context, resourceGroupName, resourceName, reques
|
|
|
397
423
|
subscriptionId: context.subscriptionId,
|
|
398
424
|
resourceGroupName: resourceGroupName,
|
|
399
425
|
resourceName: resourceName,
|
|
400
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
426
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-02-preview",
|
|
401
427
|
}, {
|
|
402
428
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
403
429
|
});
|
|
@@ -409,22 +435,24 @@ export function _runCommandSend(context, resourceGroupName, resourceName, reques
|
|
|
409
435
|
});
|
|
410
436
|
}
|
|
411
437
|
export async function _runCommandDeserialize(result) {
|
|
412
|
-
const expectedStatuses = ["
|
|
438
|
+
const expectedStatuses = ["200", "202", "201"];
|
|
413
439
|
if (!expectedStatuses.includes(result.status)) {
|
|
414
440
|
const error = createRestError(result);
|
|
415
|
-
|
|
441
|
+
if (result.body) {
|
|
442
|
+
error.details = errorResponseDeserializer(result.body);
|
|
443
|
+
}
|
|
416
444
|
throw error;
|
|
417
445
|
}
|
|
418
446
|
return runCommandResultDeserializer(result.body);
|
|
419
447
|
}
|
|
420
448
|
/** AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see [AKS Run Command](https://docs.microsoft.com/azure/aks/private-clusters#aks-run-command-preview). */
|
|
421
449
|
export function runCommand(context, resourceGroupName, resourceName, requestPayload, options = { requestOptions: {} }) {
|
|
422
|
-
return getLongRunningPoller(context, _runCommandDeserialize, ["
|
|
450
|
+
return getLongRunningPoller(context, _runCommandDeserialize, ["200", "202", "201"], {
|
|
423
451
|
updateIntervalInMs: options?.updateIntervalInMs,
|
|
424
452
|
abortSignal: options?.abortSignal,
|
|
425
453
|
getInitialResponse: () => _runCommandSend(context, resourceGroupName, resourceName, requestPayload, options),
|
|
426
454
|
resourceLocationConfig: "location",
|
|
427
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
455
|
+
apiVersion: context.apiVersion ?? "2026-04-02-preview",
|
|
428
456
|
});
|
|
429
457
|
}
|
|
430
458
|
export function _startSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
@@ -432,7 +460,7 @@ export function _startSend(context, resourceGroupName, resourceName, options = {
|
|
|
432
460
|
subscriptionId: context.subscriptionId,
|
|
433
461
|
resourceGroupName: resourceGroupName,
|
|
434
462
|
resourceName: resourceName,
|
|
435
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
463
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-02-preview",
|
|
436
464
|
}, {
|
|
437
465
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
438
466
|
});
|
|
@@ -442,7 +470,9 @@ export async function _startDeserialize(result) {
|
|
|
442
470
|
const expectedStatuses = ["202", "204", "200", "201"];
|
|
443
471
|
if (!expectedStatuses.includes(result.status)) {
|
|
444
472
|
const error = createRestError(result);
|
|
445
|
-
|
|
473
|
+
if (result.body) {
|
|
474
|
+
error.details = errorResponseDeserializer(result.body);
|
|
475
|
+
}
|
|
446
476
|
throw error;
|
|
447
477
|
}
|
|
448
478
|
return;
|
|
@@ -454,7 +484,7 @@ export function start(context, resourceGroupName, resourceName, options = { requ
|
|
|
454
484
|
abortSignal: options?.abortSignal,
|
|
455
485
|
getInitialResponse: () => _startSend(context, resourceGroupName, resourceName, options),
|
|
456
486
|
resourceLocationConfig: "location",
|
|
457
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
487
|
+
apiVersion: context.apiVersion ?? "2026-04-02-preview",
|
|
458
488
|
});
|
|
459
489
|
}
|
|
460
490
|
export function _stopSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
@@ -462,7 +492,7 @@ export function _stopSend(context, resourceGroupName, resourceName, options = {
|
|
|
462
492
|
subscriptionId: context.subscriptionId,
|
|
463
493
|
resourceGroupName: resourceGroupName,
|
|
464
494
|
resourceName: resourceName,
|
|
465
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
495
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-02-preview",
|
|
466
496
|
}, {
|
|
467
497
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
468
498
|
});
|
|
@@ -472,7 +502,9 @@ export async function _stopDeserialize(result) {
|
|
|
472
502
|
const expectedStatuses = ["202", "204", "200", "201"];
|
|
473
503
|
if (!expectedStatuses.includes(result.status)) {
|
|
474
504
|
const error = createRestError(result);
|
|
475
|
-
|
|
505
|
+
if (result.body) {
|
|
506
|
+
error.details = errorResponseDeserializer(result.body);
|
|
507
|
+
}
|
|
476
508
|
throw error;
|
|
477
509
|
}
|
|
478
510
|
return;
|
|
@@ -484,7 +516,7 @@ export function stop(context, resourceGroupName, resourceName, options = { reque
|
|
|
484
516
|
abortSignal: options?.abortSignal,
|
|
485
517
|
getInitialResponse: () => _stopSend(context, resourceGroupName, resourceName, options),
|
|
486
518
|
resourceLocationConfig: "location",
|
|
487
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
519
|
+
apiVersion: context.apiVersion ?? "2026-04-02-preview",
|
|
488
520
|
});
|
|
489
521
|
}
|
|
490
522
|
export function _rotateServiceAccountSigningKeysSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
@@ -492,7 +524,7 @@ export function _rotateServiceAccountSigningKeysSend(context, resourceGroupName,
|
|
|
492
524
|
subscriptionId: context.subscriptionId,
|
|
493
525
|
resourceGroupName: resourceGroupName,
|
|
494
526
|
resourceName: resourceName,
|
|
495
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
527
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-02-preview",
|
|
496
528
|
}, {
|
|
497
529
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
498
530
|
});
|
|
@@ -502,7 +534,9 @@ export async function _rotateServiceAccountSigningKeysDeserialize(result) {
|
|
|
502
534
|
const expectedStatuses = ["202", "204", "200", "201"];
|
|
503
535
|
if (!expectedStatuses.includes(result.status)) {
|
|
504
536
|
const error = createRestError(result);
|
|
505
|
-
|
|
537
|
+
if (result.body) {
|
|
538
|
+
error.details = errorResponseDeserializer(result.body);
|
|
539
|
+
}
|
|
506
540
|
throw error;
|
|
507
541
|
}
|
|
508
542
|
return;
|
|
@@ -514,7 +548,7 @@ export function rotateServiceAccountSigningKeys(context, resourceGroupName, reso
|
|
|
514
548
|
abortSignal: options?.abortSignal,
|
|
515
549
|
getInitialResponse: () => _rotateServiceAccountSigningKeysSend(context, resourceGroupName, resourceName, options),
|
|
516
550
|
resourceLocationConfig: "location",
|
|
517
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
551
|
+
apiVersion: context.apiVersion ?? "2026-04-02-preview",
|
|
518
552
|
});
|
|
519
553
|
}
|
|
520
554
|
export function _abortLatestOperationSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
@@ -522,7 +556,7 @@ export function _abortLatestOperationSend(context, resourceGroupName, resourceNa
|
|
|
522
556
|
subscriptionId: context.subscriptionId,
|
|
523
557
|
resourceGroupName: resourceGroupName,
|
|
524
558
|
resourceName: resourceName,
|
|
525
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
559
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-02-preview",
|
|
526
560
|
}, {
|
|
527
561
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
528
562
|
});
|
|
@@ -532,7 +566,9 @@ export async function _abortLatestOperationDeserialize(result) {
|
|
|
532
566
|
const expectedStatuses = ["202", "204", "200", "201"];
|
|
533
567
|
if (!expectedStatuses.includes(result.status)) {
|
|
534
568
|
const error = createRestError(result);
|
|
535
|
-
|
|
569
|
+
if (result.body) {
|
|
570
|
+
error.details = errorResponseDeserializer(result.body);
|
|
571
|
+
}
|
|
536
572
|
throw error;
|
|
537
573
|
}
|
|
538
574
|
return;
|
|
@@ -544,7 +580,7 @@ export function abortLatestOperation(context, resourceGroupName, resourceName, o
|
|
|
544
580
|
abortSignal: options?.abortSignal,
|
|
545
581
|
getInitialResponse: () => _abortLatestOperationSend(context, resourceGroupName, resourceName, options),
|
|
546
582
|
resourceLocationConfig: "location",
|
|
547
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
583
|
+
apiVersion: context.apiVersion ?? "2026-04-02-preview",
|
|
548
584
|
});
|
|
549
585
|
}
|
|
550
586
|
export function _rotateClusterCertificatesSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
@@ -552,7 +588,7 @@ export function _rotateClusterCertificatesSend(context, resourceGroupName, resou
|
|
|
552
588
|
subscriptionId: context.subscriptionId,
|
|
553
589
|
resourceGroupName: resourceGroupName,
|
|
554
590
|
resourceName: resourceName,
|
|
555
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
591
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-02-preview",
|
|
556
592
|
}, {
|
|
557
593
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
558
594
|
});
|
|
@@ -562,7 +598,9 @@ export async function _rotateClusterCertificatesDeserialize(result) {
|
|
|
562
598
|
const expectedStatuses = ["202", "204", "200", "201"];
|
|
563
599
|
if (!expectedStatuses.includes(result.status)) {
|
|
564
600
|
const error = createRestError(result);
|
|
565
|
-
|
|
601
|
+
if (result.body) {
|
|
602
|
+
error.details = errorResponseDeserializer(result.body);
|
|
603
|
+
}
|
|
566
604
|
throw error;
|
|
567
605
|
}
|
|
568
606
|
return;
|
|
@@ -574,7 +612,7 @@ export function rotateClusterCertificates(context, resourceGroupName, resourceNa
|
|
|
574
612
|
abortSignal: options?.abortSignal,
|
|
575
613
|
getInitialResponse: () => _rotateClusterCertificatesSend(context, resourceGroupName, resourceName, options),
|
|
576
614
|
resourceLocationConfig: "location",
|
|
577
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
615
|
+
apiVersion: context.apiVersion ?? "2026-04-02-preview",
|
|
578
616
|
});
|
|
579
617
|
}
|
|
580
618
|
export function _resetAADProfileSend(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
|
|
@@ -582,7 +620,7 @@ export function _resetAADProfileSend(context, resourceGroupName, resourceName, p
|
|
|
582
620
|
subscriptionId: context.subscriptionId,
|
|
583
621
|
resourceGroupName: resourceGroupName,
|
|
584
622
|
resourceName: resourceName,
|
|
585
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
623
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-02-preview",
|
|
586
624
|
}, {
|
|
587
625
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
588
626
|
});
|
|
@@ -596,7 +634,9 @@ export async function _resetAADProfileDeserialize(result) {
|
|
|
596
634
|
const expectedStatuses = ["202", "200", "201"];
|
|
597
635
|
if (!expectedStatuses.includes(result.status)) {
|
|
598
636
|
const error = createRestError(result);
|
|
599
|
-
|
|
637
|
+
if (result.body) {
|
|
638
|
+
error.details = errorResponseDeserializer(result.body);
|
|
639
|
+
}
|
|
600
640
|
throw error;
|
|
601
641
|
}
|
|
602
642
|
return;
|
|
@@ -608,7 +648,7 @@ export function resetAADProfile(context, resourceGroupName, resourceName, parame
|
|
|
608
648
|
abortSignal: options?.abortSignal,
|
|
609
649
|
getInitialResponse: () => _resetAADProfileSend(context, resourceGroupName, resourceName, parameters, options),
|
|
610
650
|
resourceLocationConfig: "location",
|
|
611
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
651
|
+
apiVersion: context.apiVersion ?? "2026-04-02-preview",
|
|
612
652
|
});
|
|
613
653
|
}
|
|
614
654
|
export function _resetServicePrincipalProfileSend(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
|
|
@@ -616,7 +656,7 @@ export function _resetServicePrincipalProfileSend(context, resourceGroupName, re
|
|
|
616
656
|
subscriptionId: context.subscriptionId,
|
|
617
657
|
resourceGroupName: resourceGroupName,
|
|
618
658
|
resourceName: resourceName,
|
|
619
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
659
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-02-preview",
|
|
620
660
|
}, {
|
|
621
661
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
622
662
|
});
|
|
@@ -630,7 +670,9 @@ export async function _resetServicePrincipalProfileDeserialize(result) {
|
|
|
630
670
|
const expectedStatuses = ["202", "200", "201"];
|
|
631
671
|
if (!expectedStatuses.includes(result.status)) {
|
|
632
672
|
const error = createRestError(result);
|
|
633
|
-
|
|
673
|
+
if (result.body) {
|
|
674
|
+
error.details = errorResponseDeserializer(result.body);
|
|
675
|
+
}
|
|
634
676
|
throw error;
|
|
635
677
|
}
|
|
636
678
|
return;
|
|
@@ -642,7 +684,7 @@ export function resetServicePrincipalProfile(context, resourceGroupName, resourc
|
|
|
642
684
|
abortSignal: options?.abortSignal,
|
|
643
685
|
getInitialResponse: () => _resetServicePrincipalProfileSend(context, resourceGroupName, resourceName, parameters, options),
|
|
644
686
|
resourceLocationConfig: "location",
|
|
645
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
687
|
+
apiVersion: context.apiVersion ?? "2026-04-02-preview",
|
|
646
688
|
});
|
|
647
689
|
}
|
|
648
690
|
export function _listClusterMonitoringUserCredentialsSend(context, resourceGroupName, resourceName, options = {
|
|
@@ -652,7 +694,7 @@ export function _listClusterMonitoringUserCredentialsSend(context, resourceGroup
|
|
|
652
694
|
subscriptionId: context.subscriptionId,
|
|
653
695
|
resourceGroupName: resourceGroupName,
|
|
654
696
|
resourceName: resourceName,
|
|
655
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
697
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-02-preview",
|
|
656
698
|
"server%2Dfqdn": options?.serverFqdn,
|
|
657
699
|
}, {
|
|
658
700
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
@@ -666,7 +708,9 @@ export async function _listClusterMonitoringUserCredentialsDeserialize(result) {
|
|
|
666
708
|
const expectedStatuses = ["200"];
|
|
667
709
|
if (!expectedStatuses.includes(result.status)) {
|
|
668
710
|
const error = createRestError(result);
|
|
669
|
-
|
|
711
|
+
if (result.body) {
|
|
712
|
+
error.details = errorResponseDeserializer(result.body);
|
|
713
|
+
}
|
|
670
714
|
throw error;
|
|
671
715
|
}
|
|
672
716
|
return credentialResultsDeserializer(result.body);
|
|
@@ -683,7 +727,7 @@ export function _listClusterUserCredentialsSend(context, resourceGroupName, reso
|
|
|
683
727
|
subscriptionId: context.subscriptionId,
|
|
684
728
|
resourceGroupName: resourceGroupName,
|
|
685
729
|
resourceName: resourceName,
|
|
686
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
730
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-02-preview",
|
|
687
731
|
"server%2Dfqdn": options?.serverFqdn,
|
|
688
732
|
format: options?.format,
|
|
689
733
|
}, {
|
|
@@ -698,7 +742,9 @@ export async function _listClusterUserCredentialsDeserialize(result) {
|
|
|
698
742
|
const expectedStatuses = ["200"];
|
|
699
743
|
if (!expectedStatuses.includes(result.status)) {
|
|
700
744
|
const error = createRestError(result);
|
|
701
|
-
|
|
745
|
+
if (result.body) {
|
|
746
|
+
error.details = errorResponseDeserializer(result.body);
|
|
747
|
+
}
|
|
702
748
|
throw error;
|
|
703
749
|
}
|
|
704
750
|
return credentialResultsDeserializer(result.body);
|
|
@@ -713,7 +759,7 @@ export function _listClusterAdminCredentialsSend(context, resourceGroupName, res
|
|
|
713
759
|
subscriptionId: context.subscriptionId,
|
|
714
760
|
resourceGroupName: resourceGroupName,
|
|
715
761
|
resourceName: resourceName,
|
|
716
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
762
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-02-preview",
|
|
717
763
|
"server%2Dfqdn": options?.serverFqdn,
|
|
718
764
|
}, {
|
|
719
765
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
@@ -727,7 +773,9 @@ export async function _listClusterAdminCredentialsDeserialize(result) {
|
|
|
727
773
|
const expectedStatuses = ["200"];
|
|
728
774
|
if (!expectedStatuses.includes(result.status)) {
|
|
729
775
|
const error = createRestError(result);
|
|
730
|
-
|
|
776
|
+
if (result.body) {
|
|
777
|
+
error.details = errorResponseDeserializer(result.body);
|
|
778
|
+
}
|
|
731
779
|
throw error;
|
|
732
780
|
}
|
|
733
781
|
return credentialResultsDeserializer(result.body);
|
|
@@ -743,7 +791,7 @@ export function _getAccessProfileSend(context, resourceGroupName, resourceName,
|
|
|
743
791
|
resourceGroupName: resourceGroupName,
|
|
744
792
|
resourceName: resourceName,
|
|
745
793
|
roleName: roleName,
|
|
746
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
794
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-02-preview",
|
|
747
795
|
}, {
|
|
748
796
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
749
797
|
});
|
|
@@ -756,7 +804,9 @@ export async function _getAccessProfileDeserialize(result) {
|
|
|
756
804
|
const expectedStatuses = ["200"];
|
|
757
805
|
if (!expectedStatuses.includes(result.status)) {
|
|
758
806
|
const error = createRestError(result);
|
|
759
|
-
|
|
807
|
+
if (result.body) {
|
|
808
|
+
error.details = errorResponseDeserializer(result.body);
|
|
809
|
+
}
|
|
760
810
|
throw error;
|
|
761
811
|
}
|
|
762
812
|
return managedClusterAccessProfileDeserializer(result.body);
|
|
@@ -769,7 +819,7 @@ export async function getAccessProfile(context, resourceGroupName, resourceName,
|
|
|
769
819
|
export function _listSend(context, options = { requestOptions: {} }) {
|
|
770
820
|
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/managedClusters{?api%2Dversion}", {
|
|
771
821
|
subscriptionId: context.subscriptionId,
|
|
772
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
822
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-02-preview",
|
|
773
823
|
}, {
|
|
774
824
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
775
825
|
});
|
|
@@ -782,7 +832,9 @@ export async function _listDeserialize(result) {
|
|
|
782
832
|
const expectedStatuses = ["200"];
|
|
783
833
|
if (!expectedStatuses.includes(result.status)) {
|
|
784
834
|
const error = createRestError(result);
|
|
785
|
-
|
|
835
|
+
if (result.body) {
|
|
836
|
+
error.details = errorResponseDeserializer(result.body);
|
|
837
|
+
}
|
|
786
838
|
throw error;
|
|
787
839
|
}
|
|
788
840
|
return _managedClusterListResultDeserializer(result.body);
|
|
@@ -792,14 +844,14 @@ export function list(context, options = { requestOptions: {} }) {
|
|
|
792
844
|
return buildPagedAsyncIterator(context, () => _listSend(context, options), _listDeserialize, ["200"], {
|
|
793
845
|
itemName: "value",
|
|
794
846
|
nextLinkName: "nextLink",
|
|
795
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
847
|
+
apiVersion: context.apiVersion ?? "2026-04-02-preview",
|
|
796
848
|
});
|
|
797
849
|
}
|
|
798
850
|
export function _listByResourceGroupSend(context, resourceGroupName, options = { requestOptions: {} }) {
|
|
799
851
|
const path = expandUrlTemplate("/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters{?api%2Dversion}", {
|
|
800
852
|
subscriptionId: context.subscriptionId,
|
|
801
853
|
resourceGroupName: resourceGroupName,
|
|
802
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
854
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-02-preview",
|
|
803
855
|
}, {
|
|
804
856
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
805
857
|
});
|
|
@@ -812,7 +864,9 @@ export async function _listByResourceGroupDeserialize(result) {
|
|
|
812
864
|
const expectedStatuses = ["200"];
|
|
813
865
|
if (!expectedStatuses.includes(result.status)) {
|
|
814
866
|
const error = createRestError(result);
|
|
815
|
-
|
|
867
|
+
if (result.body) {
|
|
868
|
+
error.details = errorResponseDeserializer(result.body);
|
|
869
|
+
}
|
|
816
870
|
throw error;
|
|
817
871
|
}
|
|
818
872
|
return _managedClusterListResultDeserializer(result.body);
|
|
@@ -822,7 +876,7 @@ export function listByResourceGroup(context, resourceGroupName, options = { requ
|
|
|
822
876
|
return buildPagedAsyncIterator(context, () => _listByResourceGroupSend(context, resourceGroupName, options), _listByResourceGroupDeserialize, ["200"], {
|
|
823
877
|
itemName: "value",
|
|
824
878
|
nextLinkName: "nextLink",
|
|
825
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
879
|
+
apiVersion: context.apiVersion ?? "2026-04-02-preview",
|
|
826
880
|
});
|
|
827
881
|
}
|
|
828
882
|
export function _$deleteSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
@@ -830,7 +884,7 @@ export function _$deleteSend(context, resourceGroupName, resourceName, options =
|
|
|
830
884
|
subscriptionId: context.subscriptionId,
|
|
831
885
|
resourceGroupName: resourceGroupName,
|
|
832
886
|
resourceName: resourceName,
|
|
833
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
887
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-02-preview",
|
|
834
888
|
"ignore%2Dpod%2Ddisruption%2Dbudget": options?.ignorePodDisruptionBudget,
|
|
835
889
|
}, {
|
|
836
890
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
@@ -847,7 +901,9 @@ export async function _$deleteDeserialize(result) {
|
|
|
847
901
|
const expectedStatuses = ["202", "204", "200"];
|
|
848
902
|
if (!expectedStatuses.includes(result.status)) {
|
|
849
903
|
const error = createRestError(result);
|
|
850
|
-
|
|
904
|
+
if (result.body) {
|
|
905
|
+
error.details = errorResponseDeserializer(result.body);
|
|
906
|
+
}
|
|
851
907
|
throw error;
|
|
852
908
|
}
|
|
853
909
|
return;
|
|
@@ -859,7 +915,7 @@ export function $delete(context, resourceGroupName, resourceName, options = { re
|
|
|
859
915
|
abortSignal: options?.abortSignal,
|
|
860
916
|
getInitialResponse: () => _$deleteSend(context, resourceGroupName, resourceName, options),
|
|
861
917
|
resourceLocationConfig: "azure-async-operation",
|
|
862
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
918
|
+
apiVersion: context.apiVersion ?? "2026-04-02-preview",
|
|
863
919
|
});
|
|
864
920
|
}
|
|
865
921
|
export function _updateTagsSend(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
|
|
@@ -867,7 +923,7 @@ export function _updateTagsSend(context, resourceGroupName, resourceName, parame
|
|
|
867
923
|
subscriptionId: context.subscriptionId,
|
|
868
924
|
resourceGroupName: resourceGroupName,
|
|
869
925
|
resourceName: resourceName,
|
|
870
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
926
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-02-preview",
|
|
871
927
|
}, {
|
|
872
928
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
873
929
|
});
|
|
@@ -886,7 +942,9 @@ export async function _updateTagsDeserialize(result) {
|
|
|
886
942
|
const expectedStatuses = ["200", "202", "201"];
|
|
887
943
|
if (!expectedStatuses.includes(result.status)) {
|
|
888
944
|
const error = createRestError(result);
|
|
889
|
-
|
|
945
|
+
if (result.body) {
|
|
946
|
+
error.details = errorResponseDeserializer(result.body);
|
|
947
|
+
}
|
|
890
948
|
throw error;
|
|
891
949
|
}
|
|
892
950
|
return managedClusterDeserializer(result.body);
|
|
@@ -898,7 +956,7 @@ export function updateTags(context, resourceGroupName, resourceName, parameters,
|
|
|
898
956
|
abortSignal: options?.abortSignal,
|
|
899
957
|
getInitialResponse: () => _updateTagsSend(context, resourceGroupName, resourceName, parameters, options),
|
|
900
958
|
resourceLocationConfig: "azure-async-operation",
|
|
901
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
959
|
+
apiVersion: context.apiVersion ?? "2026-04-02-preview",
|
|
902
960
|
});
|
|
903
961
|
}
|
|
904
962
|
export function _createOrUpdateSend(context, resourceGroupName, resourceName, parameters, options = { requestOptions: {} }) {
|
|
@@ -906,7 +964,7 @@ export function _createOrUpdateSend(context, resourceGroupName, resourceName, pa
|
|
|
906
964
|
subscriptionId: context.subscriptionId,
|
|
907
965
|
resourceGroupName: resourceGroupName,
|
|
908
966
|
resourceName: resourceName,
|
|
909
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
967
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-02-preview",
|
|
910
968
|
}, {
|
|
911
969
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
912
970
|
});
|
|
@@ -926,7 +984,9 @@ export async function _createOrUpdateDeserialize(result) {
|
|
|
926
984
|
const expectedStatuses = ["200", "201", "202"];
|
|
927
985
|
if (!expectedStatuses.includes(result.status)) {
|
|
928
986
|
const error = createRestError(result);
|
|
929
|
-
|
|
987
|
+
if (result.body) {
|
|
988
|
+
error.details = errorResponseDeserializer(result.body);
|
|
989
|
+
}
|
|
930
990
|
throw error;
|
|
931
991
|
}
|
|
932
992
|
return managedClusterDeserializer(result.body);
|
|
@@ -938,7 +998,7 @@ export function createOrUpdate(context, resourceGroupName, resourceName, paramet
|
|
|
938
998
|
abortSignal: options?.abortSignal,
|
|
939
999
|
getInitialResponse: () => _createOrUpdateSend(context, resourceGroupName, resourceName, parameters, options),
|
|
940
1000
|
resourceLocationConfig: "azure-async-operation",
|
|
941
|
-
apiVersion: context.apiVersion ?? "2026-
|
|
1001
|
+
apiVersion: context.apiVersion ?? "2026-04-02-preview",
|
|
942
1002
|
});
|
|
943
1003
|
}
|
|
944
1004
|
export function _getSend(context, resourceGroupName, resourceName, options = { requestOptions: {} }) {
|
|
@@ -946,7 +1006,7 @@ export function _getSend(context, resourceGroupName, resourceName, options = { r
|
|
|
946
1006
|
subscriptionId: context.subscriptionId,
|
|
947
1007
|
resourceGroupName: resourceGroupName,
|
|
948
1008
|
resourceName: resourceName,
|
|
949
|
-
"api%2Dversion": context.apiVersion ?? "2026-
|
|
1009
|
+
"api%2Dversion": context.apiVersion ?? "2026-04-02-preview",
|
|
950
1010
|
}, {
|
|
951
1011
|
allowReserved: options?.requestOptions?.skipUrlEncoding,
|
|
952
1012
|
});
|
|
@@ -959,7 +1019,9 @@ export async function _getDeserialize(result) {
|
|
|
959
1019
|
const expectedStatuses = ["200"];
|
|
960
1020
|
if (!expectedStatuses.includes(result.status)) {
|
|
961
1021
|
const error = createRestError(result);
|
|
962
|
-
|
|
1022
|
+
if (result.body) {
|
|
1023
|
+
error.details = errorResponseDeserializer(result.body);
|
|
1024
|
+
}
|
|
963
1025
|
throw error;
|
|
964
1026
|
}
|
|
965
1027
|
return managedClusterDeserializer(result.body);
|