Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdk/containerservice/arm-containerservice/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"rollup-plugin-sourcemaps": "^0.4.2",
"uglify-js": "^3.6.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerservice/arm-containerservice",
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/containerservice/arm-containerservice",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class ContainerServiceClientContext extends msRestAzure.AzureServiceClien

super(credentials, options);

this.apiVersion = '2021-10-01';
this.apiVersion = '2021-11-01-preview';
this.acceptLanguage = 'en-US';
this.longRunningOperationRetryTimeout = 30;
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export {
ManagedClusterLoadBalancerProfileOutboundIPs,
ManagedClusterManagedOutboundIPProfile,
ManagedClusterNATGatewayProfile,
ManagedClusterOIDCIssuerProfile,
ManagedClusterPodIdentity,
ManagedClusterPodIdentityException,
ManagedClusterPodIdentityProfile,
Expand Down
55 changes: 50 additions & 5 deletions sdk/containerservice/arm-containerservice/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,13 @@ export interface ManagedClusterAgentPoolProfileProperties {
* Possible values include: 'OCIContainer', 'WasmWasi'
*/
workloadRuntime?: WorkloadRuntime;
/**
* Message of the day for Linux nodes, base64-encoded. A base64-encoded string which will be
* written to /etc/motd after decoding. This allows customization of the message of the day for
* Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e.,
* will be printed raw and not be executed as a script).
*/
messageOfTheDay?: string;
/**
* The ID of the subnet which agent pool nodes and optionally pods will join on startup. If this
* is not specified, a VNET and subnet will be generated and used. If no podSubnetID is
Expand Down Expand Up @@ -691,6 +698,13 @@ export interface AgentPool extends SubResource {
* Possible values include: 'OCIContainer', 'WasmWasi'
*/
workloadRuntime?: WorkloadRuntime;
/**
* Message of the day for Linux nodes, base64-encoded. A base64-encoded string which will be
* written to /etc/motd after decoding. This allows customization of the message of the day for
* Linux nodes. It must not be specified for Windows nodes. It must be a static string (i.e.,
* will be printed raw and not be executed as a script).
*/
messageOfTheDay?: string;
/**
* The ID of the subnet which agent pool nodes and optionally pods will join on startup. If this
* is not specified, a VNET and subnet will be generated and used. If no podSubnetID is
Expand Down Expand Up @@ -1573,6 +1587,21 @@ export interface ManagedClusterPodIdentityProfile {
userAssignedIdentityExceptions?: ManagedClusterPodIdentityException[];
}

/**
* The OIDC issuer profile of the Managed Cluster.
*/
export interface ManagedClusterOIDCIssuerProfile {
/**
* The OIDC issuer url of the Managed Cluster.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly issuerURL?: string;
/**
* Whether the OIDC issuer is enabled.
*/
enabled?: boolean;
}

/**
* For more details see [managed AAD on AKS](https://docs.microsoft.com/azure/aks/managed-aad).
* @summary AADProfile specifies attributes for Azure Active Directory integration.
Expand Down Expand Up @@ -1869,13 +1898,18 @@ export interface ManagedCluster extends Resource {
*/
readonly maxAgentPools?: number;
/**
* The version of Kubernetes the Managed Cluster is running. When you upgrade a supported AKS
* cluster, Kubernetes minor versions cannot be skipped. All upgrades must be performed
* sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x or 1.15.x
* -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See [upgrading an AKS
* cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details.
* The version of Kubernetes the Managed Cluster is requested to run. When you upgrade a
* supported AKS cluster, Kubernetes minor versions cannot be skipped. All upgrades must be
* performed sequentially by major version number. For example, upgrades between 1.14.x -> 1.15.x
* or 1.15.x -> 1.16.x are allowed, however 1.14.x -> 1.16.x is not allowed. See [upgrading an
* AKS cluster](https://docs.microsoft.com/azure/aks/upgrade-cluster) for more details.
*/
kubernetesVersion?: string;
/**
* The version of Kubernetes the Managed Cluster is running.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly currentKubernetesVersion?: string;
/**
* The DNS prefix of the Managed Cluster. This cannot be updated once the Managed Cluster has
* been created.
Expand Down Expand Up @@ -1932,6 +1966,10 @@ export interface ManagedCluster extends Resource {
* AAD pod identity integration.
*/
podIdentityProfile?: ManagedClusterPodIdentityProfile;
/**
* The OIDC issuer profile of the Managed Cluster.
*/
oidcIssuerProfile?: ManagedClusterOIDCIssuerProfile;
/**
* The name of the resource group containing agent pool nodes.
*/
Expand All @@ -1945,6 +1983,13 @@ export interface ManagedCluster extends Resource {
* for removal on October 15th, 2020. Learn more at aka.ms/aks/azpodpolicy.
*/
enablePodSecurityPolicy?: boolean;
/**
* Enable namespace as Azure resource. The default value is false. It can be enabled/disabled on
* creation and updation of the managed cluster. See
* [https://aka.ms/NamespaceARMResource](https://aka.ms/NamespaceARMResource) for more details on
* Namespace as a ARM Resource.
*/
enableNamespaceResources?: boolean;
/**
* The network configuration profile.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export {
ManagedClusterLoadBalancerProfileOutboundIPs,
ManagedClusterManagedOutboundIPProfile,
ManagedClusterNATGatewayProfile,
ManagedClusterOIDCIssuerProfile,
ManagedClusterPodIdentity,
ManagedClusterPodIdentityException,
ManagedClusterPodIdentityProfile,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export {
ManagedClusterLoadBalancerProfileOutboundIPs,
ManagedClusterManagedOutboundIPProfile,
ManagedClusterNATGatewayProfile,
ManagedClusterOIDCIssuerProfile,
ManagedClusterPodIdentity,
ManagedClusterPodIdentityException,
ManagedClusterPodIdentityProfile,
Expand Down
55 changes: 55 additions & 0 deletions sdk/containerservice/arm-containerservice/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,12 @@ export const ManagedClusterAgentPoolProfileProperties: msRest.CompositeMapper =
name: "String"
}
},
messageOfTheDay: {
serializedName: "messageOfTheDay",
type: {
name: "String"
}
},
vnetSubnetID: {
serializedName: "vnetSubnetID",
type: {
Expand Down Expand Up @@ -934,6 +940,12 @@ export const AgentPool: msRest.CompositeMapper = {
name: "String"
}
},
messageOfTheDay: {
serializedName: "properties.messageOfTheDay",
type: {
name: "String"
}
},
vnetSubnetID: {
serializedName: "properties.vnetSubnetID",
type: {
Expand Down Expand Up @@ -2324,6 +2336,29 @@ export const ManagedClusterPodIdentityProfile: msRest.CompositeMapper = {
}
};

export const ManagedClusterOIDCIssuerProfile: msRest.CompositeMapper = {
serializedName: "ManagedClusterOIDCIssuerProfile",
type: {
name: "Composite",
className: "ManagedClusterOIDCIssuerProfile",
modelProperties: {
issuerURL: {
readOnly: true,
serializedName: "issuerURL",
type: {
name: "String"
}
},
enabled: {
serializedName: "enabled",
type: {
name: "Boolean"
}
}
}
}
};

export const ManagedClusterAADProfile: msRest.CompositeMapper = {
serializedName: "ManagedClusterAADProfile",
type: {
Expand Down Expand Up @@ -2740,6 +2775,13 @@ export const ManagedCluster: msRest.CompositeMapper = {
name: "String"
}
},
currentKubernetesVersion: {
readOnly: true,
serializedName: "properties.currentKubernetesVersion",
type: {
name: "String"
}
},
dnsPrefix: {
serializedName: "properties.dnsPrefix",
type: {
Expand Down Expand Up @@ -2825,6 +2867,13 @@ export const ManagedCluster: msRest.CompositeMapper = {
className: "ManagedClusterPodIdentityProfile"
}
},
oidcIssuerProfile: {
serializedName: "properties.oidcIssuerProfile",
type: {
name: "Composite",
className: "ManagedClusterOIDCIssuerProfile"
}
},
nodeResourceGroup: {
serializedName: "properties.nodeResourceGroup",
type: {
Expand All @@ -2843,6 +2892,12 @@ export const ManagedCluster: msRest.CompositeMapper = {
name: "Boolean"
}
},
enableNamespaceResources: {
serializedName: "properties.enableNamespaceResources",
type: {
name: "Boolean"
}
},
networkProfile: {
serializedName: "properties.networkProfile",
type: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export {
ManagedClusterLoadBalancerProfileOutboundIPs,
ManagedClusterManagedOutboundIPProfile,
ManagedClusterNATGatewayProfile,
ManagedClusterOIDCIssuerProfile,
ManagedClusterPodIdentity,
ManagedClusterPodIdentityException,
ManagedClusterPodIdentityProfile,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export {
ManagedClusterLoadBalancerProfileOutboundIPs,
ManagedClusterManagedOutboundIPProfile,
ManagedClusterNATGatewayProfile,
ManagedClusterOIDCIssuerProfile,
ManagedClusterPodIdentity,
ManagedClusterPodIdentityException,
ManagedClusterPodIdentityProfile,
Expand Down