次の方法で共有


ArmComputeModelFactory.CloudServiceRoleData Method

Definition

Initializes a new instance of CloudServiceRoleData.

public static Azure.ResourceManager.Compute.CloudServiceRoleData CloudServiceRoleData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.AzureLocation? location = default, Azure.ResourceManager.Compute.Models.CloudServiceRoleSku sku = default, string uniqueId = default);
static member CloudServiceRoleData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.Core.AzureLocation> * Azure.ResourceManager.Compute.Models.CloudServiceRoleSku * string -> Azure.ResourceManager.Compute.CloudServiceRoleData
Public Shared Function CloudServiceRoleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional sku As CloudServiceRoleSku = Nothing, Optional uniqueId As String = Nothing) As CloudServiceRoleData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

location
Nullable<AzureLocation>

Resource location.

sku
CloudServiceRoleSku

Describes the cloud service role sku.

uniqueId
String

Specifies the ID which uniquely identifies a cloud service role.

Returns

A new CloudServiceRoleData instance for mocking.

Applies to