The securityConnectors/devops resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
To create a Microsoft.Security/securityConnectors/devops resource, add the following JSON to your template.
{
"type": "Microsoft.Security/securityConnectors/devops",
"apiVersion": "2023-09-01-preview",
"name": "default",
"properties": {
"authorization": {
"code": "string"
},
"autoDiscovery": "string",
"provisioningState": "string",
"topLevelInventoryList": [ "string" ]
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.Security/securityConnectors/devops' |
apiVersion | The resource api version | '2023-09-01-preview' |
name | The resource name See how to set names and types for child resources in JSON ARM templates. |
'default' |
properties | DevOps Configuration properties. | DevOpsConfigurationProperties |
Name | Description | Value |
---|---|---|
authorization | Authorization payload. | Authorization |
autoDiscovery | AutoDiscovery states. | 'Disabled' 'Enabled' 'NotApplicable' |
provisioningState | The provisioning state of the resource. Pending - Provisioning pending. Failed - Provisioning failed. Succeeded - Successful provisioning. Canceled - Provisioning canceled. PendingDeletion - Deletion pending. DeletionSuccess - Deletion successful. DeletionFailure - Deletion failure. |
'Canceled' 'DeletionFailure' 'DeletionSuccess' 'Failed' 'Pending' 'PendingDeletion' 'Succeeded' |
topLevelInventoryList | List of top-level inventory to select when AutoDiscovery is disabled. This field is ignored when AutoDiscovery is enabled. |
string[] |
Name | Description | Value |
---|---|---|
code | Gets or sets one-time OAuth code to exchange for refresh and access tokens. Only used during PUT/PATCH operations. The secret is cleared during GET. |
string Constraints: Sensitive value. Pass in as a secure parameter. |