Sdílet prostřednictvím


ArmDevCenterModelFactory.DevCenterImageData Method

Definition

Initializes a new instance of DevCenterImageData.

public static Azure.ResourceManager.DevCenter.DevCenterImageData DevCenterImageData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string description = default, string publisher = default, string offer = default, string sku = default, Azure.ResourceManager.DevCenter.Models.RecommendedMachineConfiguration recommendedMachineConfiguration = default, Azure.ResourceManager.DevCenter.Models.DevCenterProvisioningState? provisioningState = default, Azure.ResourceManager.DevCenter.Models.DevCenterHibernateSupport? hibernateSupport = default);
static member DevCenterImageData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * string * Azure.ResourceManager.DevCenter.Models.RecommendedMachineConfiguration * Nullable<Azure.ResourceManager.DevCenter.Models.DevCenterProvisioningState> * Nullable<Azure.ResourceManager.DevCenter.Models.DevCenterHibernateSupport> -> Azure.ResourceManager.DevCenter.DevCenterImageData
Public Shared Function DevCenterImageData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional description As String = Nothing, Optional publisher As String = Nothing, Optional offer As String = Nothing, Optional sku As String = Nothing, Optional recommendedMachineConfiguration As RecommendedMachineConfiguration = Nothing, Optional provisioningState As Nullable(Of DevCenterProvisioningState) = Nothing, Optional hibernateSupport As Nullable(Of DevCenterHibernateSupport) = Nothing) As DevCenterImageData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

description
String

The description of the image.

publisher
String

The publisher of the image.

offer
String

The name of the image offer.

sku
String

The SKU name for the image.

recommendedMachineConfiguration
RecommendedMachineConfiguration

The recommended machine configuration to use with the image.

provisioningState
Nullable<DevCenterProvisioningState>

The provisioning state of the resource.

hibernateSupport
Nullable<DevCenterHibernateSupport>

Indicates whether this image has hibernate enabled. Not all images are capable of supporting hibernation. To find out more see https://aka.ms/devbox/hibernate.

Returns

A new DevCenterImageData instance for mocking.

Applies to