Skip to content

Commit c9f6097

Browse files
Generate for trafficmanager
1 parent 18b459a commit c9f6097

10 files changed

+1427
-1431
lines changed
Lines changed: 78 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -1,260 +1,260 @@
11
{
22
"id": "https://schema.management.azure.com/schemas/2015-11-01/Microsoft.Network.TrafficManager.json#",
3-
"$schema": "http://json-schema.org/draft-04/schema#",
43
"title": "Microsoft.Network",
54
"description": "Microsoft Network Resource Types",
5+
"$schema": "http://json-schema.org/draft-04/schema#",
66
"resourceDefinitions": {
77
"trafficmanagerprofiles": {
8-
"type": "object",
8+
"description": "Microsoft.Network/trafficmanagerprofiles",
99
"properties": {
1010
"apiVersion": {
11-
"type": "string",
1211
"enum": [
1312
"2015-11-01"
14-
]
13+
],
14+
"type": "string"
1515
},
1616
"location": {
17-
"type": "string",
18-
"description": "Resource location"
17+
"description": "Resource location",
18+
"type": "string"
1919
},
2020
"name": {
21-
"type": "string",
22-
"description": "The name of the Traffic Manager profile."
21+
"description": "The name of the Traffic Manager profile.",
22+
"type": "string"
2323
},
2424
"properties": {
25+
"description": "Class representing the Traffic Manager profile properties.",
2526
"oneOf": [
2627
{
2728
"$ref": "#/definitions/ProfileProperties"
2829
},
2930
{
3031
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
3132
}
32-
],
33-
"description": "Class representing the Traffic Manager profile properties."
33+
]
3434
},
3535
"tags": {
36+
"description": "Resource tags",
3637
"oneOf": [
3738
{
38-
"type": "object",
3939
"additionalProperties": {
4040
"type": "string"
4141
},
42-
"properties": {}
42+
"properties": {},
43+
"type": "object"
4344
},
4445
{
4546
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
4647
}
47-
],
48-
"description": "Resource tags"
48+
]
4949
},
5050
"type": {
51-
"type": "string",
5251
"enum": [
5352
"Microsoft.Network/trafficmanagerprofiles"
54-
]
53+
],
54+
"type": "string"
5555
}
5656
},
5757
"required": [
58-
"apiVersion",
5958
"name",
6059
"properties",
60+
"apiVersion",
6161
"type"
6262
],
63-
"description": "Microsoft.Network/trafficmanagerprofiles"
63+
"type": "object"
6464
}
6565
},
6666
"definitions": {
6767
"DnsConfig": {
68-
"type": "object",
68+
"description": "Class containing DNS settings in a Traffic Manager profile.",
6969
"properties": {
7070
"fqdn": {
71-
"type": "string",
72-
"description": "Gets or sets the fully-qualified domain name (FQDN) of the Traffic Manager profile. This is formed from the concatenation of the RelativeName with the DNS domain used by Azure Traffic Manager."
71+
"description": "Gets or sets the fully-qualified domain name (FQDN) of the Traffic Manager profile. This is formed from the concatenation of the RelativeName with the DNS domain used by Azure Traffic Manager.",
72+
"type": "string"
7373
},
7474
"relativeName": {
75-
"type": "string",
76-
"description": "Gets or sets the relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile."
75+
"description": "Gets or sets the relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile.",
76+
"type": "string"
7777
},
7878
"ttl": {
79+
"description": "Gets or sets the DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile.",
7980
"oneOf": [
8081
{
8182
"type": "integer"
8283
},
8384
{
8485
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
8586
}
86-
],
87-
"description": "Gets or sets the DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile."
87+
]
8888
}
8989
},
90-
"description": "Class containing DNS settings in a Traffic Manager profile."
90+
"type": "object"
9191
},
9292
"Endpoint": {
93-
"type": "object",
93+
"description": "Class representing a Traffic Manager endpoint.",
9494
"properties": {
9595
"id": {
96-
"type": "string",
97-
"description": "Gets or sets the ID of the Traffic Manager endpoint."
96+
"description": "Gets or sets the ID of the Traffic Manager endpoint.",
97+
"type": "string"
9898
},
9999
"name": {
100-
"type": "string",
101-
"description": "Gets or sets the name of the Traffic Manager endpoint."
100+
"description": "Gets or sets the name of the Traffic Manager endpoint.",
101+
"type": "string"
102102
},
103103
"properties": {
104+
"description": "Class representing a Traffic Manager endpoint properties.",
104105
"oneOf": [
105106
{
106107
"$ref": "#/definitions/EndpointProperties"
107108
},
108109
{
109110
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
110111
}
111-
],
112-
"description": "Class representing a Traffic Manager endpoint properties."
112+
]
113113
},
114114
"type": {
115-
"type": "string",
116-
"description": "Gets or sets the endpoint type of the Traffic Manager endpoint."
115+
"description": "Gets or sets the endpoint type of the Traffic Manager endpoint.",
116+
"type": "string"
117117
}
118118
},
119-
"description": "Class representing a Traffic Manager endpoint."
119+
"type": "object"
120120
},
121121
"EndpointProperties": {
122-
"type": "object",
122+
"description": "Class representing a Traffic Manager endpoint properties.",
123123
"properties": {
124124
"endpointLocation": {
125-
"type": "string",
126-
"description": "Specifies the location of the external or nested endpoints when using the ‘Performance’ traffic routing method."
125+
"description": "Specifies the location of the external or nested endpoints when using the ‘Performance’ traffic routing method.",
126+
"type": "string"
127127
},
128128
"endpointMonitorStatus": {
129-
"type": "string",
130-
"description": "Gets or sets the monitoring status of the endpoint."
129+
"description": "Gets or sets the monitoring status of the endpoint.",
130+
"type": "string"
131131
},
132132
"endpointStatus": {
133-
"type": "string",
134-
"description": "Gets or sets the status of the endpoint.. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method. Possible values are 'Enabled' and 'Disabled'."
133+
"description": "Gets or sets the status of the endpoint.. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method. Possible values are 'Enabled' and 'Disabled'.",
134+
"type": "string"
135135
},
136136
"minChildEndpoints": {
137+
"description": "Gets or sets the minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'.",
137138
"oneOf": [
138139
{
139140
"type": "integer"
140141
},
141142
{
142143
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
143144
}
144-
],
145-
"description": "Gets or sets the minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'."
145+
]
146146
},
147147
"priority": {
148+
"description": "Gets or sets the priority of this endpoint when using the ‘Priority’ traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter. If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value.",
148149
"oneOf": [
149150
{
150151
"type": "integer"
151152
},
152153
{
153154
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
154155
}
155-
],
156-
"description": "Gets or sets the priority of this endpoint when using the ‘Priority’ traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter. If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value."
156+
]
157157
},
158158
"target": {
159-
"type": "string",
160-
"description": "Gets or sets the fully-qualified DNS name of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint."
159+
"description": "Gets or sets the fully-qualified DNS name of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint.",
160+
"type": "string"
161161
},
162162
"targetResourceId": {
163-
"type": "string",
164-
"description": "Gets or sets the Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'."
163+
"description": "Gets or sets the Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'.",
164+
"type": "string"
165165
},
166166
"weight": {
167+
"description": "Gets or sets the weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000.",
167168
"oneOf": [
168169
{
169170
"type": "integer"
170171
},
171172
{
172173
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
173174
}
174-
],
175-
"description": "Gets or sets the weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000."
175+
]
176176
}
177177
},
178-
"description": "Class representing a Traffic Manager endpoint properties."
178+
"type": "object"
179179
},
180180
"MonitorConfig": {
181-
"type": "object",
181+
"description": "Class containing endpoint monitoring settings in a Traffic Manager profile.",
182182
"properties": {
183183
"path": {
184-
"type": "string",
185-
"description": "Gets or sets the path relative to the endpoint domain name used to probe for endpoint health."
184+
"description": "Gets or sets the path relative to the endpoint domain name used to probe for endpoint health.",
185+
"type": "string"
186186
},
187187
"port": {
188+
"description": "Gets or sets the TCP port used to probe for endpoint health.",
188189
"oneOf": [
189190
{
190191
"type": "integer"
191192
},
192193
{
193194
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
194195
}
195-
],
196-
"description": "Gets or sets the TCP port used to probe for endpoint health."
196+
]
197197
},
198198
"profileMonitorStatus": {
199-
"type": "string",
200-
"description": "Gets or sets the profile-level monitoring status of the Traffic Manager profile."
199+
"description": "Gets or sets the profile-level monitoring status of the Traffic Manager profile.",
200+
"type": "string"
201201
},
202202
"protocol": {
203-
"type": "string",
204-
"description": "Gets or sets the protocol (HTTP or HTTPS) used to probe for endpoint health."
203+
"description": "Gets or sets the protocol (HTTP or HTTPS) used to probe for endpoint health.",
204+
"type": "string"
205205
}
206206
},
207-
"description": "Class containing endpoint monitoring settings in a Traffic Manager profile."
207+
"type": "object"
208208
},
209209
"ProfileProperties": {
210-
"type": "object",
210+
"description": "Class representing the Traffic Manager profile properties.",
211211
"properties": {
212212
"dnsConfig": {
213+
"description": "Gets or sets the DNS settings of the Traffic Manager profile.",
213214
"oneOf": [
214215
{
215216
"$ref": "#/definitions/DnsConfig"
216217
},
217218
{
218219
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
219220
}
220-
],
221-
"description": "Class containing DNS settings in a Traffic Manager profile."
221+
]
222222
},
223223
"endpoints": {
224+
"description": "Gets or sets the list of endpoints in the Traffic Manager profile.",
224225
"oneOf": [
225226
{
226-
"type": "array",
227227
"items": {
228228
"$ref": "#/definitions/Endpoint"
229-
}
229+
},
230+
"type": "array"
230231
},
231232
{
232233
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
233234
}
234-
],
235-
"description": "Gets or sets the list of endpoints in the Traffic Manager profile."
235+
]
236236
},
237237
"monitorConfig": {
238+
"description": "Gets or sets the endpoint monitoring settings of the Traffic Manager profile.",
238239
"oneOf": [
239240
{
240241
"$ref": "#/definitions/MonitorConfig"
241242
},
242243
{
243244
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
244245
}
245-
],
246-
"description": "Class containing endpoint monitoring settings in a Traffic Manager profile."
246+
]
247247
},
248248
"profileStatus": {
249-
"type": "string",
250-
"description": "Gets or sets the status of the Traffic Manager profile. Possible values are 'Enabled' and 'Disabled'."
249+
"description": "Gets or sets the status of the Traffic Manager profile. Possible values are 'Enabled' and 'Disabled'.",
250+
"type": "string"
251251
},
252252
"trafficRoutingMethod": {
253-
"type": "string",
254-
"description": "Gets or sets the traffic routing method of the Traffic Manager profile. Possible values are 'Performance', 'Weighted', or 'Priority'."
253+
"description": "Gets or sets the traffic routing method of the Traffic Manager profile. Possible values are 'Performance', 'Weighted', or 'Priority'.",
254+
"type": "string"
255255
}
256256
},
257-
"description": "Class representing the Traffic Manager profile properties."
257+
"type": "object"
258258
}
259259
}
260260
}

0 commit comments

Comments
 (0)