Skip to content

Commit 9ebe75a

Browse files
author
SDKAuto
committed
CodeGen from PR 16833 in Azure/azure-rest-api-specs
Merge 38b1448f522fe58dd25e16039dde962c54b03597 into a42f1b58607091c4f255ead152a8ef323fa0b280
1 parent b024887 commit 9ebe75a

File tree

9 files changed

+112
-7
lines changed

9 files changed

+112
-7
lines changed

sdk/containerservice/arm-containerservice/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"rollup-plugin-sourcemaps": "^0.4.2",
2828
"uglify-js": "^3.6.0"
2929
},
30-
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerservice/arm-containerservice",
30+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/containerservice/arm-containerservice",
3131
"repository": {
3232
"type": "git",
3333
"url": "https://github.com/Azure/azure-sdk-for-js.git"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export class ContainerServiceClientContext extends msRestAzure.AzureServiceClien
5050

5151
super(credentials, options);
5252

53-
this.apiVersion = '2021-10-01';
53+
this.apiVersion = '2021-11-01-preview';
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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ export {
4444
ManagedClusterLoadBalancerProfileOutboundIPs,
4545
ManagedClusterManagedOutboundIPProfile,
4646
ManagedClusterNATGatewayProfile,
47+
ManagedClusterOIDCIssuerProfile,
4748
ManagedClusterPodIdentity,
4849
ManagedClusterPodIdentityException,
4950
ManagedClusterPodIdentityProfile,

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

Lines changed: 50 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,13 @@ export interface ManagedClusterAgentPoolProfileProperties {
478478
* Possible values include: 'OCIContainer', 'WasmWasi'
479479
*/
480480
workloadRuntime?: WorkloadRuntime;
481+
/**
482+
* Message of the day for Linux nodes, base64-encoded. A base64-encoded string which will be
483+
* written to /etc/motd after decoding. This allows customization of the message of the day for
484+
* Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e.,
485+
* will be printed raw and not be executed as a script).
486+
*/
487+
messageOfTheDay?: string;
481488
/**
482489
* The ID of the subnet which agent pool nodes and optionally pods will join on startup. If this
483490
* is not specified, a VNET and subnet will be generated and used. If no podSubnetID is
@@ -691,6 +698,13 @@ export interface AgentPool extends SubResource {
691698
* Possible values include: 'OCIContainer', 'WasmWasi'
692699
*/
693700
workloadRuntime?: WorkloadRuntime;
701+
/**
702+
* Message of the day for Linux nodes, base64-encoded. A base64-encoded string which will be
703+
* written to /etc/motd after decoding. This allows customization of the message of the day for
704+
* Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e.,
705+
* will be printed raw and not be executed as a script).
706+
*/
707+
messageOfTheDay?: string;
694708
/**
695709
* The ID of the subnet which agent pool nodes and optionally pods will join on startup. If this
696710
* is not specified, a VNET and subnet will be generated and used. If no podSubnetID is
@@ -1573,6 +1587,21 @@ export interface ManagedClusterPodIdentityProfile {
15731587
userAssignedIdentityExceptions?: ManagedClusterPodIdentityException[];
15741588
}
15751589

1590+
/**
1591+
* The OIDC issuer profile of the Managed Cluster.
1592+
*/
1593+
export interface ManagedClusterOIDCIssuerProfile {
1594+
/**
1595+
* The OIDC issuer url of the Managed Cluster.
1596+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
1597+
*/
1598+
readonly issuerURL?: string;
1599+
/**
1600+
* Whether the OIDC issuer is enabled.
1601+
*/
1602+
enabled?: boolean;
1603+
}
1604+
15761605
/**
15771606
* For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad).
15781607
* @summary AADProfile specifies attributes for Azure Active Directory integration.
@@ -1869,13 +1898,18 @@ export interface ManagedCluster extends Resource {
18691898
*/
18701899
readonly maxAgentPools?: number;
18711900
/**
1872-
* The version of Kubernetes the Managed Cluster is running. When you upgrade a supported AKS
1873-
* cluster, Kubernetes minor versions cannot be skipped. All upgrades must be performed
1874-
* sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x
1875-
* -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See [upgrading an AKS
1876-
* cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details.
1901+
* The version of Kubernetes the Managed Cluster is requested to run. When you upgrade a
1902+
* supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades must be
1903+
* performed sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x
1904+
* or 1.15.x -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See [upgrading an
1905+
* AKS cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details.
18771906
*/
18781907
kubernetesVersion?: string;
1908+
/**
1909+
* The version of Kubernetes the Managed Cluster is running.
1910+
* **NOTE: This property will not be serialized. It can only be populated by the server.**
1911+
*/
1912+
readonly currentKubernetesVersion?: string;
18791913
/**
18801914
* The DNS prefix of the Managed Cluster. This cannot be updated once the Managed Cluster has
18811915
* been created.
@@ -1932,6 +1966,10 @@ export interface ManagedCluster extends Resource {
19321966
* AAD pod identity integration.
19331967
*/
19341968
podIdentityProfile?: ManagedClusterPodIdentityProfile;
1969+
/**
1970+
* The OIDC issuer profile of the Managed Cluster.
1971+
*/
1972+
oidcIssuerProfile?: ManagedClusterOIDCIssuerProfile;
19351973
/**
19361974
* The name of the resource group containing agent pool nodes.
19371975
*/
@@ -1945,6 +1983,13 @@ export interface ManagedCluster extends Resource {
19451983
* for removal on October 15th, 2020. Learn more at aka.ms/aks/azpodpolicy.
19461984
*/
19471985
enablePodSecurityPolicy?: boolean;
1986+
/**
1987+
* Enable namespace as Azure resource. The default value is false. It can be enabled/disabled on
1988+
* creation and updation of the managed cluster. See
1989+
* [https://aka.ms/NamespaceARMResource](https://aka.ms/NamespaceARMResource) for more details on
1990+
* Namespace as a ARM Resource.
1991+
*/
1992+
enableNamespaceResources?: boolean;
19481993
/**
19491994
* The network configuration profile.
19501995
*/

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export {
3939
ManagedClusterLoadBalancerProfileOutboundIPs,
4040
ManagedClusterManagedOutboundIPProfile,
4141
ManagedClusterNATGatewayProfile,
42+
ManagedClusterOIDCIssuerProfile,
4243
ManagedClusterPodIdentity,
4344
ManagedClusterPodIdentityException,
4445
ManagedClusterPodIdentityProfile,

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export {
4343
ManagedClusterLoadBalancerProfileOutboundIPs,
4444
ManagedClusterManagedOutboundIPProfile,
4545
ManagedClusterNATGatewayProfile,
46+
ManagedClusterOIDCIssuerProfile,
4647
ManagedClusterPodIdentity,
4748
ManagedClusterPodIdentityException,
4849
ManagedClusterPodIdentityProfile,

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

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,12 @@ export const ManagedClusterAgentPoolProfileProperties: msRest.CompositeMapper =
638638
name: "String"
639639
}
640640
},
641+
messageOfTheDay: {
642+
serializedName: "messageOfTheDay",
643+
type: {
644+
name: "String"
645+
}
646+
},
641647
vnetSubnetID: {
642648
serializedName: "vnetSubnetID",
643649
type: {
@@ -934,6 +940,12 @@ export const AgentPool: msRest.CompositeMapper = {
934940
name: "String"
935941
}
936942
},
943+
messageOfTheDay: {
944+
serializedName: "properties.messageOfTheDay",
945+
type: {
946+
name: "String"
947+
}
948+
},
937949
vnetSubnetID: {
938950
serializedName: "properties.vnetSubnetID",
939951
type: {
@@ -2324,6 +2336,29 @@ export const ManagedClusterPodIdentityProfile: msRest.CompositeMapper = {
23242336
}
23252337
};
23262338

2339+
export const ManagedClusterOIDCIssuerProfile: msRest.CompositeMapper = {
2340+
serializedName: "ManagedClusterOIDCIssuerProfile",
2341+
type: {
2342+
name: "Composite",
2343+
className: "ManagedClusterOIDCIssuerProfile",
2344+
modelProperties: {
2345+
issuerURL: {
2346+
readOnly: true,
2347+
serializedName: "issuerURL",
2348+
type: {
2349+
name: "String"
2350+
}
2351+
},
2352+
enabled: {
2353+
serializedName: "enabled",
2354+
type: {
2355+
name: "Boolean"
2356+
}
2357+
}
2358+
}
2359+
}
2360+
};
2361+
23272362
export const ManagedClusterAADProfile: msRest.CompositeMapper = {
23282363
serializedName: "ManagedClusterAADProfile",
23292364
type: {
@@ -2740,6 +2775,13 @@ export const ManagedCluster: msRest.CompositeMapper = {
27402775
name: "String"
27412776
}
27422777
},
2778+
currentKubernetesVersion: {
2779+
readOnly: true,
2780+
serializedName: "properties.currentKubernetesVersion",
2781+
type: {
2782+
name: "String"
2783+
}
2784+
},
27432785
dnsPrefix: {
27442786
serializedName: "properties.dnsPrefix",
27452787
type: {
@@ -2825,6 +2867,13 @@ export const ManagedCluster: msRest.CompositeMapper = {
28252867
className: "ManagedClusterPodIdentityProfile"
28262868
}
28272869
},
2870+
oidcIssuerProfile: {
2871+
serializedName: "properties.oidcIssuerProfile",
2872+
type: {
2873+
name: "Composite",
2874+
className: "ManagedClusterOIDCIssuerProfile"
2875+
}
2876+
},
28282877
nodeResourceGroup: {
28292878
serializedName: "properties.nodeResourceGroup",
28302879
type: {
@@ -2843,6 +2892,12 @@ export const ManagedCluster: msRest.CompositeMapper = {
28432892
name: "Boolean"
28442893
}
28452894
},
2895+
enableNamespaceResources: {
2896+
serializedName: "properties.enableNamespaceResources",
2897+
type: {
2898+
name: "Boolean"
2899+
}
2900+
},
28462901
networkProfile: {
28472902
serializedName: "properties.networkProfile",
28482903
type: {

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export {
3838
ManagedClusterLoadBalancerProfileOutboundIPs,
3939
ManagedClusterManagedOutboundIPProfile,
4040
ManagedClusterNATGatewayProfile,
41+
ManagedClusterOIDCIssuerProfile,
4142
ManagedClusterPodIdentity,
4243
ManagedClusterPodIdentityException,
4344
ManagedClusterPodIdentityProfile,

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export {
3838
ManagedClusterLoadBalancerProfileOutboundIPs,
3939
ManagedClusterManagedOutboundIPProfile,
4040
ManagedClusterNATGatewayProfile,
41+
ManagedClusterOIDCIssuerProfile,
4142
ManagedClusterPodIdentity,
4243
ManagedClusterPodIdentityException,
4344
ManagedClusterPodIdentityProfile,

0 commit comments

Comments
 (0)