Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the ManagedClusterInner class.
 /// </summary>
 /// <param name="provisioningState">The current deployment or
 /// provisioning state, which only appears in the response.</param>
 /// <param name="powerState">Represents the Power State of the
 /// cluster</param>
 /// <param name="maxAgentPools">The max number of agent pools for the
 /// managed cluster.</param>
 /// <param name="kubernetesVersion">Version of Kubernetes specified
 /// when creating the managed cluster.</param>
 /// <param name="dnsPrefix">DNS prefix specified when creating the
 /// managed cluster.</param>
 /// <param name="fqdn">FQDN for the master pool.</param>
 /// <param name="privateFQDN">FQDN of private cluster.</param>
 /// <param name="agentPoolProfiles">Properties of the agent
 /// pool.</param>
 /// <param name="linuxProfile">Profile for Linux VMs in the container
 /// service cluster.</param>
 /// <param name="windowsProfile">Profile for Windows VMs in the
 /// container service cluster.</param>
 /// <param name="servicePrincipalProfile">Information about a service
 /// principal identity for the cluster to use for manipulating Azure
 /// APIs.</param>
 /// <param name="addonProfiles">Profile of managed cluster
 /// add-on.</param>
 /// <param name="podIdentityProfile">Profile of managed cluster pod
 /// identity.</param>
 /// <param name="nodeResourceGroup">Name of the resource group
 /// containing agent pool nodes.</param>
 /// <param name="enableRBAC">Whether to enable Kubernetes Role-Based
 /// Access Control.</param>
 /// <param name="enablePodSecurityPolicy">(DEPRECATING) Whether to
 /// enable Kubernetes pod security policy (preview). This feature is
 /// set for removal on October 15th, 2020. Learn more at
 /// aka.ms/aks/azpodpolicy.</param>
 /// <param name="networkProfile">Profile of network
 /// configuration.</param>
 /// <param name="aadProfile">Profile of Azure Active Directory
 /// configuration.</param>
 /// <param name="autoUpgradeProfile">Profile of auto upgrade
 /// configuration.</param>
 /// <param name="autoScalerProfile">Parameters to be applied to the
 /// cluster-autoscaler when enabled</param>
 /// <param name="apiServerAccessProfile">Access profile for managed
 /// cluster API server.</param>
 /// <param name="diskEncryptionSetID">ResourceId of the disk encryption
 /// set to use for enabling encryption at rest.</param>
 /// <param name="identityProfile">Identities associated with the
 /// cluster.</param>
 /// <param name="identity">The identity of the managed cluster, if
 /// configured.</param>
 /// <param name="sku">The managed cluster SKU.</param>
 public ManagedClusterInner(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string provisioningState = default(string), PowerState powerState = default(PowerState), int?maxAgentPools = default(int?), string kubernetesVersion = default(string), string dnsPrefix = default(string), string fqdn = default(string), string privateFQDN = default(string), IList <ManagedClusterAgentPoolProfile> agentPoolProfiles = default(IList <ManagedClusterAgentPoolProfile>), ContainerServiceLinuxProfile linuxProfile = default(ContainerServiceLinuxProfile), ManagedClusterWindowsProfile windowsProfile = default(ManagedClusterWindowsProfile), ManagedClusterServicePrincipalProfile servicePrincipalProfile = default(ManagedClusterServicePrincipalProfile), IDictionary <string, ManagedClusterAddonProfile> addonProfiles = default(IDictionary <string, ManagedClusterAddonProfile>), ManagedClusterPodIdentityProfile podIdentityProfile = default(ManagedClusterPodIdentityProfile), string nodeResourceGroup = default(string), bool?enableRBAC = default(bool?), bool?enablePodSecurityPolicy = default(bool?), ContainerServiceNetworkProfile networkProfile = default(ContainerServiceNetworkProfile), ManagedClusterAADProfile aadProfile = default(ManagedClusterAADProfile), ManagedClusterAutoUpgradeProfile autoUpgradeProfile = default(ManagedClusterAutoUpgradeProfile), ManagedClusterPropertiesAutoScalerProfile autoScalerProfile = default(ManagedClusterPropertiesAutoScalerProfile), ManagedClusterAPIServerAccessProfile apiServerAccessProfile = default(ManagedClusterAPIServerAccessProfile), string diskEncryptionSetID = default(string), IDictionary <string, ManagedClusterPropertiesIdentityProfileValue> identityProfile = default(IDictionary <string, ManagedClusterPropertiesIdentityProfileValue>), ManagedClusterIdentity identity = default(ManagedClusterIdentity), ManagedClusterSKU sku = default(ManagedClusterSKU))
     : base(location, id, name, type, tags)
 {
     ProvisioningState = provisioningState;
     PowerState        = powerState;
     MaxAgentPools     = maxAgentPools;
     KubernetesVersion = kubernetesVersion;
     DnsPrefix         = dnsPrefix;
     Fqdn                    = fqdn;
     PrivateFQDN             = privateFQDN;
     AgentPoolProfiles       = agentPoolProfiles;
     LinuxProfile            = linuxProfile;
     WindowsProfile          = windowsProfile;
     ServicePrincipalProfile = servicePrincipalProfile;
     AddonProfiles           = addonProfiles;
     PodIdentityProfile      = podIdentityProfile;
     NodeResourceGroup       = nodeResourceGroup;
     EnableRBAC              = enableRBAC;
     EnablePodSecurityPolicy = enablePodSecurityPolicy;
     NetworkProfile          = networkProfile;
     AadProfile              = aadProfile;
     AutoUpgradeProfile      = autoUpgradeProfile;
     AutoScalerProfile       = autoScalerProfile;
     ApiServerAccessProfile  = apiServerAccessProfile;
     DiskEncryptionSetID     = diskEncryptionSetID;
     IdentityProfile         = identityProfile;
     Identity                = identity;
     Sku = sku;
     CustomInit();
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the ManagedClusterInner class.
 /// </summary>
 /// <param name="provisioningState">The current deployment or
 /// provisioning state, which only appears in the response.</param>
 /// <param name="kubernetesVersion">Version of Kubernetes specified
 /// when creating the managed cluster.</param>
 /// <param name="dnsPrefix">DNS prefix specified when creating the
 /// managed cluster.</param>
 /// <param name="fqdn">FDQN for the master pool.</param>
 /// <param name="agentPoolProfiles">Properties of the agent
 /// pool.</param>
 /// <param name="linuxProfile">Profile for Linux VMs in the container
 /// service cluster.</param>
 /// <param name="servicePrincipalProfile">Information about a service
 /// principal identity for the cluster to use for manipulating Azure
 /// APIs.</param>
 /// <param name="addonProfiles">Profile of managed cluster
 /// add-on.</param>
 /// <param name="nodeResourceGroup">Name of the resource group
 /// containing agent pool nodes.</param>
 /// <param name="enableRBAC">Whether to enable Kubernetes Role-Based
 /// Access Control.</param>
 /// <param name="networkProfile">Profile of network
 /// configuration.</param>
 /// <param name="aadProfile">Profile of Azure Active Directory
 /// configuration.</param>
 public ManagedClusterInner(string location = default(string), string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string provisioningState = default(string), string kubernetesVersion = default(string), string dnsPrefix = default(string), string fqdn = default(string), IList <ManagedClusterAgentPoolProfile> agentPoolProfiles = default(IList <ManagedClusterAgentPoolProfile>), ContainerServiceLinuxProfile linuxProfile = default(ContainerServiceLinuxProfile), ManagedClusterServicePrincipalProfile servicePrincipalProfile = default(ManagedClusterServicePrincipalProfile), IDictionary <string, ManagedClusterAddonProfile> addonProfiles = default(IDictionary <string, ManagedClusterAddonProfile>), string nodeResourceGroup = default(string), bool?enableRBAC = default(bool?), ContainerServiceNetworkProfile networkProfile = default(ContainerServiceNetworkProfile), ManagedClusterAADProfile aadProfile = default(ManagedClusterAADProfile))
     : base(location, id, name, type, tags)
 {
     ProvisioningState = provisioningState;
     KubernetesVersion = kubernetesVersion;
     DnsPrefix         = dnsPrefix;
     Fqdn = fqdn;
     AgentPoolProfiles       = agentPoolProfiles;
     LinuxProfile            = linuxProfile;
     ServicePrincipalProfile = servicePrincipalProfile;
     AddonProfiles           = addonProfiles;
     NodeResourceGroup       = nodeResourceGroup;
     EnableRBAC     = enableRBAC;
     NetworkProfile = networkProfile;
     AadProfile     = aadProfile;
     CustomInit();
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the ManagedClusterInner class.
 /// </summary>
 /// <param name="provisioningState">The current deployment or
 /// provisioning state, which only appears in the response.</param>
 /// <param name="maxAgentPools">The max number of agent pools for the
 /// managed cluster.</param>
 /// <param name="kubernetesVersion">Version of Kubernetes specified
 /// when creating the managed cluster.</param>
 /// <param name="dnsPrefix">DNS prefix specified when creating the
 /// managed cluster.</param>
 /// <param name="fqdn">FQDN for the master pool.</param>
 /// <param name="agentPoolProfiles">Properties of the agent
 /// pool.</param>
 /// <param name="linuxProfile">Profile for Linux VMs in the container
 /// service cluster.</param>
 /// <param name="windowsProfile">Profile for Windows VMs in the
 /// container service cluster.</param>
 /// <param name="servicePrincipalProfile">Information about a service
 /// principal identity for the cluster to use for manipulating Azure
 /// APIs.</param>
 /// <param name="addonProfiles">Profile of managed cluster
 /// add-on.</param>
 /// <param name="nodeResourceGroup">Name of the resource group
 /// containing agent pool nodes.</param>
 /// <param name="enableRBAC">Whether to enable Kubernetes Role-Based
 /// Access Control.</param>
 /// <param name="enablePodSecurityPolicy">(PREVIEW) Whether to enable
 /// Kubernetes Pod security policy.</param>
 /// <param name="networkProfile">Profile of network
 /// configuration.</param>
 /// <param name="aadProfile">Profile of Azure Active Directory
 /// configuration.</param>
 /// <param name="apiServerAccessProfile">Access profile for managed
 /// cluster API server.</param>
 /// <param name="identity">The identity of the managed cluster, if
 /// configured.</param>
 public ManagedClusterInner(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string provisioningState = default(string), int?maxAgentPools = default(int?), string kubernetesVersion = default(string), string dnsPrefix = default(string), string fqdn = default(string), IList <ManagedClusterAgentPoolProfile> agentPoolProfiles = default(IList <ManagedClusterAgentPoolProfile>), ContainerServiceLinuxProfile linuxProfile = default(ContainerServiceLinuxProfile), ManagedClusterWindowsProfile windowsProfile = default(ManagedClusterWindowsProfile), ManagedClusterServicePrincipalProfile servicePrincipalProfile = default(ManagedClusterServicePrincipalProfile), IDictionary <string, ManagedClusterAddonProfile> addonProfiles = default(IDictionary <string, ManagedClusterAddonProfile>), string nodeResourceGroup = default(string), bool?enableRBAC = default(bool?), bool?enablePodSecurityPolicy = default(bool?), ContainerServiceNetworkProfile networkProfile = default(ContainerServiceNetworkProfile), ManagedClusterAADProfile aadProfile = default(ManagedClusterAADProfile), ManagedClusterAPIServerAccessProfile apiServerAccessProfile = default(ManagedClusterAPIServerAccessProfile), ManagedClusterIdentity identity = default(ManagedClusterIdentity))
     : base(location, id, name, type, tags)
 {
     ProvisioningState = provisioningState;
     MaxAgentPools     = maxAgentPools;
     KubernetesVersion = kubernetesVersion;
     DnsPrefix         = dnsPrefix;
     Fqdn = fqdn;
     AgentPoolProfiles       = agentPoolProfiles;
     LinuxProfile            = linuxProfile;
     WindowsProfile          = windowsProfile;
     ServicePrincipalProfile = servicePrincipalProfile;
     AddonProfiles           = addonProfiles;
     NodeResourceGroup       = nodeResourceGroup;
     EnableRBAC = enableRBAC;
     EnablePodSecurityPolicy = enablePodSecurityPolicy;
     NetworkProfile          = networkProfile;
     AadProfile             = aadProfile;
     ApiServerAccessProfile = apiServerAccessProfile;
     Identity = identity;
     CustomInit();
 }