Skip to content

Commit

Permalink
CodeGen from PR 13331 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
aks: add azure keyvault secrets provider addon spec (Azure#13331)

Signed-off-by: Ji An Liu <[email protected]>
  • Loading branch information
SDKAuto committed Mar 10, 2021
1 parent 0e329df commit f5b7f59
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class ContainerServiceClientContext extends msRestAzure.AzureServiceClien

super(credentials, options);

this.apiVersion = '2020-12-01';
this.apiVersion = '2021-02-01';
this.acceptLanguage = 'en-US';
this.longRunningOperationRetryTimeout = 30;
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
Expand Down
29 changes: 25 additions & 4 deletions sdk/containerservice/arm-containerservice/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ export interface ManagedClusterAgentPoolProfileProperties {
/**
* KubeletDiskType determines the placement of emptyDir volumes, container runtime data root, and
* Kubelet ephemeral storage. Currently allows one value, OS, resulting in Kubelet using the OS
* disk for data. Possible values include: 'OS'
* disk for data. Possible values include: 'OS', 'Temporary'
*/
kubeletDiskType?: KubeletDiskType;
/**
Expand Down Expand Up @@ -554,6 +554,10 @@ export interface ManagedClusterAgentPoolProfileProperties {
* Enable public IP for nodes
*/
enableNodePublicIP?: boolean;
/**
* Public IP Prefix ID. VM nodes use IPs assigned from this Public IP Prefix.
*/
nodePublicIPPrefixID?: string;
/**
* ScaleSetPriority to be used to specify virtual machine scale set priority. Default to regular.
* Possible values include: 'Spot', 'Regular'. Default value: 'Regular'.
Expand Down Expand Up @@ -678,7 +682,7 @@ export interface AgentPool extends SubResource {
/**
* KubeletDiskType determines the placement of emptyDir volumes, container runtime data root, and
* Kubelet ephemeral storage. Currently allows one value, OS, resulting in Kubelet using the OS
* disk for data. Possible values include: 'OS'
* disk for data. Possible values include: 'OS', 'Temporary'
*/
kubeletDiskType?: KubeletDiskType;
/**
Expand Down Expand Up @@ -750,6 +754,10 @@ export interface AgentPool extends SubResource {
* Enable public IP for nodes
*/
enableNodePublicIP?: boolean;
/**
* Public IP Prefix ID. VM nodes use IPs assigned from this Public IP Prefix.
*/
nodePublicIPPrefixID?: string;
/**
* ScaleSetPriority to be used to specify virtual machine scale set priority. Default to regular.
* Possible values include: 'Spot', 'Regular'. Default value: 'Regular'.
Expand Down Expand Up @@ -1203,6 +1211,10 @@ export interface ManagedClusterPodIdentityProfile {
* Whether the pod identity addon is enabled.
*/
enabled?: boolean;
/**
* Customer consent for enabling AAD pod identity addon in cluster using Kubenet network plugin.
*/
allowNetworkPluginKubenet?: boolean;
/**
* User assigned pod identity settings.
*/
Expand Down Expand Up @@ -1396,6 +1408,10 @@ export interface ManagedCluster extends Resource {
* DNS prefix specified when creating the managed cluster.
*/
dnsPrefix?: string;
/**
* FQDN subdomain specified when creating private cluster with custom private dns zone.
*/
fqdnSubdomain?: string;
/**
* FQDN for the master pool.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
Expand All @@ -1406,6 +1422,11 @@ export interface ManagedCluster extends Resource {
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly privateFQDN?: string;
/**
* FQDN for the master pool which used by proxy config.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly azurePortalFQDN?: string;
/**
* Properties of the agent pool.
*/
Expand Down Expand Up @@ -1909,11 +1930,11 @@ export type OSDiskType = 'Managed' | 'Ephemeral';

/**
* Defines values for KubeletDiskType.
* Possible values include: 'OS'
* Possible values include: 'OS', 'Temporary'
* @readonly
* @enum {string}
*/
export type KubeletDiskType = 'OS';
export type KubeletDiskType = 'OS' | 'Temporary';

/**
* Defines values for OSType.
Expand Down
31 changes: 31 additions & 0 deletions sdk/containerservice/arm-containerservice/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,12 @@ export const ManagedClusterAgentPoolProfileProperties: msRest.CompositeMapper =
name: "Boolean"
}
},
nodePublicIPPrefixID: {
serializedName: "nodePublicIPPrefixID",
type: {
name: "String"
}
},
scaleSetPriority: {
serializedName: "scaleSetPriority",
defaultValue: 'Regular',
Expand Down Expand Up @@ -971,6 +977,12 @@ export const AgentPool: msRest.CompositeMapper = {
name: "Boolean"
}
},
nodePublicIPPrefixID: {
serializedName: "properties.nodePublicIPPrefixID",
type: {
name: "String"
}
},
scaleSetPriority: {
serializedName: "properties.scaleSetPriority",
defaultValue: 'Regular',
Expand Down Expand Up @@ -1753,6 +1765,12 @@ export const ManagedClusterPodIdentityProfile: msRest.CompositeMapper = {
name: "Boolean"
}
},
allowNetworkPluginKubenet: {
serializedName: "allowNetworkPluginKubenet",
type: {
name: "Boolean"
}
},
userAssignedIdentities: {
serializedName: "userAssignedIdentities",
type: {
Expand Down Expand Up @@ -2144,6 +2162,12 @@ export const ManagedCluster: msRest.CompositeMapper = {
name: "String"
}
},
fqdnSubdomain: {
serializedName: "properties.fqdnSubdomain",
type: {
name: "String"
}
},
fqdn: {
readOnly: true,
serializedName: "properties.fqdn",
Expand All @@ -2158,6 +2182,13 @@ export const ManagedCluster: msRest.CompositeMapper = {
name: "String"
}
},
azurePortalFQDN: {
readOnly: true,
serializedName: "properties.azurePortalFQDN",
type: {
name: "String"
}
},
agentPoolProfiles: {
serializedName: "properties.agentPoolProfiles",
type: {
Expand Down

0 comments on commit f5b7f59

Please sign in to comment.