Skip to content

Commit a596e3c

Browse files
authored
containerservice-track1 (Azure#18230)
1 parent 008ed54 commit a596e3c

File tree

9 files changed

+157
-16
lines changed

9 files changed

+157
-16
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.1.0",
5+
"version": "14.2.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/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.1.0";
16+
const packageVersion = "14.2.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-08-01';
53+
this.apiVersion = '2021-09-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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,6 @@ export {
6868
SystemData,
6969
TimeInWeek,
7070
TimeSpan,
71-
UserAssignedIdentity
71+
UserAssignedIdentity,
72+
WindowsGmsaProfile
7273
} from "../models/mappers";

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

Lines changed: 66 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -554,10 +554,12 @@ export interface ManagedClusterAgentPoolProfileProperties {
554554
*/
555555
readonly provisioningState?: string;
556556
/**
557-
* Describes whether the Agent Pool is Running or Stopped
558-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
557+
* Whether the Agent Pool is running or stopped. When an Agent Pool is first created it is
558+
* initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped
559+
* Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be
560+
* stopped if it is Running and provisioning state is Succeeded
559561
*/
560-
readonly powerState?: PowerState;
562+
powerState?: PowerState;
561563
/**
562564
* The list of Availability zones to use for nodes. This can only be specified if the
563565
* AgentPoolType property is 'VirtualMachineScaleSets'.
@@ -765,10 +767,12 @@ export interface AgentPool extends SubResource {
765767
*/
766768
readonly provisioningState?: string;
767769
/**
768-
* Describes whether the Agent Pool is Running or Stopped
769-
* **NOTE: This property will not be serialized. It can only be populated by the server.**
770+
* Whether the Agent Pool is running or stopped. When an Agent Pool is first created it is
771+
* initially Running. The Agent Pool can be stopped by setting this field to Stopped. A stopped
772+
* Agent Pool stops all of its VMs and does not accrue billing charges. An Agent Pool can only be
773+
* stopped if it is Running and provisioning state is Succeeded
770774
*/
771-
readonly powerState?: PowerState;
775+
powerState?: PowerState;
772776
/**
773777
* The list of Availability zones to use for nodes. This can only be specified if the
774778
* AgentPoolType property is 'VirtualMachineScaleSets'.
@@ -860,6 +864,27 @@ export interface AgentPool extends SubResource {
860864
creationData?: CreationData;
861865
}
862866

867+
/**
868+
* Windows gMSA Profile in the managed cluster.
869+
*/
870+
export interface WindowsGmsaProfile {
871+
/**
872+
* Whether to enable Windows gMSA. Specifies whether to enable Windows gMSA in the managed
873+
* cluster.
874+
*/
875+
enabled?: boolean;
876+
/**
877+
* Specifies the DNS server for Windows gMSA. <br><br> Set it to empty if you have configured the
878+
* DNS server in the vnet which is used to create the managed cluster.
879+
*/
880+
dnsServer?: string;
881+
/**
882+
* Specifies the root domain name for Windows gMSA. <br><br> Set it to empty if you have
883+
* configured the DNS server in the vnet which is used to create the managed cluster.
884+
*/
885+
rootDomainName?: string;
886+
}
887+
863888
/**
864889
* Profile for Windows VMs in the managed cluster.
865890
*/
@@ -893,6 +918,10 @@ export interface ManagedClusterWindowsProfile {
893918
* repo](https://github.com/kubernetes-csi/csi-proxy).
894919
*/
895920
enableCSIProxy?: boolean;
921+
/**
922+
* The Windows gMSA Profile in the Managed Cluster.
923+
*/
924+
gmsaProfile?: WindowsGmsaProfile;
896925
}
897926

898927
/**
@@ -2333,6 +2362,37 @@ export interface Snapshot extends Resource {
23332362
* Possible values include: 'NodePool'. Default value: 'NodePool'.
23342363
*/
23352364
snapshotType?: SnapshotType;
2365+
/**
2366+
* The version of Kubernetes.
2367+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
2368+
*/
2369+
readonly kubernetesVersion?: string;
2370+
/**
2371+
* The version of node image.
2372+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
2373+
*/
2374+
readonly nodeImageVersion?: string;
2375+
/**
2376+
* Possible values include: 'Linux', 'Windows'
2377+
* **NOTE: This property will not be serialized. It can only be populated by the server.**.
2378+
* Default value: 'Linux'.
2379+
*/
2380+
readonly osType?: OSType;
2381+
/**
2382+
* Possible values include: 'Ubuntu', 'CBLMariner'
2383+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
2384+
*/
2385+
readonly osSku?: OSSKU;
2386+
/**
2387+
* The size of the VM.
2388+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
2389+
*/
2390+
readonly vmSize?: string;
2391+
/**
2392+
* Whether to use a FIPS-enabled OS.
2393+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
2394+
*/
2395+
readonly enableFIPS?: boolean;
23362396
}
23372397

