共用方式為


ArmGuestConfigurationModelFactory.GuestConfigurationResourceData Method

Definition

Initializes a new instance of GuestConfigurationResourceData.

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

Parameters

id
ResourceIdentifier

ARM resource id of the guest configuration assignment.

name
String

Name of the guest configuration assignment.

location
Nullable<AzureLocation>

Region where the VM is located.

resourceType
Nullable<ResourceType>

The type of the resource.

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns

A new GuestConfigurationResourceData instance for mocking.

Applies to