1+ {
2+ "id" : " https://schema.management.azure.com/schemas/2022-06-01/Microsoft.AzureStack.json#" ,
3+ "$schema" : " http://json-schema.org/draft-04/schema#" ,
4+ "title" : " Microsoft.AzureStack" ,
5+ "description" : " Microsoft AzureStack Resource Types" ,
6+ "resourceDefinitions" : {
7+ "registrations" : {
8+ "type" : " object" ,
9+ "properties" : {
10+ "apiVersion" : {
11+ "type" : " string" ,
12+ "enum" : [
13+ " 2022-06-01"
14+ ]
15+ },
16+ "location" : {
17+ "oneOf" : [
18+ {
19+ "type" : " string" ,
20+ "enum" : [
21+ " global"
22+ ]
23+ },
24+ {
25+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
26+ }
27+ ],
28+ "description" : " Location of the resource."
29+ },
30+ "name" : {
31+ "type" : " string" ,
32+ "description" : " Name of the Azure Stack registration."
33+ },
34+ "properties" : {
35+ "oneOf" : [
36+ {
37+ "$ref" : " #/definitions/RegistrationParameterProperties"
38+ },
39+ {
40+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
41+ }
42+ ],
43+ "description" : " Properties of the Azure Stack registration resource"
44+ },
45+ "resources" : {
46+ "type" : " array" ,
47+ "items" : {
48+ "oneOf" : [
49+ {
50+ "$ref" : " #/definitions/registrations_customerSubscriptions_childResource"
51+ }
52+ ]
53+ }
54+ },
55+ "type" : {
56+ "type" : " string" ,
57+ "enum" : [
58+ " Microsoft.AzureStack/registrations"
59+ ]
60+ }
61+ },
62+ "required" : [
63+ " apiVersion" ,
64+ " location" ,
65+ " name" ,
66+ " properties" ,
67+ " type"
68+ ],
69+ "description" : " Microsoft.AzureStack/registrations"
70+ },
71+ "registrations_customerSubscriptions" : {
72+ "type" : " object" ,
73+ "properties" : {
74+ "apiVersion" : {
75+ "type" : " string" ,
76+ "enum" : [
77+ " 2022-06-01"
78+ ]
79+ },
80+ "etag" : {
81+ "type" : " string" ,
82+ "description" : " The entity tag used for optimistic concurrency when modifying the resource."
83+ },
84+ "name" : {
85+ "type" : " string" ,
86+ "description" : " Name of the product."
87+ },
88+ "properties" : {
89+ "oneOf" : [
90+ {
91+ "$ref" : " #/definitions/CustomerSubscriptionProperties"
92+ },
93+ {
94+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
95+ }
96+ ],
97+ "description" : " Customer subscription properties."
98+ },
99+ "type" : {
100+ "type" : " string" ,
101+ "enum" : [
102+ " Microsoft.AzureStack/registrations/customerSubscriptions"
103+ ]
104+ }
105+ },
106+ "required" : [
107+ " apiVersion" ,
108+ " name" ,
109+ " properties" ,
110+ " type"
111+ ],
112+ "description" : " Microsoft.AzureStack/registrations/customerSubscriptions"
113+ }
114+ },
115+ "definitions" : {
116+ "CustomerSubscriptionProperties" : {
117+ "type" : " object" ,
118+ "properties" : {
119+ "tenantId" : {
120+ "type" : " string" ,
121+ "description" : " Tenant Id."
122+ }
123+ },
124+ "description" : " Customer subscription properties."
125+ },
126+ "RegistrationParameterProperties" : {
127+ "type" : " object" ,
128+ "properties" : {
129+ "registrationToken" : {
130+ "type" : " string" ,
131+ "description" : " The token identifying registered Azure Stack"
132+ }
133+ },
134+ "required" : [
135+ " registrationToken"
136+ ],
137+ "description" : " Properties of the Azure Stack registration resource"
138+ },
139+ "registrations_customerSubscriptions_childResource" : {
140+ "type" : " object" ,
141+ "properties" : {
142+ "apiVersion" : {
143+ "type" : " string" ,
144+ "enum" : [
145+ " 2022-06-01"
146+ ]
147+ },
148+ "etag" : {
149+ "type" : " string" ,
150+ "description" : " The entity tag used for optimistic concurrency when modifying the resource."
151+ },
152+ "name" : {
153+ "type" : " string" ,
154+ "description" : " Name of the product."
155+ },
156+ "properties" : {
157+ "oneOf" : [
158+ {
159+ "$ref" : " #/definitions/CustomerSubscriptionProperties"
160+ },
161+ {
162+ "$ref" : " https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
163+ }
164+ ],
165+ "description" : " Customer subscription properties."
166+ },
167+ "type" : {
168+ "type" : " string" ,
169+ "enum" : [
170+ " customerSubscriptions"
171+ ]
172+ }
173+ },
174+ "required" : [
175+ " apiVersion" ,
176+ " name" ,
177+ " properties" ,
178+ " type"
179+ ],
180+ "description" : " Microsoft.AzureStack/registrations/customerSubscriptions"
181+ }
182+ }
183+ }
0 commit comments