Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add API Version 2016-10-10 and Examples for Deployment Apis #1049

Merged
merged 9 commits into from
Mar 23, 2017
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
}
}
}
}
}
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
}
}
}
}
}
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
}
}
}
}
}
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
}
}
}
}
}
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