@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
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Lists available upgrades for all service meshes in a specific cluster.
|
17
17
|
*
|
18
18
|
* @summary Lists available upgrades for all service meshes in a specific cluster.
|
19
|
-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-
|
19
|
+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-02-01/examples/ManagedClustersList_MeshUpgradeProfiles.json
|
20
20
|
*/
|
21
21
|
function listsVersionCompatibilityAndUpgradeProfileForAllServiceMeshesInACluster() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
package/dist-esm/samples-dev/managedClustersListOutboundNetworkDependenciesEndpointsSample.js
CHANGED
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint.
|
17
17
|
*
|
18
18
|
* @summary Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint.
|
19
|
-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-
|
19
|
+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-02-01/examples/OutboundNetworkDependenciesEndpointsList.json
|
20
20
|
*/
|
21
21
|
function listOutboundNetworkDependenciesEndpointsByManagedCluster() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Gets a list of managed clusters in the specified subscription.
|
17
17
|
*
|
18
18
|
* @summary Gets a list of managed clusters in the specified subscription.
|
19
|
-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-
|
19
|
+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-02-01/examples/ManagedClustersList.json
|
20
20
|
*/
|
21
21
|
function listManagedClusters() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to **WARNING**: This API will be deprecated. Please see [AKS-managed Azure Active Directory integration](https://aka.ms/aks-managed-aad) to update your cluster with AKS-managed Azure AD.
|
17
17
|
*
|
18
18
|
* @summary **WARNING**: This API will be deprecated. Please see [AKS-managed Azure Active Directory integration](https://aka.ms/aks-managed-aad) to update your cluster with AKS-managed Azure AD.
|
19
|
-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-
|
19
|
+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-02-01/examples/ManagedClustersResetAADProfile.json
|
20
20
|
*/
|
21
21
|
function resetAadProfile() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to This action cannot be performed on a cluster that is not using a service principal
|
17
17
|
*
|
18
18
|
* @summary This action cannot be performed on a cluster that is not using a service principal
|
19
|
-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-
|
19
|
+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-02-01/examples/ManagedClustersResetServicePrincipalProfile.json
|
20
20
|
*/
|
21
21
|
function resetServicePrincipalProfile() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates.
|
17
17
|
*
|
18
18
|
* @summary See [Certificate rotation](https://docs.microsoft.com/azure/aks/certificate-rotation) for more details about rotating managed cluster certificates.
|
19
|
-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-
|
19
|
+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-02-01/examples/ManagedClustersRotateClusterCertificates.json
|
20
20
|
*/
|
21
21
|
function rotateClusterCertificates() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Rotates the service account signing keys of a managed cluster.
|
17
17
|
*
|
18
18
|
* @summary Rotates the service account signing keys of a managed cluster.
|
19
|
-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-
|
19
|
+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-02-01/examples/ManagedClustersRotateServiceAccountSigningKeys.json
|
20
20
|
*/
|
21
21
|
function rotateClusterServiceAccountSigningKeys() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to 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).
|
17
17
|
*
|
18
18
|
* @summary 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).
|
19
|
-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-
|
19
|
+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-02-01/examples/RunCommandRequest.json
|
20
20
|
*/
|
21
21
|
function submitNewCommand() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster.
|
17
17
|
*
|
18
18
|
* @summary See [starting a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about starting a cluster.
|
19
|
-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-
|
19
|
+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-02-01/examples/ManagedClustersStart.json
|
20
20
|
*/
|
21
21
|
function startManagedCluster() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster.
|
17
17
|
*
|
18
18
|
* @summary This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See [stopping a cluster](https://docs.microsoft.com/azure/aks/start-stop-cluster) for more details about stopping a cluster.
|
19
|
-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-
|
19
|
+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-02-01/examples/ManagedClustersStop.json
|
20
20
|
*/
|
21
21
|
function stopManagedCluster() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Updates tags on a managed cluster.
|
17
17
|
*
|
18
18
|
* @summary Updates tags on a managed cluster.
|
19
|
-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-
|
19
|
+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-02-01/examples/ManagedClustersUpdateTags.json
|
20
20
|
*/
|
21
21
|
function updateManagedClusterTags() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Gets a list of operations.
|
17
17
|
*
|
18
18
|
* @summary Gets a list of operations.
|
19
|
-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-
|
19
|
+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-02-01/examples/Operation_List.json
|
20
20
|
*/
|
21
21
|
function listAvailableOperationsForTheContainerServiceResourceProvider() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Deletes a private endpoint connection.
|
17
17
|
*
|
18
18
|
* @summary Deletes a private endpoint connection.
|
19
|
-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-
|
19
|
+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-02-01/examples/PrivateEndpointConnectionsDelete.json
|
20
20
|
*/
|
21
21
|
function deletePrivateEndpointConnection() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters
|
17
17
|
*
|
18
18
|
* @summary To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters
|
19
|
-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-
|
19
|
+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-02-01/examples/PrivateEndpointConnectionsGet.json
|
20
20
|
*/
|
21
21
|
function getPrivateEndpointConnection() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters
|
17
17
|
*
|
18
18
|
* @summary To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters
|
19
|
-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-
|
19
|
+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-02-01/examples/PrivateEndpointConnectionsList.json
|
20
20
|
*/
|
21
21
|
function listPrivateEndpointConnectionsByManagedCluster() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Updates a private endpoint connection.
|
17
17
|
*
|
18
18
|
* @summary Updates a private endpoint connection.
|
19
|
-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-
|
19
|
+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-02-01/examples/PrivateEndpointConnectionsUpdate.json
|
20
20
|
*/
|
21
21
|
function updatePrivateEndpointConnection() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters
|
17
17
|
*
|
18
18
|
* @summary To learn more about private clusters, see: https://docs.microsoft.com/azure/aks/private-clusters
|
19
|
-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-
|
19
|
+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-02-01/examples/PrivateLinkResourcesList.json
|
20
20
|
*/
|
21
21
|
function listPrivateLinkResourcesByManagedCluster() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Gets the private link service ID for the specified managed cluster.
|
17
17
|
*
|
18
18
|
* @summary Gets the private link service ID for the specified managed cluster.
|
19
|
-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-
|
19
|
+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-02-01/examples/ResolvePrivateLinkServiceId.json
|
20
20
|
*/
|
21
21
|
function resolveThePrivateLinkServiceIdForManagedCluster() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Creates or updates a snapshot.
|
17
17
|
*
|
18
18
|
* @summary Creates or updates a snapshot.
|
19
|
-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-
|
19
|
+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-02-01/examples/SnapshotsCreate.json
|
20
20
|
*/
|
21
21
|
function createOrUpdateSnapshot() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Deletes a snapshot.
|
17
17
|
*
|
18
18
|
* @summary Deletes a snapshot.
|
19
|
-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-
|
19
|
+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-02-01/examples/SnapshotsDelete.json
|
20
20
|
*/
|
21
21
|
function deleteSnapshot() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Gets a snapshot.
|
17
17
|
*
|
18
18
|
* @summary Gets a snapshot.
|
19
|
-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-
|
19
|
+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-02-01/examples/SnapshotsGet.json
|
20
20
|
*/
|
21
21
|
function getSnapshot() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Lists snapshots in the specified subscription and resource group.
|
17
17
|
*
|
18
18
|
* @summary Lists snapshots in the specified subscription and resource group.
|
19
|
-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-
|
19
|
+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-02-01/examples/SnapshotsListByResourceGroup.json
|
20
20
|
*/
|
21
21
|
function listSnapshotsByResourceGroup() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Gets a list of snapshots in the specified subscription.
|
17
17
|
*
|
18
18
|
* @summary Gets a list of snapshots in the specified subscription.
|
19
|
-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-
|
19
|
+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-02-01/examples/SnapshotsList.json
|
20
20
|
*/
|
21
21
|
function listSnapshots() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Updates tags on a snapshot.
|
17
17
|
*
|
18
18
|
* @summary Updates tags on a snapshot.
|
19
|
-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-
|
19
|
+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-02-01/examples/SnapshotsUpdateTags.json
|
20
20
|
*/
|
21
21
|
function updateSnapshotTags() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Create or update a trusted access role binding
|
17
17
|
*
|
18
18
|
* @summary Create or update a trusted access role binding
|
19
|
-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-
|
19
|
+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-02-01/examples/TrustedAccessRoleBindings_CreateOrUpdate.json
|
20
20
|
*/
|
21
21
|
function createOrUpdateATrustedAccessRoleBinding() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Delete a trusted access role binding.
|
17
17
|
*
|
18
18
|
* @summary Delete a trusted access role binding.
|
19
|
-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-
|
19
|
+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-02-01/examples/TrustedAccessRoleBindings_Delete.json
|
20
20
|
*/
|
21
21
|
function deleteATrustedAccessRoleBinding() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to Get a trusted access role binding.
|
17
17
|
*
|
18
18
|
* @summary Get a trusted access role binding.
|
19
|
-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-
|
19
|
+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-02-01/examples/TrustedAccessRoleBindings_Get.json
|
20
20
|
*/
|
21
21
|
function getATrustedAccessRoleBinding() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to List trusted access role bindings.
|
17
17
|
*
|
18
18
|
* @summary List trusted access role bindings.
|
19
|
-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-
|
19
|
+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-02-01/examples/TrustedAccessRoleBindings_List.json
|
20
20
|
*/
|
21
21
|
function listTrustedAccessRoleBindings() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -16,7 +16,7 @@ dotenv.config();
|
|
16
16
|
* This sample demonstrates how to List supported trusted access roles.
|
17
17
|
*
|
18
18
|
* @summary List supported trusted access roles.
|
19
|
-
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-
|
19
|
+
* x-ms-original-file: specification/containerservice/resource-manager/Microsoft.ContainerService/aks/stable/2024-02-01/examples/TrustedAccessRoles_List.json
|
20
20
|
*/
|
21
21
|
function listTrustedAccessRoles() {
|
22
22
|
return __awaiter(this, void 0, void 0, function* () {
|
@@ -32,7 +32,7 @@ export class ContainerServiceClient extends coreClient.ServiceClient {
|
|
32
32
|
requestContentType: "application/json; charset=utf-8",
|
33
33
|
credential: credentials,
|
34
34
|
};
|
35
|
-
const packageDetails = `azsdk-js-arm-containerservice/
|
35
|
+
const packageDetails = `azsdk-js-arm-containerservice/20.0.0`;
|
36
36
|
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
37
37
|
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
38
38
|
: `${packageDetails}`;
|
@@ -65,7 +65,7 @@ export class ContainerServiceClient extends coreClient.ServiceClient {
|
|
65
65
|
this.subscriptionId = subscriptionId;
|
66
66
|
// Assigning values to Constant parameters
|
67
67
|
this.$host = options.$host || "https://management.azure.com";
|
68
|
-
this.apiVersion = options.apiVersion || "2024-
|
68
|
+
this.apiVersion = options.apiVersion || "2024-02-01";
|
69
69
|
this.operations = new OperationsImpl(this);
|
70
70
|
this.managedClusters = new ManagedClustersImpl(this);
|
71
71
|
this.maintenanceConfigurations = new MaintenanceConfigurationsImpl(this);
|
@@ -94,6 +94,8 @@ export interface KubernetesVersion {
|
|
94
94
|
version?: string;
|
95
95
|
/** Capabilities on this Kubernetes version. */
|
96
96
|
capabilities?: KubernetesVersionCapabilities;
|
97
|
+
/** Whether this version is default. */
|
98
|
+
isDefault?: boolean;
|
97
99
|
/** Whether this version is in preview mode. */
|
98
100
|
isPreview?: boolean;
|
99
101
|
/** Patch versions of Kubernetes release */
|
@@ -286,6 +288,8 @@ export interface ManagedClusterAgentPoolProfileProperties {
|
|
286
288
|
hostGroupID?: string;
|
287
289
|
/** Network-related settings of an agent pool. */
|
288
290
|
networkProfile?: AgentPoolNetworkProfile;
|
291
|
+
/** The Windows agent pool's specific profile. */
|
292
|
+
windowsProfile?: AgentPoolWindowsProfile;
|
289
293
|
}
|
290
294
|
/** Settings for upgrading an agentpool */
|
291
295
|
export interface AgentPoolUpgradeSettings {
|
@@ -421,6 +425,11 @@ export interface PortRange {
|
|
421
425
|
/** The network protocol of the port. */
|
422
426
|
protocol?: Protocol;
|
423
427
|
}
|
428
|
+
/** The Windows agent pool's specific profile. */
|
429
|
+
export interface AgentPoolWindowsProfile {
|
430
|
+
/** 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. */
|
431
|
+
disableOutboundNat?: boolean;
|
432
|
+
}
|
424
433
|
/** Profile for Linux VMs in the container service cluster. */
|
425
434
|
export interface ContainerServiceLinuxProfile {
|
426
435
|
/** The administrator username to use for Linux VMs. */
|
@@ -927,10 +936,6 @@ export interface IstioIngressGateway {
|
|
927
936
|
export interface IstioEgressGateway {
|
928
937
|
/** Whether to enable the egress gateway. */
|
929
938
|
enabled: boolean;
|
930
|
-
/** NodeSelector for scheduling the egress gateway. */
|
931
|
-
nodeSelector?: {
|
932
|
-
[propertyName: string]: string;
|
933
|
-
};
|
934
939
|
}
|
935
940
|
/** Istio Service Mesh Certificate Authority (CA) configuration. For now, we only support plugin certificates as described here https://aka.ms/asm-plugin-ca */
|
936
941
|
export interface IstioCertificateAuthority {
|
@@ -950,6 +955,16 @@ export interface IstioPluginCertificateAuthority {
|
|
950
955
|
/** Certificate chain object name in Azure Key Vault. */
|
951
956
|
certChainObjectName?: string;
|
952
957
|
}
|
958
|
+
/** The metrics profile for the ManagedCluster. */
|
959
|
+
export interface ManagedClusterMetricsProfile {
|
960
|
+
/** The cost analysis configuration for the cluster */
|
961
|
+
costAnalysis?: ManagedClusterCostAnalysis;
|
962
|
+
}
|
963
|
+
/** The cost analysis configuration for the cluster */
|
964
|
+
export interface ManagedClusterCostAnalysis {
|
965
|
+
/** 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. */
|
966
|
+
enabled?: boolean;
|
967
|
+
}
|
953
968
|
/** Common fields that are returned in the response for all Azure Resource Manager resources */
|
954
969
|
export interface Resource {
|
955
970
|
/**
|
@@ -1671,6 +1686,8 @@ export interface AgentPool extends SubResource {
|
|
1671
1686
|
hostGroupID?: string;
|
1672
1687
|
/** Network-related settings of an agent pool. */
|
1673
1688
|
networkProfile?: AgentPoolNetworkProfile;
|
1689
|
+
/** The Windows agent pool's specific profile. */
|
1690
|
+
windowsProfile?: AgentPoolWindowsProfile;
|
1674
1691
|
}
|
1675
1692
|
/** Mesh upgrade profile properties for a major.minor release. */
|
1676
1693
|
export interface MeshUpgradeProfileProperties extends MeshRevision {
|
@@ -1791,6 +1808,8 @@ export interface ManagedCluster extends TrackedResource {
|
|
1791
1808
|
* NOTE: This property will not be serialized. It can only be populated by the server.
|
1792
1809
|
*/
|
1793
1810
|
readonly resourceUID?: string;
|
1811
|
+
/** Optional cluster metrics configuration. */
|
1812
|
+
metricsProfile?: ManagedClusterMetricsProfile;
|
1794
1813
|
}
|
1795
1814
|
/** Managed cluster Access Profile. */
|
1796
1815
|
export interface ManagedClusterAccessProfile extends TrackedResource {
|