23382398
/**

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,6 @@ export {
6464
SystemData,
6565
TimeInWeek,
6666
TimeSpan,
67-
UserAssignedIdentity
67+
UserAssignedIdentity,
68+
WindowsGmsaProfile
6869
} from "../models/mappers";

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,6 @@ export {
7878
TagsObject,
7979
TimeInWeek,
8080
TimeSpan,
81-
UserAssignedIdentity
81+
UserAssignedIdentity,
82+
WindowsGmsaProfile
8283
} from "../models/mappers";

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

Lines changed: 78 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,6 @@ export const ManagedClusterAgentPoolProfileProperties: msRest.CompositeMapper =
733733
}
734734
},
735735
powerState: {
736-
readOnly: true,
737736
serializedName: "powerState",
738737
type: {
739738
name: "Composite",
@@ -1030,7 +1029,6 @@ export const AgentPool: msRest.CompositeMapper = {
10301029
}
10311030
},
10321031
powerState: {
1033-
readOnly: true,
10341032
serializedName: "properties.powerState",
10351033
type: {
10361034
name: "Composite",
@@ -1168,6 +1166,34 @@ export const AgentPool: msRest.CompositeMapper = {
11681166
}
11691167
};
11701168

1169+
export const WindowsGmsaProfile: msRest.CompositeMapper = {
1170+
serializedName: "WindowsGmsaProfile",
1171+
type: {
1172+
name: "Composite",
1173+
className: "WindowsGmsaProfile",
1174+
modelProperties: {
1175+
enabled: {
1176+
serializedName: "enabled",
1177+
type: {
1178+
name: "Boolean"
1179+
}
1180+
},
1181+
dnsServer: {
1182+
serializedName: "dnsServer",
1183+
type: {
1184+
name: "String"
1185+
}
1186+
},
1187+
rootDomainName: {
1188+
serializedName: "rootDomainName",
1189+
type: {
1190+
name: "String"
1191+
}
1192+
}
1193+
}
1194+
}
1195+
};
1196+
11711197
export const ManagedClusterWindowsProfile: msRest.CompositeMapper = {
11721198
serializedName: "ManagedClusterWindowsProfile",
11731199
type: {
@@ -1198,6 +1224,13 @@ export const ManagedClusterWindowsProfile: msRest.CompositeMapper = {
11981224
type: {
11991225
name: "Boolean"
12001226
}
1227+
},
1228+
gmsaProfile: {
1229+
serializedName: "gmsaProfile",
1230+
type: {
1231+
name: "Composite",
1232+
className: "WindowsGmsaProfile"
1233+
}
12011234
}
12021235
}
12031236
}
@@ -3520,6 +3553,49 @@ export const Snapshot: msRest.CompositeMapper = {
35203553
type: {
35213554
name: "String"
35223555
}
3556+
},
3557+
kubernetesVersion: {
3558+
readOnly: true,
3559+
serializedName: "properties.kubernetesVersion",
3560+
type: {
3561+
name: "String"
3562+
}
3563+
},
3564+
nodeImageVersion: {
3565+
readOnly: true,
3566+
serializedName: "properties.nodeImageVersion",
3567+
type: {
3568+
name: "String"
3569+
}
3570+
},
3571+
osType: {
3572+
readOnly: true,
3573+
serializedName: "properties.osType",
3574+
defaultValue: 'Linux',
3575+
type: {
3576+
name: "String"
3577+
}
3578+
},
3579+
osSku: {
3580+
readOnly: true,
3581+
serializedName: "properties.osSku",
3582+
type: {
3583+
name: "String"
3584+
}
3585+
},
3586+
vmSize: {
3587+
readOnly: true,
3588+
serializedName: "properties.vmSize",
3589+
type: {
3590+
name: "String"
3591+
}
3592+
},
3593+
enableFIPS: {
3594+
readOnly: true,
3595+
serializedName: "properties.enableFIPS",
3596+
type: {
3597+
name: "Boolean"
3598+
}
35233599
}
35243600
}
35253601
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,6 @@ export {
6464
SystemData,
6565
TimeInWeek,
6666
TimeSpan,
67-
UserAssignedIdentity
67+
UserAssignedIdentity,
68+
WindowsGmsaProfile
6869
} from "../models/mappers";

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,6 @@ export {
6565
TagsObject,
6666
TimeInWeek,
6767
TimeSpan,
68-
UserAssignedIdentity
68+
UserAssignedIdentity,
69+
WindowsGmsaProfile
6970
} from "../models/mappers";

0 commit comments

Comments
 (0)