Skip to content

Commit 4f4073b

Browse files
authored
[Hub Generated] Review request for Microsoft.Network to add version stable/2022-04-01 (#22357)
* Adds base for updating Microsoft.Network from version preview/2022-04-01-preview to version 2022-04-01 * Updates readme * Updates API version in new specs and examples * Add new endpoint monitoring status Unmonitored for always serve. * Add new API checkNameV2 * Fix error, Add subscriptionId in parameter * Fix Swagger LintDiff. * Fix prettier errors.
1 parent 277cfe5 commit 4f4073b

36 files changed

+3845
-2
lines changed
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": "2022-04-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": "2022-04-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": "2022-04-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": "2022-04-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": "2022-04-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,54 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "{subscription-id}",
4+
"resourceGroupName": "azuresdkfornetautoresttrafficmanager1421",
5+
"profileName": "azsmnet6386",
6+
"endpointType": "ExternalEndpoints",
7+
"endpointName": "azsmnet7187",
8+
"api-version": "2022-04-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+
"alwaysServe": "Enabled"
17+
}
18+
}
19+
},
20+
"responses": {
21+
"201": {
22+
"body": {
23+
"id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187",
24+
"name": "azsmnet7187",
25+
"type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints",
26+
"properties": {
27+
"endpointStatus": "Enabled",
28+
"endpointMonitorStatus": "CheckingEndpoint",
29+
"target": "foobar.contoso.com",
30+
"weight": 1,
31+
"priority": 1,
32+
"endpointLocation": "North Europe",
33+
"alwaysServe": "Enabled"
34+
}
35+
}
36+
},
37+
"200": {
38+
"body": {
39+
"id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187",
40+
"name": "azsmnet7187",
41+
"type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints",
42+
"properties": {
43+
"endpointStatus": "Enabled",
44+
"endpointMonitorStatus": "CheckingEndpoint",
45+
"target": "foobar.contoso.com",
46+
"weight": 1,
47+
"priority": 1,
48+
"endpointLocation": "North Europe",
49+
"alwaysServe": "Enabled"
50+
}
51+
}
52+
}
53+
}
54+
}
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": "2022-04-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": "2022-04-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": "2022-04-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)