ArmAvsModelFactory.PlacementPolicyProperties 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 PlacementPolicyProperties.
public static Azure.ResourceManager.Avs.Models.PlacementPolicyProperties PlacementPolicyProperties (string policyType = default, Azure.ResourceManager.Avs.Models.PlacementPolicyState? state = default, string displayName = default, Azure.ResourceManager.Avs.Models.PlacementPolicyProvisioningState? provisioningState = default);
public static Azure.ResourceManager.Avs.Models.PlacementPolicyProperties PlacementPolicyProperties (string policyType = "Unknown", Azure.ResourceManager.Avs.Models.PlacementPolicyState? state = default, string displayName = default, Azure.ResourceManager.Avs.Models.PlacementPolicyProvisioningState? provisioningState = default);
static member PlacementPolicyProperties : string * Nullable<Azure.ResourceManager.Avs.Models.PlacementPolicyState> * string * Nullable<Azure.ResourceManager.Avs.Models.PlacementPolicyProvisioningState> -> Azure.ResourceManager.Avs.Models.PlacementPolicyProperties
Public Shared Function PlacementPolicyProperties (Optional policyType As String = Nothing, Optional state As Nullable(Of PlacementPolicyState) = Nothing, Optional displayName As String = Nothing, Optional provisioningState As Nullable(Of PlacementPolicyProvisioningState) = Nothing) As PlacementPolicyProperties
Public Shared Function PlacementPolicyProperties (Optional policyType As String = "Unknown", Optional state As Nullable(Of PlacementPolicyState) = Nothing, Optional displayName As String = Nothing, Optional provisioningState As Nullable(Of PlacementPolicyProvisioningState) = Nothing) As PlacementPolicyProperties
Parameters
- policyType
- String
Placement Policy type.
- 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.
Returns
A new PlacementPolicyProperties instance for mocking.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET