ArmAvsModelFactory.VmPlacementPolicyProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of 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
Parameters
- state
- Nullable<PlacementPolicyState>
Whether the placement policy is enabled or disabled.
- displayName
- String
Display name of the placement policy.
- provisioningState
- Nullable<PlacementPolicyProvisioningState>
The provisioning state.
- vmMembers
- IEnumerable<ResourceIdentifier>
Virtual machine members list.
- affinityType
- AvsPlacementPolicyAffinityType
placement policy affinity type.
Returns
A new VmPlacementPolicyProperties instance for mocking.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.