forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
S360 - insert missing API version. (Azure#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.
- Loading branch information
Showing
36 changed files
with
3,717 additions
and
1 deletion.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
...source-manager/Microsoft.Network/stable/2018-08-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": "2018-08-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": "" | ||
}, | ||
"204": {} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...er/Microsoft.Network/stable/2018-08-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": "2018-08-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/2018-08-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": "2018-08-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/2018-08-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": "2018-08-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/2018-08-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": "2018-08-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" | ||
} | ||
} | ||
} | ||
} | ||
} |
81 changes: 81 additions & 0 deletions
81
...Microsoft.Network/stable/2018-08-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": "2018-08-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/2018-08-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": "2018-08-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/2018-08-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": "2018-08-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.