Microsoft.Subscription subscriptionDefinitions
The subscriptionDefinitions resource type can be deployed with operations that target:
- Tenant - See tenant deployment commands
For a list of changed properties in each API version, see change log.
To create a Microsoft.Subscription/subscriptionDefinitions resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Subscription/subscriptionDefinitions@2017-11-01-preview' = {
name: 'string'
properties: {
etag: 'string'
offerType: 'string'
subscriptionDisplayName: 'string'
}
}
Name | Description | Value |
---|---|---|
name | The resource name | string (required) |
properties | the subscription definition properties | SubscriptionDefinitionProperties |
Name | Description | Value |
---|---|---|
etag | The etag the subscription definition. | string |
offerType | The offer type of the subscription. For example, MS-AZR-0017P (EnterpriseAgreement) and MS-AZR-0148P (EnterpriseAgreement devTest) are available. | string |
subscriptionDisplayName | The display name of the subscription. | string |
The subscriptionDefinitions resource type can be deployed with operations that target:
- Tenant - See tenant deployment commands
For a list of changed properties in each API version, see change log.
To create a Microsoft.Subscription/subscriptionDefinitions resource, add the following JSON to your template.
{
"type": "Microsoft.Subscription/subscriptionDefinitions",
"apiVersion": "2017-11-01-preview",
"name": "string",
"properties": {
"etag": "string",
"offerType": "string",
"subscriptionDisplayName": "string"
}
}
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2017-11-01-preview' |
name | The resource name | string (required) |
properties | the subscription definition properties | SubscriptionDefinitionProperties |
type | The resource type | 'Microsoft.Subscription/subscriptionDefinitions' |
Name | Description | Value |
---|---|---|
etag | The etag the subscription definition. | string |
offerType | The offer type of the subscription. For example, MS-AZR-0017P (EnterpriseAgreement) and MS-AZR-0148P (EnterpriseAgreement devTest) are available. | string |
subscriptionDisplayName | The display name of the subscription. | string |
The subscriptionDefinitions resource type can be deployed with operations that target:
- Tenant
For a list of changed properties in each API version, see change log.
To create a Microsoft.Subscription/subscriptionDefinitions resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Subscription/subscriptionDefinitions@2017-11-01-preview"
name = "string"
body = jsonencode({
properties = {
etag = "string"
offerType = "string"
subscriptionDisplayName = "string"
}
})
}
Name | Description | Value |
---|---|---|
name | The resource name | string (required) |
properties | the subscription definition properties | SubscriptionDefinitionProperties |
type | The resource type | "Microsoft.Subscription/subscriptionDefinitions@2017-11-01-preview" |
Name | Description | Value |
---|---|---|
etag | The etag the subscription definition. | string |
offerType | The offer type of the subscription. For example, MS-AZR-0017P (EnterpriseAgreement) and MS-AZR-0148P (EnterpriseAgreement devTest) are available. | string |
subscriptionDisplayName | The display name of the subscription. | string |