Share via


SourceControlProperties Class

Definition

Describes source control properties

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.SourceControlPropertiesTypeConverter))]
public class SourceControlProperties : Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.ISourceControlProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.SourceControlPropertiesTypeConverter))>]
type SourceControlProperties = class
    interface ISourceControlProperties
    interface IJsonSerializable
Public Class SourceControlProperties
Implements ISourceControlProperties
Inheritance
SourceControlProperties
Attributes
Implements

Constructors

SourceControlProperties()

Creates an new SourceControlProperties instance.

Properties

ContentType

Array of source control content types.

Description

A description of the source control

DisplayName

The display name of the source control

Id

The id (a Guid) of the source control

RepositoryBranch

Branch name of repository.

RepositoryDeploymentLogsUrl

Url to access repository action logs.

RepositoryDisplayUrl

Display url of repository.

RepositoryPathMapping

Dictionary of source control content type and path mapping.

RepositoryUrl

Url of repository.

RepoType

The repository type of the source control

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SourceControlProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SourceControlProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.ISourceControlProperties.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SourceControlProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to