Share via


SourceControl Class

Definition

Container App SourceControl.

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

Constructors

SourceControl()

Creates an new SourceControl instance.

Properties

AzureCredentialsClientId

Client Id.

AzureCredentialsClientSecret

Client Secret.

AzureCredentialsKind

Kind of auth github does for deploying the template

AzureCredentialsSubscriptionId

Subscription Id.

AzureCredentialsTenantId

Tenant Id.

Branch

The branch which will trigger the auto deployment

GithubActionConfigurationContextPath

Context path

GithubActionConfigurationGithubPersonalAccessToken

One time Github PAT to configure github environment

GithubActionConfigurationImage

Image name

GithubActionConfigurationOS

Operation system

GithubActionConfigurationPublishType

Code or Image

GithubActionConfigurationRuntimeStack

Runtime stack

GithubActionConfigurationRuntimeVersion

Runtime version

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

Name

The name of the resource

OperationState

Current provisioning State of the operation

RegistryInfoRegistryPassword

registry secret.

RegistryInfoRegistryUrl

registry server Url.

RegistryInfoRegistryUserName

registry username.

RepoUrl

The repo url which will be integrated to ContainerApp.

ResourceGroupName

Gets the resource group name

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

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.App.Models.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.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to