ArmDevCenterModelFactory.DevBoxDefinitionData Method

Definition

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.DevCenterCatalogResourceValidationStatus? validationStatus = 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 * Nullable<Azure.ResourceManager.DevCenter.Models.DevCenterCatalogResourceValidationStatus> * 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 validationStatus As Nullable(Of DevCenterCatalogResourceValidationStatus) = Nothing, Optional activeImageReference As DevCenterImageReference = Nothing) As DevBoxDefinitionData

Parameters

id
ResourceIdentifier

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

tags
IDictionary<String,String>

Resource tags.

location
AzureLocation

The geo-location where the resource lives.

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.

validationStatus
Nullable<DevCenterCatalogResourceValidationStatus>

Validation status for the Dev Box Definition.

activeImageReference
DevCenterImageReference

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

Returns

A new DevBoxDefinitionData instance for mocking.

Applies to