다음을 통해 공유


Gallery Constructors

Definition

Overloads

Gallery()

Initializes a new instance of the Gallery class.

Gallery(String, String, String, String, IDictionary<String,String>, String, GalleryIdentifier, String, SharingProfile, SoftDeletePolicy, SharingStatus)

Initializes a new instance of the Gallery class.

Initializes a new instance of the Gallery class.

public Gallery ();
Public Sub New ()

Applies to

Initializes a new instance of the Gallery class.

public Gallery (string location, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string description = default, Microsoft.Azure.Management.Compute.Models.GalleryIdentifier identifier = default, string provisioningState = default, Microsoft.Azure.Management.Compute.Models.SharingProfile sharingProfile = default, Microsoft.Azure.Management.Compute.Models.SoftDeletePolicy softDeletePolicy = default, Microsoft.Azure.Management.Compute.Models.SharingStatus sharingStatus = default);
new Microsoft.Azure.Management.Compute.Models.Gallery : string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * Microsoft.Azure.Management.Compute.Models.GalleryIdentifier * string * Microsoft.Azure.Management.Compute.Models.SharingProfile * Microsoft.Azure.Management.Compute.Models.SoftDeletePolicy * Microsoft.Azure.Management.Compute.Models.SharingStatus -> Microsoft.Azure.Management.Compute.Models.Gallery
Public Sub New (location As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional description As String = Nothing, Optional identifier As GalleryIdentifier = Nothing, Optional provisioningState As String = Nothing, Optional sharingProfile As SharingProfile = Nothing, Optional softDeletePolicy As SoftDeletePolicy = Nothing, Optional sharingStatus As SharingStatus = Nothing)

Parameters

location
String

Resource location

id
String

Resource Id

name
String

Resource name

type
String

Resource type

tags
IDictionary<String,String>

Resource tags

description
String

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

identifier
GalleryIdentifier
provisioningState
String

Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating'

sharingProfile
SharingProfile
softDeletePolicy
SoftDeletePolicy
sharingStatus
SharingStatus

Applies to