共用方式為


ArmScVmmModelFactory.ScVmmAvailabilitySetData Method

Definition

Initializes a new instance of ScVmmAvailabilitySetData.

public static Azure.ResourceManager.ScVmm.ScVmmAvailabilitySetData ScVmmAvailabilitySetData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation = default, string availabilitySetName = default, Azure.Core.ResourceIdentifier vmmServerId = default, Azure.ResourceManager.ScVmm.Models.ScVmmProvisioningState? provisioningState = default);
static member ScVmmAvailabilitySetData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Resources.Models.ExtendedLocation * string * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.ScVmm.Models.ScVmmProvisioningState> -> Azure.ResourceManager.ScVmm.ScVmmAvailabilitySetData
Public Shared Function ScVmmAvailabilitySetData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional extendedLocation As ExtendedLocation = Nothing, Optional availabilitySetName As String = Nothing, Optional vmmServerId As ResourceIdentifier = Nothing, Optional provisioningState As Nullable(Of ScVmmProvisioningState) = Nothing) As ScVmmAvailabilitySetData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

extendedLocation
ExtendedLocation

The extended location.

availabilitySetName
String

Name of the availability set.

vmmServerId
ResourceIdentifier

ARM Id of the vmmServer resource in which this resource resides.

provisioningState
Nullable<ScVmmProvisioningState>

Provisioning state of the resource.

Returns

A new ScVmmAvailabilitySetData instance for mocking.

Applies to