Skip to content

Commit a481a41

Browse files
author
SDK Automation
committed
Generated from a7e0eb392ef6c4d1e0bc0d08315b7d2641afb2e6
Fix
1 parent f25f2c4 commit a481a41

File tree

2 files changed

+91
-0
lines changed

2 files changed

+91
-0
lines changed
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
{
2+
"id": "https://schema.management.azure.com/schemas/2016-06-01/Microsoft.Subscription.json#",
3+
"$schema": "http://json-schema.org/draft-04/schema#",
4+
"title": "Microsoft.Subscription",
5+
"description": "Microsoft Subscription Resource Types",
6+
"resourceDefinitions": {},
7+
"tenant_resourceDefinitions": {
8+
"aliases": {
9+
"type": "object",
10+
"properties": {
11+
"apiVersion": {
12+
"type": "string",
13+
"enum": [
14+
"2016-06-01"
15+
]
16+
},
17+
"name": {
18+
"type": "string",
19+
"description": "Alias Name"
20+
},
21+
"properties": {
22+
"oneOf": [
23+
{
24+
"$ref": "#/definitions/PutAliasRequestProperties"
25+
},
26+
{
27+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
28+
}
29+
],
30+
"description": "Put subscription properties."
31+
},
32+
"type": {
33+
"type": "string",
34+
"enum": [
35+
"Microsoft.Subscription/aliases"
36+
]
37+
}
38+
},
39+
"required": [
40+
"apiVersion",
41+
"name",
42+
"properties",
43+
"type"
44+
],
45+
"description": "Microsoft.Subscription/aliases"
46+
}
47+
},
48+
"definitions": {
49+
"PutAliasRequestProperties": {
50+
"type": "object",
51+
"properties": {
52+
"billingScope": {
53+
"type": "string",
54+
"description": "Determines whether subscription is fieldLed, partnerLed or LegacyEA"
55+
},
56+
"displayName": {
57+
"type": "string",
58+
"description": "The friendly name of the subscription."
59+
},
60+
"subscriptionId": {
61+
"type": "string",
62+
"description": "This parameter can be used to create alias for existing subscription Id"
63+
},
64+
"workload": {
65+
"oneOf": [
66+
{
67+
"type": "string",
68+
"enum": [
69+
"Production",
70+
"DevTest"
71+
]
72+
},
73+
{
74+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
75+
}
76+
],
77+
"description": "The workload type of the subscription. It can be either Production or DevTest."
78+
}
79+
},
80+
"required": [
81+
"billingScope",
82+
"displayName",
83+
"workload"
84+
],
85+
"description": "Put subscription properties."
86+
}
87+
}
88+
}

schemas/2019-08-01/tenantDeploymentTemplate.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,9 @@
234234
{
235235
"$ref": "https://schema.management.azure.com/schemas/2020-06-01/Microsoft.Resources.json#/tenant_resourceDefinitions/deployments"
236236
},
237+
{
238+
"$ref": "https://schema.management.azure.com/schemas/2016-06-01/Microsoft.Subscription.json#/tenant_resourceDefinitions/aliases"
239+
},
237240
{
238241
"$ref": "https://schema.management.azure.com/schemas/2017-11-01-preview/Microsoft.Subscription.json#/tenant_resourceDefinitions/subscriptionDefinitions"
239242
}

0 commit comments

Comments
 (0)