Skip to content

Commit

Permalink
Add metric details
Browse files Browse the repository at this point in the history
  • Loading branch information
x10shun committed Oct 6, 2015
1 parent 697eaba commit 00c59e2
Showing 1 changed file with 70 additions and 14 deletions.
84 changes: 70 additions & 14 deletions arm-web/2015-08-01/swagger/service.json
Original file line number Diff line number Diff line change
Expand Up @@ -3338,13 +3338,13 @@
"deprecated": false
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/webhostingplans": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/serverfarms": {
"get": {
"tags": [
"HostingEnvironments"
],
"summary": "Get all serverfarms (App Service Plans) on the hostingEnvironment (App Service Environment).",
"operationId": "HostingEnvironments_GetHostingEnvironmentWebHostingPlans",
"operationId": "HostingEnvironments_GetHostingEnvironmentServerFarms",
"consumes": [],
"produces": [
"application/json",
Expand Down Expand Up @@ -3383,13 +3383,13 @@
"deprecated": false
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/serverfarms": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/webhostingplans": {
"get": {
"tags": [
"HostingEnvironments"
],
"summary": "Get all serverfarms (App Service Plans) on the hostingEnvironment (App Service Environment).",
"operationId": "HostingEnvironments_GetHostingEnvironmentServerFarms",
"operationId": "HostingEnvironments_GetHostingEnvironmentWebHostingPlans",
"consumes": [],
"produces": [
"application/json",
Expand Down Expand Up @@ -5355,13 +5355,13 @@
"deprecated": false
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}": {
"get": {
"tags": [
"ServerFarms"
],
"summary": "Gets a specific route associated with a vnet, in an app service plan",
"operationId": "ServerFarms_GetRouteForVnet",
"operationId": "ServerFarms_GetWebHostingPlanRouteForVnet",
"consumes": [],
"produces": [
"application/json",
Expand Down Expand Up @@ -5426,7 +5426,7 @@
"ServerFarms"
],
"summary": "Creates a new route or updates an existing route for a vnet in an app service plan.",
"operationId": "ServerFarms_CreateOrUpdateVnetRoute",
"operationId": "ServerFarms_CreateOrUpdateWebHostingPlanVnetRoute",
"consumes": [
"application/json",
"text/json",
Expand Down Expand Up @@ -5504,7 +5504,7 @@
"ServerFarms"
],
"summary": "Deletes an existing route for a vnet in an app service plan.",
"operationId": "ServerFarms_DeleteVnetRoute",
"operationId": "ServerFarms_DeleteWebHostingPlanVnetRoute",
"consumes": [],
"produces": [
"application/json",
Expand Down Expand Up @@ -5566,7 +5566,7 @@
"ServerFarms"
],
"summary": "Creates a new route or updates an existing route for a vnet in an app service plan.",
"operationId": "ServerFarms_UpdateVnetRoute",
"operationId": "ServerFarms_UpdateWebHostingPlanVnetRoute",
"consumes": [
"application/json",
"text/json",
Expand Down Expand Up @@ -5640,13 +5640,13 @@
"deprecated": false
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/webhostingplans/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/serverfarms/{name}/virtualNetworkConnections/{vnetName}/routes/{routeName}": {
"get": {
"tags": [
"ServerFarms"
],
"summary": "Gets a specific route associated with a vnet, in an app service plan",
"operationId": "ServerFarms_GetWebHostingPlanRouteForVnet",
"operationId": "ServerFarms_GetRouteForVnet",
"consumes": [],
"produces": [
"application/json",
Expand Down Expand Up @@ -5711,7 +5711,7 @@
"ServerFarms"
],
"summary": "Creates a new route or updates an existing route for a vnet in an app service plan.",
"operationId": "ServerFarms_CreateOrUpdateWebHostingPlanVnetRoute",
"operationId": "ServerFarms_CreateOrUpdateVnetRoute",
"consumes": [
"application/json",
"text/json",
Expand Down Expand Up @@ -5789,7 +5789,7 @@
"ServerFarms"
],
"summary": "Deletes an existing route for a vnet in an app service plan.",
"operationId": "ServerFarms_DeleteWebHostingPlanVnetRoute",
"operationId": "ServerFarms_DeleteVnetRoute",
"consumes": [],
"produces": [
"application/json",
Expand Down Expand Up @@ -5851,7 +5851,7 @@
"ServerFarms"
],
"summary": "Creates a new route or updates an existing route for a vnet in an app service plan.",
"operationId": "ServerFarms_UpdateWebHostingPlanVnetRoute",
"operationId": "ServerFarms_UpdateVnetRoute",
"consumes": [
"application/json",
"text/json",
Expand Down Expand Up @@ -17642,6 +17642,20 @@
"resourceId": {
"description": "Metric resource Id",
"type": "string"
},
"metricValues": {
"description": "Metric values",
"type": "array",
"items": {
"$ref": "#/definitions/ResourceMetricValue"
}
},
"properties": {
"description": "Properties",
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
},
Expand All @@ -17659,6 +17673,48 @@
}
}
},
"ResourceMetricValue": {
"description": "Value of resource metric",
"type": "object",
"properties": {
"timeStamp": {
"description": "Value timestamp",
"type": "string"
},
"average": {
"format": "float",
"description": "Value average",
"type": "number"
},
"minimum": {
"format": "float",
"description": "Value minimum",
"type": "number"
},
"maximum": {
"format": "float",
"description": "Value maximum",
"type": "number"
},
"total": {
"format": "float",
"description": "Value total",
"type": "number"
},
"count": {
"format": "float",
"description": "Value count",
"type": "number"
},
"properties": {
"description": "Value properties",
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
},
"MetricDefinition": {
"description": "Class repesenting metadata for the metrics",
"type": "object",
Expand Down

0 comments on commit 00c59e2

Please sign in to comment.