Skip to content

Commit

Permalink
CodeGen from PR 13410 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge f875a7cbb093cd0fcf87e1d0e444bc58ead15dad into abadc196194eb42f195be88ff3375ea0ff78e709
  • Loading branch information
SDKAuto committed Mar 13, 2021
1 parent 8f79491 commit b18caf7
Show file tree
Hide file tree
Showing 7 changed files with 270 additions and 91 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-03-01';
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 @@ -32,6 +32,7 @@ export {
ManagedClusterAgentPoolProfileProperties,
ManagedClusterAPIServerAccessProfile,
ManagedClusterAutoUpgradeProfile,
ManagedClusterHTTPProxyConfig,
ManagedClusterIdentity,
ManagedClusterIdentityUserAssignedIdentitiesValue,
ManagedClusterLoadBalancerProfile,
Expand All @@ -50,6 +51,7 @@ export {
PowerState,
PrivateEndpoint,
PrivateEndpointConnection,
PrivateLinkResource,
PrivateLinkServiceConnectionState,
Resource,
ResourceReference,
Expand Down
140 changes: 102 additions & 38 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 @@ -600,6 +604,10 @@ export interface ManagedClusterAgentPoolProfileProperties {
* Whether to enable EncryptionAtHost
*/
enableEncryptionAtHost?: boolean;
/**
* Whether to use FIPS enabled OS
*/
enableFIPS?: boolean;
}

/**
Expand Down Expand Up @@ -678,7 +686,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 +758,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 @@ -796,6 +808,10 @@ export interface AgentPool extends SubResource {
* Whether to enable EncryptionAtHost
*/
enableEncryptionAtHost?: boolean;
/**
* Whether to use FIPS enabled OS
*/
enableFIPS?: boolean;
}

/**
Expand Down Expand Up @@ -825,6 +841,10 @@ export interface ManagedClusterWindowsProfile {
* Benefits for Windows VMs. Possible values include: 'None', 'Windows_Server'
*/
licenseType?: LicenseType;
/**
* Whether to enable CSI proxy.
*/
enableCSIProxy?: boolean;
}

/**
Expand Down Expand Up @@ -1203,6 +1223,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 @@ -1253,7 +1277,8 @@ export interface ManagedClusterAADProfile {
*/
export interface ManagedClusterAutoUpgradeProfile {
/**
* upgrade channel for auto upgrade. Possible values include: 'rapid', 'stable', 'patch', 'none'
* upgrade channel for auto upgrade. Possible values include: 'rapid', 'stable', 'patch',
* 'node-image', 'none'
*/
upgradeChannel?: UpgradeChannel;
}
Expand Down Expand Up @@ -1308,6 +1333,59 @@ export interface ManagedClusterAPIServerAccessProfile {
export interface ManagedClusterPropertiesIdentityProfileValue extends UserAssignedIdentity {
}

/**
* A private link resource
*/
export interface PrivateLinkResource {
/**
* The ID of the private link resource.
*/
id?: string;
/**
* The name of the private link resource.
*/
name?: string;
/**
* The resource type.
*/
type?: string;
/**
* The group ID of the resource.
*/
groupId?: string;
/**
* RequiredMembers of the resource
*/
requiredMembers?: string[];
/**
* The private link service ID of the resource, this field is exposed only to NRP internally.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly privateLinkServiceID?: string;
}

/**
* Configurations for provisioning the cluster with HTTP proxy servers.
*/
export interface ManagedClusterHTTPProxyConfig {
/**
* HTTP proxy server endpoint to use.
*/
httpProxy?: string;
/**
* HTTPS proxy server endpoint to use.
*/
httpsProxy?: string;
/**
* Endpoints that should not go through proxy.
*/
noProxy?: string[];
/**
* Alternative CA cert to use for connecting to proxy servers.
*/
trustedCa?: string;
}

/**
* An interface representing ManagedClusterIdentityUserAssignedIdentitiesValue.
*/
Expand Down Expand Up @@ -1396,6 +1474,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 +1488,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 @@ -1472,6 +1559,14 @@ export interface ManagedCluster extends Resource {
* Identities associated with the cluster.
*/
identityProfile?: { [propertyName: string]: ManagedClusterPropertiesIdentityProfileValue };
/**
* Private link resources associated with the cluster.
*/
privateLinkResources?: PrivateLinkResource[];
/**
* Configurations for provisioning the cluster with HTTP proxy servers.
*/
httpProxyConfig?: ManagedClusterHTTPProxyConfig;
/**
* The identity of the managed cluster, if configured.
*/
Expand Down Expand Up @@ -1751,37 +1846,6 @@ export interface PrivateEndpointConnectionListResult {
value?: PrivateEndpointConnection[];
}

/**
* A private link resource
*/
export interface PrivateLinkResource {
/**
* The ID of the private link resource.
*/
id?: string;
/**
* The name of the private link resource.
*/
name?: string;
/**
* The resource type.
*/
type?: string;
/**
* The group ID of the resource.
*/
groupId?: string;
/**
* RequiredMembers of the resource
*/
requiredMembers?: string[];
/**
* The private link service ID of the resource, this field is exposed only to NRP internally.
* **NOTE: This property will not be serialized. It can only be populated by the server.**
*/
readonly privateLinkServiceID?: string;
}

/**
* A list of private link resources
*/
Expand Down Expand Up @@ -1909,11 +1973,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 Expand Up @@ -2038,11 +2102,11 @@ export type ManagedClusterPodIdentityProvisioningState = 'Assigned' | 'Updating'

/**
* Defines values for UpgradeChannel.
* Possible values include: 'rapid', 'stable', 'patch', 'none'
* Possible values include: 'rapid', 'stable', 'patch', 'node-image', 'none'
* @readonly
* @enum {string}
*/
export type UpgradeChannel = 'rapid' | 'stable' | 'patch' | 'none';
export type UpgradeChannel = 'rapid' | 'stable' | 'patch' | 'node-image' | 'none';

/**
* Defines values for Expander.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export {
ManagedClusterAgentPoolProfileProperties,
ManagedClusterAPIServerAccessProfile,
ManagedClusterAutoUpgradeProfile,
ManagedClusterHTTPProxyConfig,
ManagedClusterIdentity,
ManagedClusterIdentityUserAssignedIdentitiesValue,
ManagedClusterLoadBalancerProfile,
Expand All @@ -46,6 +47,7 @@ export {
PowerState,
PrivateEndpoint,
PrivateEndpointConnection,
PrivateLinkResource,
PrivateLinkServiceConnectionState,
Resource,
ResourceReference,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export {
ManagedClusterAgentPoolProfileProperties,
ManagedClusterAPIServerAccessProfile,
ManagedClusterAutoUpgradeProfile,
ManagedClusterHTTPProxyConfig,
ManagedClusterIdentity,
ManagedClusterIdentityUserAssignedIdentitiesValue,
ManagedClusterListResult,
Expand All @@ -51,6 +52,7 @@ export {
PowerState,
PrivateEndpoint,
PrivateEndpointConnection,
PrivateLinkResource,
PrivateLinkServiceConnectionState,
Resource,
ResourceReference,
Expand Down
Loading

0 comments on commit b18caf7

Please sign in to comment.