Sdílet prostřednictvím


ArmDevCenterModelFactory.DevBoxDefinitionData Method

Definition

Initializes a new instance of DevBoxDefinitionData.

public static Azure.ResourceManager.DevCenter.DevBoxDefinitionData DevBoxDefinitionData (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.DevCenter.Models.DevCenterImageReference imageReference = default, Azure.ResourceManager.DevCenter.Models.DevCenterSku sku = default, string osStorageType = default, Azure.ResourceManager.DevCenter.Models.DevCenterHibernateSupport? hibernateSupport = default, Azure.ResourceManager.DevCenter.Models.DevCenterProvisioningState? provisioningState = default, Azure.ResourceManager.DevCenter.Models.ImageValidationStatus? imageValidationStatus = default, Azure.ResourceManager.DevCenter.Models.ImageValidationErrorDetails imageValidationErrorDetails = default, Azure.ResourceManager.DevCenter.Models.DevCenterImageReference activeImageReference = default);
static member DevBoxDefinitionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.DevCenter.Models.DevCenterImageReference * Azure.ResourceManager.DevCenter.Models.DevCenterSku * string * Nullable<Azure.ResourceManager.DevCenter.Models.DevCenterHibernateSupport> * Nullable<Azure.ResourceManager.DevCenter.Models.DevCenterProvisioningState> * Nullable<Azure.ResourceManager.DevCenter.Models.ImageValidationStatus> * Azure.ResourceManager.DevCenter.Models.ImageValidationErrorDetails * Azure.ResourceManager.DevCenter.Models.DevCenterImageReference -> Azure.ResourceManager.DevCenter.DevBoxDefinitionData
Public Shared Function DevBoxDefinitionData (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 imageReference As DevCenterImageReference = Nothing, Optional sku As DevCenterSku = Nothing, Optional osStorageType As String = Nothing, Optional hibernateSupport As Nullable(Of DevCenterHibernateSupport) = Nothing, Optional provisioningState As Nullable(Of DevCenterProvisioningState) = Nothing, Optional imageValidationStatus As Nullable(Of ImageValidationStatus) = Nothing, Optional imageValidationErrorDetails As ImageValidationErrorDetails = Nothing, Optional activeImageReference As DevCenterImageReference = Nothing) As DevBoxDefinitionData

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.

imageReference
DevCenterImageReference

Image reference information.

sku
DevCenterSku

The SKU for Dev Boxes created using this definition.

osStorageType
String

The storage type used for the Operating System disk of Dev Boxes created using this definition.

hibernateSupport
Nullable<DevCenterHibernateSupport>

Indicates whether Dev Boxes created with this definition are capable of hibernation. Not all images are capable of supporting hibernation. To find out more see https://aka.ms/devbox/hibernate.

provisioningState
Nullable<DevCenterProvisioningState>

The provisioning state of the resource.

imageValidationStatus
Nullable<ImageValidationStatus>

Validation status of the configured image.

imageValidationErrorDetails
ImageValidationErrorDetails

Details for image validator error. Populated when the image validation is not successful.

activeImageReference
DevCenterImageReference

Image reference information for the currently active image (only populated during updates).

Returns

A new DevBoxDefinitionData instance for mocking.

Applies to