Placement Constructors
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.
Overloads
| Name | Description |
|---|---|
| Placement() |
Initializes a new instance of the Placement class. |
| Placement(String, IList<String>, IList<String>) |
Initializes a new instance of the Placement class. |
Placement()
Initializes a new instance of the Placement class.
public Placement();
Public Sub New ()
Applies to
Placement(String, IList<String>, IList<String>)
Initializes a new instance of the Placement class.
public Placement(string zonePlacementPolicy = default, System.Collections.Generic.IList<string> includeZones = default, System.Collections.Generic.IList<string> excludeZones = default);
new Microsoft.Azure.Management.Compute.Models.Placement : string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Compute.Models.Placement
Public Sub New (Optional zonePlacementPolicy As String = Nothing, Optional includeZones As IList(Of String) = Nothing, Optional excludeZones As IList(Of String) = Nothing)
Parameters
- zonePlacementPolicy
- String
Specifies the policy for resource's placement in availability zone. Possible values are: Any (used for Virtual Machines), Auto (used for Virtual Machine Scale Sets) - An availability zone will be automatically picked by system as part of resource creation. Possible values include: 'Any', 'Auto'
This property supplements the 'zonePlacementPolicy' property. If 'zonePlacementPolicy' is set to 'Any'/'Auto', availability zone selected by the system must be present in the list of availability zones passed with 'includeZones'. If 'includeZones' is not provided, all availability zones in region will be considered for selection.
This property supplements the 'zonePlacementPolicy' property. If 'zonePlacementPolicy' is set to 'Any'/'Auto', availability zone selected by the system must not be present in the list of availability zones passed with 'excludeZones'. If 'excludeZones' is not provided, all availability zones in region will be considered for selection.