SourceControl Class
Represents a SourceControl in Azure Security Insights.
Variables are only populated by the server, and will be ignored when sending a request.
- Inheritance
-
azure.mgmt.securityinsight.models._models_py3.ResourceWithEtagSourceControl
Constructor
SourceControl(*, etag: Optional[str] = None, id_properties_id: Optional[str] = None, version: Optional[Union[str, azure.mgmt.securityinsight.models._security_insights_enums.Version]] = None, display_name: Optional[str] = None, description: Optional[str] = None, repo_type: Optional[Union[str, azure.mgmt.securityinsight.models._security_insights_enums.RepoType]] = None, content_types: Optional[List[Union[str, azure.mgmt.securityinsight.models._security_insights_enums.ContentType]]] = None, repository: Optional[azure.mgmt.securityinsight.models._models_py3.Repository] = None, repository_resource_info: Optional[azure.mgmt.securityinsight.models._models_py3.RepositoryResourceInfo] = None, last_deployment_info: Optional[azure.mgmt.securityinsight.models._models_py3.DeploymentInfo] = None, **kwargs)
Variables
- id
- str
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- str
The name of the resource.
- type
- str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- system_data
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- etag
- str
Etag of the azure resource.
- id_properties_id
- str
The id (a Guid) of the source control.
The version number associated with the source control. Possible values include: "V1", "V2".
- display_name
- str
The display name of the source control.
- description
- str
A description of the source control.
The repository type of the source control. Possible values include: "Github", "DevOps".
- content_types
- list[str or ContentType]
Array of source control content types.
- repository
- Repository
Repository metadata.
- repository_resource_info
- RepositoryResourceInfo
Information regarding the resources created in user's repository.
- last_deployment_info
- DeploymentInfo
Information regarding the latest deployment for the source control.
Feedback
Submit and view feedback for