다음을 통해 공유


UserSourceInfo Class

Definition

Source information for a deployment

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.UserSourceInfoTypeConverter))]
public class UserSourceInfo : Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IUserSourceInfo
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.UserSourceInfoTypeConverter))>]
type UserSourceInfo = class
    interface IUserSourceInfo
    interface IJsonSerializable
Public Class UserSourceInfo
Implements IUserSourceInfo
Inheritance
UserSourceInfo
Attributes
Implements

Constructors

Name Description
UserSourceInfo()

Creates an new UserSourceInfo instance.

Properties

Name Description
Type

Type of the source uploaded

Version

Version of the source

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of UserSourceInfo.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of UserSourceInfo.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IUserSourceInfo. Note: the Microsoft.Azure.PowerShell.Cmdlets.SpringCloud.Models.IUserSourceInfo interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of UserSourceInfo into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to