ArmContainerServiceModelFactory.ContainerServiceMachineProperties Method

Definition

public static Azure.ResourceManager.ContainerService.Models.ContainerServiceMachineProperties ContainerServiceMachineProperties(Azure.ResourceManager.ContainerService.Models.ContainerServiceMachineNetworkProperties network = default, Azure.Core.ResourceIdentifier resourceId = default, Azure.ResourceManager.ContainerService.Models.ContainerServiceMachineHardwareProfile hardware = default, Azure.ResourceManager.ContainerService.Models.ContainerServiceMachineOSProfile operatingSystem = default, Azure.ResourceManager.ContainerService.Models.ContainerServiceMachineKubernetesProfile kubernetes = default, Azure.ResourceManager.ContainerService.Models.AgentPoolMode? mode = default, Azure.ResourceManager.ContainerService.Models.ContainerServiceMachineSecurityProfile security = default, Azure.ResourceManager.ContainerService.Models.ScaleSetPriority? priority = default, Azure.ResourceManager.ContainerService.Models.ScaleSetEvictionPolicy? evictionPolicy = default, float? billingSpotMaxPrice = default, string nodeImageVersion = default, string provisioningState = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ETag? eTag = default, Azure.ResourceManager.ContainerService.Models.ContainerServiceMachineStatus status = default, Azure.ResourceManager.ContainerService.Models.LocalDnsProfile localDnsProfile = default);
static member ContainerServiceMachineProperties : Azure.ResourceManager.ContainerService.Models.ContainerServiceMachineNetworkProperties * Azure.Core.ResourceIdentifier * Azure.ResourceManager.ContainerService.Models.ContainerServiceMachineHardwareProfile * Azure.ResourceManager.ContainerService.Models.ContainerServiceMachineOSProfile * Azure.ResourceManager.ContainerService.Models.ContainerServiceMachineKubernetesProfile * Nullable<Azure.ResourceManager.ContainerService.Models.AgentPoolMode> * Azure.ResourceManager.ContainerService.Models.ContainerServiceMachineSecurityProfile * Nullable<Azure.ResourceManager.ContainerService.Models.ScaleSetPriority> * Nullable<Azure.ResourceManager.ContainerService.Models.ScaleSetEvictionPolicy> * Nullable<single> * string * string * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ETag> * Azure.ResourceManager.ContainerService.Models.ContainerServiceMachineStatus * Azure.ResourceManager.ContainerService.Models.LocalDnsProfile -> Azure.ResourceManager.ContainerService.Models.ContainerServiceMachineProperties
Public Shared Function ContainerServiceMachineProperties (Optional network As ContainerServiceMachineNetworkProperties = Nothing, Optional resourceId As ResourceIdentifier = Nothing, Optional hardware As ContainerServiceMachineHardwareProfile = Nothing, Optional operatingSystem As ContainerServiceMachineOSProfile = Nothing, Optional kubernetes As ContainerServiceMachineKubernetesProfile = Nothing, Optional mode As Nullable(Of AgentPoolMode) = Nothing, Optional security As ContainerServiceMachineSecurityProfile = Nothing, Optional priority As Nullable(Of ScaleSetPriority) = Nothing, Optional evictionPolicy As Nullable(Of ScaleSetEvictionPolicy) = Nothing, Optional billingSpotMaxPrice As Nullable(Of Single) = Nothing, Optional nodeImageVersion As String = Nothing, Optional provisioningState As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional eTag As Nullable(Of ETag) = Nothing, Optional status As ContainerServiceMachineStatus = Nothing, Optional localDnsProfile As LocalDnsProfile = Nothing) As ContainerServiceMachineProperties

Parameters

network
ContainerServiceMachineNetworkProperties

network properties of the machine.

resourceId
ResourceIdentifier

Azure resource id of the machine. It can be used to GET underlying VM Instance.

hardware
ContainerServiceMachineHardwareProfile

The hardware and GPU settings of the machine.

operatingSystem
ContainerServiceMachineOSProfile

The operating system and disk used by the machine.

kubernetes
ContainerServiceMachineKubernetesProfile

The Kubernetes configurations used by the machine.

mode
Nullable<AgentPoolMode>

Machine only allows 'System' and 'User' mode.

security
ContainerServiceMachineSecurityProfile

The security settings of the machine.

priority
Nullable<ScaleSetPriority>

The priority for the machine. If not specified, the default is 'Regular'.

evictionPolicy
Nullable<ScaleSetEvictionPolicy>

The eviction policy for machine. This cannot be specified unless the priority is 'Spot'. If not specified, the default is 'Delete'.

billingSpotMaxPrice
Nullable<Single>

The max price (in US Dollars) you are willing to pay for spot instances. Possible values are any decimal value greater than zero or -1 which indicates default price to be up-to on-demand. For more details on spot pricing, see spot VMs pricing.

nodeImageVersion
String

The version of node image.

provisioningState
String

The current deployment or provisioning state.

tags
IDictionary<String,String>

The tags to be persisted on the machine.

eTag
Nullable<ETag>

Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal eTag convention.

status
ContainerServiceMachineStatus

Contains read-only information about the machine.

localDnsProfile
LocalDnsProfile

Configures the per-node local DNS, with VnetDNS and KubeDNS overrides. LocalDNS helps improve performance and reliability of DNS resolution in an AKS cluster. For more details see aka.ms/aks/localdns.

Returns

A new ContainerServiceMachineProperties instance for mocking.

Applies to