-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for Microsoft.Network to add version s…
…table/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.
- Loading branch information
1 parent
277cfe5
commit 4f4073b
Showing
36 changed files
with
3,845 additions
and
2 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
...source-manager/Microsoft.Network/stable/2022-04-01/examples/Endpoint-DELETE-External.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", | ||
"profileName": "azsmnet6386", | ||
"endpointType": "ExternalEndpoints", | ||
"endpointName": "azsmnet7187", | ||
"api-version": "2022-04-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": {} | ||
}, | ||
"204": {} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...er/Microsoft.Network/stable/2022-04-01/examples/Endpoint-GET-External-WithGeoMapping.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "azuresdkfornetautoresttrafficmanager2191", | ||
"profileName": "azuresdkfornetautoresttrafficmanager8224", | ||
"endpointType": "ExternalEndpoints", | ||
"endpointName": "My%20external%20endpoint", | ||
"api-version": "2022-04-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2191/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager8224/externalEndpoints/My external endpoint", | ||
"name": "My external endpoint", | ||
"type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", | ||
"properties": { | ||
"endpointStatus": "Enabled", | ||
"endpointMonitorStatus": "CheckingEndpoint", | ||
"target": "foobar.contoso.com", | ||
"weight": 1, | ||
"priority": 1, | ||
"geoMapping": [ | ||
"GEO-AS", | ||
"GEO-AF" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
27 changes: 27 additions & 0 deletions
27
...ager/Microsoft.Network/stable/2022-04-01/examples/Endpoint-GET-External-WithLocation.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", | ||
"profileName": "azsmnet6386", | ||
"endpointType": "ExternalEndpoints", | ||
"endpointName": "azsmnet7187", | ||
"api-version": "2022-04-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", | ||
"name": "azsmnet7187", | ||
"type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", | ||
"properties": { | ||
"endpointStatus": "Enabled", | ||
"endpointMonitorStatus": "CheckingEndpoint", | ||
"target": "foobar.contoso.com", | ||
"weight": 1, | ||
"priority": 1, | ||
"endpointLocation": "North Europe" | ||
} | ||
} | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...Microsoft.Network/stable/2022-04-01/examples/Endpoint-GET-External-WithSubnetMapping.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "azuresdkfornetautoresttrafficmanager2191", | ||
"profileName": "azuresdkfornetautoresttrafficmanager8224", | ||
"endpointType": "ExternalEndpoints", | ||
"endpointName": "My%20external%20endpoint", | ||
"api-version": "2022-04-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2191/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager8224/externalEndpoints/My external endpoint", | ||
"name": "My external endpoint", | ||
"type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", | ||
"properties": { | ||
"endpointStatus": "Enabled", | ||
"endpointMonitorStatus": "CheckingEndpoint", | ||
"target": "foobar.contoso.com", | ||
"weight": 1, | ||
"priority": 1, | ||
"subnets": [ | ||
{ | ||
"first": "1.2.3.0", | ||
"scope": 24 | ||
}, | ||
{ | ||
"first": "25.26.27.28", | ||
"last": "29.30.31.32" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...-manager/Microsoft.Network/stable/2022-04-01/examples/Endpoint-PATCH-External-Target.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", | ||
"profileName": "azsmnet6386", | ||
"endpointType": "ExternalEndpoints", | ||
"endpointName": "azsmnet7187", | ||
"api-version": "2022-04-01", | ||
"parameters": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", | ||
"name": "azsmnet7187", | ||
"type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", | ||
"properties": { | ||
"target": "another.foobar.contoso.com" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", | ||
"name": "azsmnet7187", | ||
"type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", | ||
"properties": { | ||
"endpointStatus": "Enabled", | ||
"endpointMonitorStatus": "CheckingEndpoint", | ||
"target": "another.foobar.contoso.com", | ||
"weight": 1, | ||
"priority": 1, | ||
"endpointLocation": "North Europe" | ||
} | ||
} | ||
} | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
...r/Microsoft.Network/stable/2022-04-01/examples/Endpoint-PUT-External-WithAlwaysServe.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", | ||
"profileName": "azsmnet6386", | ||
"endpointType": "ExternalEndpoints", | ||
"endpointName": "azsmnet7187", | ||
"api-version": "2022-04-01", | ||
"parameters": { | ||
"name": "azsmnet7187", | ||
"type": "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", | ||
"properties": { | ||
"target": "foobar.contoso.com", | ||
"endpointStatus": "Enabled", | ||
"endpointLocation": "North Europe", | ||
"alwaysServe": "Enabled" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", | ||
"name": "azsmnet7187", | ||
"type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", | ||
"properties": { | ||
"endpointStatus": "Enabled", | ||
"endpointMonitorStatus": "CheckingEndpoint", | ||
"target": "foobar.contoso.com", | ||
"weight": 1, | ||
"priority": 1, | ||
"endpointLocation": "North Europe", | ||
"alwaysServe": "Enabled" | ||
} | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", | ||
"name": "azsmnet7187", | ||
"type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", | ||
"properties": { | ||
"endpointStatus": "Enabled", | ||
"endpointMonitorStatus": "CheckingEndpoint", | ||
"target": "foobar.contoso.com", | ||
"weight": 1, | ||
"priority": 1, | ||
"endpointLocation": "North Europe", | ||
"alwaysServe": "Enabled" | ||
} | ||
} | ||
} | ||
} | ||
} |
81 changes: 81 additions & 0 deletions
81
...Microsoft.Network/stable/2022-04-01/examples/Endpoint-PUT-External-WithCustomHeaders.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", | ||
"profileName": "azsmnet6386", | ||
"endpointType": "ExternalEndpoints", | ||
"endpointName": "azsmnet7187", | ||
"api-version": "2022-04-01", | ||
"parameters": { | ||
"name": "azsmnet7187", | ||
"type": "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", | ||
"properties": { | ||
"target": "foobar.contoso.com", | ||
"endpointStatus": "Enabled", | ||
"endpointLocation": "North Europe", | ||
"customHeaders": [ | ||
{ | ||
"name": "header-1", | ||
"value": "value-1" | ||
}, | ||
{ | ||
"name": "header-2", | ||
"value": "value-2" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", | ||
"name": "azsmnet7187", | ||
"type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", | ||
"properties": { | ||
"endpointStatus": "Enabled", | ||
"endpointMonitorStatus": "CheckingEndpoint", | ||
"target": "foobar.contoso.com", | ||
"weight": 1, | ||
"priority": 1, | ||
"endpointLocation": "North Europe", | ||
"customHeaders": [ | ||
{ | ||
"name": "header-1", | ||
"value": "value-1" | ||
}, | ||
{ | ||
"name": "header-2", | ||
"value": "value-2" | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", | ||
"name": "azsmnet7187", | ||
"type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", | ||
"properties": { | ||
"endpointStatus": "Enabled", | ||
"endpointMonitorStatus": "CheckingEndpoint", | ||
"target": "foobar.contoso.com", | ||
"weight": 1, | ||
"priority": 1, | ||
"endpointLocation": "North Europe", | ||
"customHeaders": [ | ||
{ | ||
"name": "header-1", | ||
"value": "value-1" | ||
}, | ||
{ | ||
"name": "header-2", | ||
"value": "value-2" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
60 changes: 60 additions & 0 deletions
60
...er/Microsoft.Network/stable/2022-04-01/examples/Endpoint-PUT-External-WithGeoMapping.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "azuresdkfornetautoresttrafficmanager2191", | ||
"profileName": "azuresdkfornetautoresttrafficmanager8224", | ||
"endpointType": "ExternalEndpoints", | ||
"endpointName": "My%20external%20endpoint", | ||
"api-version": "2022-04-01", | ||
"parameters": { | ||
"name": "My external endpoint", | ||
"type": "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", | ||
"properties": { | ||
"target": "foobar.contoso.com", | ||
"endpointStatus": "Enabled", | ||
"geoMapping": [ | ||
"GEO-AS", | ||
"GEO-AF" | ||
] | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2191/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager8224/externalEndpoints/My external endpoint", | ||
"name": "My external endpoint", | ||
"type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", | ||
"properties": { | ||
"endpointStatus": "Enabled", | ||
"endpointMonitorStatus": "CheckingEndpoint", | ||
"target": "foobar.contoso.com", | ||
"weight": 1, | ||
"priority": 1, | ||
"geoMapping": [ | ||
"GEO-AS", | ||
"GEO-AF" | ||
] | ||
} | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager2191/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager8224/externalEndpoints/My external endpoint", | ||
"name": "My external endpoint", | ||
"type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", | ||
"properties": { | ||
"endpointStatus": "Enabled", | ||
"endpointMonitorStatus": "CheckingEndpoint", | ||
"target": "foobar.contoso.com", | ||
"weight": 1, | ||
"priority": 1, | ||
"geoMapping": [ | ||
"GEO-AS", | ||
"GEO-AF" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
51 changes: 51 additions & 0 deletions
51
...ager/Microsoft.Network/stable/2022-04-01/examples/Endpoint-PUT-External-WithLocation.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", | ||
"profileName": "azsmnet6386", | ||
"endpointType": "ExternalEndpoints", | ||
"endpointName": "azsmnet7187", | ||
"api-version": "2022-04-01", | ||
"parameters": { | ||
"name": "azsmnet7187", | ||
"type": "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", | ||
"properties": { | ||
"target": "foobar.contoso.com", | ||
"endpointStatus": "Enabled", | ||
"endpointLocation": "North Europe" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", | ||
"name": "azsmnet7187", | ||
"type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", | ||
"properties": { | ||
"endpointStatus": "Enabled", | ||
"endpointMonitorStatus": "CheckingEndpoint", | ||
"target": "foobar.contoso.com", | ||
"weight": 1, | ||
"priority": 1, | ||
"endpointLocation": "North Europe" | ||
} | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386/externalEndpoints/azsmnet7187", | ||
"name": "azsmnet7187", | ||
"type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", | ||
"properties": { | ||
"endpointStatus": "Enabled", | ||
"endpointMonitorStatus": "CheckingEndpoint", | ||
"target": "foobar.contoso.com", | ||
"weight": 1, | ||
"priority": 1, | ||
"endpointLocation": "North Europe" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.