Partager via


SiteSourceControlProperties Class

Definition

SiteSourceControl resource specific properties

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.SiteSourceControlPropertiesTypeConverter))]
public class SiteSourceControlProperties : Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.ISiteSourceControlProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.SiteSourceControlPropertiesTypeConverter))>]
type SiteSourceControlProperties = class
    interface ISiteSourceControlProperties
    interface IJsonSerializable
Public Class SiteSourceControlProperties
Implements ISiteSourceControlProperties
Inheritance
SiteSourceControlProperties
Attributes
Implements

Constructors

SiteSourceControlProperties()

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

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.

RepoUrl

Repository or source control URL.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SiteSourceControlProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SiteSourceControlProperties.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SiteSourceControlProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to