Microsoft.Security securityConnectors/devops 2023-09-01-preview
Bicep resource definition
The securityConnectors/devops resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Security/securityConnectors/devops resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Security/securityConnectors/devops@2023-09-01-preview' = {
name: 'default'
parent: resourceSymbolicName
properties: {
authorization: {
code: 'string'
}
autoDiscovery: 'string'
provisioningState: 'string'
topLevelInventoryList: [
'string'
]
}
}
Property values
securityConnectors/devops
Name | Description | Value |
---|---|---|
name | The resource name See how to set names and types for child resources in Bicep. |
'default' |
parent | In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource. For more information, see Child resource outside parent resource. |
Symbolic name for resource of type: securityConnectors |
properties | DevOps Configuration properties. | DevOpsConfigurationProperties |
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[] |
Authorization
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. |
ARM template resource definition
The securityConnectors/devops resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
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" ]
}
}
Property values
securityConnectors/devops
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 |
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[] |
Authorization
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. |
Terraform (AzAPI provider) resource definition
The securityConnectors/devops resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.Security/securityConnectors/devops resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Security/securityConnectors/devops@2023-09-01-preview"
name = "default"
parent_id = "string"
body = jsonencode({
properties = {
authorization = {
code = "string"
}
autoDiscovery = "string"
provisioningState = "string"
topLevelInventoryList = [
"string"
]
}
})
}
Property values
securityConnectors/devops
Name | Description | Value |
---|---|---|
type | The resource type | "Microsoft.Security/securityConnectors/devops@2023-09-01-preview" |
name | The resource name | "default" |
parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: securityConnectors |
properties | DevOps Configuration properties. | DevOpsConfigurationProperties |
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[] |
Authorization
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. |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for