SourceControl interface
Represents a SourceControl in Azure Security Insights.
- Extends
Properties
| content |
Array of source control content types. |
| description | A description of the source control |
| display |
The display name of the source control |
| etag | Etag of the azure resource |
| id |
The id (a Guid) of the source control |
| last |
Information regarding the latest deployment for the source control. |
| pull |
Information regarding the pull request of the source control. |
| repository | Repository metadata. |
| repository |
Repository access credentials. This is write-only object and it never returns back to a user. |
| repository |
Information regarding the resources created in user's repository. |
| repo |
The repository type of the source control |
| service |
Service principal metadata. |
| version | The version number associated with the source control |
| workload |
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 |
| system |
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
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
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
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