ArmComputeModelFactory.GalleryImageVersionData Method

Definition

public static Azure.ResourceManager.Compute.GalleryImageVersionData GalleryImageVersionData(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.Compute.Models.GalleryImageVersionPublishingProfile publishingProfile = default, Azure.ResourceManager.Compute.Models.GalleryProvisioningState? provisioningState = default, Azure.ResourceManager.Compute.Models.GalleryImageVersionStorageProfile storageProfile = default, Azure.ResourceManager.Compute.Models.GalleryImageVersionSafetyProfile safetyProfile = default, Azure.ResourceManager.Compute.Models.ReplicationStatus replicationStatus = default, bool? isRestoreEnabled = default, Azure.ResourceManager.Compute.Models.GalleryImageValidationsProfile validationsProfile = default, Azure.ResourceManager.Compute.Models.GalleryImageVersionUefiSettings securityUefiSettings = default);
static member GalleryImageVersionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Compute.Models.GalleryImageVersionPublishingProfile * Nullable<Azure.ResourceManager.Compute.Models.GalleryProvisioningState> * Azure.ResourceManager.Compute.Models.GalleryImageVersionStorageProfile * Azure.ResourceManager.Compute.Models.GalleryImageVersionSafetyProfile * Azure.ResourceManager.Compute.Models.ReplicationStatus * Nullable<bool> * Azure.ResourceManager.Compute.Models.GalleryImageValidationsProfile * Azure.ResourceManager.Compute.Models.GalleryImageVersionUefiSettings -> Azure.ResourceManager.Compute.GalleryImageVersionData
Public Shared Function GalleryImageVersionData (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 publishingProfile As GalleryImageVersionPublishingProfile = Nothing, Optional provisioningState As Nullable(Of GalleryProvisioningState) = Nothing, Optional storageProfile As GalleryImageVersionStorageProfile = Nothing, Optional safetyProfile As GalleryImageVersionSafetyProfile = Nothing, Optional replicationStatus As ReplicationStatus = Nothing, Optional isRestoreEnabled As Nullable(Of Boolean) = Nothing, Optional validationsProfile As GalleryImageValidationsProfile = Nothing, Optional securityUefiSettings As GalleryImageVersionUefiSettings = Nothing) As GalleryImageVersionData

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.

publishingProfile
GalleryImageVersionPublishingProfile

The publishing profile of a gallery image Version.

provisioningState
Nullable<GalleryProvisioningState>

The provisioning state, which only appears in the response.

storageProfile
GalleryImageVersionStorageProfile

This is the storage profile of a Gallery Image Version.

safetyProfile
GalleryImageVersionSafetyProfile

This is the safety profile of the Gallery Image Version.

replicationStatus
ReplicationStatus

This is the replication status of the gallery image version.

isRestoreEnabled
Nullable<Boolean>

Indicates if this is a soft-delete resource restoration request.

validationsProfile
GalleryImageValidationsProfile

This is the validations profile of a Gallery Image Version.

securityUefiSettings
GalleryImageVersionUefiSettings

Contains UEFI settings for the image version.

Returns

A new GalleryImageVersionData instance for mocking.

Applies to