Skip to content

Commit

Permalink
Merge pull request Azure#1049 from solankisamir/master
Browse files Browse the repository at this point in the history
Add API Version 2016-10-10 and Examples for Deployment Apis
  • Loading branch information
sarangan12 authored Mar 23, 2017
2 parents cd32a50 + 48e9aef commit dde5294
Show file tree
Hide file tree
Showing 29 changed files with 10,479 additions and 0 deletions.
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": "admin@live.com",
"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
}
}
}
}
}
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": "admin@live.com",
"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
}
}
}
}
}
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" : "admin@live.com",
"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": "sasolank@microsoft.com",
"publisherName": "sasolank@microsoft.com",
"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": "admin@live.com",
"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
}
}
}
}
}
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": "admin@live.com",
"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
}
}
}
}
}
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": ""
}
}
}
}
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"
}
]
}
}
}
}
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"
}
}
}
}
Loading

0 comments on commit dde5294

Please sign in to comment.