Skip to content

Commit 3f866c6

Browse files
authored
containerservice-track1-release (Azure#17616)
1 parent a1bb24f commit 3f866c6

12 files changed

+927
-3
lines changed

sdk/containerservice/arm-containerservice/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@azure/arm-containerservice",
33
"author": "Microsoft Corporation",
44
"description": "ContainerServiceClient Library with typescript type definitions for node.js and browser.",
5-
"version": "14.0.0",
5+
"version": "14.1.0",
66
"dependencies": {
77
"@azure/ms-rest-azure-js": "^2.1.0",
88
"@azure/ms-rest-js": "^2.2.0",

sdk/containerservice/arm-containerservice/src/containerServiceClient.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class ContainerServiceClient extends ContainerServiceClientContext {
2424
privateEndpointConnections: operations.PrivateEndpointConnections;
2525
privateLinkResources: operations.PrivateLinkResources;
2626
resolvePrivateLinkServiceId: operations.ResolvePrivateLinkServiceId;
27+
snapshots: operations.Snapshots;
2728

2829
/**
2930
* Initializes a new instance of the ContainerServiceClient class.
@@ -46,6 +47,7 @@ class ContainerServiceClient extends ContainerServiceClientContext {
4647
this.privateEndpointConnections = new operations.PrivateEndpointConnections(this);
4748
this.privateLinkResources = new operations.PrivateLinkResources(this);
4849
this.resolvePrivateLinkServiceId = new operations.ResolvePrivateLinkServiceId(this);
50+
this.snapshots = new operations.Snapshots(this);
4951
}
5052
}
5153

sdk/containerservice/arm-containerservice/src/containerServiceClientContext.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import * as msRestAzure from "@azure/ms-rest-azure-js";
1313
import { TokenCredential } from "@azure/core-auth";
1414

1515
const packageName = "@azure/arm-containerservice";
16-
const packageVersion = "14.0.0";
16+
const packageVersion = "14.1.0";
1717

1818
export class ContainerServiceClientContext extends msRestAzure.AzureServiceClient {
1919
credentials: msRest.ServiceClientCredentials | TokenCredential;
@@ -50,7 +50,7 @@ export class ContainerServiceClientContext extends msRestAzure.AzureServiceClien
5050

5151
super(credentials, options);
5252

53-
this.apiVersion = '2021-07-01';
53+
this.apiVersion = '2021-08-01';
5454
this.acceptLanguage = 'en-US';
5555
this.longRunningOperationRetryTimeout = 30;
5656
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";

sdk/containerservice/arm-containerservice/src/models/agentPoolsMappers.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export {
2020
ContainerServiceNetworkProfile,
2121
ContainerServiceSshConfiguration,
2222
ContainerServiceSshPublicKey,
23+
CreationData,
2324
ExtendedLocation,
2425
KubeletConfig,
2526
LinuxOSConfig,
@@ -61,6 +62,7 @@ export {
6162
PrivateLinkServiceConnectionState,
6263
Resource,
6364
ResourceReference,
65+
Snapshot,
6466
SubResource,
6567
SysctlConfig,
6668
SystemData,

sdk/containerservice/arm-containerservice/src/models/index.ts

Lines changed: 238 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,16 @@ export interface LinuxOSConfig {
439439
swapFileSizeMB?: number;
440440
}
441441

442+
/**
443+
* Data used when creating a target resource from a source resource.
444+
*/
445+
export interface CreationData {
446+
/**
447+
* This is the ARM ID of the source object to be used to create the target object.
448+
*/
449+
sourceResourceId?: string;
450+
}
451+
442452
/**
443453
* Properties for the container service agent pool profile.
444454
*/
@@ -464,6 +474,10 @@ export interface ManagedClusterAgentPoolProfileProperties {
464474
* Possible values include: 'OS', 'Temporary'
465475
*/
466476
kubeletDiskType?: KubeletDiskType;
477+
/**
478+
* Possible values include: 'OCIContainer', 'WasmWasi'
479+
*/
480+
workloadRuntime?: WorkloadRuntime;
467481
/**
468482
* The ID of the subnet which agent pool nodes and optionally pods will join on startup. If this
469483
* is not specified, a VNET and subnet will be generated and used. If no podSubnetID is
@@ -628,6 +642,11 @@ export interface ManagedClusterAgentPoolProfileProperties {
628642
* Possible values include: 'MIG1g', 'MIG2g', 'MIG3g', 'MIG4g', 'MIG7g'
629643
*/
630644
gpuInstanceProfile?: GPUInstanceProfile;
645+
/**
646+
* CreationData to be used to specify the source Snapshot ID if the node pool will be
647+
* created/upgraded using a snapshot.
648+
*/
649+
creationData?: CreationData;
631650
}
632651

633652
/**
@@ -666,6 +685,10 @@ export interface AgentPool extends SubResource {
666685
* Possible values include: 'OS', 'Temporary'
667686
*/
668687
kubeletDiskType?: KubeletDiskType;
688+
/**
689+
* Possible values include: 'OCIContainer', 'WasmWasi'
690+
*/
691+
workloadRuntime?: WorkloadRuntime;
669692
/**
670693
* The ID of the subnet which agent pool nodes and optionally pods will join on startup. If this
671694
* is not specified, a VNET and subnet will be generated and used. If no podSubnetID is
@@ -830,6 +853,11 @@ export interface AgentPool extends SubResource {
830853
* Possible values include: 'MIG1g', 'MIG2g', 'MIG3g', 'MIG4g', 'MIG7g'
831854
*/
832855
gpuInstanceProfile?: GPUInstanceProfile;
856+
/**
857+
* CreationData to be used to specify the source Snapshot ID if the node pool will be
858+
* created/upgraded using a snapshot.
859+
*/
860+
creationData?: CreationData;
833861
}
834862

835863
/**
@@ -976,6 +1004,10 @@ export interface ManagedClusterLoadBalancerProfile {
9761004
* (inclusive). The default value is 30 minutes. Default value: 30.
9771005
*/
9781006
idleTimeoutInMinutes?: number;
1007+
/**
1008+
* Enable multiple standard load balancers per AKS cluster or not.
1009+
*/
1010+
enableMultipleStandardLoadBalancers?: boolean;
9791011
}
9801012

9811013
/**
@@ -1667,6 +1699,10 @@ export interface ManagedClusterAPIServerAccessProfile {
16671699
* Whether to create additional public FQDN for private cluster or not.
16681700
*/
16691701
enablePrivateClusterPublicFQDN?: boolean;
1702+
/**
1703+
* Whether to disable run command for the cluster or not.
1704+
*/
1705+
disableRunCommand?: boolean;
16701706
}
16711707

