Bagikan melalui


GalleryArtifactVersionSource Class

Definition

The gallery artifact version source.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.GalleryArtifactVersionSourceTypeConverter))]
public class GalleryArtifactVersionSource : Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryArtifactVersionSource
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.GalleryArtifactVersionSourceTypeConverter))>]
type GalleryArtifactVersionSource = class
    interface IGalleryArtifactVersionSource
    interface IJsonSerializable
Public Class GalleryArtifactVersionSource
Implements IGalleryArtifactVersionSource
Inheritance
GalleryArtifactVersionSource
Attributes
Implements

Constructors

GalleryArtifactVersionSource()

Creates an new GalleryArtifactVersionSource instance.

Properties

Id

The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource.

Uri

The uri of the gallery artifact version source. Currently used to specify vhd/blob source.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of GalleryArtifactVersionSource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of GalleryArtifactVersionSource.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Compute.Models.Api20220103.IGalleryArtifactVersionSource.

FromJsonString(String)

Creates a new instance of GalleryArtifactVersionSource, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of GalleryArtifactVersionSource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to