Skip to content

Commit

Permalink
CodeGen from PR 16895 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 42599120b7af5299268497b01161a701f2665bb5 into 07dd23b7e3f8736ce717524ff6678a841005c397
  • Loading branch information
SDKAuto committed Nov 29, 2021
1 parent 08f140b commit e2293aa
Show file tree
Hide file tree
Showing 9 changed files with 69 additions and 2 deletions.
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
26 changes: 26 additions & 0 deletions sdk/containerservice/arm-containerservice/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1573,6 +1573,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 @@ -1932,6 +1947,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 +1964,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
36 changes: 36 additions & 0 deletions sdk/containerservice/arm-containerservice/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2324,6 +2324,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 @@ -2825,6 +2848,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 +2873,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

0 comments on commit e2293aa

Please sign in to comment.