16721708
/**
@@ -1905,6 +1941,12 @@ export interface ManagedCluster extends Resource {
19051941
* Security profile for the managed cluster.
19061942
*/
19071943
securityProfile?: ManagedClusterSecurityProfile;
1944+
/**
1945+
* Whether the cluster can be accessed through public network or not. Default value is 'Enabled'
1946+
* (case insensitive). Could be set to 'Disabled' to enable private cluster. Possible values
1947+
* include: 'Enabled', 'Disabled'
1948+
*/
1949+
publicNetworkAccess?: PublicNetworkAccess;
19081950
}
19091951

19101952
/**
@@ -2274,6 +2316,25 @@ export interface OutboundEnvironmentEndpoint {
22742316
endpoints?: EndpointDependency[];
22752317
}
22762318

2319+
/**
2320+
* A node pool snapshot resource.
2321+
*/
2322+
export interface Snapshot extends Resource {
2323+
/**
2324+
* The system metadata relating to this snapshot.
2325+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
2326+
*/
2327+
readonly systemData?: SystemData;
2328+
/**
2329+
* CreationData to be used to specify the source agent pool resource ID to create this snapshot.
2330+
*/
2331+
creationData?: CreationData;
2332+
/**
2333+
* Possible values include: 'NodePool'. Default value: 'NodePool'.
2334+
*/
2335+
snapshotType?: SnapshotType;
2336+
}
2337+
22772338
/**
22782339
* Optional Parameters.
22792340
*/
@@ -2381,6 +2442,19 @@ export interface AgentPoolListResult extends Array<AgentPool> {
23812442
readonly nextLink?: string;
23822443
}
23832444

2445+
/**
2446+
* @interface
2447+
* The response from the List Snapshots operation.
2448+
* @extends Array<Snapshot>
2449+
*/
2450+
export interface SnapshotListResult extends Array<Snapshot> {
2451+
/**
2452+
* The URL to get the next set of snapshot results.
2453+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
2454+
*/
2455+
readonly nextLink?: string;
2456+
}
2457+
23842458
/**
23852459
* Defines values for ContainerServiceStorageProfileTypes.
23862460
* Possible values include: 'StorageAccount', 'ManagedDisks'
@@ -2450,6 +2524,14 @@ export type OSDiskType = 'Managed' | 'Ephemeral';
24502524
*/
24512525
export type KubeletDiskType = 'OS' | 'Temporary';
24522526

2527+
/**
2528+
* Defines values for WorkloadRuntime.
2529+
* Possible values include: 'OCIContainer', 'WasmWasi'
2530+
* @readonly
2531+
* @enum {string}
2532+
*/
2533+
export type WorkloadRuntime = 'OCIContainer' | 'WasmWasi';
2534+
24532535
/**
24542536
* Defines values for OSType.
24552537
* Possible values include: 'Linux', 'Windows'
@@ -2644,6 +2726,14 @@ export type UpgradeChannel = 'rapid' | 'stable' | 'patch' | 'node-image' | 'none
26442726
*/
26452727
export type Expander = 'least-waste' | 'most-pods' | 'priority' | 'random';
26462728

