Sdílet prostřednictvím


ArmComputeModelFactory.GalleryData Method

Definition

Initializes a new instance of GalleryData.

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

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.

description
String

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

identifierUniqueName
String

Describes the gallery unique name.

provisioningState
Nullable<GalleryProvisioningState>

The provisioning state, which only appears in the response.

sharingProfile
SharingProfile

Profile for gallery sharing to subscription or tenant.

isSoftDeleteEnabled
Nullable<Boolean>

Contains information about the soft deletion policy of the gallery.

sharingStatus
SharingStatus

Sharing status of current gallery.

Returns

A new GalleryData instance for mocking.

Applies to