ArmDevTestLabsModelFactory.DevTestLabData Method

Definition

Initializes a new instance of DevTestLabData.

public static Azure.ResourceManager.DevTestLabs.DevTestLabData DevTestLabData (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, string defaultStorageAccount = default, string defaultPremiumStorageAccount = default, string artifactsStorageAccount = default, string premiumDataDiskStorageAccount = default, string vaultName = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabStorageType? labStorageType = default, System.Collections.Generic.IEnumerable<string> mandatoryArtifactsResourceIdsLinux = default, System.Collections.Generic.IEnumerable<string> mandatoryArtifactsResourceIdsWindows = default, DateTimeOffset? createdOn = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabPremiumDataDisk? premiumDataDisks = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabEnvironmentPermission? environmentPermission = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabAnnouncement announcement = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabSupport support = default, string vmCreationResourceGroup = default, string publicIPId = default, string loadBalancerId = default, string networkSecurityGroupId = default, System.Collections.Generic.IDictionary<string,string> extendedProperties = default, string provisioningState = default, Guid? uniqueIdentifier = default);
static member DevTestLabData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * string * string * string * string * string * Nullable<Azure.ResourceManager.DevTestLabs.Models.DevTestLabStorageType> * seq<string> * seq<string> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.DevTestLabs.Models.DevTestLabPremiumDataDisk> * Nullable<Azure.ResourceManager.DevTestLabs.Models.DevTestLabEnvironmentPermission> * Azure.ResourceManager.DevTestLabs.Models.DevTestLabAnnouncement * Azure.ResourceManager.DevTestLabs.Models.DevTestLabSupport * string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * Nullable<Guid> -> Azure.ResourceManager.DevTestLabs.DevTestLabData
Public Shared Function DevTestLabData (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 defaultStorageAccount As String = Nothing, Optional defaultPremiumStorageAccount As String = Nothing, Optional artifactsStorageAccount As String = Nothing, Optional premiumDataDiskStorageAccount As String = Nothing, Optional vaultName As String = Nothing, Optional labStorageType As Nullable(Of DevTestLabStorageType) = Nothing, Optional mandatoryArtifactsResourceIdsLinux As IEnumerable(Of String) = Nothing, Optional mandatoryArtifactsResourceIdsWindows As IEnumerable(Of String) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional premiumDataDisks As Nullable(Of DevTestLabPremiumDataDisk) = Nothing, Optional environmentPermission As Nullable(Of DevTestLabEnvironmentPermission) = Nothing, Optional announcement As DevTestLabAnnouncement = Nothing, Optional support As DevTestLabSupport = Nothing, Optional vmCreationResourceGroup As String = Nothing, Optional publicIPId As String = Nothing, Optional loadBalancerId As String = Nothing, Optional networkSecurityGroupId As String = Nothing, Optional extendedProperties As IDictionary(Of String, String) = Nothing, Optional provisioningState As String = Nothing, Optional uniqueIdentifier As Nullable(Of Guid) = Nothing) As DevTestLabData

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.

defaultStorageAccount
String

The lab's default storage account.

defaultPremiumStorageAccount
String

The lab's default premium storage account.

artifactsStorageAccount
String

The lab's artifact storage account.

premiumDataDiskStorageAccount
String

The lab's premium data disk storage account.

vaultName
String

The lab's Key vault.

labStorageType
Nullable<DevTestLabStorageType>

Type of storage used by the lab. It can be either Premium or Standard. Default is Premium.

mandatoryArtifactsResourceIdsLinux
IEnumerable<String>

The ordered list of artifact resource IDs that should be applied on all Linux VM creations by default, prior to the artifacts specified by the user.

mandatoryArtifactsResourceIdsWindows
IEnumerable<String>

The ordered list of artifact resource IDs that should be applied on all Windows VM creations by default, prior to the artifacts specified by the user.

createdOn
Nullable<DateTimeOffset>

The creation date of the lab.

premiumDataDisks
Nullable<DevTestLabPremiumDataDisk>

The setting to enable usage of premium data disks. When its value is 'Enabled', creation of standard or premium data disks is allowed. When its value is 'Disabled', only creation of standard data disks is allowed.

environmentPermission
Nullable<DevTestLabEnvironmentPermission>

The access rights to be granted to the user when provisioning an environment.

announcement
DevTestLabAnnouncement

The properties of any lab announcement associated with this lab.

support
DevTestLabSupport

The properties of any lab support message associated with this lab.

vmCreationResourceGroup
String

The resource group in which all new lab virtual machines will be created. To let DevTest Labs manage resource group creation, set this value to null.

publicIPId
String

The public IP address for the lab's load balancer.

loadBalancerId
String

The load balancer used to for lab VMs that use shared IP address.

networkSecurityGroupId
String

The Network Security Group attached to the lab VMs Network interfaces to restrict open ports.

extendedProperties
IDictionary<String,String>

Extended properties of the lab used for experimental features.

provisioningState
String

The provisioning status of the resource.

uniqueIdentifier
Nullable<Guid>

The unique immutable identifier of a resource (Guid).

Returns

A new DevTestLabData instance for mocking.

Applies to