2729+
/**
2730+
* Defines values for PublicNetworkAccess.
2731+
* Possible values include: 'Enabled', 'Disabled'
2732+
* @readonly
2733+
* @enum {string}
2734+
*/
2735+
export type PublicNetworkAccess = 'Enabled' | 'Disabled';
2736+
26472737
/**
26482738
* Defines values for PrivateEndpointConnectionProvisioningState.
26492739
* Possible values include: 'Succeeded', 'Creating', 'Deleting', 'Failed'
@@ -2660,6 +2750,14 @@ export type PrivateEndpointConnectionProvisioningState = 'Succeeded' | 'Creating
26602750
*/
26612751
export type ConnectionStatus = 'Pending' | 'Approved' | 'Rejected' | 'Disconnected';
26622752

2753+
/**
2754+
* Defines values for SnapshotType.
2755+
* Possible values include: 'NodePool'
2756+
* @readonly
2757+
* @enum {string}
2758+
*/
2759+
export type SnapshotType = 'NodePool';
2760+
26632761
/**
26642762
* Contains response data for the list operation.
26652763
*/
@@ -3439,3 +3537,143 @@ export type ResolvePrivateLinkServiceIdPOSTResponse = PrivateLinkResource & {
34393537
parsedBody: PrivateLinkResource;
34403538
};
34413539
};
3540+
3541+
/**
3542+
* Contains response data for the list operation.
3543+
*/
3544+
export type SnapshotsListResponse = SnapshotListResult & {
3545+
/**
3546+
* The underlying HTTP response.
3547+
*/
3548+
_response: msRest.HttpResponse & {
3549+
/**
3550+
* The response body as text (string format)
3551+
*/
3552+
bodyAsText: string;
3553+
3554+
/**
3555+
* The response body as parsed JSON or XML
3556+
*/
3557+
parsedBody: SnapshotListResult;
3558+
};
3559+
};
3560+
3561+
/**
3562+
* Contains response data for the listByResourceGroup operation.
3563+
*/
3564+
export type SnapshotsListByResourceGroupResponse = SnapshotListResult & {
3565+
/**
3566+
* The underlying HTTP response.
3567+
*/
3568+
_response: msRest.HttpResponse & {
3569+
/**
3570+
* The response body as text (string format)
3571+
*/
3572+
bodyAsText: string;
3573+
3574+
/**
3575+
* The response body as parsed JSON or XML
3576+
*/
3577+
parsedBody: SnapshotListResult;
3578+
};
3579+
};
3580+
3581+
/**
3582+
* Contains response data for the get operation.
3583+
*/
3584+
export type SnapshotsGetResponse = Snapshot & {
3585+
/**
3586+
* The underlying HTTP response.
3587+
*/
3588+
_response: msRest.HttpResponse & {
3589+
/**
3590+
* The response body as text (string format)
3591+
*/
3592+
bodyAsText: string;
3593+
3594+
/**
3595+
* The response body as parsed JSON or XML
3596+
*/
3597+
parsedBody: Snapshot;
3598+
};
3599+
};
3600+
3601+
/**
3602+
* Contains response data for the createOrUpdate operation.
3603+
*/
3604+
export type SnapshotsCreateOrUpdateResponse = Snapshot & {
3605+
/**
3606+
* The underlying HTTP response.
3607+
*/
3608+
_response: msRest.HttpResponse & {
3609+
/**
3610+
* The response body as text (string format)
3611+
*/
3612+
bodyAsText: string;
3613+
3614+
/**
3615+
* The response body as parsed JSON or XML
3616+
*/
3617+
parsedBody: Snapshot;
3618+
};
3619+
};
3620+
3621+
/**
3622+
* Contains response data for the updateTags operation.
3623+
*/
3624+
export type SnapshotsUpdateTagsResponse = Snapshot & {
3625+
/**
3626+
* The underlying HTTP response.
3627+
*/
3628+
_response: msRest.HttpResponse & {
3629+
/**
3630+
* The response body as text (string format)
3631+
*/
3632+
bodyAsText: string;
3633+
3634+
/**
3635+
* The response body as parsed JSON or XML
3636+
*/
3637+
parsedBody: Snapshot;
3638+
};
3639+
};
3640+
3641+
/**
3642+
* Contains response data for the listNext operation.
3643+
*/
3644+
export type SnapshotsListNextResponse = SnapshotListResult & {
3645+
/**
3646+
* The underlying HTTP response.
3647+
*/
3648+
_response: msRest.HttpResponse & {
3649+
/**
3650+
* The response body as text (string format)
3651+
*/
3652+
bodyAsText: string;
3653+
3654+
/**
3655+
* The response body as parsed JSON or XML
3656+
*/
3657+
parsedBody: SnapshotListResult;
3658+
};
3659+
};
3660+
3661+
/**
3662+
* Contains response data for the listByResourceGroupNext operation.
3663+
*/
3664+
export type SnapshotsListByResourceGroupNextResponse = SnapshotListResult & {
3665+
/**
3666+
* The underlying HTTP response.
3667+
*/
3668+
_response: msRest.HttpResponse & {
3669+
/**
3670+
* The response body as text (string format)
3671+
*/
3672+
bodyAsText: string;
3673+
3674+
/**
3675+
* The response body as parsed JSON or XML
3676+
*/
3677+
parsedBody: SnapshotListResult;
3678+
};
3679+
};

0 commit comments

Comments
 (0)