Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 88 additions & 0 deletions schemas/2016-06-01/Microsoft.Subscription.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
{
"id": "https://schema.management.azure.com/schemas/2016-06-01/Microsoft.Subscription.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.Subscription",
"description": "Microsoft Subscription Resource Types",
"resourceDefinitions": {},
"tenant_resourceDefinitions": {
"aliases": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2016-06-01"
]
},
"name": {
"type": "string",
"description": "Alias Name"
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/PutAliasRequestProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Put subscription properties."
},
"type": {
"type": "string",
"enum": [
"Microsoft.Subscription/aliases"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.Subscription/aliases"
}
},
"definitions": {
"PutAliasRequestProperties": {
"type": "object",
"properties": {
"billingScope": {
"type": "string",
"description": "Determines whether subscription is fieldLed, partnerLed or LegacyEA"
},
"displayName": {
"type": "string",
"description": "The friendly name of the subscription."
},
"subscriptionId": {
"type": "string",
"description": "This parameter can be used to create alias for existing subscription Id"
},
"workload": {
"oneOf": [
{
"type": "string",
"enum": [
"Production",
"DevTest"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The workload type of the subscription. It can be either Production or DevTest."
}
},
"required": [
"billingScope",
"displayName",
"workload"
],
"description": "Put subscription properties."
}
}
}
3 changes: 3 additions & 0 deletions schemas/2019-08-01/tenantDeploymentTemplate.json
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,9 @@
{
"$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Resources.json#/tenant_resourceDefinitions/deployments"
},
{
"$ref": "https://schema.management.azure.com/schemas/2016-06-01/Microsoft.Subscription.json#/tenant_resourceDefinitions/aliases"
},
{
"$ref": "https://schema.management.azure.com/schemas/2017-11-01-preview/Microsoft.Subscription.json#/tenant_resourceDefinitions/subscriptionDefinitions"
}
Expand Down