Partilhar via


ArmAvsModelFactory.VmPlacementPolicyProperties Método

Definição

Inicializa uma nova instância de VmPlacementPolicyProperties.

public static Azure.ResourceManager.Avs.Models.VmPlacementPolicyProperties VmPlacementPolicyProperties (Azure.ResourceManager.Avs.Models.PlacementPolicyState? state = default, string displayName = default, Azure.ResourceManager.Avs.Models.PlacementPolicyProvisioningState? provisioningState = default, System.Collections.Generic.IEnumerable<Azure.Core.ResourceIdentifier> vmMembers = default, Azure.ResourceManager.Avs.Models.AvsPlacementPolicyAffinityType affinityType = default);
static member VmPlacementPolicyProperties : Nullable<Azure.ResourceManager.Avs.Models.PlacementPolicyState> * string * Nullable<Azure.ResourceManager.Avs.Models.PlacementPolicyProvisioningState> * seq<Azure.Core.ResourceIdentifier> * Azure.ResourceManager.Avs.Models.AvsPlacementPolicyAffinityType -> Azure.ResourceManager.Avs.Models.VmPlacementPolicyProperties
Public Shared Function VmPlacementPolicyProperties (Optional state As Nullable(Of PlacementPolicyState) = Nothing, Optional displayName As String = Nothing, Optional provisioningState As Nullable(Of PlacementPolicyProvisioningState) = Nothing, Optional vmMembers As IEnumerable(Of ResourceIdentifier) = Nothing, Optional affinityType As AvsPlacementPolicyAffinityType = Nothing) As VmPlacementPolicyProperties

Parâmetros

state
Nullable<PlacementPolicyState>

Se a política de posicionamento está habilitada ou desabilitada.

displayName
String

Nome de exibição da política de posicionamento.

provisioningState
Nullable<PlacementPolicyProvisioningState>

O estado de provisionamento.

vmMembers
IEnumerable<ResourceIdentifier>

Lista de membros de máquina virtual.

affinityType
AvsPlacementPolicyAffinityType

tipo de afinidade de política de posicionamento.

Retornos

Uma nova VmPlacementPolicyProperties instância para zombar.

Aplica-se a