-
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.
Merge pull request #1049 from solankisamir/master
Add API Version 2016-10-10 and Examples for Deployment Apis
- Loading branch information
Showing
29 changed files
with
10,479 additions
and
0 deletions.
There are no files selected for viewing
52 changes: 52 additions & 0 deletions
52
arm-apimanagement/2016-10-10/examples/ApiManagementApplyNetworkConfigurationUpdates.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,52 @@ | ||
{ | ||
"parameters": { | ||
"serviceName": "apimService1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2016-10-10", | ||
"subscriptionId": "subid" | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2016-10-10" | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", | ||
"name": "apimService1", | ||
"type": "Microsoft.ApiManagement/service", | ||
"tags": { | ||
"TestExpiration": "Tue, 22 Sep 2015 02:52:00 GMT", | ||
"Pool": "Manual", | ||
"TestSuiteExpiration": "Tue, 22 Sep 2015 05:10:46 GMT" | ||
}, | ||
"location": "West US", | ||
"etag": "AAAAAAAV8XM=", | ||
"properties": { | ||
"publisherEmail": "[email protected]", | ||
"publisherName": "Contoso", | ||
"provisioningState": "Succeeded", | ||
"targetProvisioningState": "", | ||
"createdAtUtc": "2015-09-22T01:52:02.4307221Z", | ||
"runtimeUrl": "https://apimService1.azure-api.net", | ||
"portalUrl": "https://apimService1.portal.azure-api.net", | ||
"managementApiUrl": "https://apimService1.management.azure-api.net", | ||
"scmUrl": "https://apimService1.scm.azure-api.net", | ||
"staticIPs": [ | ||
"xx.xxx.xx.xxx" | ||
], | ||
"vpnconfiguration": { | ||
"subnetResourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/dfVirtualNetwork/subnets/backendSubnet", | ||
"location": "West US" | ||
}, | ||
"vpnType": "External" | ||
}, | ||
"sku": { | ||
"name": "Premium", | ||
"capacity": 1 | ||
} | ||
} | ||
} | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
arm-apimanagement/2016-10-10/examples/ApiManagementCreateBackup.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": { | ||
"serviceName": "apimService1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2016-10-10", | ||
"subscriptionId": "subid", | ||
"parameters": { | ||
"storageAccount" : "teststorageaccount", | ||
"accessKey" : "**************************************************", | ||
"containerName" :"backupContainer", | ||
"backupName" : "apimService1backup_2017_03_19" | ||
} | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2016-10-10" | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", | ||
"name": "apimService1", | ||
"type": "Microsoft.ApiManagement/service", | ||
"tags": { | ||
"TestExpiration": "Tue, 22 Sep 2015 02:52:00 GMT", | ||
"Pool": "Manual", | ||
"TestSuiteExpiration": "Tue, 22 Sep 2015 05:10:46 GMT" | ||
}, | ||
"location": "West US", | ||
"etag": "AAAAAAAV8XM=", | ||
"properties": { | ||
"publisherEmail": "[email protected]", | ||
"publisherName": "Contoso", | ||
"provisioningState": "Succeeded", | ||
"targetProvisioningState": "", | ||
"createdAtUtc": "2015-09-22T01:52:02.4307221Z", | ||
"runtimeUrl": "https://apimService1.azure-api.net", | ||
"portalUrl": "https://apimService1.portal.azure-api.net", | ||
"managementApiUrl": "https://apimService1.management.azure-api.net", | ||
"scmUrl": "https://apimService1.scm.azure-api.net", | ||
"staticIPs": [ | ||
"xx.xxx.xx.xxx" | ||
], | ||
"vpnType": "None" | ||
}, | ||
"sku": { | ||
"name": "Premium", | ||
"capacity": 1 | ||
} | ||
} | ||
} | ||
} | ||
} |
77 changes: 77 additions & 0 deletions
77
arm-apimanagement/2016-10-10/examples/ApiManagementCreateService.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,77 @@ | ||
{ | ||
"parameters": { | ||
"serviceName": "apimService1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2016-10-10", | ||
"subscriptionId": "subid", | ||
"parameters": { | ||
"location" : "West US", | ||
"sku" : { | ||
"name" : "Premium", | ||
"capacity" : 1 | ||
}, | ||
"properties" : { | ||
"publisherEmail" : "[email protected]", | ||
"publisherName": "contoso" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"headers": { | ||
"location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2016-10-10" | ||
}, | ||
"body" : { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", | ||
"name": "apimService1", | ||
"type": "Microsoft.ApiManagement/service", | ||
"tags": {}, | ||
"location": "West US", | ||
"etag": "AAAAAAAV8Yo=", | ||
"properties": { | ||
"publisherEmail": "[email protected]", | ||
"publisherName": "[email protected]", | ||
"provisioningState": "Created", | ||
"targetProvisioningState": "Activating", | ||
"createdAtUtc": "2017-03-19T21:55:27.7443915Z", | ||
"hostnameConfigurations": [], | ||
"staticIPs": [], | ||
"vpnType": "None" | ||
}, | ||
"sku": { | ||
"name": "Premium", | ||
"capacity": 1 | ||
} | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", | ||
"name": "apimService1", | ||
"type": "Microsoft.ApiManagement/service", | ||
"tags": { }, | ||
"location": "West US", | ||
"etag": "AAAAAAAV8XM=", | ||
"properties": { | ||
"publisherEmail": "[email protected]", | ||
"publisherName": "Contoso", | ||
"provisioningState": "Succeeded", | ||
"targetProvisioningState": "", | ||
"createdAtUtc": "2015-09-22T01:52:02.4307221Z", | ||
"runtimeUrl": "https://apimService1.azure-api.net", | ||
"portalUrl": "https://apimService1.portal.azure-api.net", | ||
"managementApiUrl": "https://apimService1.management.azure-api.net", | ||
"scmUrl": "https://apimService1.scm.azure-api.net", | ||
"staticIPs": [ | ||
"xx.xx.250.222" | ||
], | ||
"vpnType": "None" | ||
}, | ||
"sku": { | ||
"name": "Premium", | ||
"capacity": 1 | ||
} | ||
} | ||
} | ||
} | ||
} |
54 changes: 54 additions & 0 deletions
54
arm-apimanagement/2016-10-10/examples/ApiManagementRestoreService.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": { | ||
"serviceName": "apimService1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2016-10-10", | ||
"subscriptionId": "subid", | ||
"parameters": { | ||
"storageAccount" : "teststorageaccount", | ||
"accessKey" : "**************************************************", | ||
"containerName" :"backupContainer", | ||
"backupName" : "apimService1backup_2017_03_19" | ||
} | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"location": "https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/operationresults/dGVjaGVkX01hbmFnZVJvbGVfNWRiNGI3Ng==?api-version=2016-10-10" | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1", | ||
"name": "apimService1", | ||
"type": "Microsoft.ApiManagement/service", | ||
"tags": { | ||
"TestExpiration": "Tue, 22 Sep 2015 02:52:00 GMT", | ||
"Pool": "Manual", | ||
"TestSuiteExpiration": "Tue, 22 Sep 2015 05:10:46 GMT" | ||
}, | ||
"location": "West US", | ||
"etag": "AAAAAAAV8XM=", | ||
"properties": { | ||
"publisherEmail": "[email protected]", | ||
"publisherName": "Contoso", | ||
"provisioningState": "Succeeded", | ||
"targetProvisioningState": "", | ||
"createdAtUtc": "2015-09-22T01:52:02.4307221Z", | ||
"runtimeUrl": "https://apimService1.azure-api.net", | ||
"portalUrl": "https://apimService1.portal.azure-api.net", | ||
"managementApiUrl": "https://apimService1.management.azure-api.net", | ||
"scmUrl": "https://apimService1.scm.azure-api.net", | ||
"staticIPs": [ | ||
"xx.xxx.xx.xxx" | ||
], | ||
"vpnType": "None" | ||
}, | ||
"sku": { | ||
"name": "Premium", | ||
"capacity": 1 | ||
} | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
arm-apimanagement/2016-10-10/examples/ApiManagementServiceCheckNameAvailability.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,19 @@ | ||
{ | ||
"parameters": { | ||
"resourceGroupName": "rg1", | ||
"api-version": "2016-10-10", | ||
"subscriptionId": "subid", | ||
"parameters": { | ||
"name" : "apimService1" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"nameAvailable": true, | ||
"reason": "Valid", | ||
"message": "" | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
arm-apimanagement/2016-10-10/examples/ApiManagementServiceGetNetworkStatus.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,33 @@ | ||
{ | ||
"parameters": { | ||
"serviceName": "apimService1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2016-10-10", | ||
"subscriptionId": "subid" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"dnsServers": [ | ||
"10.xx.3.87", | ||
"10.xx.5.29", | ||
"10.xx.32.105" | ||
], | ||
"connectivityStatus": [ | ||
{ | ||
"name": "xxxxx.database.windows.net", | ||
"status": "success", | ||
"lastUpdated": "2017-03-20T08:47:20.7043553Z", | ||
"lastStatusChange": "2017-03-20T08:47:20.7981057Z" | ||
}, | ||
{ | ||
"name": "xxxxxxx.blob.core.windows.net", | ||
"status": "success", | ||
"lastUpdated": "2017-03-20T08:47:20.720918Z", | ||
"lastStatusChange": "2017-03-20T08:47:20.9075183Z" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
arm-apimanagement/2016-10-10/examples/ApiManagementServiceGetSsoToken.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,15 @@ | ||
{ | ||
"parameters": { | ||
"serviceName": "apimService1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2016-10-10", | ||
"subscriptionId": "subid" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"redirect_uri": "https://apimService1.portal.azure-api.net:443/signin-sso?token=1%26201703200238%26nmWpz5mPSCMn%2b7BJXmwufoEn5AGN6xUt3y1aSQ8p6Gi4IdRHcEOo959Qt8nxojihYgSj%2fbxwykTUETMdyr4f%2fw%3d%3d" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.