source_control_repositories
Creates, updates, deletes, gets or lists a source_control_repositories
resource.
Overview
Name | source_control_repositories |
Type | Resource |
Id | azure.sentinel.source_control_repositories |
Fields
The following fields are returned by SELECT
queries:
- list
Name | Datatype | Description |
---|---|---|
branches | array | Array of branches. |
fullName | string | The name of the repository. |
installationId | integer (int64) | The installation id of the repository. |
url | string | The url to access the repository. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | subscriptionId , resourceGroupName , workspaceName | Gets a list of repositories metadata. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string | The ID of the target subscription. |
workspaceName | string | The name of the workspace. |
SELECT
examples
- list
Gets a list of repositories metadata.
SELECT
branches,
fullName,
installationId,
url
FROM azure.sentinel.source_control_repositories
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND workspaceName = '{{ workspaceName }}' -- required
;