Aracılığıyla paylaş


SourceControl Class

Definition

The source control OAuth token.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SourceControlTypeConverter))]
public class SourceControl : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISourceControl, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SourceControlTypeConverter))>]
type SourceControl = class
    interface ISourceControl
    interface IJsonSerializable
    interface IProxyOnlyResource
    interface IValidates
Public Class SourceControl
Implements ISourceControl, IValidates
Inheritance
SourceControl
Attributes
Implements

Constructors

SourceControl()

Creates an new SourceControl instance.

Properties

ExpirationTime

OAuth token expiration.

Id

Resource Id.

Kind

Kind of resource.

Name

Resource Name.

RefreshToken

OAuth refresh token.

Token

OAuth access token.

TokenSecret

OAuth access token secret.

Type

Resource type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SourceControl.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SourceControl.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISourceControl.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SourceControl into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to