Share via


SourceProperties Class

Definition

The properties of the source code repository.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.SourcePropertiesTypeConverter))]
public class SourceProperties : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.ISourceProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.SourcePropertiesTypeConverter))>]
type SourceProperties = class
    interface ISourceProperties
    interface IJsonSerializable
Public Class SourceProperties
Implements ISourceProperties
Inheritance
SourceProperties
Attributes
Implements

Constructors

SourceProperties()

Creates an new SourceProperties instance.

Properties

Branch

The branch name of the source code.

RepositoryUrl

The full URL to the source code repository

SourceControlAuthPropertyExpiresIn

Time in seconds that the token remains valid

SourceControlAuthPropertyRefreshToken

The refresh token used to refresh the access token.

SourceControlAuthPropertyScope

The scope of the access token.

SourceControlAuthPropertyToken

The access token used to access the source control provider.

SourceControlAuthPropertyTokenType

The type of Auth token.

SourceControlType

The type of source control service.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SourceProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SourceProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.ISourceProperties.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SourceProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to