SourceControl interface

Represents a SourceControl in Azure Security Insights.

Extends

Properties

contentTypes

Array of source control content types.

description

A description of the source control

displayName

The display name of the source control

etag

Etag of the azure resource

idPropertiesId

The id (a Guid) of the source control

lastDeploymentInfo

Information regarding the latest deployment for the source control.

pullRequest

Information regarding the pull request of the source control.

repository

Repository metadata.

repositoryAccess

Repository access credentials. This is write-only object and it never returns back to a user.

repositoryResourceInfo

Information regarding the resources created in user's repository.

repoType

The repository type of the source control

servicePrincipal

Service principal metadata.

version

The version number associated with the source control

workloadIdentityFederation

Workload Identity metadata.

Inherited Properties

id

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

name

The name of the resource

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type

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

Property Details

contentTypes

Array of source control content types.

contentTypes: string[]

Property Value

string[]

description

A description of the source control

description?: string

Property Value

string

displayName

The display name of the source control

displayName: string

Property Value

string

etag

Etag of the azure resource

etag?: string

Property Value

string

idPropertiesId

The id (a Guid) of the source control

idPropertiesId?: string

Property Value

string

lastDeploymentInfo

Information regarding the latest deployment for the source control.

lastDeploymentInfo?: DeploymentInfo

Property Value

pullRequest

Information regarding the pull request of the source control.

pullRequest?: PullRequest

Property Value

repository

Repository metadata.

repository: Repository

Property Value

repositoryAccess

Repository access credentials. This is write-only object and it never returns back to a user.

repositoryAccess?: RepositoryAccess

Property Value

repositoryResourceInfo

Information regarding the resources created in user's repository.

repositoryResourceInfo?: RepositoryResourceInfo

Property Value

repoType

The repository type of the source control

repoType: string

Property Value

string

servicePrincipal

Service principal metadata.

servicePrincipal?: ServicePrincipal

Property Value

version

The version number associated with the source control

version?: string

Property Value

string

workloadIdentityFederation

Workload Identity metadata.

workloadIdentityFederation?: WorkloadIdentityFederation

Property Value

Inherited Property Details

id

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

id?: string

Property Value

string

Inherited From ProxyResource.id

name

The name of the resource

name?: string

Property Value

string

Inherited From ProxyResource.name

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

systemData?: SystemData

Property Value

Inherited From ProxyResource.systemData

type

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

type?: string

Property Value

string

Inherited From ProxyResource.type