Bicep resource definition
The connectors 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.Workloads/connectors resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Workloads/connectors@2023-10-01-preview' = {
identity: {
type: 'string'
userAssignedIdentities: {
{customized property}: {}
}
}
location: 'string'
name: 'string'
properties: {
managedResourceGroupConfiguration: {
name: 'string'
}
sourceResourceId: 'string'
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.Workloads/connectors
| Name |
Description |
Value |
| identity |
Managed service identity (user assigned identities) |
UserAssignedServiceIdentity |
| location |
The geo-location where the resource lives |
string (required) |
| name |
The resource name |
string
Constraints: Pattern = ^[A-Za-z0-9]+-?[A-Za-z0-9]*$ (required) |
| properties |
Defines the connector resource properties. |
ConnectorProperties (required) |
| tags |
Resource tags |
Dictionary of tag names and values. See Tags in templates |
ConnectorProperties
| Name |
Description |
Value |
| managedResourceGroupConfiguration |
Managed resource group configuration |
ManagedRGConfiguration |
| sourceResourceId |
Defines the ID of the connector's source resource. |
string (required) |
ManagedRGConfiguration
| Name |
Description |
Value |
| name |
Managed resource group name |
string |
UserAssignedIdentities
UserAssignedIdentity
UserAssignedServiceIdentity
| Name |
Description |
Value |
| type |
Type of manage identity |
'None' 'UserAssigned' (required) |
| userAssignedIdentities |
User assigned identities dictionary |
UserAssignedIdentities |
ARM template resource definition
The connectors resource type can be deployed with operations that target:
Usage Examples
To create a Microsoft.Workloads/connectors resource, add the following JSON to your template.
{
"type": "Microsoft.Workloads/connectors",
"apiVersion": "2023-10-01-preview",
"name": "string",
"identity": {
"type": "string",
"userAssignedIdentities": {
"{customized property}": {
}
}
},
"location": "string",
"properties": {
"managedResourceGroupConfiguration": {
"name": "string"
},
"sourceResourceId": "string"
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.Workloads/connectors
| Name |
Description |
Value |
| apiVersion |
The api version |
'2023-10-01-preview' |
| identity |
Managed service identity (user assigned identities) |
UserAssignedServiceIdentity |
| location |
The geo-location where the resource lives |
string (required) |
| name |
The resource name |
string
Constraints: Pattern = ^[A-Za-z0-9]+-?[A-Za-z0-9]*$ (required) |
| properties |
Defines the connector resource properties. |
ConnectorProperties (required) |
| tags |
Resource tags |
Dictionary of tag names and values. See Tags in templates |
| type |
The resource type |
'Microsoft.Workloads/connectors' |
ConnectorProperties
| Name |
Description |
Value |
| managedResourceGroupConfiguration |
Managed resource group configuration |
ManagedRGConfiguration |
| sourceResourceId |
Defines the ID of the connector's source resource. |
string (required) |
ManagedRGConfiguration
| Name |
Description |
Value |
| name |
Managed resource group name |
string |
UserAssignedIdentities
UserAssignedIdentity
UserAssignedServiceIdentity
| Name |
Description |
Value |
| type |
Type of manage identity |
'None' 'UserAssigned' (required) |
| userAssignedIdentities |
User assigned identities dictionary |
UserAssignedIdentities |
The connectors resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
To create a Microsoft.Workloads/connectors resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Workloads/connectors@2023-10-01-preview"
name = "string"
parent_id = "string"
identity {
type = "string"
identity_ids = [
"string"
]
}
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
managedResourceGroupConfiguration = {
name = "string"
}
sourceResourceId = "string"
}
}
}
Property Values
Microsoft.Workloads/connectors
| Name |
Description |
Value |
| identity |
Managed service identity (user assigned identities) |
UserAssignedServiceIdentity |
| location |
The geo-location where the resource lives |
string (required) |
| name |
The resource name |
string
Constraints: Pattern = ^[A-Za-z0-9]+-?[A-Za-z0-9]*$ (required) |
| properties |
Defines the connector resource properties. |
ConnectorProperties (required) |
| tags |
Resource tags |
Dictionary of tag names and values. |
| type |
The resource type |
"Microsoft.Workloads/connectors@2023-10-01-preview" |
ConnectorProperties
| Name |
Description |
Value |
| managedResourceGroupConfiguration |
Managed resource group configuration |
ManagedRGConfiguration |
| sourceResourceId |
Defines the ID of the connector's source resource. |
string (required) |
ManagedRGConfiguration
| Name |
Description |
Value |
| name |
Managed resource group name |
string |
UserAssignedIdentities
UserAssignedIdentity
UserAssignedServiceIdentity
| Name |
Description |
Value |
| type |
Type of manage identity |
'None' 'UserAssigned' (required) |
| userAssignedIdentities |
User assigned identities dictionary |
UserAssignedIdentities |