ArmComputeModelFactory.GalleryData Method

Definition

public static Azure.ResourceManager.Compute.GalleryData GalleryData(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, string description = default, Azure.ResourceManager.Compute.Models.GalleryProvisioningState? provisioningState = default, Azure.ResourceManager.Compute.Models.SharingProfile sharingProfile = default, Azure.ResourceManager.Compute.Models.SharingStatus sharingStatus = default, string identifierUniqueName = default, bool? isSoftDeleteEnabled = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default);
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.SharingStatus * string * Nullable<bool> * Azure.ResourceManager.Models.ManagedServiceIdentity -> Azure.ResourceManager.Compute.GalleryData
Public Shared Function GalleryData (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 description As String = Nothing, Optional provisioningState As Nullable(Of GalleryProvisioningState) = Nothing, Optional sharingProfile As SharingProfile = Nothing, Optional sharingStatus As SharingStatus = Nothing, Optional identifierUniqueName As String = Nothing, Optional isSoftDeleteEnabled As Nullable(Of Boolean) = Nothing, Optional identity As ManagedServiceIdentity = Nothing) 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.

sharingStatus
SharingStatus

Sharing status of current gallery.

identifierUniqueName
String

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

isSoftDeleteEnabled
Nullable<Boolean>

Enables soft-deletion for resources in this gallery, allowing them to be recovered within retention time.

identity
ManagedServiceIdentity

The identity of the gallery, if configured.

Returns

A new GalleryData instance for mocking.

Applies to