Delen via


ArmHciModelFactory.GalleryImageData Method

Definition

Initializes a new instance of GalleryImageData.

public static Azure.ResourceManager.Hci.GalleryImageData GalleryImageData (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.Hci.Models.ArcVmExtendedLocation extendedLocation = default, Azure.Core.ResourceIdentifier containerId = default, string imagePath = default, Azure.ResourceManager.Hci.Models.OperatingSystemType? osType = default, Azure.ResourceManager.Hci.Models.CloudInitDataSource? cloudInitDataSource = default, Azure.ResourceManager.Hci.Models.HyperVGeneration? hyperVGeneration = default, Azure.ResourceManager.Hci.Models.GalleryImageIdentifier identifier = default, Azure.ResourceManager.Hci.Models.GalleryImageVersion version = default, Azure.ResourceManager.Hci.Models.ProvisioningStateEnum? provisioningState = default, Azure.ResourceManager.Hci.Models.GalleryImageStatus status = default);
static member GalleryImageData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Hci.Models.ArcVmExtendedLocation * Azure.Core.ResourceIdentifier * string * Nullable<Azure.ResourceManager.Hci.Models.OperatingSystemType> * Nullable<Azure.ResourceManager.Hci.Models.CloudInitDataSource> * Nullable<Azure.ResourceManager.Hci.Models.HyperVGeneration> * Azure.ResourceManager.Hci.Models.GalleryImageIdentifier * Azure.ResourceManager.Hci.Models.GalleryImageVersion * Nullable<Azure.ResourceManager.Hci.Models.ProvisioningStateEnum> * Azure.ResourceManager.Hci.Models.GalleryImageStatus -> Azure.ResourceManager.Hci.GalleryImageData
Public Shared Function GalleryImageData (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 extendedLocation As ArcVmExtendedLocation = Nothing, Optional containerId As ResourceIdentifier = Nothing, Optional imagePath As String = Nothing, Optional osType As Nullable(Of OperatingSystemType) = Nothing, Optional cloudInitDataSource As Nullable(Of CloudInitDataSource) = Nothing, Optional hyperVGeneration As Nullable(Of HyperVGeneration) = Nothing, Optional identifier As GalleryImageIdentifier = Nothing, Optional version As GalleryImageVersion = Nothing, Optional provisioningState As Nullable(Of ProvisioningStateEnum) = Nothing, Optional status As GalleryImageStatus = Nothing) As GalleryImageData

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.

extendedLocation
ArcVmExtendedLocation

The extendedLocation of the resource.

containerId
ResourceIdentifier

Storage ContainerID of the storage container to be used for gallery image.

imagePath
String

location of the image the gallery image should be created from.

osType
Nullable<OperatingSystemType>

Operating system type that the gallery image uses [Windows, Linux].

cloudInitDataSource
Nullable<CloudInitDataSource>

Datasource for the gallery image when provisioning with cloud-init [NoCloud, Azure].

hyperVGeneration
Nullable<HyperVGeneration>

The hypervisor generation of the Virtual Machine [V1, V2].

identifier
GalleryImageIdentifier

This is the gallery image definition identifier.

version
GalleryImageVersion

Specifies information about the gallery image version that you want to create or update.

provisioningState
Nullable<ProvisioningStateEnum>

Provisioning state of the gallery image.

status
GalleryImageStatus

The observed state of gallery images.

Returns

A new GalleryImageData instance for mocking.

Applies to