共用方式為


ArmDevTestLabsModelFactory.DevTestLabEnvironmentData Method

Definition

Initializes a new instance of DevTestLabEnvironmentData.

public static Azure.ResourceManager.DevTestLabs.DevTestLabEnvironmentData DevTestLabEnvironmentData (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.DevTestLabs.Models.DevTestLabEnvironmentDeployment deploymentProperties = default, string armTemplateDisplayName = default, string resourceGroupId = default, string createdByUser = default, string provisioningState = default, Guid? uniqueIdentifier = default);
static member DevTestLabEnvironmentData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.DevTestLabs.Models.DevTestLabEnvironmentDeployment * string * string * string * string * Nullable<Guid> -> Azure.ResourceManager.DevTestLabs.DevTestLabEnvironmentData
Public Shared Function DevTestLabEnvironmentData (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 deploymentProperties As DevTestLabEnvironmentDeployment = Nothing, Optional armTemplateDisplayName As String = Nothing, Optional resourceGroupId As String = Nothing, Optional createdByUser As String = Nothing, Optional provisioningState As String = Nothing, Optional uniqueIdentifier As Nullable(Of Guid) = Nothing) As DevTestLabEnvironmentData

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.

deploymentProperties
DevTestLabEnvironmentDeployment

The deployment properties of the environment.

armTemplateDisplayName
String

The display name of the Azure Resource Manager template that produced the environment.

resourceGroupId
String

The identifier of the resource group containing the environment's resources.

createdByUser
String

The creator of the environment.

provisioningState
String

The provisioning status of the resource.

uniqueIdentifier
Nullable<Guid>

The unique immutable identifier of a resource (Guid).

Returns

A new DevTestLabEnvironmentData instance for mocking.

Applies to