Microsoft.AzureStack linkedSubscriptions
Bicep resource definition
The linkedSubscriptions 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.AzureStack/linkedSubscriptions resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.AzureStack/linkedSubscriptions@2020-06-01-preview' = {
name: 'string'
location: 'global'
properties: {
linkedSubscriptionId: 'string'
registrationResourceId: 'string'
}
}
Property values
linkedSubscriptions
Name | Description | Value |
---|---|---|
name | The resource name | string (required) |
location | Location of the resource. | 'global' (required) |
properties | Properties of the Linked Subscription resource | LinkedSubscriptionParameterPropertiesOrLinkedSubscri... (required) |
LinkedSubscriptionParameterPropertiesOrLinkedSubscri...
Name | Description | Value |
---|---|---|
linkedSubscriptionId | The identifier associated with the device subscription. | string (required) |
registrationResourceId | The identifier associated with the device registration. | string (required) |
ARM template resource definition
The linkedSubscriptions 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.AzureStack/linkedSubscriptions resource, add the following JSON to your template.
{
"type": "Microsoft.AzureStack/linkedSubscriptions",
"apiVersion": "2020-06-01-preview",
"name": "string",
"location": "global",
"properties": {
"linkedSubscriptionId": "string",
"registrationResourceId": "string"
}
}
Property values
linkedSubscriptions
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.AzureStack/linkedSubscriptions' |
apiVersion | The resource api version | '2020-06-01-preview' |
name | The resource name | string (required) |
location | Location of the resource. | 'global' (required) |
properties | Properties of the Linked Subscription resource | LinkedSubscriptionParameterPropertiesOrLinkedSubscri... (required) |
LinkedSubscriptionParameterPropertiesOrLinkedSubscri...
Name | Description | Value |
---|---|---|
linkedSubscriptionId | The identifier associated with the device subscription. | string (required) |
registrationResourceId | The identifier associated with the device registration. | string (required) |
Terraform (AzAPI provider) resource definition
The linkedSubscriptions 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.AzureStack/linkedSubscriptions resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.AzureStack/linkedSubscriptions@2020-06-01-preview"
name = "string"
location = "global"
parent_id = "string"
body = jsonencode({
properties = {
linkedSubscriptionId = "string"
registrationResourceId = "string"
}
})
}
Property values
linkedSubscriptions
Name | Description | Value |
---|---|---|
type | The resource type | "Microsoft.AzureStack/linkedSubscriptions@2020-06-01-preview" |
name | The resource name | string (required) |
location | Location of the resource. | "global" (required) |
parent_id | To deploy to a resource group, use the ID of that resource group. | string (required) |
properties | Properties of the Linked Subscription resource | LinkedSubscriptionParameterPropertiesOrLinkedSubscri... (required) |
LinkedSubscriptionParameterPropertiesOrLinkedSubscri...
Name | Description | Value |
---|---|---|
linkedSubscriptionId | The identifier associated with the device subscription. | string (required) |
registrationResourceId | The identifier associated with the device registration. | string (required) |