你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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