Skip to content

Commit 5cdf211

Browse files
authored
S360 - insert missing API version. (#13126)
* S360 - insert missing API version. Baseline commit, copy of 2018-04-01. * Changes on top of 2018-04-01 baseline Changes on top of 2018-04-01 baseline * Update trafficmanager.json Add minChildEndpointsIPv4 and minChildEndpointsIPv6 to2018-08-01 * Add nested endpoint example Add nested endpoint example * Correct folder for Profile-PUT-WithNestedEndpoints.json Correct folder for Profile-PUT-WithNestedEndpoints.json * Update Profile-PUT-WithNestedEndpoints.json Prettier fix - whitespace * Update Profile-PUT-WithNestedEndpoints.json Fix missing curly brackets. * Validation fixes Add references to examples, remove body from 204 responses. * Update trafficmanager.json Model Validation Fix - allowed endpoint record type added.
1 parent 61fa39c commit 5cdf211

36 files changed

+3717
-1
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscription-id}",
4+
"resourceGroupName": "azuresdkfornetautoresttrafficmanager1421",
5+
"profileName": "azsmnet6386",
6+
"endpointType": "ExternalEndpoints",
7+
"endpointName": "azsmnet7187",
8+
"api-version": "2018-08-01"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": ""
13+
},
14+
"204": {}
15+
}
16+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscription-id}",
4+
"resourceGroupName": "azuresdkfornetautoresttrafficmanager2191",
5+
"profileName": "azuresdkfornetautoresttrafficmanager8224",
6+
"endpointType": "ExternalEndpoints",
7+
"endpointName": "My%20external%20endpoint",
8+
"api-version": "2018-08-01"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2191/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager8224/externalEndpoints/My external endpoint",
14+
"name": "My external endpoint",
15+
"type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints",
16+
"properties": {
17+
"endpointStatus": "Enabled",
18+
"endpointMonitorStatus": "CheckingEndpoint",
19+
"target": "foobar.contoso.com",
20+
"weight": 1,
21+
"priority": 1,
22+
"geoMapping": [
23+
"GEO-AS",
24+
"GEO-AF"
25+
]
26+
}
27+
}
28+
}
29+
}
30+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscription-id}",
4+
"resourceGroupName": "azuresdkfornetautoresttrafficmanager1421",
5+
"profileName": "azsmnet6386",
6+
"endpointType": "ExternalEndpoints",
7+
"endpointName": "azsmnet7187",
8+
"api-version": "2018-08-01"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187",
14+
"name": "azsmnet7187",
15+
"type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints",
16+
"properties": {
17+
"endpointStatus": "Enabled",
18+
"endpointMonitorStatus": "CheckingEndpoint",
19+
"target": "foobar.contoso.com",
20+
"weight": 1,
21+
"priority": 1,
22+
"endpointLocation": "North Europe"
23+
}
24+
}
25+
}
26+
}
27+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscription-id}",
4+
"resourceGroupName": "azuresdkfornetautoresttrafficmanager2191",
5+
"profileName": "azuresdkfornetautoresttrafficmanager8224",
6+
"endpointType": "ExternalEndpoints",
7+
"endpointName": "My%20external%20endpoint",
8+
"api-version": "2018-08-01"
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2191/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager8224/externalEndpoints/My external endpoint",
14+
"name": "My external endpoint",
15+
"type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints",
16+
"properties": {
17+
"endpointStatus": "Enabled",
18+
"endpointMonitorStatus": "CheckingEndpoint",
19+
"target": "foobar.contoso.com",
20+
"weight": 1,
21+
"priority": 1,
22+
"subnets": [
23+
{
24+
"first": "1.2.3.0",
25+
"scope": 24
26+
},
27+
{
28+
"first": "25.26.27.28",
29+
"last": "29.30.31.32"
30+
}
31+
]
32+
}
33+
}
34+
}
35+
}
36+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscription-id}",
4+
"resourceGroupName": "azuresdkfornetautoresttrafficmanager1421",
5+
"profileName": "azsmnet6386",
6+
"endpointType": "ExternalEndpoints",
7+
"endpointName": "azsmnet7187",
8+
"api-version": "2018-08-01",
9+
"parameters": {
10+
"id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187",
11+
"name": "azsmnet7187",
12+
"type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints",
13+
"properties": {
14+
"target": "another.foobar.contoso.com"
15+
}
16+
}
17+
},
18+
"responses": {
19+
"200": {
20+
"body": {
21+
"id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187",
22+
"name": "azsmnet7187",
23+
"type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints",
24+
"properties": {
25+
"endpointStatus": "Enabled",
26+
"endpointMonitorStatus": "CheckingEndpoint",
27+
"target": "another.foobar.contoso.com",
28+
"weight": 1,
29+
"priority": 1,
30+
"endpointLocation": "North Europe"
31+
}
32+
}
33+
}
34+
}
35+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscription-id}",
4+
"resourceGroupName": "azuresdkfornetautoresttrafficmanager1421",
5+
"profileName": "azsmnet6386",
6+
"endpointType": "ExternalEndpoints",
7+
"endpointName": "azsmnet7187",
8+
"api-version": "2018-08-01",
9+
"parameters": {
10+
"name": "azsmnet7187",
11+
"type": "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
12+
"properties": {
13+
"target": "foobar.contoso.com",
14+
"endpointStatus": "Enabled",
15+
"endpointLocation": "North Europe",
16+
"customHeaders": [
17+
{
18+
"name": "header-1",
19+
"value": "value-1"
20+
},
21+
{
22+
"name": "header-2",
23+
"value": "value-2"
24+
}
25+
]
26+
}
27+
}
28+
},
29+
"responses": {
30+
"201": {
31+
"body": {
32+
"id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187",
33+
"name": "azsmnet7187",
34+
"type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints",
35+
"properties": {
36+
"endpointStatus": "Enabled",
37+
"endpointMonitorStatus": "CheckingEndpoint",
38+
"target": "foobar.contoso.com",
39+
"weight": 1,
40+
"priority": 1,
41+
"endpointLocation": "North Europe",
42+
"customHeaders": [
43+
{
44+
"name": "header-1",
45+
"value": "value-1"
46+
},
47+
{
48+
"name": "header-2",
49+
"value": "value-2"
50+
}
51+
]
52+
}
53+
}
54+
},
55+
"200": {
56+
"body": {
57+
"id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187",
58+
"name": "azsmnet7187",
59+
"type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints",
60+
"properties": {
61+
"endpointStatus": "Enabled",
62+
"endpointMonitorStatus": "CheckingEndpoint",
63+
"target": "foobar.contoso.com",
64+
"weight": 1,
65+
"priority": 1,
66+
"endpointLocation": "North Europe",
67+
"customHeaders": [
68+
{
69+
"name": "header-1",
70+
"value": "value-1"
71+
},
72+
{
73+
"name": "header-2",
74+
"value": "value-2"
75+
}
76+
]
77+
}
78+
}
79+
}
80+
}
81+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscription-id}",
4+
"resourceGroupName": "azuresdkfornetautoresttrafficmanager2191",
5+
"profileName": "azuresdkfornetautoresttrafficmanager8224",
6+
"endpointType": "ExternalEndpoints",
7+
"endpointName": "My%20external%20endpoint",
8+
"api-version": "2018-08-01",
9+
"parameters": {
10+
"name": "My external endpoint",
11+
"type": "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
12+
"properties": {
13+
"target": "foobar.contoso.com",
14+
"endpointStatus": "Enabled",
15+
"geoMapping": [
16+
"GEO-AS",
17+
"GEO-AF"
18+
]
19+
}
20+
}
21+
},
22+
"responses": {
23+
"201": {
24+
"body": {
25+
"id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2191/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager8224/externalEndpoints/My external endpoint",
26+
"name": "My external endpoint",
27+
"type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints",
28+
"properties": {
29+
"endpointStatus": "Enabled",
30+
"endpointMonitorStatus": "CheckingEndpoint",
31+
"target": "foobar.contoso.com",
32+
"weight": 1,
33+
"priority": 1,
34+
"geoMapping": [
35+
"GEO-AS",
36+
"GEO-AF"
37+
]
38+
}
39+
}
40+
},
41+
"200": {
42+
"body": {
43+
"id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2191/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager8224/externalEndpoints/My external endpoint",
44+
"name": "My external endpoint",
45+
"type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints",
46+
"properties": {
47+
"endpointStatus": "Enabled",
48+
"endpointMonitorStatus": "CheckingEndpoint",
49+
"target": "foobar.contoso.com",
50+
"weight": 1,
51+
"priority": 1,
52+
"geoMapping": [
53+
"GEO-AS",
54+
"GEO-AF"
55+
]
56+
}
57+
}
58+
}
59+
}
60+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscription-id}",
4+
"resourceGroupName": "azuresdkfornetautoresttrafficmanager1421",
5+
"profileName": "azsmnet6386",
6+
"endpointType": "ExternalEndpoints",
7+
"endpointName": "azsmnet7187",
8+
"api-version": "2018-08-01",
9+
"parameters": {
10+
"name": "azsmnet7187",
11+
"type": "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints",
12+
"properties": {
13+
"target": "foobar.contoso.com",
14+
"endpointStatus": "Enabled",
15+
"endpointLocation": "North Europe"
16+
}
17+
}
18+
},
19+
"responses": {
20+
"201": {
21+
"body": {
22+
"id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187",
23+
"name": "azsmnet7187",
24+
"type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints",
25+
"properties": {
26+
"endpointStatus": "Enabled",
27+
"endpointMonitorStatus": "CheckingEndpoint",
28+
"target": "foobar.contoso.com",
29+
"weight": 1,
30+
"priority": 1,
31+
"endpointLocation": "North Europe"
32+
}
33+
}
34+
},
35+
"200": {
36+
"body": {
37+
"id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187",
38+
"name": "azsmnet7187",
39+
"type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints",
40+
"properties": {
41+
"endpointStatus": "Enabled",
42+
"endpointMonitorStatus": "CheckingEndpoint",
43+
"target": "foobar.contoso.com",
44+
"weight": 1,
45+
"priority": 1,
46+
"endpointLocation": "North Europe"
47+
}
48+
}
49+
}
50+
}
51+
}

0 commit comments

Comments
 (0)