{"modulePath":"github.com/devigned/aks-engine","version":"v0.38.5","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package api\n\nPackage api stores an unversioned API.\n\n## Constants\n\n```go\nconst (\n\t// Mesos is the string constant for MESOS orchestrator type\n\tMesos string = \"Mesos\"\n\t// DCOS is the string constant for DCOS orchestrator type and defaults to DCOS188\n\tDCOS string = \"DCOS\"\n\t// Swarm is the string constant for the Swarm orchestrator type\n\tSwarm string = \"Swarm\"\n\t// Kubernetes is the string constant for the Kubernetes orchestrator type\n\tKubernetes string = \"Kubernetes\"\n\t// SwarmMode is the string constant for the Swarm Mode orchestrator type\n\tSwarmMode string = \"SwarmMode\"\n)\n```\nthe orchestrators supported by vlabs\n\n```go\nconst (\n\t// SwarmVersion is the Swarm orchestrator version\n\tSwarmVersion = \"swarm:1.1.0\"\n\t// SwarmDockerComposeVersion is the Docker Compose version\n\tSwarmDockerComposeVersion = \"1.6.2\"\n\t// DockerCEVersion is the DockerCE orchestrator version\n\tDockerCEVersion = \"17.03.*\"\n\t// DockerCEDockerComposeVersion is the Docker Compose version\n\tDockerCEDockerComposeVersion = \"1.14.0\"\n\t// KubernetesWindowsDockerVersion is the default version for docker on Windows nodes in kubernetes\n\tKubernetesWindowsDockerVersion = \"18.09.2\"\n\t// KubernetesDefaultWindowsSku is the default SKU for Windows VMs in kubernetes\n\tKubernetesDefaultWindowsSku = \"Datacenter-Core-1809-with-Containers-smalldisk\"\n)\n```\n\n```go\nconst (\n\t// MinAgentCount are the minimum number of agents per agent pool\n\tMinAgentCount = 1\n\t// MaxAgentCount are the maximum number of agents per agent pool\n\tMaxAgentCount = 100\n\t// MinPort specifies the minimum tcp port to open\n\tMinPort = 1\n\t// MaxPort specifies the maximum tcp port to open\n\tMaxPort = 65535\n\t// MaxDisks specifies the maximum attached disks to add to the cluster\n\tMaxDisks = 4\n)\n```\nvalidation values\n\n```go\nconst (\n\t// AvailabilitySet means that the vms are in an availability set\n\tAvailabilitySet = \"AvailabilitySet\"\n\t// DefaultOrchestratorName specifies the 3 character orchestrator code of the cluster template and affects resource naming.\n\tDefaultOrchestratorName = \"k8s\"\n\t// DefaultHostedProfileMasterName specifies the 3 character orchestrator code of the clusters with hosted master profiles.\n\tDefaultHostedProfileMasterName = \"aks\"\n\t// DefaultFirstConsecutiveKubernetesStaticIP specifies the static IP address on Kubernetes master 0\n\tDefaultFirstConsecutiveKubernetesStaticIP = \"10.240.255.5\"\n\t// DefaultFirstConsecutiveKubernetesStaticIPVMSS specifies the static IP address on Kubernetes master 0 of VMSS\n\tDefaultFirstConsecutiveKubernetesStaticIPVMSS = \"10.240.0.4\"\n\t//DefaultCNICIDR specifies the default value for\n\tDefaultCNICIDR = \"168.63.129.16/32\"\n\t// DefaultKubernetesFirstConsecutiveStaticIPOffset specifies the IP address offset of master 0\n\t// when VNET integration is enabled.\n\tDefaultKubernetesFirstConsecutiveStaticIPOffset = 5\n\t// DefaultKubernetesFirstConsecutiveStaticIPOffsetVMSS specifies the IP address offset of master 0 in VMSS\n\t// when VNET integration is enabled.\n\tDefaultKubernetesFirstConsecutiveStaticIPOffsetVMSS = 4\n\t// DefaultSubnetNameResourceSegmentIndex specifies the default subnet name resource segment index.\n\tDefaultSubnetNameResourceSegmentIndex = 10\n\t// DefaultVnetResourceGroupSegmentIndex specifies the default virtual network resource segment index.\n\tDefaultVnetResourceGroupSegmentIndex = 4\n\t// DefaultVnetNameResourceSegmentIndex specifies the default virtual network name segment index.\n\tDefaultVnetNameResourceSegmentIndex = 8\n\t// VirtualMachineScaleSets means that the vms are in a virtual machine scaleset\n\tVirtualMachineScaleSets = \"VirtualMachineScaleSets\"\n\t// ScaleSetPriorityRegular is the default ScaleSet Priority\n\tScaleSetPriorityRegular = \"Regular\"\n\t// ScaleSetPriorityLow means the ScaleSet will use Low-priority VMs\n\tScaleSetPriorityLow = \"Low\"\n\t// ScaleSetEvictionPolicyDelete is the default Eviction Policy for Low-priority VM ScaleSets\n\tScaleSetEvictionPolicyDelete = \"Delete\"\n\t// ScaleSetEvictionPolicyDeallocate means a Low-priority VM ScaleSet will deallocate, rather than delete, VMs.\n\tScaleSetEvictionPolicyDeallocate = \"Deallocate\"\n)\n```\nAvailability profiles\n\n```go\nconst (\n\tDocker          = \"docker\"\n\tClearContainers = \"clear-containers\"\n\tKataContainers  = \"kata-containers\"\n\tContainerd      = \"containerd\"\n)\n```\nSupported container runtimes\n\n```go\nconst (\n\t// StorageAccount means that the nodes use raw storage accounts for their os and attached volumes\n\tStorageAccount = \"StorageAccount\"\n\t// ManagedDisks means that the nodes use managed disks for their os and attached volumes\n\tManagedDisks = \"ManagedDisks\"\n)\n```\nstorage profiles\n\n```go\nconst (\n\t// DefaultHeapsterAddonEnabled determines the aks-engine provided default for enabling heapster addon\n\tDefaultHeapsterAddonEnabled = true\n\t// DefaultTillerAddonEnabled determines the aks-engine provided default for enabling tiller addon\n\tDefaultTillerAddonEnabled = true\n\t// DefaultAADPodIdentityAddonEnabled determines the aks-engine provided default for enabling aad-pod-identity addon\n\tDefaultAADPodIdentityAddonEnabled = false\n\t// DefaultACIConnectorAddonEnabled determines the aks-engine provided default for enabling aci connector addon\n\tDefaultACIConnectorAddonEnabled = false\n\t// DefaultAppGwIngressAddonEnabled determines the aks-engine provided default for enabling appgw ingress addon\n\tDefaultAppGwIngressAddonEnabled = false\n\t// DefaultClusterAutoscalerAddonEnabled determines the aks-engine provided default for enabling cluster autoscaler addon\n\tDefaultClusterAutoscalerAddonEnabled = false\n\t// DefaultBlobfuseFlexVolumeAddonEnabled determines the aks-engine provided default for enabling blobfuse flexvolume addon\n\tDefaultBlobfuseFlexVolumeAddonEnabled = true\n\t// DefaultSMBFlexVolumeAddonEnabled determines the aks-engine provided default for enabling smb flexvolume addon\n\tDefaultSMBFlexVolumeAddonEnabled = false\n\t// DefaultKeyVaultFlexVolumeAddonEnabled determines the aks-engine provided default for enabling key vault flexvolume addon\n\tDefaultKeyVaultFlexVolumeAddonEnabled = true\n\t// DefaultDashboardAddonEnabled determines the aks-engine provided default for enabling kubernetes-dashboard addon\n\tDefaultDashboardAddonEnabled = true\n\t// DefaultReschedulerAddonEnabled determines the aks-engine provided default for enabling kubernetes-rescheduler addon\n\tDefaultReschedulerAddonEnabled = false\n\t// DefaultAzureCNIMonitoringAddonEnabled determines the aks-engine provided default for enabling azurecni-network monitoring addon\n\tDefaultAzureCNIMonitoringAddonEnabled = true\n\t// DefaultRBACEnabled determines the aks-engine provided default for enabling kubernetes RBAC\n\tDefaultRBACEnabled = true\n\t// DefaultUseInstanceMetadata determines the aks-engine provided default for enabling Azure cloudprovider instance metadata service\n\tDefaultUseInstanceMetadata = true\n\t// DefaultLoadBalancerSku determines the aks-engine provided default for enabling Azure cloudprovider load balancer SKU\n\tDefaultLoadBalancerSku = \"Basic\"\n\t// StandardLoadBalancerSku is the string const for Azure Standard Load Balancer\n\tStandardLoadBalancerSku = \"Standard\"\n\t// DefaultExcludeMasterFromStandardLB determines the aks-engine provided default for excluding master nodes from standard load balancer.\n\tDefaultExcludeMasterFromStandardLB = true\n\t// DefaultSecureKubeletEnabled determines the aks-engine provided default for securing kubelet communications\n\tDefaultSecureKubeletEnabled = true\n\t// DefaultMetricsServerAddonEnabled determines the aks-engine provided default for enabling kubernetes metrics-server addon\n\tDefaultMetricsServerAddonEnabled = true\n\t// DefaultNVIDIADevicePluginAddonEnabled determines the aks-engine provided default for enabling NVIDIA Device Plugin\n\tDefaultNVIDIADevicePluginAddonEnabled = false\n\t// DefaultContainerMonitoringAddonEnabled determines the aks-engine provided default for enabling kubernetes container monitoring addon\n\tDefaultContainerMonitoringAddonEnabled = false\n\t// DefaultDNSAutoscalerAddonEnabled determines the aks-engine provided default for dns-autoscaler addon\n\tDefaultDNSAutoscalerAddonEnabled = false\n\t// DefaultIPMasqAgentAddonEnabled enables the ip-masq-agent addon\n\tDefaultIPMasqAgentAddonEnabled = true\n\t// HeapsterAddonName is the name of the heapster addon\n\tHeapsterAddonName = \"heapster\"\n\t// TillerAddonName is the name of the tiller addon deployment\n\tTillerAddonName = \"tiller\"\n\t// AADPodIdentityAddonName is the name of the aad-pod-identity addon deployment\n\tAADPodIdentityAddonName = \"aad-pod-identity\"\n\t// ACIConnectorAddonName is the name of the aci-connector addon deployment\n\tACIConnectorAddonName = \"aci-connector\"\n\t// AppGwIngressAddonName appgw addon\n\tAppGwIngressAddonName = \"appgw-ingress\"\n\t// ClusterAutoscalerAddonName is the name of the cluster autoscaler addon deployment\n\tClusterAutoscalerAddonName = \"cluster-autoscaler\"\n\t// BlobfuseFlexVolumeAddonName is the name of the blobfuse flexvolume addon\n\tBlobfuseFlexVolumeAddonName = \"blobfuse-flexvolume\"\n\t// SMBFlexVolumeAddonName is the name of the smb flexvolume addon\n\tSMBFlexVolumeAddonName = \"smb-flexvolume\"\n\t// KeyVaultFlexVolumeAddonName is the name of the key vault flexvolume addon deployment\n\tKeyVaultFlexVolumeAddonName = \"keyvault-flexvolume\"\n\t// DashboardAddonName is the name of the kubernetes-dashboard addon deployment\n\tDashboardAddonName = \"kubernetes-dashboard\"\n\t// ReschedulerAddonName is the name of the rescheduler addon deployment\n\tReschedulerAddonName = \"rescheduler\"\n\t// MetricsServerAddonName is the name of the kubernetes metrics server addon deployment\n\tMetricsServerAddonName = \"metrics-server\"\n\t// NVIDIADevicePluginAddonName is the name of the NVIDIA device plugin addon deployment\n\tNVIDIADevicePluginAddonName = \"nvidia-device-plugin\"\n\t// ContainerMonitoringAddonName is the name of the kubernetes Container Monitoring addon deployment\n\tContainerMonitoringAddonName = \"container-monitoring\"\n\t// CalicoAddonName is the name of calico daemonset addon\n\tCalicoAddonName = \"calico-daemonset\"\n\t// IPMASQAgentAddonName is the name of the ip masq agent addon\n\tIPMASQAgentAddonName = \"ip-masq-agent\"\n\t// PodSecurityPolicyAddonName is the name of the PodSecurityPolicy addon\n\tPodSecurityPolicyAddonName = \"pod-security-policy\"\n\t// DefaultPrivateClusterEnabled determines the aks-engine provided default for enabling kubernetes Private Cluster\n\tDefaultPrivateClusterEnabled = false\n\t// NetworkPolicyAzure is the string expression for Azure CNI network policy manager\n\tNetworkPolicyAzure = \"azure\"\n\t// NetworkPolicyNone is the string expression for the deprecated NetworkPolicy usage pattern \"none\"\n\tNetworkPolicyNone = \"none\"\n\t// NetworkPluginKubenet is the string expression for the kubenet NetworkPlugin config\n\tNetworkPluginKubenet = \"kubenet\"\n\t// NetworkPluginAzure is the string expression for Azure CNI plugin.\n\tNetworkPluginAzure = \"azure\"\n\t// DefaultSinglePlacementGroup determines the aks-engine provided default for supporting large VMSS\n\t// (true = single placement group 0-100 VMs, false = multiple placement group 0-1000 VMs)\n\tDefaultSinglePlacementGroup = true\n\t// ARMNetworkNamespace is the ARM-specific namespace for ARM's network providers.\n\tARMNetworkNamespace = \"Microsoft.Networks\"\n\t// ARMVirtualNetworksResourceType is the ARM resource type for virtual network resources of ARM.\n\tARMVirtualNetworksResourceType = \"virtualNetworks\"\n\t// DefaultAcceleratedNetworkingWindowsEnabled determines the aks-engine provided default for enabling accelerated networking on Windows nodes\n\tDefaultAcceleratedNetworkingWindowsEnabled = false\n\t// DefaultAcceleratedNetworking determines the aks-engine provided default for enabling accelerated networking on Linux nodes\n\tDefaultAcceleratedNetworking = true\n\t// DefaultVMSSOverProvisioningEnabled determines the aks-engine provided default for enabling VMSS Overprovisioning\n\tDefaultVMSSOverProvisioningEnabled = false\n\t// DefaultAuditDEnabled determines the aks-engine provided default for enabling auditd\n\tDefaultAuditDEnabled = false\n\t// DNSAutoscalerAddonName is the name of the dns-autoscaler addon\n\tDNSAutoscalerAddonName = \"dns-autoscaler\"\n\t// DefaultUseCosmos determines if the cluster will use cosmos as etcd storage\n\tDefaultUseCosmos = false\n\n\t// DefaultMaximumLoadBalancerRuleCount determines the default value of maximum allowed loadBalancer rule count according to\n\t// https://docs.microsoft.com/en-us/azure/azure-subscription-service-limits#load-balancer.\n\tDefaultMaximumLoadBalancerRuleCount = 250\n\t// DefaultEnableAutomaticUpdates determines the aks-engine provided default for enabling automatic updates\n\tDefaultEnableAutomaticUpdates = true\n\t// DefaultPreserveNodesProperties determines the aks-engine provided default for preserving nodes properties\n\tDefaultPreserveNodesProperties = true\n\t// DefaultEnableVMSSNodePublicIP determines the aks-engine provided default for enable VMSS node public IP\n\tDefaultEnableVMSSNodePublicIP = false\n)\n```\n\n```go\nconst (\n\t// DefaultUseInstanceMetadata set to false as Azure Stack today doesn't support instance metadata service\n\tDefaultAzureStackUseInstanceMetadata = false\n\n\t// DefaultAzureStackAcceleratedNetworking set to false as Azure Stack today doesn't support accelerated networking\n\tDefaultAzureStackAcceleratedNetworking = false\n\n\t// DefaultAzureStackFaultDomainCount set to 3 as Azure Stack today has minimum 4 node deployment.\n\tDefaultAzureStackFaultDomainCount = 3\n\n\t// MaxAzureStackManagedDiskSize = size for Kubernetes master etcd disk volumes in GB if \u003e 10 nodes as this is max what Azure Stack supports today.\n\tMaxAzureStackManagedDiskSize = \"1023\"\n)\n```\nAzureStackCloud Specific Defaults\n\n```go\nconst (\n\t// DefaultWindowsPublisher sets the default WindowsPublisher value in WindowsProfile\n\tDefaultWindowsPublisher = \"MicrosoftWindowsServer\"\n\t// DefaultWindowsOffer sets the default WindowsOffer value in WindowsProfile\n\tDefaultWindowsOffer = \"WindowsServer\"\n\t// DefaultWindowsSku sets the default WindowsSku value in WindowsProfile\n\tDefaultWindowsSku = \"Datacenter-Core-1809-with-Containers-smalldisk\"\n\t// DefaultImageVersion sets the default ImageVersion value in WindowsProfile\n\tDefaultImageVersion = \"17763.557.20190604\"\n)\n```\nWindowsProfile defaults\n\n```go\nconst (\n\t// DefaultKubernetesCloudProviderBackoffRetries is 6, takes effect if DefaultKubernetesCloudProviderBackoff is true\n\tDefaultKubernetesCloudProviderBackoffRetries = 6\n\t// DefaultKubernetesCloudProviderBackoffJitter is 1, takes effect if DefaultKubernetesCloudProviderBackoff is true\n\tDefaultKubernetesCloudProviderBackoffJitter = 1.0\n\t// DefaultKubernetesCloudProviderBackoffDuration is 5, takes effect if DefaultKubernetesCloudProviderBackoff is true\n\tDefaultKubernetesCloudProviderBackoffDuration = 5\n\t// DefaultKubernetesCloudProviderBackoffExponent is 1.5, takes effect if DefaultKubernetesCloudProviderBackoff is true\n\tDefaultKubernetesCloudProviderBackoffExponent = 1.5\n\t// DefaultKubernetesCloudProviderRateLimitQPS is 3, takes effect if DefaultKubernetesCloudProviderRateLimit is true\n\tDefaultKubernetesCloudProviderRateLimitQPS = 3.0\n\t// DefaultKubernetesCloudProviderRateLimitBucket is 10, takes effect if DefaultKubernetesCloudProviderRateLimit is true\n\tDefaultKubernetesCloudProviderRateLimitBucket = 10\n)\n```\n\n```go\nconst (\n\t//AzureEdgeDCOSBootstrapDownloadURL is the azure edge CDN download url\n\tAzureEdgeDCOSBootstrapDownloadURL = \"https://dcosio.azureedge.net/dcos/%s/bootstrap/%s.bootstrap.tar.xz\"\n\t//AzureChinaCloudDCOSBootstrapDownloadURL is the China specific DCOS package download url.\n\tAzureChinaCloudDCOSBootstrapDownloadURL = \"https://acsengine.blob.core.chinacloudapi.cn/dcos/%s.bootstrap.tar.xz\"\n)\n```\n\n```go\nconst (\n\t// AzureCniPluginVerLinux specifies version of Azure CNI plugin, which has been mirrored from\n\t// https://github.com/Azure/azure-container-networking/releases/download/${AZURE_PLUGIN_VER}/azure-vnet-cni-linux-amd64-${AZURE_PLUGIN_VER}.tgz\n\t// to https://acs-mirror.azureedge.net/cni\n\tAzureCniPluginVerLinux = \"v1.0.22\"\n\t// AzureCniPluginVerWindows specifies version of Azure CNI plugin, which has been mirrored from\n\t// https://github.com/Azure/azure-container-networking/releases/download/${AZURE_PLUGIN_VER}/azure-vnet-cni-windows-amd64-${AZURE_PLUGIN_VER}.zip\n\t// to https://acs-mirror.azureedge.net/cni\n\tAzureCniPluginVerWindows = \"v1.0.22\"\n\t// CNIPluginVer specifies the version of CNI implementation\n\t// https://github.com/containernetworking/plugins\n\tCNIPluginVer = \"v0.7.5\"\n)\n```\n\n```go\nconst (\n\t// DefaultMasterSubnet specifies the default master subnet for DCOS or Swarm\n\tDefaultMasterSubnet = \"172.16.0.0/24\"\n\t// DefaultFirstConsecutiveStaticIP specifies the static IP address on master 0 for DCOS or Swarm\n\tDefaultFirstConsecutiveStaticIP = \"172.16.0.5\"\n\t// DefaultSwarmWindowsMasterSubnet specifies the default master subnet for a Swarm Windows cluster\n\tDefaultSwarmWindowsMasterSubnet = \"192.168.255.0/24\"\n\t// DefaultSwarmWindowsFirstConsecutiveStaticIP specifies the static IP address on master 0 for a Swarm WIndows cluster\n\tDefaultSwarmWindowsFirstConsecutiveStaticIP = \"192.168.255.5\"\n\t// DefaultDCOSMasterSubnet specifies the default master subnet for a DCOS cluster\n\tDefaultDCOSMasterSubnet = \"192.168.255.0/24\"\n\t// DefaultDCOSFirstConsecutiveStaticIP  specifies the static IP address on master 0 for a DCOS cluster\n\tDefaultDCOSFirstConsecutiveStaticIP = \"192.168.255.5\"\n\t// DefaultDCOSBootstrapStaticIP specifies the static IP address on bootstrap for a DCOS cluster\n\tDefaultDCOSBootstrapStaticIP = \"192.168.255.240\"\n\t// DefaultKubernetesMasterSubnet specifies the default subnet for masters and agents.\n\t// Except when master VMSS is used, this specifies the default subnet for masters.\n\tDefaultKubernetesMasterSubnet = \"10.240.0.0/16\"\n\t// DefaultKubernetesMasterSubnetIPv6 specifies the default IPv6 subnet for masters and agents.\n\t// Except when master VMSS is used, this specifies the default subnet for masters.\n\tDefaultKubernetesMasterSubnetIPv6 = \"2001:1234:5678:9abc::/64\"\n\t// DefaultAgentSubnetTemplate specifies a default agent subnet\n\tDefaultAgentSubnetTemplate = \"10.%d.0.0/16\"\n\t// DefaultKubernetesSubnet specifies the default subnet used for all masters, agents and pods\n\t// when VNET integration is enabled.\n\tDefaultKubernetesSubnet = \"10.240.0.0/12\"\n\t// DefaultVNETCIDR is the default CIDR block for the VNET\n\tDefaultVNETCIDR = \"10.0.0.0/8\"\n\t// DefaultVNETCIDRIPv6 is the default IPv6 CIDR block for the VNET\n\tDefaultVNETCIDRIPv6 = \"2001:1234:5678:9a00::/56\"\n\t// DefaultKubernetesMaxPods is the maximum number of pods to run on a node.\n\tDefaultKubernetesMaxPods = 110\n\t// DefaultKubernetesMaxPodsVNETIntegrated is the maximum number of pods to run on a node when VNET integration is enabled.\n\tDefaultKubernetesMaxPodsVNETIntegrated = 30\n\t// DefaultKubernetesClusterDomain is the dns suffix used in the cluster (used as a SAN in the PKI generation)\n\tDefaultKubernetesClusterDomain = \"cluster.local\"\n\t// DefaultInternalLbStaticIPOffset specifies the offset of the internal LoadBalancer's IP\n\t// address relative to the first consecutive Kubernetes static IP\n\tDefaultInternalLbStaticIPOffset = 10\n\t// NetworkPolicyCalico is the string expression for calico network policy config option\n\tNetworkPolicyCalico = \"calico\"\n\t// NetworkPolicyCilium is the string expression for cilium network policy config option\n\tNetworkPolicyCilium = \"cilium\"\n\t// NetworkPluginCilium is the string expression for cilium network plugin config option\n\tNetworkPluginCilium = NetworkPolicyCilium\n\t// NetworkPluginFlannel is the string expression for flannel network policy config option\n\tNetworkPluginFlannel = \"flannel\"\n\t// DefaultNetworkPlugin defines the network plugin to use by default\n\tDefaultNetworkPlugin = NetworkPluginKubenet\n\t// DefaultNetworkPolicy defines the network policy implementation to use by default\n\tDefaultNetworkPolicy = \"\"\n\t// DefaultNetworkPluginWindows defines the network plugin implementation to use by default for clusters with Windows agent pools\n\tDefaultNetworkPluginWindows = NetworkPluginKubenet\n\t// DefaultNetworkPolicyWindows defines the network policy implementation to use by default for clusters with Windows agent pools\n\tDefaultNetworkPolicyWindows = \"\"\n\t// DefaultContainerRuntime is docker\n\tDefaultContainerRuntime = Docker\n\t// DefaultKubernetesNodeStatusUpdateFrequency is 10s, see --node-status-update-frequency at https://kubernetes.io/docs/admin/kubelet/\n\tDefaultKubernetesNodeStatusUpdateFrequency = \"10s\"\n\t// DefaultKubernetesHardEvictionThreshold is memory.available\u003c100Mi,nodefs.available\u003c10%,nodefs.inodesFree\u003c5%, see --eviction-hard at https://kubernetes.io/docs/admin/kubelet/\n\tDefaultKubernetesHardEvictionThreshold = \"memory.available\u003c750Mi,nodefs.available\u003c10%,nodefs.inodesFree\u003c5%\"\n\t// DefaultKubernetesCtrlMgrNodeMonitorGracePeriod is 40s, see --node-monitor-grace-period at https://kubernetes.io/docs/admin/kube-controller-manager/\n\tDefaultKubernetesCtrlMgrNodeMonitorGracePeriod = \"40s\"\n\t// DefaultKubernetesCtrlMgrPodEvictionTimeout is 5m0s, see --pod-eviction-timeout at https://kubernetes.io/docs/admin/kube-controller-manager/\n\tDefaultKubernetesCtrlMgrPodEvictionTimeout = \"5m0s\"\n\t// DefaultKubernetesCtrlMgrRouteReconciliationPeriod is 10s, see --route-reconciliation-period at https://kubernetes.io/docs/admin/kube-controller-manager/\n\tDefaultKubernetesCtrlMgrRouteReconciliationPeriod = \"10s\"\n\t// DefaultKubernetesCtrlMgrTerminatedPodGcThreshold is set to 5000, see --terminated-pod-gc-threshold at https://kubernetes.io/docs/admin/kube-controller-manager/ and https://github.com/kubernetes/kubernetes/issues/22680\n\tDefaultKubernetesCtrlMgrTerminatedPodGcThreshold = \"5000\"\n\t// DefaultKubernetesCtrlMgrUseSvcAccountCreds is \"true\", see --use-service-account-credentials at https://kubernetes.io/docs/admin/kube-controller-manager/\n\tDefaultKubernetesCtrlMgrUseSvcAccountCreds = \"false\"\n\t// DefaultKubernetesCloudProviderBackoff is false to disable cloudprovider backoff implementation for API calls\n\tDefaultKubernetesCloudProviderBackoff = true\n\t// DefaultKubernetesCloudProviderRateLimit is false to disable cloudprovider rate limiting implementation for API calls\n\tDefaultKubernetesCloudProviderRateLimit = true\n\t// DefaultTillerMaxHistory limits the maximum number of revisions saved per release. Use 0 for no limit.\n\tDefaultTillerMaxHistory = 0\n\t//DefaultKubernetesGCHighThreshold specifies the value for  for the image-gc-high-threshold kubelet flag\n\tDefaultKubernetesGCHighThreshold = 85\n\t//DefaultKubernetesGCLowThreshold specifies the value for the image-gc-low-threshold kubelet flag\n\tDefaultKubernetesGCLowThreshold = 80\n\t// DefaultEtcdVersion specifies the default etcd version to install\n\tDefaultEtcdVersion = \"3.2.26\"\n\t// DefaultEtcdDiskSize specifies the default size for Kubernetes master etcd disk volumes in GB\n\tDefaultEtcdDiskSize = \"256\"\n\t// DefaultEtcdDiskSizeGT3Nodes = size for Kubernetes master etcd disk volumes in GB if \u003e 3 nodes\n\tDefaultEtcdDiskSizeGT3Nodes = \"512\"\n\t// DefaultEtcdDiskSizeGT10Nodes = size for Kubernetes master etcd disk volumes in GB if \u003e 10 nodes\n\tDefaultEtcdDiskSizeGT10Nodes = \"1024\"\n\t// DefaultEtcdDiskSizeGT20Nodes = size for Kubernetes master etcd disk volumes in GB if \u003e 20 nodes\n\tDefaultEtcdDiskSizeGT20Nodes = \"2048\"\n\t// AzureCNINetworkMonitoringAddonName is the name of the Azure CNI networkmonitor addon\n\tAzureCNINetworkMonitoringAddonName = \"azure-cni-networkmonitor\"\n\t// AzureNetworkPolicyAddonName is the name of the Azure CNI networkmonitor addon\n\tAzureNetworkPolicyAddonName = \"azure-npm-daemonset\"\n\t// DefaultMasterEtcdClientPort is the default etcd client port for Kubernetes master nodes\n\tDefaultMasterEtcdClientPort = 2379\n\t// DefaultKubeletEventQPS is 0, see --event-qps at https://kubernetes.io/docs/reference/generated/kubelet/\n\tDefaultKubeletEventQPS = \"0\"\n\t// DefaultKubeletCadvisorPort is 0, see --cadvisor-port at https://kubernetes.io/docs/reference/generated/kubelet/\n\tDefaultKubeletCadvisorPort = \"0\"\n\t// DefaultJumpboxDiskSize specifies the default size for private cluster jumpbox OS disk in GB\n\tDefaultJumpboxDiskSize = 30\n\t// DefaultJumpboxUsername specifies the default admin username for the private cluster jumpbox\n\tDefaultJumpboxUsername = \"azureuser\"\n\t// DefaultKubeletPodMaxPIDs specifies the default max pid authorized by pods\n\tDefaultKubeletPodMaxPIDs = -1\n\t// DefaultKubernetesAgentSubnetVMSS specifies the default subnet for agents when master is VMSS\n\tDefaultKubernetesAgentSubnetVMSS = \"10.248.0.0/13\"\n\t// DefaultKubernetesClusterSubnet specifies the default subnet for pods.\n\tDefaultKubernetesClusterSubnet = \"10.244.0.0/16\"\n\t// DefaultKubernetesClusterSubnetIPv6 specifies the IPv6 default subnet for pods.\n\tDefaultKubernetesClusterSubnetIPv6 = \"fd00:101::/8\"\n\t// DefaultKubernetesServiceCIDR specifies the IP subnet that kubernetes will create Service IPs within.\n\tDefaultKubernetesServiceCIDR = \"10.0.0.0/16\"\n\t// DefaultKubernetesDNSServiceIP specifies the IP address that kube-dns listens on by default. must by in the default Service CIDR range.\n\tDefaultKubernetesDNSServiceIP = \"10.0.0.10\"\n\t// DefaultMobyVersion specifies the default Azure build version of Moby to install.\n\tDefaultMobyVersion = \"3.0.6\"\n\t// DefaultContainerdVersion specifies the default containerd version to install.\n\tDefaultContainerdVersion = \"1.1.5\"\n\t// DefaultDockerBridgeSubnet specifies the default subnet for the docker bridge network for masters and agents.\n\tDefaultDockerBridgeSubnet = \"172.17.0.1/16\"\n\t// DefaultKubernetesMaxPodsKubenet is the maximum number of pods to run on a node for Kubenet.\n\tDefaultKubernetesMaxPodsKubenet = \"110\"\n\t// DefaultKubernetesMaxPodsAzureCNI is the maximum number of pods to run on a node for Azure CNI.\n\tDefaultKubernetesMaxPodsAzureCNI = \"30\"\n\t// DefaultKubernetesAPIServerEnableProfiling is the config that enables profiling via web interface host:port/debug/pprof/\n\tDefaultKubernetesAPIServerEnableProfiling = \"false\"\n\t// DefaultKubernetesCtrMgrEnableProfiling is the config that enables profiling via web interface host:port/debug/pprof/\n\tDefaultKubernetesCtrMgrEnableProfiling = \"false\"\n\t// DefaultKubernetesSchedulerEnableProfiling is the config that enables profiling via web interface host:port/debug/pprof/\n\tDefaultKubernetesSchedulerEnableProfiling = \"false\"\n\t// DefaultNonMasqueradeCIDR is the default --non-masquerade-cidr value for kubelet\n\tDefaultNonMasqueradeCIDR = \"0.0.0.0/0\"\n\t// DefaultKubeProxyMode is the default KubeProxyMode value\n\tDefaultKubeProxyMode KubeProxyMode = KubeProxyModeIPTables\n)\n```\n\n```go\nconst (\n\t// AzurePublicCloud is a const string reference identifier for public cloud\n\tAzurePublicCloud = \"AzurePublicCloud\"\n\t// AzureChinaCloud is a const string reference identifier for china cloud\n\tAzureChinaCloud = \"AzureChinaCloud\"\n\t// AzureGermanCloud is a const string reference identifier for german cloud\n\tAzureGermanCloud = \"AzureGermanCloud\"\n\t// AzureUSGovernmentCloud is a const string reference identifier for us government cloud\n\tAzureUSGovernmentCloud = \"AzureUSGovernmentCloud\"\n\t// AzureStackCloud is a const string reference identifier for Azure Stack cloud\n\tAzureStackCloud = \"AzureStackCloud\"\n)\n```\n\n```go\nconst (\n\t// AzureADIdentitySystem is a const string reference identifier for Azure AD identity System\n\tAzureADIdentitySystem = \"azure_ad\"\n\t// ADFSIdentitySystem is a const string reference identifier for ADFS identity System\n\tADFSIdentitySystem = \"adfs\"\n)\n```\n\n```go\nconst (\n\t// AzureStackDependenciesLocationPublic indicates to get dependencies from in AzurePublic cloud\n\tAzureStackDependenciesLocationPublic = \"public\"\n\t// AzureStackDependenciesLocationChina indicates to get dependencies from AzureChina cloud\n\tAzureStackDependenciesLocationChina = \"china\"\n\t// AzureStackDependenciesLocationGerman indicates to get dependencies from AzureGerman cloud\n\tAzureStackDependenciesLocationGerman = \"german\"\n\t// AzureStackDependenciesLocationUSGovernment indicates to get dependencies from AzureUSGovernment cloud\n\tAzureStackDependenciesLocationUSGovernment = \"usgovernment\"\n)\n```\n\n```go\nconst (\n\t// ClientSecretAuthMethod indicates to use client seret for authentication\n\tClientSecretAuthMethod = \"client_secret\"\n\t// ClientCertificateAuthMethod indicates to use client certificate for authentication\n\tClientCertificateAuthMethod = \"client_certificate\"\n)\n```\n\n```go\nconst (\n\t//DefaultExtensionsRootURL  Root URL for extensions\n\tDefaultExtensionsRootURL = \"https://raw.githubusercontent.com/Azure/aks-engine/master/\"\n)\n```\n\n```go\nconst TLSStrongCipherSuitesAPIServer = \"TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA\"\n```\nTLSStrongCipherSuitesAPIServer is a kube-bench-recommended allowed cipher suites for apiserver\n\n```go\nconst TLSStrongCipherSuitesKubelet = \"TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384,TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_AES_256_GCM_SHA384,TLS_RSA_WITH_AES_128_GCM_SHA256\"\n```\nTLSStrongCipherSuitesKubelet is a kube-bench-recommended allowed cipher suites for kubelet\n\n```go\nconst (\n\t// VHDDiskSizeAKS maps to the OSDiskSizeGB for AKS VHD image\n\tVHDDiskSizeAKS = 30\n)\n```\n\n## Variables\n\n```go\nvar (\n\t//DefaultKubernetesSpecConfig is the default Docker image source of Kubernetes\n\tDefaultKubernetesSpecConfig = KubernetesSpecConfig{\n\t\tKubernetesImageBase:              \"k8s.gcr.io/\",\n\t\tTillerImageBase:                  \"gcr.io/kubernetes-helm/\",\n\t\tACIConnectorImageBase:            \"microsoft/\",\n\t\tNVIDIAImageBase:                  \"nvidia/\",\n\t\tCalicoImageBase:                  \"calico/\",\n\t\tAzureCNIImageBase:                \"mcr.microsoft.com/containernetworking/\",\n\t\tEtcdDownloadURLBase:              \"https://acs-mirror.azureedge.net/github-coreos\",\n\t\tKubeBinariesSASURLBase:           \"https://acs-mirror.azureedge.net/wink8s/\",\n\t\tWindowsTelemetryGUID:             \"fb801154-36b9-41bc-89c2-f4d4f05472b0\",\n\t\tCNIPluginsDownloadURL:            \"https://acs-mirror.azureedge.net/cni/cni-plugins-amd64-\" + CNIPluginVer + \".tgz\",\n\t\tVnetCNILinuxPluginsDownloadURL:   \"https://acs-mirror.azureedge.net/cni/azure-vnet-cni-linux-amd64-\" + AzureCniPluginVerLinux + \".tgz\",\n\t\tVnetCNIWindowsPluginsDownloadURL: \"https://acs-mirror.azureedge.net/cni/azure-vnet-cni-windows-amd64-\" + AzureCniPluginVerWindows + \".zip\",\n\t\tContainerdDownloadURLBase:        \"https://storage.googleapis.com/cri-containerd-release/\",\n\t}\n\n\t//DefaultDCOSSpecConfig is the default DC/OS binary download URL.\n\tDefaultDCOSSpecConfig = DCOSSpecConfig{\n\t\tDCOS188BootstrapDownloadURL:     fmt.Sprintf(AzureEdgeDCOSBootstrapDownloadURL, \"stable\", \"5df43052907c021eeb5de145419a3da1898c58a5\"),\n\t\tDCOS190BootstrapDownloadURL:     fmt.Sprintf(AzureEdgeDCOSBootstrapDownloadURL, \"stable\", \"58fd0833ce81b6244fc73bf65b5deb43217b0bd7\"),\n\t\tDCOS198BootstrapDownloadURL:     fmt.Sprintf(AzureEdgeDCOSBootstrapDownloadURL, \"stable/1.9.8\", \"f4ae0d20665fc68ee25282d6f78681b2773c6e10\"),\n\t\tDCOS110BootstrapDownloadURL:     fmt.Sprintf(AzureEdgeDCOSBootstrapDownloadURL, \"stable/1.10.0\", \"4d92536e7381176206e71ee15b5ffe454439920c\"),\n\t\tDCOS111BootstrapDownloadURL:     fmt.Sprintf(AzureEdgeDCOSBootstrapDownloadURL, \"stable/1.11.0\", \"a0654657903fb68dff60f6e522a7f241c1bfbf0f\"),\n\t\tDCOSWindowsBootstrapDownloadURL: \"http://dcos-win.westus.cloudapp.azure.com/dcos-windows/stable/\",\n\t\tDcosRepositoryURL:               \"https://dcosio.azureedge.net/dcos/stable/1.11.0\",\n\t\tDcosClusterPackageListID:        \"248a66388bba1adbcb14a52fd3b7b424ab06fa76\",\n\t}\n\n\t//DefaultDockerSpecConfig is the default Docker engine repo.\n\tDefaultDockerSpecConfig = DockerSpecConfig{\n\t\tDockerEngineRepo:         \"https://aptdocker.azureedge.net/repo\",\n\t\tDockerComposeDownloadURL: \"https://github.com/docker/compose/releases/download\",\n\t}\n\n\t//Ubuntu1604OSImageConfig is the default Linux distribution.\n\tUbuntu1604OSImageConfig = AzureOSImageConfig{\n\t\tImageOffer:     \"UbuntuServer\",\n\t\tImageSku:       \"16.04-LTS\",\n\t\tImagePublisher: \"Canonical\",\n\t\tImageVersion:   \"latest\",\n\t}\n\n\t//Ubuntu1804OSImageConfig is the Ubunutu 18.04-LTS Linux distribution.\n\tUbuntu1804OSImageConfig = AzureOSImageConfig{\n\t\tImageOffer:     \"UbuntuServer\",\n\t\tImageSku:       \"18.04-LTS\",\n\t\tImagePublisher: \"Canonical\",\n\t\tImageVersion:   \"latest\",\n\t}\n\n\t//RHELOSImageConfig is the RHEL Linux distribution.\n\tRHELOSImageConfig = AzureOSImageConfig{\n\t\tImageOffer:     \"RHEL\",\n\t\tImageSku:       \"7.3\",\n\t\tImagePublisher: \"RedHat\",\n\t\tImageVersion:   \"latest\",\n\t}\n\n\t//CoreOSImageConfig is the CoreOS Linux distribution.\n\tCoreOSImageConfig = AzureOSImageConfig{\n\t\tImageOffer:     \"CoreOS\",\n\t\tImageSku:       \"Stable\",\n\t\tImagePublisher: \"CoreOS\",\n\t\tImageVersion:   \"latest\",\n\t}\n\n\t// AKSUbuntu1604OSImageConfig is the AKS image based on Ubuntu 16.04-LTS.\n\tAKSUbuntu1604OSImageConfig = AzureOSImageConfig{\n\t\tImageOffer:     \"aks\",\n\t\tImageSku:       \"aks-ubuntu-1604-201907\",\n\t\tImagePublisher: \"microsoft-aks\",\n\t\tImageVersion:   \"2019.07.25\",\n\t}\n\n\t// AKSUbuntu1804OSImageConfig is the AKS image based on Ubuntu 18.04-LTS.\n\tAKSUbuntu1804OSImageConfig = AzureOSImageConfig{\n\t\tImageOffer:     \"aks\",\n\t\tImageSku:       \"aks-ubuntu-1804-201907\",\n\t\tImagePublisher: \"microsoft-aks\",\n\t\tImageVersion:   \"2019.07.25\",\n\t}\n\n\t// ACC1604OSImageConfig is the ACC image based on Ubuntu 16.04.\n\tACC1604OSImageConfig = AzureOSImageConfig{\n\t\tImageOffer:     \"confidential-compute-preview\",\n\t\tImageSku:       \"16.04-LTS\",\n\t\tImagePublisher: \"Canonical\",\n\t\tImageVersion:   \"latest\",\n\t}\n\n\t//AzureCloudSpec is the default configurations for global azure.\n\tAzureCloudSpec = AzureEnvironmentSpecConfig{\n\t\tCloudName: AzurePublicCloud,\n\n\t\tDockerSpecConfig: DefaultDockerSpecConfig,\n\n\t\tKubernetesSpecConfig: DefaultKubernetesSpecConfig,\n\t\tDCOSSpecConfig:       DefaultDCOSSpecConfig,\n\n\t\tEndpointConfig: AzureEndpointConfig{\n\t\t\tResourceManagerVMDNSSuffix: \"cloudapp.azure.com\",\n\t\t},\n\n\t\tOSImageConfig: map[Distro]AzureOSImageConfig{\n\t\t\tUbuntu:        Ubuntu1604OSImageConfig,\n\t\t\tUbuntu1804:    Ubuntu1804OSImageConfig,\n\t\t\tRHEL:          RHELOSImageConfig,\n\t\t\tCoreOS:        CoreOSImageConfig,\n\t\t\tAKSUbuntu1604: AKSUbuntu1604OSImageConfig,\n\t\t\tAKSUbuntu1804: AKSUbuntu1804OSImageConfig,\n\t\t\tACC1604:       ACC1604OSImageConfig,\n\t\t},\n\t}\n\n\t//AzureGermanCloudSpec is the German cloud config.\n\tAzureGermanCloudSpec = AzureEnvironmentSpecConfig{\n\t\tCloudName:            AzureGermanCloud,\n\t\tDockerSpecConfig:     DefaultDockerSpecConfig,\n\t\tKubernetesSpecConfig: DefaultKubernetesSpecConfig,\n\t\tDCOSSpecConfig:       DefaultDCOSSpecConfig,\n\t\tEndpointConfig: AzureEndpointConfig{\n\t\t\tResourceManagerVMDNSSuffix: \"cloudapp.microsoftazure.de\",\n\t\t},\n\t\tOSImageConfig: map[Distro]AzureOSImageConfig{\n\t\t\tUbuntu:        Ubuntu1604OSImageConfig,\n\t\t\tUbuntu1804:    Ubuntu1804OSImageConfig,\n\t\t\tRHEL:          RHELOSImageConfig,\n\t\t\tCoreOS:        CoreOSImageConfig,\n\t\t\tAKSUbuntu1604: Ubuntu1604OSImageConfig,\n\t\t\tAKSUbuntu1804: Ubuntu1604OSImageConfig,\n\t\t},\n\t}\n\n\t//AzureUSGovernmentCloudSpec is the US government config.\n\tAzureUSGovernmentCloudSpec = AzureEnvironmentSpecConfig{\n\t\tCloudName:            AzureUSGovernmentCloud,\n\t\tDockerSpecConfig:     DefaultDockerSpecConfig,\n\t\tKubernetesSpecConfig: DefaultKubernetesSpecConfig,\n\t\tDCOSSpecConfig:       DefaultDCOSSpecConfig,\n\t\tEndpointConfig: AzureEndpointConfig{\n\t\t\tResourceManagerVMDNSSuffix: \"cloudapp.usgovcloudapi.net\",\n\t\t},\n\t\tOSImageConfig: map[Distro]AzureOSImageConfig{\n\t\t\tUbuntu:        Ubuntu1604OSImageConfig,\n\t\t\tUbuntu1804:    Ubuntu1804OSImageConfig,\n\t\t\tRHEL:          RHELOSImageConfig,\n\t\t\tCoreOS:        CoreOSImageConfig,\n\t\t\tAKSUbuntu1604: Ubuntu1604OSImageConfig,\n\t\t\tAKSUbuntu1804: Ubuntu1604OSImageConfig,\n\t\t},\n\t}\n\n\t//AzureChinaCloudSpec is the configurations for Azure China (Mooncake)\n\tAzureChinaCloudSpec = AzureEnvironmentSpecConfig{\n\t\tCloudName: AzureChinaCloud,\n\n\t\tDockerSpecConfig: DockerSpecConfig{\n\t\t\tDockerEngineRepo:         \"https://mirror.azk8s.cn/docker-engine/apt/repo/\",\n\t\t\tDockerComposeDownloadURL: \"https://mirror.azk8s.cn/docker-toolbox/linux/compose\",\n\t\t},\n\n\t\tKubernetesSpecConfig: KubernetesSpecConfig{\n\t\t\tKubernetesImageBase:              \"gcr.azk8s.cn/google_containers/\",\n\t\t\tTillerImageBase:                  \"gcr.azk8s.cn/kubernetes-helm/\",\n\t\t\tACIConnectorImageBase:            \"dockerhub.azk8s.cn/microsoft/\",\n\t\t\tNVIDIAImageBase:                  \"dockerhub.azk8s.cn/nvidia/\",\n\t\t\tAzureCNIImageBase:                \"dockerhub.azk8s.cn/containernetworking/\",\n\t\t\tCalicoImageBase:                  \"dockerhub.azk8s.cn/calico/\",\n\t\t\tEtcdDownloadURLBase:              \"https://mirror.azk8s.cn/kubernetes/etcd\",\n\t\t\tKubeBinariesSASURLBase:           DefaultKubernetesSpecConfig.KubeBinariesSASURLBase,\n\t\t\tWindowsTelemetryGUID:             DefaultKubernetesSpecConfig.WindowsTelemetryGUID,\n\t\t\tCNIPluginsDownloadURL:            \"https://mirror.azk8s.cn/kubernetes/containernetworking-plugins/cni-plugins-amd64-\" + CNIPluginVer + \".tgz\",\n\t\t\tVnetCNILinuxPluginsDownloadURL:   \"https://mirror.azk8s.cn/kubernetes/azure-container-networking/azure-vnet-cni-linux-amd64-\" + AzureCniPluginVerLinux + \".tgz\",\n\t\t\tVnetCNIWindowsPluginsDownloadURL: \"https://mirror.azk8s.cn/kubernetes/azure-container-networking/azure-vnet-cni-windows-amd64-\" + AzureCniPluginVerWindows + \".zip\",\n\t\t\tContainerdDownloadURLBase:        \"https://mirror.azk8s.cn/kubernetes/containerd/\",\n\t\t},\n\t\tDCOSSpecConfig: DCOSSpecConfig{\n\t\t\tDCOS188BootstrapDownloadURL:     fmt.Sprintf(AzureChinaCloudDCOSBootstrapDownloadURL, \"5df43052907c021eeb5de145419a3da1898c58a5\"),\n\t\t\tDCOSWindowsBootstrapDownloadURL: \"https://dcosdevstorage.blob.core.windows.net/dcos-windows\",\n\t\t\tDCOS190BootstrapDownloadURL:     fmt.Sprintf(AzureChinaCloudDCOSBootstrapDownloadURL, \"58fd0833ce81b6244fc73bf65b5deb43217b0bd7\"),\n\t\t\tDCOS198BootstrapDownloadURL:     fmt.Sprintf(AzureChinaCloudDCOSBootstrapDownloadURL, \"f4ae0d20665fc68ee25282d6f78681b2773c6e10\"),\n\t\t},\n\n\t\tEndpointConfig: AzureEndpointConfig{\n\t\t\tResourceManagerVMDNSSuffix: \"cloudapp.chinacloudapi.cn\",\n\t\t},\n\t\tOSImageConfig: map[Distro]AzureOSImageConfig{\n\t\t\tUbuntu:        Ubuntu1604OSImageConfig,\n\t\t\tUbuntu1804:    Ubuntu1804OSImageConfig,\n\t\t\tRHEL:          RHELOSImageConfig,\n\t\t\tCoreOS:        CoreOSImageConfig,\n\t\t\tAKSUbuntu1604: AKSUbuntu1604OSImageConfig,\n\t\t\tAKSUbuntu1804: AKSUbuntu1804OSImageConfig,\n\t\t},\n\t}\n\n\t// AzureCloudSpecEnvMap is the environment configuration map for all the Azure cloud environments.\n\tAzureCloudSpecEnvMap = map[string]AzureEnvironmentSpecConfig{\n\t\tAzureChinaCloud:        AzureChinaCloudSpec,\n\t\tAzureGermanCloud:       AzureGermanCloudSpec,\n\t\tAzureUSGovernmentCloud: AzureUSGovernmentCloudSpec,\n\t\tAzurePublicCloud:       AzureCloudSpec,\n\t}\n)\n```\n\n```go\nvar DistroValues = []Distro{\"\", Ubuntu, Ubuntu1804, RHEL, CoreOS, AKSUbuntu1604, AKSUbuntu1804, ACC1604}\n```\nDistroValues is a list of currently supported distros\n\n```go\nvar K8sComponentsByVersionMap map[string]map[string]string\n```\nK8sComponentsByVersionMap represents Docker images used for Kubernetes components based on Kubernetes versions (major.minor.patch)\n\n## Functions\n\n```go\nfunc ConvertContainerServiceToV20160330(api *ContainerService) *v20160330.ContainerService\n```\nConvertContainerServiceToV20160330 converts an unversioned ContainerService to a v20160330 ContainerService\n\n```go\nfunc ConvertContainerServiceToV20160930(api *ContainerService) *v20160930.ContainerService\n```\nConvertContainerServiceToV20160930 converts an unversioned ContainerService to a v20160930 ContainerService\n\n```go\nfunc ConvertContainerServiceToV20170131(api *ContainerService) *v20170131.ContainerService\n```\nConvertContainerServiceToV20170131 converts an unversioned ContainerService to a v20170131 ContainerService\n\n```go\nfunc ConvertContainerServiceToV20170701(api *ContainerService) *v20170701.ContainerService\n```\nConvertContainerServiceToV20170701 converts an unversioned ContainerService to a v20170701 ContainerService\n\n```go\nfunc ConvertContainerServiceToV20170831AgentPoolOnly(api *ContainerService) *v20170831.ManagedCluster\n```\nConvertContainerServiceToV20170831AgentPoolOnly converts an unversioned ContainerService to a v20170831 ContainerService\n\n```go\nfunc ConvertContainerServiceToV20180331AgentPoolOnly(api *ContainerService) *v20180331.ManagedCluster\n```\nConvertContainerServiceToV20180331AgentPoolOnly converts an unversioned ContainerService to a v20180331 ContainerService\n\n```go\nfunc ConvertContainerServiceToVLabs(api *ContainerService) *vlabs.ContainerService\n```\nConvertContainerServiceToVLabs converts an unversioned ContainerService to a vlabs ContainerService\n\n```go\nfunc ConvertOrchestratorVersionProfileToV20170930(api *OrchestratorVersionProfile) *v20170930.OrchestratorVersionProfile\n```\nConvertOrchestratorVersionProfileToV20170930 converts an unversioned OrchestratorVersionProfile to a v20170930 OrchestratorVersionProfile\n\n```go\nfunc ConvertOrchestratorVersionProfileToVLabs(api *OrchestratorVersionProfile) *vlabs.OrchestratorVersionProfile\n```\nConvertOrchestratorVersionProfileToVLabs converts an unversioned OrchestratorVersionProfile to a vlabs OrchestratorVersionProfile\n\n```go\nfunc FormatAzureProdFQDNByLocation(fqdnPrefix string, location string) string\n```\nFormatAzureProdFQDNByLocation constructs an Azure prod fqdn\n\n```go\nfunc FormatProdFQDNByLocation(fqdnPrefix string, location string, cloudName string) string\n```\nFormatProdFQDNByLocation constructs an Azure prod fqdn with custom cloud profile CustomCloudName is name of environment if customCloudProfile is provided, it will be empty string if customCloudProfile is empty. Because customCloudProfile is empty for deployment for AzurePublicCloud, AzureChinaCloud,AzureGermanCloud,AzureUSGovernmentCloud, The customCloudName value will be empty string for those clouds\n\n```go\nfunc GetOrchestratorVersionProfileListV20170930(orchestrator, version string) (*v20170930.OrchestratorVersionProfileList, error)\n```\nGetOrchestratorVersionProfileListV20170930 returns v20170930 OrchestratorVersionProfileList object per (optionally) specified orchestrator and version\n\n```go\nfunc GetOrchestratorVersionProfileListVLabs(orchestrator, version string, windows bool) (*vlabs.OrchestratorVersionProfileList, error)\n```\nGetOrchestratorVersionProfileListVLabs returns vlabs OrchestratorVersionProfileList object per (optionally) specified orchestrator and version\n\n## Types\n\n```go\ntype AADProfile struct {\n\t// The client AAD application ID.\n\tClientAppID string `json:\"clientAppID,omitempty\"`\n\t// The server AAD application ID.\n\tServerAppID string `json:\"serverAppID,omitempty\"`\n\t// The server AAD application secret\n\tServerAppSecret string `json:\"serverAppSecret,omitempty\" conform:\"redact\"`\n\t// The AAD tenant ID to use for authentication.\n\t// If not specified, will use the tenant of the deployment subscription.\n\t// Optional\n\tTenantID string `json:\"tenantID,omitempty\"`\n\t// The Azure Active Directory Group Object ID that will be assigned the\n\t// cluster-admin RBAC role.\n\t// Optional\n\tAdminGroupID string `json:\"adminGroupID,omitempty\"`\n\t// The authenticator to use, either \"oidc\" or \"webhook\".\n\tAuthenticator AuthenticatorType `json:\"authenticator\"`\n}\n```\nAADProfile specifies attributes for AAD integration\n\n```go\ntype AddonProfile struct {\n\tEnabled bool              `json:\"enabled\"`\n\tConfig  map[string]string `json:\"config\"`\n}\n```\nAddonProfile represents an addon for managed cluster\n\n```go\ntype AgentPoolProfile struct {\n\tName                                string               `json:\"name\"`\n\tCount                               int                  `json:\"count\"`\n\tVMSize                              string               `json:\"vmSize\"`\n\tOSDiskSizeGB                        int                  `json:\"osDiskSizeGB,omitempty\"`\n\tDNSPrefix                           string               `json:\"dnsPrefix,omitempty\"`\n\tOSType                              OSType               `json:\"osType,omitempty\"`\n\tPorts                               []int                `json:\"ports,omitempty\"`\n\tProvisioningState                   ProvisioningState    `json:\"provisioningState,omitempty\"`\n\tAvailabilityProfile                 string               `json:\"availabilityProfile\"`\n\tPlatformFaultDomainCount            *int                 `json:\"platformFaultDomainCount\"`\n\tScaleSetPriority                    string               `json:\"scaleSetPriority,omitempty\"`\n\tScaleSetEvictionPolicy              string               `json:\"scaleSetEvictionPolicy,omitempty\"`\n\tStorageProfile                      string               `json:\"storageProfile,omitempty\"`\n\tDiskSizesGB                         []int                `json:\"diskSizesGB,omitempty\"`\n\tVnetSubnetID                        string               `json:\"vnetSubnetID,omitempty\"`\n\tSubnet                              string               `json:\"subnet\"`\n\tIPAddressCount                      int                  `json:\"ipAddressCount,omitempty\"`\n\tDistro                              Distro               `json:\"distro,omitempty\"`\n\tRole                                AgentPoolProfileRole `json:\"role,omitempty\"`\n\tAcceleratedNetworkingEnabled        *bool                `json:\"acceleratedNetworkingEnabled,omitempty\"`\n\tAcceleratedNetworkingEnabledWindows *bool                `json:\"acceleratedNetworkingEnabledWindows,omitempty\"`\n\tVMSSOverProvisioningEnabled         *bool                `json:\"vmssOverProvisioningEnabled,omitempty\"`\n\tFQDN                                string               `json:\"fqdn,omitempty\"`\n\tCustomNodeLabels                    map[string]string    `json:\"customNodeLabels,omitempty\"`\n\tPreprovisionExtension               *Extension           `json:\"preProvisionExtension\"`\n\tExtensions                          []Extension          `json:\"extensions\"`\n\tKubernetesConfig                    *KubernetesConfig    `json:\"kubernetesConfig,omitempty\"`\n\tOrchestratorVersion                 string               `json:\"orchestratorVersion\"`\n\tImageRef                            *ImageReference      `json:\"imageReference,omitempty\"`\n\tMaxCount                            *int                 `json:\"maxCount,omitempty\"`\n\tMinCount                            *int                 `json:\"minCount,omitempty\"`\n\tEnableAutoScaling                   *bool                `json:\"enableAutoScaling,omitempty\"`\n\tAvailabilityZones                   []string             `json:\"availabilityZones,omitempty\"`\n\tSinglePlacementGroup                *bool                `json:\"singlePlacementGroup,omitempty\"`\n\tVnetCidrs                           []string             `json:\"vnetCidrs,omitempty\"`\n\tPreserveNodesProperties             *bool                `json:\"preserveNodesProperties,omitempty\"`\n\tWindowsNameVersion                  string               `json:\"windowsNameVersion,omitempty\"`\n\tEnableVMSSNodePublicIP              *bool                `json:\"enableVMSSNodePublicIP,omitempty\"`\n\tLoadBalancerBackendAddressPoolIDs   []string             `json:\"loadBalancerBackendAddressPoolIDs,omitempty\"`\n\tAuditDEnabled                       *bool                `json:\"auditDEnabled,omitempty\"`\n\tCustomVMTags                        map[string]string    `json:\"customVMTags,omitempty\"`\n}\n```\nAgentPoolProfile represents an agent pool definition\n\n```go\nfunc (a *AgentPoolProfile) GetKubernetesLabels(rg string) string\n```\nGetKubernetesLabels returns a k8s API-compliant labels string for nodes in this profile\n\n```go\nfunc (a *AgentPoolProfile) HasAvailabilityZones() bool\n```\nHasAvailabilityZones returns true if the agent pool has availability zones\n\n```go\nfunc (a *AgentPoolProfile) HasDisks() bool\n```\nHasDisks returns true if the customer specified disks\n\n```go\nfunc (a *AgentPoolProfile) HasImageGallery() bool\n```\nHasImageGallery returns true if the customer brought os image from Shared Image Gallery\n\n```go\nfunc (a *AgentPoolProfile) HasImageRef() bool\n```\nHasImageRef returns true if the customer brought os image\n\n```go\nfunc (a *AgentPoolProfile) IsAvailabilitySets() bool\n```\nIsAvailabilitySets returns true if the customer specified disks\n\n```go\nfunc (a *AgentPoolProfile) IsCoreOS() bool\n```\nIsCoreOS returns true if the agent specified a CoreOS distro\n\n```go\nfunc (a *AgentPoolProfile) IsCustomVNET() bool\n```\nIsCustomVNET returns true if the customer brought their own VNET\n\n```go\nfunc (a *AgentPoolProfile) IsLinux() bool\n```\nIsLinux returns true if the agent pool is linux\n\n```go\nfunc (a *AgentPoolProfile) IsLowPriorityScaleSet() bool\n```\nIsLowPriorityScaleSet returns true if the VMSS is Low Priority\n\n```go\nfunc (a *AgentPoolProfile) IsManagedDisks() bool\n```\nIsManagedDisks returns true if the customer specified disks\n\n```go\nfunc (a *AgentPoolProfile) IsNSeriesSKU() bool\n```\nIsNSeriesSKU returns true if the agent pool contains an N-series (NVIDIA GPU) VM\n\n```go\nfunc (a *AgentPoolProfile) IsRHEL() bool\n```\nIsRHEL returns true if the agent pool specified a RHEL distro\n\n```go\nfunc (a *AgentPoolProfile) IsStorageAccount() bool\n```\nIsStorageAccount returns true if the customer specified storage account\n\n```go\nfunc (a *AgentPoolProfile) IsUbuntu() bool\n```\nIsUbuntu returns true if the master profile distro is any ubuntu distro\n\n```go\nfunc (a *AgentPoolProfile) IsUbuntu1604() bool\n```\nIsUbuntu1604 returns true if the agent pool profile distro is based on Ubuntu 16.04\n\n```go\nfunc (a *AgentPoolProfile) IsUbuntu1804() bool\n```\nIsUbuntu1804 returns true if the agent pool profile distro is based on Ubuntu 16.04\n\n```go\nfunc (a *AgentPoolProfile) IsUbuntuNonVHD() bool\n```\nIsUbuntuNonVHD returns true if the distro uses a base Ubuntu image\n\n```go\nfunc (a *AgentPoolProfile) IsVHDDistro() bool\n```\nIsVHDDistro returns true if the distro uses VHD SKUs\n\n```go\nfunc (a *AgentPoolProfile) IsVirtualMachineScaleSets() bool\n```\nIsVirtualMachineScaleSets returns true if the agent pool availability profile is VMSS\n\n```go\nfunc (a *AgentPoolProfile) IsWindows() bool\n```\nIsWindows returns true if the agent pool is windows\n\n```go\ntype AgentPoolProfileRole string\n```\nAgentPoolProfileRole represents an agent role\n\n```go\nconst (\n\t// AgentPoolProfileRoleEmpty is the empty role.  Deprecated; only used in\n\t// aks-engine.\n\tAgentPoolProfileRoleEmpty AgentPoolProfileRole = \"\"\n\t// AgentPoolProfileRoleCompute is the compute role\n\tAgentPoolProfileRoleCompute AgentPoolProfileRole = \"compute\"\n\t// AgentPoolProfileRoleInfra is the infra role\n\tAgentPoolProfileRoleInfra AgentPoolProfileRole = \"infra\"\n\t// AgentPoolProfileRoleMaster is the master role\n\tAgentPoolProfileRoleMaster AgentPoolProfileRole = \"master\"\n)\n```\n\n```go\ntype AgentPoolResource struct {\n\tID       string                `json:\"id\"`\n\tLocation string                `json:\"location\"`\n\tName     string                `json:\"name\"`\n\tPlan     *ResourcePurchasePlan `json:\"plan,omitempty\"`\n\tTags     map[string]string     `json:\"tags\"`\n\tType     string                `json:\"type\"`\n\n\tProperties *AgentPoolProfile `json:\"properties,omitempty\"`\n}\n```\nAgentPoolResource complies with the ARM model of agentpool resource definition in a JSON template.\n\n```go\nfunc CreateMockAgentPoolProfile(agentPoolName, orchestratorVersion string, provisioningState ProvisioningState, agentCount int) *AgentPoolResource\n```\nCreateMockAgentPoolProfile creates a mock AgentPoolResource for testing\n\n```go\ntype Apiloader struct {\n\tTranslator *i18n.Translator\n}\n```\nApiloader represents the object that loads api model\n\n```go\nfunc (a *Apiloader) DeserializeContainerService(contents []byte, validate, isUpdate bool, existingContainerService *ContainerService) (*ContainerService, string, error)\n```\nDeserializeContainerService loads an AKS Engine Cluster API Model, validates it, and returns the unversioned representation\n\n```go\nfunc (a *Apiloader) LoadContainerService(\n\tcontents []byte,\n\tversion string,\n\tvalidate, isUpdate bool,\n\texistingContainerService *ContainerService) (*ContainerService, error)\n```\nLoadContainerService loads an AKS Cluster API Model, validates it, and returns the unversioned representation\n\n```go\nfunc (a *Apiloader) LoadContainerServiceForAgentPoolOnlyCluster(\n\tcontents []byte,\n\tversion string,\n\tvalidate, isUpdate bool,\n\tdefaultKubernetesVersion string,\n\texistingContainerService *ContainerService) (*ContainerService, bool, error)\n```\nLoadContainerServiceForAgentPoolOnlyCluster loads an AKS Cluster API Model, validates it, and returns the unversioned representation\n\n```go\nfunc (a *Apiloader) LoadContainerServiceFromFile(jsonFile string, validate, isUpdate bool, existingContainerService *ContainerService) (*ContainerService, string, error)\n```\nLoadContainerServiceFromFile loads an AKS Cluster API Model from a JSON file\n\n```go\nfunc (a *Apiloader) SerializeContainerService(containerService *ContainerService, version string) ([]byte, error)\n```\nSerializeContainerService takes an unversioned container service and returns the bytes\n\n```go\ntype AuthenticatorType string\n```\nAuthenticatorType represents the authenticator type the cluster was set up with.\n\n```go\nconst (\n\t// OIDC represent cluster setup in OIDC auth mode\n\tOIDC AuthenticatorType = \"oidc\"\n\t// Webhook represent cluster setup in wehhook auth mode\n\tWebhook AuthenticatorType = \"webhook\"\n)\n```\n\n```go\ntype AzureEndpointConfig struct {\n\tResourceManagerVMDNSSuffix string `json:\"resourceManagerVMDNSSuffix,omitempty\"`\n}\n```\nAzureEndpointConfig describes an Azure endpoint\n\n```go\ntype AzureEnvironmentSpecConfig struct {\n\tCloudName            string                        `json:\"cloudName,omitempty\"`\n\tDockerSpecConfig     DockerSpecConfig              `json:\"dockerSpecConfig,omitempty\"`\n\tKubernetesSpecConfig KubernetesSpecConfig          `json:\"kubernetesSpecConfig,omitempty\"`\n\tDCOSSpecConfig       DCOSSpecConfig                `json:\"-\"`\n\tEndpointConfig       AzureEndpointConfig           `json:\"endpointConfig,omitempty\"`\n\tOSImageConfig        map[Distro]AzureOSImageConfig `json:\"osImageConfig,omitempty\"`\n}\n```\nAzureEnvironmentSpecConfig is the overall configuration differences in different cloud environments.\n\n```go\ntype AzureOSImageConfig struct {\n\tImageOffer     string `json:\"imageOffer,omitempty\"`\n\tImageSku       string `json:\"imageSku,omitempty\"`\n\tImagePublisher string `json:\"imagePublisher,omitempty\"`\n\tImageVersion   string `json:\"imageVersion,omitempty\"`\n}\n```\nAzureOSImageConfig describes an Azure OS image\n\n```go\ntype AzureStackMetadataAuthentication struct {\n\tLoginEndpoint string   `json:\"loginEndpoint,omitempty\"`\n\tAudiences     []string `json:\"audiences,omitempty\"`\n}\n```\nAzureStackMetadataAuthentication is the type for Azure Stack metadata authentication endpoints\n\n```go\ntype AzureStackMetadataEndpoints struct {\n\tGalleryEndpoint string                            `json:\"galleryEndpoint,omitempty\"`\n\tGraphEndpoint   string                            `json:\"graphEndpoint,omitempty\"`\n\tPortalEndpoint  string                            `json:\"portalEndpoint,omitempty\"`\n\tAuthentication  *AzureStackMetadataAuthentication `json:\"authentication,omitempty\"`\n}\n```\nAzureStackMetadataEndpoints is the type for Azure Stack metadata endpoints\n\n```go\ntype BootstrapProfile struct {\n\tVMSize       string `json:\"vmSize,omitempty\"`\n\tOSDiskSizeGB int    `json:\"osDiskSizeGB,omitempty\"`\n\tOAuthEnabled bool   `json:\"oauthEnabled,omitempty\"`\n\tStaticIP     string `json:\"staticIP,omitempty\"`\n\tSubnet       string `json:\"subnet,omitempty\"`\n}\n```\nBootstrapProfile represents the definition of the DCOS bootstrap node used to deploy the cluster\n\n```go\ntype CertificateProfile struct {\n\t// CaCertificate is the certificate authority certificate.\n\tCaCertificate string `json:\"caCertificate,omitempty\" conform:\"redact\"`\n\t// CaPrivateKey is the certificate authority key.\n\tCaPrivateKey string `json:\"caPrivateKey,omitempty\" conform:\"redact\"`\n\t// ApiServerCertificate is the rest api server certificate, and signed by the CA\n\tAPIServerCertificate string `json:\"apiServerCertificate,omitempty\" conform:\"redact\"`\n\t// ApiServerPrivateKey is the rest api server private key, and signed by the CA\n\tAPIServerPrivateKey string `json:\"apiServerPrivateKey,omitempty\" conform:\"redact\"`\n\t// ClientCertificate is the certificate used by the client kubelet services and signed by the CA\n\tClientCertificate string `json:\"clientCertificate,omitempty\" conform:\"redact\"`\n\t// ClientPrivateKey is the private key used by the client kubelet services and signed by the CA\n\tClientPrivateKey string `json:\"clientPrivateKey,omitempty\" conform:\"redact\"`\n\t// KubeConfigCertificate is the client certificate used for kubectl cli and signed by the CA\n\tKubeConfigCertificate string `json:\"kubeConfigCertificate,omitempty\" conform:\"redact\"`\n\t// KubeConfigPrivateKey is the client private key used for kubectl cli and signed by the CA\n\tKubeConfigPrivateKey string `json:\"kubeConfigPrivateKey,omitempty\" conform:\"redact\"`\n\t// EtcdServerCertificate is the server certificate for etcd, and signed by the CA\n\tEtcdServerCertificate string `json:\"etcdServerCertificate,omitempty\" conform:\"redact\"`\n\t// EtcdServerPrivateKey is the server private key for etcd, and signed by the CA\n\tEtcdServerPrivateKey string `json:\"etcdServerPrivateKey,omitempty\" conform:\"redact\"`\n\t// EtcdClientCertificate is etcd client certificate, and signed by the CA\n\tEtcdClientCertificate string `json:\"etcdClientCertificate,omitempty\" conform:\"redact\"`\n\t// EtcdClientPrivateKey is the etcd client private key, and signed by the CA\n\tEtcdClientPrivateKey string `json:\"etcdClientPrivateKey,omitempty\" conform:\"redact\"`\n\t// EtcdPeerCertificates is list of etcd peer certificates, and signed by the CA\n\tEtcdPeerCertificates []string `json:\"etcdPeerCertificates,omitempty\" conform:\"redact\"`\n\t// EtcdPeerPrivateKeys is list of etcd peer private keys, and signed by the CA\n\tEtcdPeerPrivateKeys []string `json:\"etcdPeerPrivateKeys,omitempty\" conform:\"redact\"`\n}\n```\nCertificateProfile represents the definition of the master cluster\n\n```go\ntype CloudProviderConfig struct {\n\tCloudProviderBackoff         *bool  `json:\"cloudProviderBackoff,omitempty\"`\n\tCloudProviderBackoffRetries  int    `json:\"cloudProviderBackoffRetries,omitempty\"`\n\tCloudProviderBackoffJitter   string `json:\"cloudProviderBackoffJitter,omitempty\"`\n\tCloudProviderBackoffDuration int    `json:\"cloudProviderBackoffDuration,omitempty\"`\n\tCloudProviderBackoffExponent string `json:\"cloudProviderBackoffExponent,omitempty\"`\n\tCloudProviderRateLimit       *bool  `json:\"cloudProviderRateLimit,omitempty\"`\n\tCloudProviderRateLimitQPS    string `json:\"cloudProviderRateLimitQPS,omitempty\"`\n\tCloudProviderRateLimitBucket int    `json:\"cloudProviderRateLimitBucket,omitempty\"`\n}\n```\nCloudProviderConfig contains the KubernetesConfig properties specific to the Cloud Provider\n\n```go\ntype ClusterMetadata struct {\n\tSubnetName                 string `json:\"subnetName,omitempty\"`\n\tVNetResourceGroupName      string `json:\"vnetResourceGroupName,omitempty\"`\n\tVirtualNetworkName         string `json:\"virtualNetworkName,omitempty\"`\n\tSecurityGroupName          string `json:\"securityGroupName,omitempty\"`\n\tRouteTableName             string `json:\"routeTableName,omitempty\"`\n\tPrimaryAvailabilitySetName string `json:\"primaryAvailabilitySetName,omitempty\"`\n\tPrimaryScaleSetName        string `json:\"primaryScaleSetName,omitempty\"`\n\tResourcePrefix             string `json:\"resourcePrefix,omitempty\"`\n}\n```\nClusterMetadata represents the metadata of the AKS cluster.\n\n```go\ntype ContainerService struct {\n\tID       string                `json:\"id\"`\n\tLocation string                `json:\"location\"`\n\tName     string                `json:\"name\"`\n\tPlan     *ResourcePurchasePlan `json:\"plan,omitempty\"`\n\tTags     map[string]string     `json:\"tags\"`\n\tType     string                `json:\"type\"`\n\n\tProperties *Properties `json:\"properties,omitempty\"`\n}\n```\nContainerService complies with the ARM model of resource definition in a JSON template.\n\n```go\nfunc ConvertV20160330ContainerService(v20160330 *v20160330.ContainerService) *ContainerService\n```\nConvertV20160330ContainerService converts a v20160330 ContainerService to an unversioned ContainerService\n\n```go\nfunc ConvertV20160930ContainerService(v20160930 *v20160930.ContainerService) *ContainerService\n```\nConvertV20160930ContainerService converts a v20160930 ContainerService to an unversioned ContainerService\n\n```go\nfunc ConvertV20170131ContainerService(v20170131 *v20170131.ContainerService) *ContainerService\n```\nConvertV20170131ContainerService converts a v20170131 ContainerService to an unversioned ContainerService\n\n```go\nfunc ConvertV20170701ContainerService(v20170701 *v20170701.ContainerService, isUpdate bool) *ContainerService\n```\nConvertV20170701ContainerService converts a v20170701 ContainerService to an unversioned ContainerService\n\n```go\nfunc ConvertV20170831AgentPoolOnly(v20170831 *v20170831.ManagedCluster) *ContainerService\n```\nConvertV20170831AgentPoolOnly converts an AgentPoolOnly object into an in-memory container service\n\n```go\nfunc ConvertV20180331AgentPoolOnly(v20180331 *v20180331.ManagedCluster) *ContainerService\n```\nConvertV20180331AgentPoolOnly converts an AgentPoolOnly object into an in-memory container service\n\n```go\nfunc ConvertVLabsAgentPoolOnly(vlabs *vlabs.ManagedCluster) *ContainerService\n```\nConvertVLabsAgentPoolOnly converts a vlabs ContainerService to an unversioned ContainerService\n\n```go\nfunc ConvertVLabsContainerService(vlabs *vlabs.ContainerService, isUpdate bool) (*ContainerService, error)\n```\nConvertVLabsContainerService converts a vlabs ContainerService to an unversioned ContainerService\n\n```go\nfunc CreateMockContainerService(containerServiceName, orchestratorVersion string, masterCount, agentCount int, certs bool) *ContainerService\n```\nCreateMockContainerService returns a mock container service for testing purposes\n\n```go\nfunc (cs *ContainerService) GetAzureProdFQDN() string\n```\nGetAzureProdFQDN returns the formatted FQDN string for a given apimodel.\n\n```go\nfunc (cs *ContainerService) GetCloudSpecConfig() AzureEnvironmentSpecConfig\n```\nGetCloudSpecConfig returns the Kubernetes container images URL configurations based on the deploy target environment. for example: if the target is the public azure, then the default container image url should be k8s.gcr.io/... if the target is azure china, then the default container image should be mirror.azure.cn:5000/google\\_container/...\n\n```go\nfunc (cs *ContainerService) GetLocations() []string\n```\nGetLocations returns all supported regions. If AzureStackCloud, GetLocations provides the location of container service If AzurePublicCloud, AzureChinaCloud,AzureGermanCloud or AzureUSGovernmentCloud, GetLocations provides all azure regions in prod.\n\n```go\nfunc (cs *ContainerService) IsAKSBillingEnabled() bool\n```\nIsAKSBillingEnabled checks if the AKS Billing Extension should be enabled for a cloud environment.\n\n```go\nfunc (cs *ContainerService) SetCustomCloudProfileEnvironment() error\n```\nSetCustomCloudProfileEnvironment retrieves the endpoints from Azure Stack metadata endpoint and sets the values for azure.Environment\n\n```go\nfunc (cs *ContainerService) SetDefaultCerts() (bool, []net.IP, error)\n```\nSetDefaultCerts generates and sets defaults for the container certificateProfile, returns true if certs are generated\n\n```go\nfunc (cs *ContainerService) SetPlatformFaultDomainCount(count int)\n```\nSetPlatformFaultDomainCount sets the fault domain count value for all VMASes in a cluster.\n\n```go\nfunc (cs *ContainerService) SetPropertiesDefaults(isUpgrade, isScale bool) (bool, error)\n```\nSetPropertiesDefaults for the container Properties, returns true if certs are generated\n\n```go\ntype CustomCloudProfile struct {\n\tEnvironment                *azure.Environment          `json:\"environment,omitempty\"`\n\tAzureEnvironmentSpecConfig *AzureEnvironmentSpecConfig `json:\"azureEnvironmentSpecConfig,omitempty\"`\n\tIdentitySystem             string                      `json:\"identitySystem,omitempty\"`\n\tAuthenticationMethod       string                      `json:\"authenticationMethod,omitempty\"`\n\tDependenciesLocation       DependenciesLocation        `json:\"dependenciesLocation,omitempty\"`\n\tPortalURL                  string                      `json:\"portalURL,omitempty\"`\n}\n```\nCustomCloudProfile represents the custom cloud profile\n\n```go\ntype CustomFile struct {\n\tSource string `json:\"source,omitempty\"`\n\tDest   string `json:\"dest,omitempty\"`\n}\n```\nCustomFile has source as the full absolute source path to a file and dest is the full absolute desired destination path to put the file on a master node\n\n```go\ntype CustomNodesDNS struct {\n\tDNSServer string `json:\"dnsServer,omitempty\"`\n}\n```\nCustomNodesDNS represents the Search Domain when the custom vnet for a custom DNS as a nameserver.\n\n```go\ntype CustomProfile struct {\n\tOrchestrator string `json:\"orchestrator,omitempty\"`\n}\n```\nCustomProfile specifies custom properties that are used for cluster instantiation.  Should not be used by most users.\n\n```go\ntype CustomSearchDomain struct {\n\tName          string `json:\"name,omitempty\"`\n\tRealmUser     string `json:\"realmUser,omitempty\"`\n\tRealmPassword string `json:\"realmPassword,omitempty\"`\n}\n```\nCustomSearchDomain represents the Search Domain when the custom vnet has a windows server DNS as a nameserver.\n\n```go\ntype DCOSSpecConfig struct {\n\tDCOS188BootstrapDownloadURL     string\n\tDCOS190BootstrapDownloadURL     string\n\tDCOS198BootstrapDownloadURL     string\n\tDCOS110BootstrapDownloadURL     string\n\tDCOS111BootstrapDownloadURL     string\n\tDCOSWindowsBootstrapDownloadURL string\n\tDcosRepositoryURL               string // For custom install, for example CI, need these three addributes\n\tDcosClusterPackageListID        string // the id of the package list file\n\tDcosProviderPackageID           string // the id of the dcos-provider-xxx package\n}\n```\nDCOSSpecConfig is the configurations of DCOS\n\n```go\ntype DcosConfig struct {\n\tDcosBootstrapURL         string            `json:\"dcosBootstrapURL,omitempty\"`\n\tDcosWindowsBootstrapURL  string            `json:\"dcosWindowsBootstrapURL,omitempty\"`\n\tRegistry                 string            `json:\"registry,omitempty\"`\n\tRegistryUser             string            `json:\"registryUser,omitempty\"`\n\tRegistryPass             string            `json:\"registryPassword,omitempty\"`\n\tDcosRepositoryURL        string            `json:\"dcosRepositoryURL,omitempty\"`        // For CI use, you need to specify\n\tDcosClusterPackageListID string            `json:\"dcosClusterPackageListID,omitempty\"` // all three of these items\n\tDcosProviderPackageID    string            `json:\"dcosProviderPackageID,omitempty\"`    // repo url is the location of the build,\n\tBootstrapProfile         *BootstrapProfile `json:\"bootstrapProfile,omitempty\"`\n}\n```\nDcosConfig Configuration for DC/OS\n\n```go\nfunc (d *DcosConfig) HasBootstrap() bool\n```\nHasBootstrap returns if a bootstrap profile is specified\n\n```go\nfunc (d *DcosConfig) HasPrivateRegistry() bool\n```\nHasPrivateRegistry returns if a private registry is specified\n\n```go\ntype DependenciesLocation string\n```\nDependenciesLocation represents location to retrieve the dependencies.\n\n```go\ntype DiagnosticsProfile struct {\n\tVMDiagnostics *VMDiagnostics `json:\"vmDiagnostics\"`\n}\n```\nDiagnosticsProfile setting to enable/disable capturing diagnostics for VMs hosting container cluster.\n\n```go\ntype Distro string\n```\nDistro represents Linux distro to use for Linux VMs\n\n```go\nconst (\n\tUbuntu            Distro = \"ubuntu\"\n\tUbuntu1804        Distro = \"ubuntu-18.04\"\n\tRHEL              Distro = \"rhel\"\n\tCoreOS            Distro = \"coreos\"\n\tAKS1604Deprecated Distro = \"aks\"               // deprecated AKS 16.04 distro. Equivalent to aks-ubuntu-16.04.\n\tAKS1804Deprecated Distro = \"aks-1804\"          // deprecated AKS 18.04 distro. Equivalent to aks-ubuntu-18.04.\n\tAKSDockerEngine   Distro = \"aks-docker-engine\" // deprecated docker-engine distro.\n\tAKSUbuntu1604     Distro = \"aks-ubuntu-16.04\"\n\tAKSUbuntu1804     Distro = \"aks-ubuntu-18.04\"\n\tACC1604           Distro = \"acc-16.04\"\n)\n```\nDistro string consts\n\n```go\ntype DockerSpecConfig struct {\n\tDockerEngineRepo         string `json:\"dockerEngineRepo,omitempty\"`\n\tDockerComposeDownloadURL string `json:\"dockerComposeDownloadURL,omitempty\"`\n}\n```\nDockerSpecConfig is the configurations of docker\n\n```go\ntype Extension struct {\n\tName        string `json:\"name\"`\n\tSingleOrAll string `json:\"singleOrAll\"`\n\tTemplate    string `json:\"template\"`\n}\n```\nExtension represents an extension definition in the master or agentPoolProfile\n\n```go\ntype ExtensionProfile struct {\n\tName                           string             `json:\"name\"`\n\tVersion                        string             `json:\"version\"`\n\tExtensionParameters            string             `json:\"extensionParameters,omitempty\"`\n\tExtensionParametersKeyVaultRef *KeyvaultSecretRef `json:\"parametersKeyvaultSecretRef,omitempty\"`\n\tRootURL                        string             `json:\"rootURL,omitempty\"`\n\t// This is only needed for preprovision extensions and it needs to be a bash script\n\tScript   string `json:\"script,omitempty\"`\n\tURLQuery string `json:\"urlQuery,omitempty\"`\n}\n```\nExtensionProfile represents an extension definition\n\n```go\ntype FeatureFlags struct {\n\tEnableCSERunInBackground bool `json:\"enableCSERunInBackground,omitempty\"`\n\tBlockOutboundInternet    bool `json:\"blockOutboundInternet,omitempty\"`\n\tEnableIPv6DualStack      bool `json:\"enableIPv6DualStack,omitempty\"`\n}\n```\nFeatureFlags defines feature-flag restricted functionality\n\n```go\nfunc (f *FeatureFlags) IsFeatureEnabled(feature string) bool\n```\nIsFeatureEnabled returns true if a feature flag is on for the provided feature\n\n```go\ntype HostedMasterProfile struct {\n\t// Master public endpoint/FQDN with port\n\t// The format will be FQDN:2376\n\t// Not used during PUT, returned as part of GETFQDN\n\tFQDN      string `json:\"fqdn,omitempty\"`\n\tDNSPrefix string `json:\"dnsPrefix\"`\n\t// Subnet holds the CIDR which defines the Azure Subnet in which\n\t// Agents will be provisioned. This is stored on the HostedMasterProfile\n\t// and will become `masterSubnet` in the compiled template.\n\tSubnet string `json:\"subnet\"`\n\t// ApiServerWhiteListRange is a comma delimited CIDR which is whitelisted to AKS\n\tAPIServerWhiteListRange *string `json:\"apiServerWhiteListRange\"`\n\tIPMasqAgent             bool    `json:\"ipMasqAgent\"`\n}\n```\nHostedMasterProfile defines properties for a hosted master\n\n```go\ntype ImageReference struct {\n\tName           string `json:\"name,omitempty\"`\n\tResourceGroup  string `json:\"resourceGroup,omitempty\"`\n\tSubscriptionID string `json:\"subscriptionId,omitempty\"`\n\tGallery        string `json:\"gallery,omitempty\"`\n\tVersion        string `json:\"version,omitempty\"`\n}\n```\nImageReference represents a reference to an Image resource in Azure.\n\n```go\ntype JumpboxProfile struct {\n\tOSType    OSType `json:\"osType\"`\n\tDNSPrefix string `json:\"dnsPrefix\"`\n\n\t// Jumpbox public endpoint/FQDN with port\n\t// The format will be FQDN:2376\n\t// Not used during PUT, returned as part of GET\n\tFQDN string `json:\"fqdn,omitempty\"`\n}\n```\nJumpboxProfile describes properties of the jumpbox setup in the AKS container cluster.\n\n```go\ntype KeyVaultCertificate struct {\n\tCertificateURL   string `json:\"certificateUrl,omitempty\"`\n\tCertificateStore string `json:\"certificateStore,omitempty\"`\n}\n```\nKeyVaultCertificate specifies a certificate to install On Linux, the certificate file is placed under the /var/lib/waagent directory with the file name \\\u003cUppercaseThumbprint\u003e.crt for the X509 certificate file and \\\u003cUppercaseThumbprint\u003e.prv for the private key. Both of these files are .pem formatted. On windows the certificate will be saved in the specified store.\n\n```go\ntype KeyVaultID struct {\n\tID string `json:\"id,omitempty\"`\n}\n```\nKeyVaultID specifies a key vault\n\n```go\ntype KeyVaultSecrets struct {\n\tSourceVault       *KeyVaultID           `json:\"sourceVault,omitempty\"`\n\tVaultCertificates []KeyVaultCertificate `json:\"vaultCertificates,omitempty\"`\n}\n```\nKeyVaultSecrets specifies certificates to install on the pool of machines from a given key vault the key vault specified must have been granted read permissions to CRP\n\n```go\ntype KeyvaultSecretRef struct {\n\tVaultID       string `json:\"vaultID\"`\n\tSecretName    string `json:\"secretName\"`\n\tSecretVersion string `json:\"version,omitempty\"`\n}\n```\nKeyvaultSecretRef specifies path to the Azure keyvault along with secret name and (optionaly) version for Service Principal's secret\n\n```go\ntype KubeProxyMode string\n```\nKubeProxyMode is for iptables and ipvs (and future others)\n\n```go\nconst (\n\t// KubeProxyModeIPTables is used to set the kube-proxy to iptables mode\n\tKubeProxyModeIPTables KubeProxyMode = \"iptables\"\n\t// KubeProxyModeIPVS is used to set the kube-proxy to ipvs mode\n\tKubeProxyModeIPVS KubeProxyMode = \"ipvs\"\n)\n```\nWe currently support ipvs and iptables\n\n```go\ntype KubernetesAddon struct {\n\tName       string                    `json:\"name,omitempty\"`\n\tEnabled    *bool                     `json:\"enabled,omitempty\"`\n\tContainers []KubernetesContainerSpec `json:\"containers,omitempty\"`\n\tConfig     map[string]string         `json:\"config,omitempty\"`\n\tData       string                    `json:\"data,omitempty\"`\n}\n```\nKubernetesAddon defines a list of addons w/ configuration to include with the cluster deployment\n\n```go\nfunc (a KubernetesAddon) GetAddonContainersIndexByName(containerName string) int\n```\nGetAddonContainersIndexByName returns the KubernetesAddon containers index with the name \\`containerName\\`\n\n```go\nfunc (a *KubernetesAddon) IsEnabled() bool\n```\nIsEnabled returns true if the addon is enabled\n\n```go\ntype KubernetesConfig struct {\n\tKubernetesImageBase              string            `json:\"kubernetesImageBase,omitempty\"`\n\tClusterSubnet                    string            `json:\"clusterSubnet,omitempty\"`\n\tNetworkPolicy                    string            `json:\"networkPolicy,omitempty\"`\n\tNetworkPlugin                    string            `json:\"networkPlugin,omitempty\"`\n\tContainerRuntime                 string            `json:\"containerRuntime,omitempty\"`\n\tMaxPods                          int               `json:\"maxPods,omitempty\"`\n\tDockerBridgeSubnet               string            `json:\"dockerBridgeSubnet,omitempty\"`\n\tDNSServiceIP                     string            `json:\"dnsServiceIP,omitempty\"`\n\tServiceCIDR                      string            `json:\"serviceCidr,omitempty\"`\n\tUseManagedIdentity               bool              `json:\"useManagedIdentity,omitempty\"`\n\tUserAssignedID                   string            `json:\"userAssignedID,omitempty\"`\n\tUserAssignedClientID             string            `json:\"userAssignedClientID,omitempty\"` //Note: cannot be provided in config. Used *only* for transferring this to azure.json.\n\tCustomHyperkubeImage             string            `json:\"customHyperkubeImage,omitempty\"`\n\tDockerEngineVersion              string            `json:\"dockerEngineVersion,omitempty\"` // Deprecated\n\tMobyVersion                      string            `json:\"mobyVersion,omitempty\"`\n\tContainerdVersion                string            `json:\"containerdVersion,omitempty\"`\n\tCustomCcmImage                   string            `json:\"customCcmImage,omitempty\"` // Image for cloud-controller-manager\n\tUseCloudControllerManager        *bool             `json:\"useCloudControllerManager,omitempty\"`\n\tCustomWindowsPackageURL          string            `json:\"customWindowsPackageURL,omitempty\"`\n\tWindowsNodeBinariesURL           string            `json:\"windowsNodeBinariesURL,omitempty\"`\n\tUseInstanceMetadata              *bool             `json:\"useInstanceMetadata,omitempty\"`\n\tEnableRbac                       *bool             `json:\"enableRbac,omitempty\"`\n\tEnableSecureKubelet              *bool             `json:\"enableSecureKubelet,omitempty\"`\n\tEnableAggregatedAPIs             bool              `json:\"enableAggregatedAPIs,omitempty\"`\n\tPrivateCluster                   *PrivateCluster   `json:\"privateCluster,omitempty\"`\n\tGCHighThreshold                  int               `json:\"gchighthreshold,omitempty\"`\n\tGCLowThreshold                   int               `json:\"gclowthreshold,omitempty\"`\n\tEtcdVersion                      string            `json:\"etcdVersion,omitempty\"`\n\tEtcdDiskSizeGB                   string            `json:\"etcdDiskSizeGB,omitempty\"`\n\tEtcdEncryptionKey                string            `json:\"etcdEncryptionKey,omitempty\"`\n\tEnableDataEncryptionAtRest       *bool             `json:\"enableDataEncryptionAtRest,omitempty\"`\n\tEnableEncryptionWithExternalKms  *bool             `json:\"enableEncryptionWithExternalKms,omitempty\"`\n\tEnablePodSecurityPolicy          *bool             `json:\"enablePodSecurityPolicy,omitempty\"`\n\tAddons                           []KubernetesAddon `json:\"addons,omitempty\"`\n\tKubeletConfig                    map[string]string `json:\"kubeletConfig,omitempty\"`\n\tControllerManagerConfig          map[string]string `json:\"controllerManagerConfig,omitempty\"`\n\tCloudControllerManagerConfig     map[string]string `json:\"cloudControllerManagerConfig,omitempty\"`\n\tAPIServerConfig                  map[string]string `json:\"apiServerConfig,omitempty\"`\n\tSchedulerConfig                  map[string]string `json:\"schedulerConfig,omitempty\"`\n\tPodSecurityPolicyConfig          map[string]string `json:\"podSecurityPolicyConfig,omitempty\"` // Deprecated\n\tCloudProviderBackoff             *bool             `json:\"cloudProviderBackoff,omitempty\"`\n\tCloudProviderBackoffRetries      int               `json:\"cloudProviderBackoffRetries,omitempty\"`\n\tCloudProviderBackoffJitter       float64           `json:\"cloudProviderBackoffJitter,omitempty\"`\n\tCloudProviderBackoffDuration     int               `json:\"cloudProviderBackoffDuration,omitempty\"`\n\tCloudProviderBackoffExponent     float64           `json:\"cloudProviderBackoffExponent,omitempty\"`\n\tCloudProviderRateLimit           *bool             `json:\"cloudProviderRateLimit,omitempty\"`\n\tCloudProviderRateLimitQPS        float64           `json:\"cloudProviderRateLimitQPS,omitempty\"`\n\tCloudProviderRateLimitBucket     int               `json:\"cloudProviderRateLimitBucket,omitempty\"`\n\tNonMasqueradeCidr                string            `json:\"nonMasqueradeCidr,omitempty\"`\n\tNodeStatusUpdateFrequency        string            `json:\"nodeStatusUpdateFrequency,omitempty\"`\n\tHardEvictionThreshold            string            `json:\"hardEvictionThreshold,omitempty\"`\n\tCtrlMgrNodeMonitorGracePeriod    string            `json:\"ctrlMgrNodeMonitorGracePeriod,omitempty\"`\n\tCtrlMgrPodEvictionTimeout        string            `json:\"ctrlMgrPodEvictionTimeout,omitempty\"`\n\tCtrlMgrRouteReconciliationPeriod string            `json:\"ctrlMgrRouteReconciliationPeriod,omitempty\"`\n\tLoadBalancerSku                  string            `json:\"loadBalancerSku,omitempty\"`\n\tExcludeMasterFromStandardLB      *bool             `json:\"excludeMasterFromStandardLB,omitempty\"`\n\tAzureCNIVersion                  string            `json:\"azureCNIVersion,omitempty\"`\n\tAzureCNIURLLinux                 string            `json:\"azureCNIURLLinux,omitempty\"`\n\tAzureCNIURLWindows               string            `json:\"azureCNIURLWindows,omitempty\"`\n\tKeyVaultSku                      string            `json:\"keyVaultSku,omitempty\"`\n\tMaximumLoadBalancerRuleCount     int               `json:\"maximumLoadBalancerRuleCount,omitempty\"`\n\tProxyMode                        KubeProxyMode     `json:\"kubeProxyMode,omitempty\"`\n\tPrivateAzureRegistryServer       string            `json:\"privateAzureRegistryServer,omitempty\"`\n}\n```\nKubernetesConfig contains the Kubernetes config structure, containing Kubernetes specific configuration\n\n```go\nfunc (k *KubernetesConfig) GetAddonByName(addonName string) KubernetesAddon\n```\nGetAddonByName returns the KubernetesAddon instance with name \\`addonName\\`\n\n```go\nfunc (k *KubernetesConfig) GetAddonScript(addonName string) string\n```\nGetAddonScript retrieves the raw script data specified as input for the k8s addon with name \"addonName\".\n\n```go\nfunc (k *KubernetesConfig) GetAzureCNIURLLinux(cloudSpecConfig AzureEnvironmentSpecConfig) string\n```\nGetAzureCNIURLLinux returns the full URL to source Azure CNI binaries from\n\n```go\nfunc (k *KubernetesConfig) GetAzureCNIURLWindows(cloudSpecConfig AzureEnvironmentSpecConfig) string\n```\nGetAzureCNIURLWindows returns the full URL to source Azure CNI binaries from\n\n```go\nfunc (k *KubernetesConfig) GetOrderedKubeletConfigString() string\n```\nGetOrderedKubeletConfigString returns an ordered string of key/val pairs\n\n```go\nfunc (k *KubernetesConfig) GetOrderedKubeletConfigStringForPowershell() string\n```\nGetOrderedKubeletConfigStringForPowershell returns an ordered string of key/val pairs for Powershell script consumption\n\n```go\nfunc (k *KubernetesConfig) GetUserAssignedClientID() string\n```\nGetUserAssignedClientID returns the user assigned client ID if it is enabled.\n\n```go\nfunc (k *KubernetesConfig) GetUserAssignedID() string\n```\nGetUserAssignedID returns the user assigned ID if it is enabled.\n\n```go\nfunc (k *KubernetesConfig) IsAADPodIdentityEnabled() bool\n```\nIsAADPodIdentityEnabled checks if the AAD pod identity addon is enabled\n\n```go\nfunc (k *KubernetesConfig) IsAddonEnabled(addonName string) bool\n```\nIsAddonEnabled checks whether a k8s addon with name \"addonName\" is enabled or not based on the Enabled field of KubernetesAddon. If the value of Enabled is nil, the \"defaultValue\" is returned.\n\n```go\nfunc (k *KubernetesConfig) IsAppGWIngressEnabled() bool\n```\nIsAppGWIngressEnabled checks if the appgw ingress addon is enabled\n\n```go\nfunc (k *KubernetesConfig) IsClusterAutoscalerEnabled() bool\n```\nIsClusterAutoscalerEnabled checks if the cluster autoscaler addon is enabled\n\n```go\nfunc (k *KubernetesConfig) IsIPMasqAgentEnabled() bool\n```\nIsIPMasqAgentEnabled checks if the ip-masq-agent addon is enabled\n\n```go\nfunc (k *KubernetesConfig) IsRBACEnabled() bool\n```\nIsRBACEnabled checks if RBAC is enabled\n\n```go\nfunc (k *KubernetesConfig) IsReschedulerEnabled() bool\n```\nIsReschedulerEnabled checks if the rescheduler addon is enabled\n\n```go\nfunc (k *KubernetesConfig) PrivateJumpboxProvision() bool\n```\nPrivateJumpboxProvision checks if a private cluster has jumpbox auto-provisioning\n\n```go\nfunc (k *KubernetesConfig) RequiresDocker() bool\n```\nRequiresDocker returns if the kubernetes settings require docker binary to be installed.\n\n```go\nfunc (k *KubernetesConfig) SetCloudProviderBackoffDefaults()\n```\nSetCloudProviderBackoffDefaults sets default cloudprovider backoff config\n\n```go\nfunc (k *KubernetesConfig) SetCloudProviderRateLimitDefaults()\n```\nSetCloudProviderRateLimitDefaults sets default cloudprovider rate limiter config\n\n```go\nfunc (k *KubernetesConfig) UserAssignedClientIDEnabled() bool\n```\nUserAssignedClientIDEnabled checks if the user assigned client ID is enabled or not.\n\n```go\nfunc (k *KubernetesConfig) UserAssignedIDEnabled() bool\n```\nUserAssignedIDEnabled checks if the user assigned ID is enabled or not.\n\n```go\ntype KubernetesConfigDeprecated struct {\n\tNonMasqueradeCidr                string `json:\"nonMasqueradeCidr,omitempty\"`\n\tNodeStatusUpdateFrequency        string `json:\"nodeStatusUpdateFrequency,omitempty\"`\n\tHardEvictionThreshold            string `json:\"hardEvictionThreshold,omitempty\"`\n\tCtrlMgrNodeMonitorGracePeriod    string `json:\"ctrlMgrNodeMonitorGracePeriod,omitempty\"`\n\tCtrlMgrPodEvictionTimeout        string `json:\"ctrlMgrPodEvictionTimeout,omitempty\"`\n\tCtrlMgrRouteReconciliationPeriod string `json:\"ctrlMgrRouteReconciliationPeriod,omitempty\"`\n}\n```\nKubernetesConfigDeprecated are properties that are no longer operable and will be ignored TODO use this when strict JSON checking accommodates struct embedding\n\n```go\ntype KubernetesContainerSpec struct {\n\tName           string `json:\"name,omitempty\"`\n\tImage          string `json:\"image,omitempty\"`\n\tCPURequests    string `json:\"cpuRequests,omitempty\"`\n\tMemoryRequests string `json:\"memoryRequests,omitempty\"`\n\tCPULimits      string `json:\"cpuLimits,omitempty\"`\n\tMemoryLimits   string `json:\"memoryLimits,omitempty\"`\n}\n```\nKubernetesContainerSpec defines configuration for a container spec\n\n```go\ntype KubernetesSpecConfig struct {\n\tKubernetesImageBase              string `json:\"kubernetesImageBase,omitempty\"`\n\tTillerImageBase                  string `json:\"tillerImageBase,omitempty\"`\n\tACIConnectorImageBase            string `json:\"aciConnectorImageBase,omitempty\"`\n\tNVIDIAImageBase                  string `json:\"nvidiaImageBase,omitempty\"`\n\tAzureCNIImageBase                string `json:\"azureCNIImageBase,omitempty\"`\n\tCalicoImageBase                  string `json:\"CalicoImageBase,omitempty\"`\n\tEtcdDownloadURLBase              string `json:\"etcdDownloadURLBase,omitempty\"`\n\tKubeBinariesSASURLBase           string `json:\"kubeBinariesSASURLBase,omitempty\"`\n\tWindowsTelemetryGUID             string `json:\"windowsTelemetryGUID,omitempty\"`\n\tCNIPluginsDownloadURL            string `json:\"cniPluginsDownloadURL,omitempty\"`\n\tVnetCNILinuxPluginsDownloadURL   string `json:\"vnetCNILinuxPluginsDownloadURL,omitempty\"`\n\tVnetCNIWindowsPluginsDownloadURL string `json:\"vnetCNIWindowsPluginsDownloadURL,omitempty\"`\n\tContainerdDownloadURLBase        string `json:\"containerdDownloadURLBase,omitempty\"`\n}\n```\nKubernetesSpecConfig is the kubernetes container images used.\n\n```go\ntype LinuxProfile struct {\n\tAdminUsername string `json:\"adminUsername\"`\n\tSSH           struct {\n\t\tPublicKeys []PublicKey `json:\"publicKeys\"`\n\t} `json:\"ssh\"`\n\tSecrets               []KeyVaultSecrets   `json:\"secrets,omitempty\"`\n\tDistro                Distro              `json:\"distro,omitempty\"`\n\tScriptRootURL         string              `json:\"scriptroot,omitempty\"`\n\tCustomSearchDomain    *CustomSearchDomain `json:\"customSearchDomain,omitempty\"`\n\tCustomNodesDNS        *CustomNodesDNS     `json:\"CustomNodesDNS,omitempty\"`\n\tIsSSHKeyAutoGenerated *bool               `json:\"isSSHKeyAutoGenerated,omitempty\"`\n}\n```\nLinuxProfile represents the linux parameters passed to the cluster\n\n```go\nfunc (l *LinuxProfile) HasCustomNodesDNS() bool\n```\nHasCustomNodesDNS returns true if the customer specified a dns server\n\n```go\nfunc (l *LinuxProfile) HasSearchDomain() bool\n```\nHasSearchDomain returns true if the customer specified secrets to install\n\n```go\nfunc (l *LinuxProfile) HasSecrets() bool\n```\nHasSecrets returns true if the customer specified secrets to install\n\n```go\ntype MasterProfile struct {\n\tCount                    int               `json:\"count\"`\n\tDNSPrefix                string            `json:\"dnsPrefix\"`\n\tSubjectAltNames          []string          `json:\"subjectAltNames\"`\n\tVMSize                   string            `json:\"vmSize\"`\n\tOSDiskSizeGB             int               `json:\"osDiskSizeGB,omitempty\"`\n\tVnetSubnetID             string            `json:\"vnetSubnetID,omitempty\"`\n\tVnetCidr                 string            `json:\"vnetCidr,omitempty\"`\n\tAgentVnetSubnetID        string            `json:\"agentVnetSubnetID,omitempty\"`\n\tFirstConsecutiveStaticIP string            `json:\"firstConsecutiveStaticIP,omitempty\"`\n\tSubnet                   string            `json:\"subnet\"`\n\tSubnetIPv6               string            `json:\"subnetIPv6\"`\n\tIPAddressCount           int               `json:\"ipAddressCount,omitempty\"`\n\tStorageProfile           string            `json:\"storageProfile,omitempty\"`\n\tHTTPSourceAddressPrefix  string            `json:\"HTTPSourceAddressPrefix,omitempty\"`\n\tOAuthEnabled             bool              `json:\"oauthEnabled\"`\n\tPreprovisionExtension    *Extension        `json:\"preProvisionExtension\"`\n\tExtensions               []Extension       `json:\"extensions\"`\n\tDistro                   Distro            `json:\"distro,omitempty\"`\n\tKubernetesConfig         *KubernetesConfig `json:\"kubernetesConfig,omitempty\"`\n\tImageRef                 *ImageReference   `json:\"imageReference,omitempty\"`\n\tCustomFiles              *[]CustomFile     `json:\"customFiles,omitempty\"`\n\tAvailabilityProfile      string            `json:\"availabilityProfile\"`\n\tPlatformFaultDomainCount *int              `json:\"platformFaultDomainCount\"`\n\tAgentSubnet              string            `json:\"agentSubnet,omitempty\"`\n\tAvailabilityZones        []string          `json:\"availabilityZones,omitempty\"`\n\tSinglePlacementGroup     *bool             `json:\"singlePlacementGroup,omitempty\"`\n\tAuditDEnabled            *bool             `json:\"auditDEnabled,omitempty\"`\n\tCustomVMTags             map[string]string `json:\"customVMTags,omitempty\"`\n\t// Master LB public endpoint/FQDN with port\n\t// The format will be FQDN:2376\n\t// Not used during PUT, returned as part of GET\n\tFQDN string `json:\"fqdn,omitempty\"`\n\t// True: uses cosmos etcd endpoint instead of installing etcd on masters\n\tCosmosEtcd *bool `json:\"cosmosEtcd,omitempty\"`\n}\n```\nMasterProfile represents the definition of the master cluster\n\n```go\nfunc (m *MasterProfile) GetCosmosEndPointURI() string\n```\nGetCosmosEndPointURI returns the URI string for the cosmos etcd endpoint\n\n```go\nfunc (m *MasterProfile) GetFirstConsecutiveStaticIPAddress(subnetStr string) string\n```\nGetFirstConsecutiveStaticIPAddress returns the first static IP address of the given subnet.\n\n```go\nfunc (m *MasterProfile) HasAvailabilityZones() bool\n```\nHasAvailabilityZones returns true if the master profile has availability zones\n\n```go\nfunc (m *MasterProfile) HasCosmosEtcd() bool\n```\nHasCosmosEtcd returns true if cosmos etcd configuration is enabled\n\n```go\nfunc (m *MasterProfile) HasImageGallery() bool\n```\nHasImageGallery returns true if the customer brought os image from Shared Image Gallery\n\n```go\nfunc (m *MasterProfile) HasImageRef() bool\n```\nHasImageRef returns true if the customer brought os image\n\n```go\nfunc (m *MasterProfile) HasMultipleNodes() bool\n```\nHasMultipleNodes returns true if there are more than one master nodes\n\n```go\nfunc (m *MasterProfile) IsCoreOS() bool\n```\nIsCoreOS returns true if the master specified a CoreOS distro\n\n```go\nfunc (m *MasterProfile) IsCustomVNET() bool\n```\nIsCustomVNET returns true if the customer brought their own VNET\n\n```go\nfunc (m *MasterProfile) IsManagedDisks() bool\n```\nIsManagedDisks returns true if the master specified managed disks\n\n```go\nfunc (m *MasterProfile) IsRHEL() bool\n```\nIsRHEL returns true if the master specified a RHEL distro\n\n```go\nfunc (m *MasterProfile) IsStorageAccount() bool\n```\nIsStorageAccount returns true if the master specified storage account\n\n```go\nfunc (m *MasterProfile) IsUbuntu() bool\n```\nIsUbuntu returns true if the master profile distro is any ubuntu distro\n\n```go\nfunc (m *MasterProfile) IsUbuntu1604() bool\n```\nIsUbuntu1604 returns true if the master profile distro is based on Ubuntu 16.04\n\n```go\nfunc (m *MasterProfile) IsUbuntu1804() bool\n```\nIsUbuntu1804 returns true if the master profile distro is based on Ubuntu 18.04\n\n```go\nfunc (m *MasterProfile) IsUbuntuNonVHD() bool\n```\nIsUbuntuNonVHD returns true if the distro uses a base Ubuntu image\n\n```go\nfunc (m *MasterProfile) IsVHDDistro() bool\n```\nIsVHDDistro returns true if the distro uses VHD SKUs\n\n```go\nfunc (m *MasterProfile) IsVirtualMachineScaleSets() bool\n```\nIsVirtualMachineScaleSets returns true if the master availability profile is VMSS\n\n```go\ntype OSType string\n```\nOSType represents OS types of agents\n\n```go\nconst (\n\tWindows OSType = \"Windows\"\n\tLinux   OSType = \"Linux\"\n)\n```\nthe OSTypes supported by vlabs\n\n```go\ntype OrchestratorProfile struct {\n\tOrchestratorType    string            `json:\"orchestratorType\"`\n\tOrchestratorVersion string            `json:\"orchestratorVersion\"`\n\tKubernetesConfig    *KubernetesConfig `json:\"kubernetesConfig,omitempty\"`\n\tDcosConfig          *DcosConfig       `json:\"dcosConfig,omitempty\"`\n}\n```\nOrchestratorProfile contains Orchestrator properties\n\n```go\nfunc (o *OrchestratorProfile) GetAPIServerEtcdAPIVersion() string\n```\nGetAPIServerEtcdAPIVersion Used to set apiserver's etcdapi version\n\n```go\nfunc (o *OrchestratorProfile) IsAzureCNI() bool\n```\nIsAzureCNI returns true if Azure CNI network plugin is enabled\n\n```go\nfunc (o *OrchestratorProfile) IsDCOS() bool\n```\nIsDCOS returns true if this template is for DCOS orchestrator\n\n```go\nfunc (o *OrchestratorProfile) IsDCOS19() bool\n```\nIsDCOS19 returns true if this is a DCOS 1.9 orchestrator using the latest version\n\n```go\nfunc (o *OrchestratorProfile) IsKubernetes() bool\n```\nIsKubernetes returns true if this template is for Kubernetes orchestrator\n\n```go\nfunc (o *OrchestratorProfile) IsPrivateCluster() bool\n```\nIsPrivateCluster returns true if this deployment is a private cluster\n\n```go\nfunc (o *OrchestratorProfile) IsSwarmMode() bool\n```\nIsSwarmMode returns true if this template is for Swarm Mode orchestrator\n\n```go\nfunc (o *OrchestratorProfile) NeedsExecHealthz() bool\n```\nNeedsExecHealthz returns whether or not we have a configuration that requires exechealthz pod anywhere\n\n```go\nfunc (o *OrchestratorProfile) RequireRouteTable() bool\n```\nRequireRouteTable returns true if this deployment requires routing table\n\n```go\ntype OrchestratorVersionProfile struct {\n\t// Orchestrator type and version\n\tOrchestratorProfile\n\t// Whether this orchestrator version is deployed by default if orchestrator release is not specified\n\tDefault bool `json:\"default,omitempty\"`\n\t// List of available upgrades for this orchestrator version\n\tUpgrades []*OrchestratorProfile `json:\"upgrades,omitempty\"`\n}\n```\nOrchestratorVersionProfile contains information of a supported orchestrator version:\n\n```go\nfunc GetOrchestratorVersionProfile(orch *OrchestratorProfile, hasWindows bool) (*OrchestratorVersionProfile, error)\n```\nGetOrchestratorVersionProfile returns orchestrator info for upgradable container service\n\n```go\nfunc GetOrchestratorVersionProfileList(orchestrator, version string, windows bool) ([]*OrchestratorVersionProfile, error)\n```\nGetOrchestratorVersionProfileList returns a list of unversioned OrchestratorVersionProfile objects per (optionally) specified orchestrator and version\n\n```go\ntype PrivateCluster struct {\n\tEnabled        *bool                  `json:\"enabled,omitempty\"`\n\tJumpboxProfile *PrivateJumpboxProfile `json:\"jumpboxProfile,omitempty\"`\n}\n```\nPrivateCluster defines the configuration for a private cluster\n\n```go\ntype PrivateJumpboxProfile struct {\n\tName           string `json:\"name\" validate:\"required\"`\n\tVMSize         string `json:\"vmSize\" validate:\"required\"`\n\tOSDiskSizeGB   int    `json:\"osDiskSizeGB,omitempty\" validate:\"min=0,max=1023\"`\n\tUsername       string `json:\"username,omitempty\"`\n\tPublicKey      string `json:\"publicKey\" validate:\"required\"`\n\tStorageProfile string `json:\"storageProfile,omitempty\"`\n}\n```\nPrivateJumpboxProfile represents a jumpbox definition\n\n```go\ntype Properties struct {\n\tClusterID               string\n\tProvisioningState       ProvisioningState        `json:\"provisioningState,omitempty\"`\n\tOrchestratorProfile     *OrchestratorProfile     `json:\"orchestratorProfile,omitempty\"`\n\tMasterProfile           *MasterProfile           `json:\"masterProfile,omitempty\"`\n\tAgentPoolProfiles       []*AgentPoolProfile      `json:\"agentPoolProfiles,omitempty\"`\n\tLinuxProfile            *LinuxProfile            `json:\"linuxProfile,omitempty\"`\n\tWindowsProfile          *WindowsProfile          `json:\"windowsProfile,omitempty\"`\n\tExtensionProfiles       []*ExtensionProfile      `json:\"extensionProfiles\"`\n\tDiagnosticsProfile      *DiagnosticsProfile      `json:\"diagnosticsProfile,omitempty\"`\n\tJumpboxProfile          *JumpboxProfile          `json:\"jumpboxProfile,omitempty\"`\n\tServicePrincipalProfile *ServicePrincipalProfile `json:\"servicePrincipalProfile,omitempty\"`\n\tCertificateProfile      *CertificateProfile      `json:\"certificateProfile,omitempty\"`\n\tAADProfile              *AADProfile              `json:\"aadProfile,omitempty\"`\n\tCustomProfile           *CustomProfile           `json:\"customProfile,omitempty\"`\n\tHostedMasterProfile     *HostedMasterProfile     `json:\"hostedMasterProfile,omitempty\"`\n\tAddonProfiles           map[string]AddonProfile  `json:\"addonProfiles,omitempty\"`\n\tFeatureFlags            *FeatureFlags            `json:\"featureFlags,omitempty\"`\n\tCustomCloudProfile      *CustomCloudProfile      `json:\"customCloudProfile,omitempty\"`\n}\n```\nProperties represents the AKS cluster definition\n\n```go\nfunc GetK8sDefaultProperties(hasWindows bool) *Properties\n```\nGetK8sDefaultProperties returns a struct of type api.Properties for testing purposes.\n\n```go\nfunc GetMockPropertiesWithCustomCloudProfile(name string, hasCustomCloudProfile, hasEnvironment, hasAzureEnvironmentSpecConfig bool) Properties\n```\nGetMockPropertiesWithCustomCloudProfile returns a Properties object w/ mock CustomCloudProfile data\n\n```go\nfunc (p *Properties) AnyAgentIsLinux() bool\n```\nAnyAgentIsLinux checks whether any of the agents in the AgentPools are linux\n\n```go\nfunc (p *Properties) AnyAgentUsesAvailabilitySets() bool\n```\nAnyAgentUsesAvailabilitySets checks whether any of the agents in the AgentPool use VMAS or not\n\n```go\nfunc (p *Properties) AnyAgentUsesVirtualMachineScaleSets() bool\n```\nAnyAgentUsesVirtualMachineScaleSets checks whether any of the agents in the AgentPool use VMSS or not\n\n```go\nfunc (p *Properties) AreAgentProfilesCustomVNET() bool\n```\nAreAgentProfilesCustomVNET returns true if all of the agent profiles in the clusters are configured with VNET.\n\n```go\nfunc (p *Properties) GetAgentPoolIndexByName(name string) int\n```\nGetAgentPoolIndexByName returns the index of the provided agentpool.\n\n```go\nfunc (p *Properties) GetAgentVMPrefix(a *AgentPoolProfile, index int) string\n```\nGetAgentVMPrefix returns the VM prefix for an agentpool.\n\n```go\nfunc (p *Properties) GetAzureCNICidr() string\n```\nGetAzureCNICidr returns the default CNI Cidr if Azure CNI is enabled.\n\n```go\nfunc (p *Properties) GetClusterID() string\n```\nGetClusterID creates a unique 8 string cluster ID.\n\n```go\nfunc (p *Properties) GetClusterMetadata() *ClusterMetadata\n```\nGetClusterMetadata returns a instance of the struct type api.ClusterMetadata.\n\n```go\nfunc (p *Properties) GetCustomCloudAuthenticationMethod() string\n```\nGetCustomCloudAuthenticationMethod returns authentication method which k8s azure cloud provider will use For AzurePublicCloud,AzureChinaCloud,azureGermanCloud,AzureUSGovernmentCloud, it will be always be client\\_secret For AzureStackCloud, if it is specified in configuration, the value will be used, if not ,the default value is client\\_secret.\n\n```go\nfunc (p *Properties) GetCustomCloudIdentitySystem() string\n```\nGetCustomCloudIdentitySystem returns identity system method for azure stack. For AzurePublicCloud,AzureChinaCloud,azureGermanCloud,AzureUSGovernmentCloud, it will be always be AzureAD For AzureStackCloud, if it is specified in configuration, the value will be used, if not ,the default value is AzureAD.\n\n```go\nfunc (p *Properties) GetCustomCloudName() string\n```\nGetCustomCloudName returns name of environment if customCloudProfile is provided, returns empty string if customCloudProfile is empty. Because customCloudProfile is empty for deployment is AzurePublicCloud, AzureChinaCloud,AzureGermanCloud,AzureUSGovernmentCloud, the return value will be empty string for those clouds\n\n```go\nfunc (p *Properties) GetCustomEnvironmentJSON(escape bool) (string, error)\n```\nGetCustomEnvironmentJSON return the JSON format string for custom environment\n\n```go\nfunc (p *Properties) GetMasterFQDN() string\n```\nGetMasterFQDN returns the master FQDN.\n\n```go\nfunc (p *Properties) GetMasterVMPrefix() string\n```\nGetMasterVMPrefix returns the prefix of master VMs\n\n```go\nfunc (p *Properties) GetNSGName() string\n```\nGetNSGName returns the name of the network security group of the cluster.\n\n```go\nfunc (p *Properties) GetNonMasqueradeCIDR() string\n```\nGetNonMasqueradeCIDR returns the non-masquerade CIDR for the ip-masq-agent.\n\n```go\nfunc (p *Properties) GetPrimaryAvailabilitySetName() string\n```\nGetPrimaryAvailabilitySetName returns the name of the primary availability set of the cluster\n\n```go\nfunc (p *Properties) GetPrimaryScaleSetName() string\n```\nGetPrimaryScaleSetName returns the name of the primary scale set node of the cluster\n\n```go\nfunc (p *Properties) GetResourcePrefix() string\n```\nGetResourcePrefix returns the prefix to use for naming cluster resources\n\n```go\nfunc (p *Properties) GetRouteTableName() string\n```\nGetRouteTableName returns the route table name of the cluster.\n\n```go\nfunc (p *Properties) GetSubnetName() string\n```\nGetSubnetName returns the subnet name of the cluster based on its current configuration.\n\n```go\nfunc (p *Properties) GetVNetResourceGroupName() string\n```\nGetVNetResourceGroupName returns the virtual network resource group name of the cluster\n\n```go\nfunc (p *Properties) GetVirtualNetworkName() string\n```\nGetVirtualNetworkName returns the virtual network name of the cluster\n\n```go\nfunc (p *Properties) HasAadProfile() bool\n```\nHasAadProfile  returns true if the has aad profile\n\n```go\nfunc (p *Properties) HasAvailabilityZones() bool\n```\nHasAvailabilityZones returns true if the cluster contains a profile with zones\n\n```go\nfunc (p *Properties) HasCoreOS() bool\n```\nHasCoreOS returns true if the cluster contains coreos nodes\n\n```go\nfunc (p *Properties) HasManagedDisks() bool\n```\nHasManagedDisks returns true if the cluster contains Managed Disks\n\n```go\nfunc (p *Properties) HasNSeriesSKU() bool\n```\nHasNSeriesSKU returns whether or not there is an N series SKU agent pool\n\n```go\nfunc (p *Properties) HasStorageAccountDisks() bool\n```\nHasStorageAccountDisks returns true if the cluster contains Storage Account Disks\n\n```go\nfunc (p *Properties) HasUbuntu1604DistroNodes() bool\n```\nHasUbuntu1604DistroNodes returns true if any of the agent pools or masters are running the base Ubuntu 16.04-LTS image\n\n```go\nfunc (p *Properties) HasUbuntu1804DistroNodes() bool\n```\nHasUbuntu1804DistroNodes returns true if any of the agent pools or masters are running the base Ubuntu 18.04-LTS image\n\n```go\nfunc (p *Properties) HasUbuntuDistroNodes() bool\n```\nHasUbuntuDistroNodes returns true if any of the agent pools or masters are running the base Ubuntu image\n\n```go\nfunc (p *Properties) HasVMSSAgentPool() bool\n```\nHasVMSSAgentPool returns true if the cluster contains Virtual Machine Scale Sets agent pools\n\n```go\nfunc (p *Properties) HasWindows() bool\n```\nHasWindows returns true if the cluster contains windows\n\n```go\nfunc (p *Properties) HasZonesForAllAgentPools() bool\n```\nHasZonesForAllAgentPools returns true if all of the agent pools have zones\n\n```go\nfunc (p *Properties) IsAzureStackCloud() bool\n```\nIsAzureStackCloud return true if the cloud is AzureStack\n\n```go\nfunc (p *Properties) IsHostedMasterProfile() bool\n```\nIsHostedMasterProfile returns true if the cluster has a hosted master\n\n```go\nfunc (p *Properties) IsIPMasqAgentEnabled() bool\n```\nIsIPMasqAgentEnabled returns true if the cluster has a hosted master and IpMasqAgent is disabled\n\n```go\nfunc (p *Properties) IsNVIDIADevicePluginEnabled() bool\n```\nIsNVIDIADevicePluginEnabled checks if the NVIDIA Device Plugin addon is enabled It is enabled by default if agents contain a GPU and Kubernetes version is \u003e= 1.10.0\n\n```go\nfunc (p *Properties) IsNvidiaDevicePluginCapable() bool\n```\nIsNvidiaDevicePluginCapable determines if the cluster definition is compatible with the nvidia-device-plugin daemonset\n\n```go\nfunc (p *Properties) IsUbuntuDistroForAllNodes() bool\n```\nIsUbuntuDistroForAllNodes returns true if all of the agent pools plus masters are running the base Ubuntu image\n\n```go\nfunc (p *Properties) IsVHDDistroForAllNodes() bool\n```\nIsVHDDistroForAllNodes returns true if all of the agent pools plus masters are running the VHD image\n\n```go\nfunc (p *Properties) K8sOrchestratorName() string\n```\nK8sOrchestratorName returns the 3 character orchestrator code for kubernetes-based clusters.\n\n```go\nfunc (p *Properties) SetAzureStackCloudSpec() error\n```\nSetAzureStackCloudSpec sets the cloud spec for Azure Stack .\n\n```go\nfunc (p *Properties) TotalNodes() int\n```\nTotalNodes returns the total number of nodes in the cluster configuration\n\n```go\ntype ProvisioningState string\n```\nProvisioningState represents the current state of container service resource.\n\n```go\nconst (\n\t// Creating means ContainerService resource is being created.\n\tCreating ProvisioningState = \"Creating\"\n\t// Updating means an existing ContainerService resource is being updated\n\tUpdating ProvisioningState = \"Updating\"\n\t// Scaling means an existing ContainerService resource is being scaled only\n\tScaling ProvisioningState = \"Scaling\"\n\t// Failed means resource is in failed state\n\tFailed ProvisioningState = \"Failed\"\n\t// Succeeded means resource created succeeded during last create/update\n\tSucceeded ProvisioningState = \"Succeeded\"\n\t// Deleting means resource is in the process of being deleted\n\tDeleting ProvisioningState = \"Deleting\"\n\t// Migrating means resource is being migrated from one subscription or\n\t// resource group to another\n\tMigrating ProvisioningState = \"Migrating\"\n\t// Upgrading means an existing ContainerService resource is being upgraded\n\tUpgrading ProvisioningState = \"Upgrading\"\n)\n```\n\n```go\ntype PublicKey struct {\n\tKeyData string `json:\"keyData\"`\n}\n```\nPublicKey represents an SSH key for LinuxProfile\n\n```go\ntype ResourcePurchasePlan struct {\n\tName          string `json:\"name\"`\n\tProduct       string `json:\"product\"`\n\tPromotionCode string `json:\"promotionCode\"`\n\tPublisher     string `json:\"publisher\"`\n}\n```\nResourcePurchasePlan defines resource plan as required by ARM for billing purposes.\n\n```go\ntype ServicePrincipalProfile struct {\n\tClientID          string             `json:\"clientId\"`\n\tSecret            string             `json:\"secret,omitempty\" conform:\"redact\"`\n\tObjectID          string             `json:\"objectId,omitempty\"`\n\tKeyvaultSecretRef *KeyvaultSecretRef `json:\"keyvaultSecretRef,omitempty\"`\n}\n```\nServicePrincipalProfile contains the client and secret used by the cluster for Azure Resource CRUD\n\n```go\ntype TypeMeta struct {\n\t// APIVersion is on every object\n\tAPIVersion string `json:\"apiVersion\"`\n}\n```\nTypeMeta describes an individual API model object\n\n```go\nfunc LoadDefaultContainerServiceProperties() (TypeMeta, *vlabs.Properties)\n```\nLoadDefaultContainerServiceProperties loads the default API model\n\n```go\ntype V20160330ARMContainerService struct {\n\tTypeMeta\n\t*v20160330.ContainerService\n}\n```\nV20160330ARMContainerService is the type we read and write from file needed because the json that is sent to ARM and aks-engine is different from the json that the ACS RP Api gets from ARM\n\n```go\ntype V20160930ARMContainerService struct {\n\tTypeMeta\n\t*v20160930.ContainerService\n}\n```\nV20160930ARMContainerService is the type we read and write from file needed because the json that is sent to ARM and aks-engine is different from the json that the ACS RP Api gets from ARM\n\n```go\ntype V20170131ARMContainerService struct {\n\tTypeMeta\n\t*v20170131.ContainerService\n}\n```\nV20170131ARMContainerService is the type we read and write from file needed because the json that is sent to ARM and aks-engine is different from the json that the ACS RP Api gets from ARM\n\n```go\ntype V20170701ARMContainerService struct {\n\tTypeMeta\n\t*v20170701.ContainerService\n}\n```\nV20170701ARMContainerService is the type we read and write from file needed because the json that is sent to ARM and aks-engine is different from the json that the ACS RP Api gets from ARM\n\n```go\ntype V20170831ARMManagedContainerService struct {\n\tTypeMeta\n\t*v20170831.ManagedCluster\n}\n```\nV20170831ARMManagedContainerService is the type we read and write from file needed because the json that is sent to ARM and aks-engine is different from the json that the ACS RP Api gets from ARM\n\n```go\ntype V20180331ARMManagedContainerService struct {\n\tTypeMeta\n\t*v20180331.ManagedCluster\n}\n```\nV20180331ARMManagedContainerService is the type we read and write from file needed because the json that is sent to ARM and aks-engine is different from the json that the ACS RP Api gets from ARM\n\n```go\ntype VMDiagnostics struct {\n\tEnabled bool `json:\"enabled\"`\n\n\t// Specifies storage account Uri where Boot Diagnostics (CRP \u0026\n\t// VMSS BootDiagostics) and VM Diagnostics logs (using Linux\n\t// Diagnostics Extension) will be stored. Uri will be of standard\n\t// blob domain. i.e. https://storageaccount.blob.core.windows.net/\n\t// This field is readonly as ACS RP will create a storage account\n\t// for the customer.\n\tStorageURL *neturl.URL `json:\"storageUrl\"`\n}\n```\nVMDiagnostics contains settings to on/off boot diagnostics collection in RD Host\n\n```go\ntype VlabsARMContainerService struct {\n\tTypeMeta\n\t*vlabs.ContainerService\n}\n```\nVlabsARMContainerService is the type we read and write from file needed because the json that is sent to ARM and aks-engine is different from the json that the ACS RP Api gets from ARM\n\n```go\ntype WindowsProfile struct {\n\tAdminUsername          string            `json:\"adminUsername\"`\n\tAdminPassword          string            `json:\"adminPassword\" conform:\"redact\"`\n\tImageVersion           string            `json:\"imageVersion\"`\n\tWindowsImageSourceURL  string            `json:\"windowsImageSourceURL\"`\n\tWindowsPublisher       string            `json:\"windowsPublisher\"`\n\tWindowsOffer           string            `json:\"windowsOffer\"`\n\tWindowsSku             string            `json:\"windowsSku\"`\n\tWindowsDockerVersion   string            `json:\"windowsDockerVersion\"`\n\tSecrets                []KeyVaultSecrets `json:\"secrets,omitempty\"`\n\tSSHEnabled             bool              `json:\"sshEnabled,omitempty\"`\n\tEnableAutomaticUpdates *bool             `json:\"enableAutomaticUpdates,omitempty\"`\n}\n```\nWindowsProfile represents the windows parameters passed to the cluster\n\n```go\nfunc (w *WindowsProfile) GetEnableWindowsUpdate() bool\n```\nGetEnableWindowsUpdate gets the flag for enable windows update or returns the default value\n\n```go\nfunc (w *WindowsProfile) GetWindowsDockerVersion() string\n```\nGetWindowsDockerVersion gets the docker version specified or returns default value\n\n```go\nfunc (w *WindowsProfile) GetWindowsSku() string\n```\nGetWindowsSku gets the marketplace sku specified (such as Datacenter-Core-1809-with-Containers-smalldisk) or returns default value\n\n```go\nfunc (w *WindowsProfile) HasCustomImage() bool\n```\nHasCustomImage returns true if there is a custom windows os image url specified\n\n```go\nfunc (w *WindowsProfile) HasSecrets() bool\n```\nHasSecrets returns true if the customer specified secrets to install\n\n","path":"github.com/devigned/aks-engine/pkg/api","name":"api","synopsis":"Package api stores an unversioned API.","isRedistributable":true}
