Language

ArmComputeModelFactory.GalleryData Method

Definition

public static Azure.ResourceManager.Compute.GalleryData GalleryData(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, string description, Azure.ResourceManager.Compute.Models.GalleryProvisioningState? provisioningState, Azure.ResourceManager.Compute.Models.SharingProfile sharingProfile, Azure.ResourceManager.Compute.Models.SoftDeletePolicy softDeletePolicy, Azure.ResourceManager.Compute.Models.SharingStatus sharingStatus, string identifierUniqueName, Azure.ResourceManager.Models.ManagedServiceIdentity identity);
static member GalleryData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * string * Nullable<Azure.ResourceManager.Compute.Models.GalleryProvisioningState> * Azure.ResourceManager.Compute.Models.SharingProfile * Azure.ResourceManager.Compute.Models.SoftDeletePolicy * Azure.ResourceManager.Compute.Models.SharingStatus * string * Azure.ResourceManager.Models.ManagedServiceIdentity -> Azure.ResourceManager.Compute.GalleryData
Public Shared Function GalleryData (id As ResourceIdentifier, name As String, resourceType As ResourceType, systemData As SystemData, tags As IDictionary(Of String, String), location As AzureLocation, description As String, provisioningState As Nullable(Of GalleryProvisioningState), sharingProfile As SharingProfile, softDeletePolicy As SoftDeletePolicy, sharingStatus As SharingStatus, identifierUniqueName As String, identity As ManagedServiceIdentity) As GalleryData

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.

description
String

The description of this Shared Image Gallery resource. This property is updatable.

provisioningState
Nullable<GalleryProvisioningState>

The provisioning state, which only appears in the response.

sharingProfile
SharingProfile

Profile for gallery sharing to subscription or tenant.

softDeletePolicy
SoftDeletePolicy

Contains information about the soft deletion policy of the gallery.

sharingStatus
SharingStatus

Sharing status of current gallery.

identifierUniqueName
String

The unique name of the Shared Image Gallery. This name is generated automatically by Azure.

identity
ManagedServiceIdentity

The identity of the gallery, if configured.

Returns

A new GalleryData instance for mocking.

Applies to