Share via


SourceUpdateParameters Class

Definition

The properties for updating the source code repository.

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

Constructors

SourceUpdateParameters()

Creates an new SourceUpdateParameters 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 SourceUpdateParameters.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SourceUpdateParameters.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SourceUpdateParameters into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to