Langue

ArmComputeModelFactory.GalleryImageVersionData Method

Definition

public static Azure.ResourceManager.Compute.GalleryImageVersionData GalleryImageVersionData(Azure.Core.ResourceIdentifier id, string name, Azure.Core.ResourceType resourceType, Azure.ResourceManager.Models.SystemData systemData, System.Collections.Generic.IDictionary<string,string> tags, Azure.Core.AzureLocation location, Azure.ResourceManager.Compute.Models.GalleryImageVersionPublishingProfile publishingProfile, Azure.ResourceManager.Compute.Models.GalleryProvisioningState? provisioningState, Azure.ResourceManager.Compute.Models.GalleryImageVersionStorageProfile storageProfile, Azure.ResourceManager.Compute.Models.GalleryImageVersionSafetyProfile safetyProfile, Azure.ResourceManager.Compute.Models.ReplicationStatus replicationStatus, Azure.ResourceManager.Compute.Models.ImageVersionSecurityProfile securityProfile, bool? isRestoreEnabled, Azure.ResourceManager.Compute.Models.GalleryImageValidationsProfile validationsProfile, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.ImageMetadataProfile> imageMetadataProfiles);
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 * Azure.ResourceManager.Compute.Models.ImageVersionSecurityProfile * Nullable<bool> * Azure.ResourceManager.Compute.Models.GalleryImageValidationsProfile * seq<Azure.ResourceManager.Compute.Models.ImageMetadataProfile> -> Azure.ResourceManager.Compute.GalleryImageVersionData
Public Shared Function GalleryImageVersionData (id As ResourceIdentifier, name As String, resourceType As ResourceType, systemData As SystemData, tags As IDictionary(Of String, String), location As AzureLocation, publishingProfile As GalleryImageVersionPublishingProfile, provisioningState As Nullable(Of GalleryProvisioningState), storageProfile As GalleryImageVersionStorageProfile, safetyProfile As GalleryImageVersionSafetyProfile, replicationStatus As ReplicationStatus, securityProfile As ImageVersionSecurityProfile, isRestoreEnabled As Nullable(Of Boolean), validationsProfile As GalleryImageValidationsProfile, imageMetadataProfiles As IEnumerable(Of ImageMetadataProfile)) 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.

securityProfile
ImageVersionSecurityProfile

The security profile of a 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.

imageMetadataProfiles
IEnumerable<ImageMetadataProfile>

The image metadata profiles associated with the gallery image version.

Returns

A new GalleryImageVersionData instance for mocking.

Applies to