Partilhar via


SiteSourceControl Class

Definition

Source control configuration for an app.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.SiteSourceControlTypeConverter))]
public class SiteSourceControl : Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.ISiteSourceControl, Microsoft.Azure.PowerShell.Cmdlets.Websites.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.SiteSourceControlTypeConverter))>]
type SiteSourceControl = class
    interface ISiteSourceControl
    interface IJsonSerializable
    interface IProxyOnlyResource
    interface IValidates
Public Class SiteSourceControl
Implements ISiteSourceControl, IValidates
Inheritance
SiteSourceControl
Attributes
Implements

Constructors

SiteSourceControl()

Creates an new SiteSourceControl instance.

Properties

Branch

Name of branch to use for deployment.

CodeConfigurationRuntimeStack

Runtime stack is used to determine the workflow file content for code base apps.

CodeConfigurationRuntimeVersion

Runtime version is used to determine what build version to set in the workflow file.

ContainerConfigurationImageName

The image name for the build.

ContainerConfigurationPassword

The password used to upload the image to the container registry.

ContainerConfigurationServerUrl

The server URL for the container registry where the build will be hosted.

ContainerConfigurationUsername

The username used to upload the image to the container registry.

DeploymentRollbackEnabled

true to enable deployment rollback; otherwise, false.

GitHubActionConfigurationGenerateWorkflowFile

Workflow option to determine whether the workflow file should be generated and written to the repository.

GitHubActionConfigurationIsLinux

This will help determine the workflow configuration to select.

Id

Resource Id.

IsGitHubAction

true if this is deployed via GitHub action.

IsManualIntegration

true to limit to manual integration; false to enable continuous integration (which configures webhooks into online repos like GitHub).

IsMercurial

true for a Mercurial repository; false for a Git repository.

Kind

Kind of resource.

Name

Resource Name.

RepoUrl

Repository or source control URL.

Type

Resource type.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SiteSourceControl.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SiteSourceControl.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.ISiteSourceControl.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SiteSourceControl into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to