The associations resource type is an extension resource, which means you can apply it to another resource.
Use the scope
property on this resource to set the scope for this resource. See Set scope on extension resources in ARM templates.
Valid deployment scopes for the associations resource are:
For a list of changed properties in each API version, see change log.
To create a Microsoft.CustomProviders/associations resource, add the following JSON to your template.
{
"type": "Microsoft.CustomProviders/associations",
"apiVersion": "2018-09-01-preview",
"name": "string",
"scope": "string",
"properties": {
"targetResourceId": "string"
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.CustomProviders/associations' |
apiVersion | The resource api version | '2018-09-01-preview' |
name | The resource name | string (required) Character limit: 1-180 Valid characters: Can't use: %&\\?/ or control charactersCan't end with period or space. |
scope | Use when creating an extension resource at a scope that is different than the deployment scope. | Target resource For JSON, set the value to the full name of the resource to apply the extension resource to. |
properties | The properties of the association. | AssociationProperties |
Name | Description | Value |
---|---|---|
targetResourceId | The REST resource instance of the target resource for this association. | string |
The following quickstart templates deploy this resource type.
Template | Description |
---|---|
Extend Existing Azure Resources with Custom Providers |
This sample will go into detail on how to extend existing Azure resources and Resource Manager templates to add in custom workloads. |