diff --git a/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/Alert.json b/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/Alert.json new file mode 100644 index 000000000000..f7c3247abc14 --- /dev/null +++ b/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/Alert.json @@ -0,0 +1,350 @@ +{ + "swagger": "2.0", + "info": { + "description": "Alert operation endpoints and objects.", + "title": "InfrastructureInsightsManagementClient", + "version": "2016-05-01" + }, + "host": "adminmanagement.local.azurestack.external", + "schemes": [ + "https" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/{location}/alerts": { + "get": { + "x-ms-examples": { + "List all alerts": { + "$ref": "./examples/Alert/AlertListOperation_example.json" + } + }, + "tags": [ + "Alerts" + ], + "description": "Returns the list of all alerts in a given location.", + "operationId": "Alerts_List", + "parameters": [ + { + "$ref": "InfrastructureInsights.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "InfrastructureInsights.json#/parameters/LocationParameter" + }, + { + "$ref": "InfrastructureInsights.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "InfrastructureInsights.json#/parameters/FilterParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/AlertList" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/Alert", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/{location}/alerts/{alertName}": { + "get": { + "x-ms-examples": { + "Get an alert": { + "$ref": "./examples/Alert/AlertGetOperation_example.json" + } + }, + "tags": [ + "Alerts" + ], + "description": "Get an alert.", + "operationId": "Alerts_Get", + "parameters": [ + { + "$ref": "InfrastructureInsights.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "InfrastructureInsights.json#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/AlertNameParameter" + }, + { + "$ref": "InfrastructureInsights.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Alert" + } + } + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + }, + "put": { + "x-ms-examples": { + "Close an alert": { + "$ref": "./examples/Alert/AlertCloseOperation_example.json" + } + }, + "tags": [ + "Alerts" + ], + "description": "Close an alert.", + "operationId": "Alerts_Close", + "parameters": [ + { + "$ref": "InfrastructureInsights.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "InfrastructureInsights.json#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/AlertNameParameter" + }, + { + "$ref": "InfrastructureInsights.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/UserParameter" + }, + { + "$ref": "#/parameters/AlertParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Alert" + } + } + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + } + } + }, + "definitions": { + "Alert": { + "description": "This class models an alert resource.", + "properties": { + "properties": { + "description": "Holds all information related to Alerts", + "$ref": "#/definitions/AlertModel", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "InfrastructureInsights.json#/definitions/Resource" + } + ] + }, + "AlertModel": { + "description": "Holds Alert data", + "properties": { + "closedTimestamp": { + "description": "Gets or sets the closed timestamp of the alert.", + "type": "string" + }, + "createdTimestamp": { + "description": "Gets or sets the created timestamp of the alert.", + "type": "string" + }, + "description": { + "description": "Gets or sets the description of the alert.", + "type": "array", + "items": { + "$ref": "InfrastructureInsights.json#/definitions/Dictionary" + } + }, + "faultId": { + "description": "Gets or sets the fault id of the alert.", + "type": "string" + }, + "alertId": { + "description": "Gets or sets the id of the alert.", + "type": "string" + }, + "faultTypeId": { + "description": "Gets or sets the fault type id of the alert.", + "type": "string" + }, + "lastUpdatedTimestamp": { + "description": "Gets or sets last updated timestamp of the alert.", + "type": "string" + }, + "alertProperties": { + "description": "Gets or sets properties of the alert.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "remediation": { + "description": "Gets or sets the admin friendly remediation instructions for the alert.", + "type": "array", + "items": { + "$ref": "InfrastructureInsights.json#/definitions/Dictionary" + } + }, + "resourceRegistrationId": { + "description": "Gets or sets the registration id of the atomic component the alert belongs to. This is null if not associated with a resource.", + "type": "string" + }, + "resourceProviderRegistrationId": { + "description": "Gets or sets the registration id of the service the alert belongs to.", + "type": "string" + }, + "severity": { + "description": "Gets or sets the severity of the alert.", + "type": "string" + }, + "state": { + "description": "Gets or sets the state of the alert.", + "type": "string" + }, + "title": { + "description": "Gets or sets the ResourceId for the impacted item.", + "type": "string" + }, + "impactedResourceId": { + "description": "Gets or sets the ResourceId for the impacted item.", + "type": "string" + }, + "impactedResourceDisplayName": { + "description": "Gets or sets the display name for the impacted item.", + "type": "string" + }, + "closedByUserAlias": { + "description": "Gets or sets the user alias who closed the alert.", + "type": "string" + } + } + }, + "AlertList": { + "description": "A pageable list of Alerts", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Alert" + }, + "description": "Holds all alerts in this page." + }, + "nextLink": { + "type": "string", + "description": "Points to the next page." + } + } + } + }, + "parameters": { + "AlertNameParameter": { + "name": "alertName", + "description": "Name of the alert.", + "type": "string", + "required": true, + "in": "path", + "x-ms-parameter-location": "method" + }, + "RetentionPeriodInDaysBodyParameter": { + "name": "retentionPeriodInDays", + "description": "How long alerts should exist before deletion.", + "schema": { + "type": "integer", + "format": "int32" + }, + "required": true, + "in": "body", + "x-ms-parameter-location": "method" + }, + "ResourceProviderRegistrationIdBodyParameter": { + "description": "A resource provider registration id.", + "name": "resourceProviderRegistrationId", + "schema": { + "type": "string" + }, + "required": true, + "in": "body", + "x-ms-parameter-location": "method" + }, + "ResourceRegistrationIdBodyParameter": { + "description": "A resource provider id.", + "name": "resourceRegistrationId", + "schema": { + "type": "string" + }, + "required": true, + "in": "body", + "x-ms-parameter-location": "method" + }, + "HeartbeatMachineNameBodyParameter": { + "description": "Name of a heartbeat machine.", + "name": "heartbeatMachineName", + "schema": { + "type": "string" + }, + "required": true, + "in": "body", + "x-ms-parameter-location": "method" + }, + "UserParameter": { + "description": "The username used to perform the operation.", + "name": "user", + "type": "string", + "required": true, + "in": "query", + "x-ms-parameter-location": "method" + }, + "AlertParameter": { + "description": "Updated Alert Parameter.", + "name": "alert", + "schema": { + "$ref": "#/definitions/Alert" + }, + "required": true, + "in": "body", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/InfrastructureInsights.json b/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/InfrastructureInsights.json new file mode 100644 index 000000000000..2e6cebe70d00 --- /dev/null +++ b/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/InfrastructureInsights.json @@ -0,0 +1,245 @@ +{ + "swagger": "2.0", + "info": { + "x-ms-code-generation-settings": { + "header": "MICROSOFT_MIT", + "namespace": "Microsoft.AzureStack.InfrastructureInsights.Admin" + }, + "version": "2016-05-01", + "title": "InfrastructureInsightsManagementClient", + "description": "The Admin Infrastructure Insights Management Client." + }, + "host": "adminmanagement.local.azurestack.external", + "schemes": [ + "https" + ], + "paths": {}, + "definitions": { + "Dictionary": { + "description": "dictionary", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "BaseHealth": { + "description": "Models the base properties for health resource.", + "properties": { + "alertSummary": { + "description": "Gets or sets the alert summary.", + "$ref": "#/definitions/AlertSummary" + }, + "healthState": { + "description": "Gets or sets the health status.", + "type": "string" + }, + "namespace": { + "description": "Gets or sets the name space.", + "type": "string" + }, + "registrationId": { + "description": "Gets or sets the registration id.", + "type": "string" + }, + "routePrefix": { + "description": "Gets or sets the route prefix.", + "type": "string" + } + } + }, + "Resource": { + "description": "Base Resource Object", + "type": "object", + "properties": { + "id": { + "description": "URI of the resource.", + "type": "string" + }, + "name": { + "readOnly": true, + "description": "Name of the resource.", + "type": "string" + }, + "type": { + "readOnly": true, + "description": "Type of resource.", + "type": "string" + }, + "location": { + "readOnly": true, + "description": "Location where resource is location.", + "type": "string" + }, + "tags": { + "readOnly": true, + "description": "List of key value pairs.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "AlertSummary": { + "description": "Summary of the alerts.", + "properties": { + "criticalAlertCount": { + "description": "How many critical alerts this service has.", + "type": "integer" + }, + "warningAlertCount": { + "description": "How many warning alerts this service has.", + "type": "integer" + } + } + }, + "Metrics": { + "description": "Metrics for a source.", + "properties": { + "name": { + "description": "Name of the usage metric.", + "type": "string" + }, + "maCounterName": { + "description": "Name of the usage metric.", + "type": "string" + }, + "observedTimestamp": { + "description": "Name of the usage metric.", + "type": "string", + "format": "date-time" + }, + "sourceType": { + "description": "Name of the usage metric.", + "type": "string" + }, + "sourceName": { + "description": "Source of the metric.", + "$ref": "#/definitions/MetricsSourceType" + }, + "unit": { + "description": "Unit for the metric.", + "$ref": "#/definitions/MetricsUnit" + }, + "value": { + "description": "Name of the usage metric.", + "type": "number", + "format": "double" + } + } + }, + "MetricsSourceType": { + "type": "string", + "description": "What created the metric.", + "enum": [ + "PhysicalNode", + "VirtualMachine", + "ResourceProvider" + ], + "x-ms-enum": { + "name": "MetricsSourceType", + "modelAsString": true + } + }, + "MetricsUnit": { + "type": "string", + "description": "The unit of the metric.", + "enum": [ + "One", + "Percentage", + "B", + "KB", + "MB", + "GB", + "TB" + ], + "x-ms-enum": { + "name": "MetricsUnit", + "modelAsString": true + } + }, + "UsageMetrics": { + "description": "Metrics of resource usage.", + "properties": { + "name": { + "description": "Name of the usage metric.", + "type": "string" + }, + "metricsValue": { + "description": "List of usage metrics.", + "type": "array", + "items": { + "$ref": "#/definitions/Metrics" + } + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "description": "Subscription credentials which uniquely identify Microsoft Azure subscription.The subscription ID forms part of the URI for every service call.", + "required": true, + "type": "string" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "description": "Client Api Version.", + "required": true, + "type": "string", + "default": "2016-05-01" + }, + "FilterParameter": { + "description": "OData filter parameter.", + "name": "$filter", + "in": "query", + "type": "string", + "x-ms-parameter-location": "method" + }, + "LocationParameter": { + "description": "Location name.", + "name": "location", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "ResourceRegistrationIdParameter": { + "description": "Resource registration id.", + "name": "resourceRegistrationId", + "type": "string", + "required": true, + "in": "path", + "x-ms-parameter-location": "method" + }, + "ServiceRegistrationIdParameter": { + "description": "Service registration id.", + "name": "serviceRegistrationId", + "type": "string", + "required": true, + "in": "path", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/RegionHealth.json b/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/RegionHealth.json new file mode 100644 index 000000000000..893c3eed58a9 --- /dev/null +++ b/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/RegionHealth.json @@ -0,0 +1,179 @@ +{ + "swagger": "2.0", + "info": { + "description": "Region health operation endpoints and objects.", + "title": "InfrastructureInsightsManagementClient", + "version": "2016-05-01" + }, + "host": "adminmanagement.local.azurestack.external", + "schemes": [ + "https" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.InfrastructureInsights.Admin/regionHealths": { + "get": { + "x-ms-examples": { + "Get the list of all health items for the region": { + "$ref": "./examples/RegionHealth/RegionHealthListOperation_example.json" + } + }, + "tags": [ + "RegionHealths" + ], + "description": "Get the list of all regions health status.", + "operationId": "RegionHealths_List", + "parameters": [ + { + "$ref": "InfrastructureInsights.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "InfrastructureInsights.json#/parameters/LocationParameter" + }, + { + "$ref": "InfrastructureInsights.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "InfrastructureInsights.json#/parameters/FilterParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RegionHealthList" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/Alert", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/{region}": { + "get": { + "x-ms-examples": { + "Get the health status of a region": { + "$ref": "./examples/RegionHealth/RegionHealthGetOperation_example.json" + } + }, + "tags": [ + "RegionHealths" + ], + "description": "Get health status of a region.", + "operationId": "RegionHealths_Get", + "parameters": [ + { + "$ref": "InfrastructureInsights.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "InfrastructureInsights.json#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/RegionParameter" + }, + { + "$ref": "InfrastructureInsights.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/RegionHealth" + } + } + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + } + } + }, + "definitions": { + "RegionHealth": { + "description": "Contains information related to a regions health.", + "properties": { + "properties": { + "description": "Contains information related to a regions health.", + "$ref": "#/definitions/RegionHealthModel", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "InfrastructureInsights.json#/definitions/Resource" + } + ] + }, + "RegionHealthModel": { + "description": "Contains information related to a regions health.", + "properties": { + "alertSummary": { + "description": "Summary of alerts.", + "$ref": "InfrastructureInsights.json#/definitions/AlertSummary" + }, + "usageMetrics": { + "description": "List of usage metrics for this region.", + "type": "array", + "items": { + "$ref": "InfrastructureInsights.json#/definitions/UsageMetrics" + } + } + } + }, + "RegionHealthList": { + "description": "Pageable list of region health items.", + "properties": { + "value": { + "description": "Array of region health items", + "type": "array", + "items": { + "$ref": "#/definitions/RegionHealth" + } + }, + "nextLink": { + "description": "URI to next page.", + "type": "string" + } + } + } + }, + "parameters": { + "RegionParameter": { + "description": "Name of the region", + "name": "region", + "type": "string", + "required": true, + "in": "path", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/ResourceHealth.json b/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/ResourceHealth.json new file mode 100644 index 000000000000..5dff4125af87 --- /dev/null +++ b/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/ResourceHealth.json @@ -0,0 +1,203 @@ +{ + "swagger": "2.0", + "info": { + "description": "Resource health operation endpoints and objects.", + "title": "InfrastructureInsightsManagementClient", + "version": "2016-05-01" + }, + "host": "adminmanagement.local.azurestack.external", + "schemes": [ + "https" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/{location}/serviceHealths/{serviceRegistrationId}/resourceHealths": { + "get": { + "x-ms-examples": { + "Get a list of resource health items": { + "$ref": "./examples/ResourceHealth/ResourceHealthListOperation_example.json" + } + }, + "tags": [ + "Resources" + ], + "description": "Get a list of resources?.", + "operationId": "ResourceHealths_List", + "parameters": [ + { + "$ref": "InfrastructureInsights.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "InfrastructureInsights.json#/parameters/LocationParameter" + }, + { + "$ref": "InfrastructureInsights.json#/parameters/ServiceRegistrationIdParameter" + }, + { + "$ref": "InfrastructureInsights.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "InfrastructureInsights.json#/parameters/FilterParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ResourceHealthList" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/ResourceHealth", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/{location}/serviceHealths/{serviceRegistrationId}/resourceHealths/{resourceRegistrationId}": { + "get": { + "x-ms-examples": { + "Get health information about a resource": { + "$ref": "./examples/ResourceHealth/ResourceHealthGetOperation_example.json" + } + }, + "tags": [ + "Resources" + ], + "description": "Get health information about a resources.", + "operationId": "ResourceHealths_Get", + "parameters": [ + { + "$ref": "InfrastructureInsights.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "InfrastructureInsights.json#/parameters/LocationParameter" + }, + { + "$ref": "InfrastructureInsights.json#/parameters/ServiceRegistrationIdParameter" + }, + { + "$ref": "InfrastructureInsights.json#/parameters/ResourceRegistrationIdParameter" + }, + { + "$ref": "InfrastructureInsights.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "InfrastructureInsights.json#/parameters/FilterParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ResourceHealth" + } + } + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + } + } + }, + "definitions": { + "ResourceHealth": { + "description": "Health information related to a resource.", + "properties": { + "properties": { + "description": "Health information related to a resource.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ResourceHealthModel" + } + }, + "allOf": [ + { + "$ref": "InfrastructureInsights.json#/definitions/Resource" + } + ] + }, + "ResourceHealthModel": { + "description": "Health information related to a resource.", + "properties": { + "resourceLocation": { + "description": "Gets or sets the resource location.", + "type": "string" + }, + "resourceName": { + "description": "Gets or sets the resource name.", + "type": "string" + }, + "resourceDisplayName": { + "description": "Gets or sets the resource display name.", + "type": "string" + }, + "resourceType": { + "description": "Gets or sets the resource type.", + "type": "string" + }, + "resourceURI": { + "description": "Gets or sets the resource uri.", + "type": "string" + }, + "rpRegistrationId": { + "description": "Gets or sets the resource provider registration id.", + "type": "string" + }, + "usageMetrics": { + "description": "Gets or sets the usage metrics.", + "type": "array", + "items": { + "$ref": "InfrastructureInsights.json#/definitions/UsageMetrics" + } + } + }, + "allOf": [ + { + "$ref": "InfrastructureInsights.json#/definitions/BaseHealth" + } + ] + }, + "ResourceHealthList": { + "description": "Pageable list of resource healths.", + "properties": { + "value": { + "description": "Array of of resource healths", + "type": "array", + "items": { + "$ref": "#/definitions/ResourceHealth" + } + }, + "nextLink": { + "description": "URI to next page.", + "type": "string" + } + } + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/ServiceHealth.json b/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/ServiceHealth.json new file mode 100644 index 000000000000..9d45de31cd3f --- /dev/null +++ b/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/ServiceHealth.json @@ -0,0 +1,185 @@ +{ + "swagger": "2.0", + "info": { + "description": "Service health operation endpoints and objects.", + "title": "InfrastructureInsightsManagementClient", + "version": "2016-05-01" + }, + "host": "adminmanagement.local.azurestack.external", + "schemes": [ + "https" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/{location}/serviceHealths": { + "get": { + "x-ms-examples": { + "List all services health": { + "$ref": "./examples/ServiceHealth/ServiceHealthListOperation_example.json" + } + }, + "tags": [ + "ServiceHealths" + ], + "description": "Get a list of all services health", + "operationId": "ServiceHealths_List", + "parameters": [ + { + "$ref": "InfrastructureInsights.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "InfrastructureInsights.json#/parameters/LocationParameter" + }, + { + "$ref": "InfrastructureInsights.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "InfrastructureInsights.json#/parameters/FilterParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ServiceHealthList" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/ServiceHealth", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/{location}/serviceHealths/{serviceHealth}": { + "get": { + "x-ms-examples": { + "Get a services health": { + "$ref": "./examples/ServiceHealth/ServiceHealthGetOperation_example.json" + } + }, + "tags": [ + "ServiceHealths" + ], + "description": "Get a services health", + "operationId": "ServiceHealths_Get", + "parameters": [ + { + "$ref": "InfrastructureInsights.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "InfrastructureInsights.json#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/ServiceHealthParameter" + }, + { + "$ref": "InfrastructureInsights.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ServiceHealth" + } + } + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + } + } + }, + "definitions": { + "ServiceHealth": { + "description": "Holds information about a services health.", + "properties": { + "properties": { + "description": "Holds information about a services health.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ServiceHealthModel" + } + }, + "allOf": [ + { + "$ref": "InfrastructureInsights.json#/definitions/Resource" + } + ] + }, + "ServiceHealthModel": { + "description": "Holds information about a services health.", + "properties": { + "displayName": { + "description": "Name of the alert.", + "type": "string" + }, + "serviceLocation": { + "description": "Location of the service.", + "type": "string" + }, + "infraURI": { + "description": "The route prefix to the alert.", + "type": "string" + } + }, + "allOf": [ + { + "$ref": "InfrastructureInsights.json#/definitions/BaseHealth" + } + ] + }, + "ServiceHealthList": { + "description": "Pageable list of service health instances.", + "properties": { + "value": { + "description": "Array of service health instances.", + "type": "array", + "items": { + "$ref": "#/definitions/ServiceHealth" + } + }, + "nextLink": { + "description": "URI of the next page.", + "type": "string" + } + } + } + }, + "parameters": { + "ServiceHealthParameter": { + "description": "Service Health name.", + "name": "serviceHealth", + "type": "string", + "required": true, + "in": "path", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/examples/Alert/AlertCloseOperation_example.json b/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/examples/Alert/AlertCloseOperation_example.json new file mode 100644 index 000000000000..b4b4cd937e07 --- /dev/null +++ b/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/examples/Alert/AlertCloseOperation_example.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "alertName": "ca55be03-9be9-4deb-8467-e890ab1d116b", + "alert": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/alerts/ca55be03-9be9-4deb-8467-e890ab1d116b", + "name": "ca55be03-9be9-4deb-8467-e890ab1d116b", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/alerts", + "location": "local", + "tags": {}, + "properties": { + "state": "Closed", + "closedByUserAlias": "ciserviceadmin@msazurestack.onmicrosoft.com" + } + }, + "user": "ciserviceadmin@msazurestack.onmicrosoft.com", + "api-version": "2016-05-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/alerts/ca55be03-9be9-4deb-8467-e890ab1d116b", + "name": "ca55be03-9be9-4deb-8467-e890ab1d116b", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/alerts", + "location": "local", + "tags": {}, + "properties": { + "closedTimestamp": "", + "createdTimestamp": "2017-08-12T20:28:56.912712Z", + "description": [ + { + "text": "The infrastructure role Infrastructure management controller is experiencing issues.", + "type": "Text" + } + ], + "faultId": "ServiceFabric:/FabricControllerRing/FabricControllerRing", + "alertId": "ca55be03-9be9-4deb-8467-e890ab1d116b", + "faultTypeId": "ServiceFabricClusterUnhealthy", + "lastUpdatedTimestamp": "2017-08-12T20:28:56.912712Z", + "alertProperties": { + "healthState": "Warning", + "name": "Infrastructure management controller", + "fabricName": "FabricControllerRing", + "description": "", + "serviceType": "FabricControllerRing" + }, + "remediation": [ + { + "text": "Please contact Support. Before you do, start the log file collection process using the guidance from ", + "type": "Text" + }, + { + "linkType": "Uri", + "uri": "https://aka.ms/azurestacklogfiles", + "resourceId": "", + "type": "LinkBegin" + }, + { + "text": "https://aka.ms/azurestacklogfiles", + "type": "Text" + }, + { + "type": "LinkEnd" + }, + { + "text": ".", + "type": "Text" + } + ], + "resourceRegistrationId": "7cd4c25c-e946-4502-926b-e3c32737b116", + "resourceProviderRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "severity": "Warning", + "state": "Closed", + "title": "Infrastructure role is unhealthy", + "impactedResourceId": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/FabricControllerRing", + "impactedResourceDisplayName": "Infrastructure management controller", + "closedByUserAlias": "ciserviceadmin@msazurestack.onmicrosoft.com" + } + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/examples/Alert/AlertGetOperation_example.json b/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/examples/Alert/AlertGetOperation_example.json new file mode 100644 index 000000000000..c33dbe10e6aa --- /dev/null +++ b/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/examples/Alert/AlertGetOperation_example.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "alertName": "ca55be03-9be9-4deb-8467-e890ab1d116b", + "api-version": "2016-05-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/alerts/ca55be03-9be9-4deb-8467-e890ab1d116b", + "name": "ca55be03-9be9-4deb-8467-e890ab1d116b", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/alerts", + "location": "local", + "tags": {}, + "properties": { + "closedTimestamp": "", + "createdTimestamp": "2017-08-12T20:28:56.912712Z", + "description": [ + { + "text": "The infrastructure role Infrastructure management controller is experiencing issues.", + "type": "Text" + } + ], + "faultId": "ServiceFabric:/FabricControllerRing/FabricControllerRing", + "alertId": "ca55be03-9be9-4deb-8467-e890ab1d116b", + "faultTypeId": "ServiceFabricClusterUnhealthy", + "lastUpdatedTimestamp": "2017-08-12T20:28:56.912712Z", + "alertProperties": { + "healthState": "Warning", + "name": "Infrastructure management controller", + "fabricName": "FabricControllerRing", + "description": "", + "serviceType": "FabricControllerRing" + }, + "remediation": [ + { + "text": "Please contact Support. Before you do, start the log file collection process using the guidance from ", + "type": "Text" + }, + { + "linkType": "Uri", + "uri": "https://aka.ms/azurestacklogfiles", + "resourceId": "", + "type": "LinkBegin" + }, + { + "text": "https://aka.ms/azurestacklogfiles", + "type": "Text" + }, + { + "type": "LinkEnd" + }, + { + "text": ".", + "type": "Text" + } + ], + "resourceRegistrationId": "7cd4c25c-e946-4502-926b-e3c32737b116", + "resourceProviderRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "severity": "Warning", + "state": "Active", + "title": "Infrastructure role is unhealthy", + "impactedResourceId": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/FabricControllerRing", + "impactedResourceDisplayName": "Infrastructure management controller", + "closedByUserAlias": "" + } + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/examples/Alert/AlertListOperation_example.json b/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/examples/Alert/AlertListOperation_example.json new file mode 100644 index 000000000000..84e9be7df957 --- /dev/null +++ b/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/examples/Alert/AlertListOperation_example.json @@ -0,0 +1,134 @@ +{ + "parameters": { + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "api-version": "2016-05-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/alerts/1fcf80bb-f889-44c5-8591-efd191812385", + "name": "1fcf80bb-f889-44c5-8591-efd191812385", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/alerts", + "location": "local", + "tags": {}, + "properties": { + "closedTimestamp": "", + "createdTimestamp": "2017-08-12T20:28:56.897087Z", + "description": [ + { + "text": "The infrastructure role Capacity is experiencing issues.", + "type": "Text" + } + ], + "faultId": "ServiceFabric:/FabricResourceProvider/fabric:/FabricResourceProvider", + "alertId": "1fcf80bb-f889-44c5-8591-efd191812385", + "faultTypeId": "ServiceFabricApplicationUnhealthy", + "lastUpdatedTimestamp": "2017-08-12T20:28:56.897087Z", + "alertProperties": { + "healthState": "Warning", + "name": "Capacity", + "fabricName": "fabric:/FabricResourceProvider", + "description": "", + "serviceType": "FabricResourceProvider" + }, + "remediation": [ + { + "text": "Please contact Support. Before you do, start the log file collection process using the guidance from ", + "type": "Text" + }, + { + "linkType": "Uri", + "uri": "https://aka.ms/azurestacklogfiles", + "resourceId": "", + "type": "LinkBegin" + }, + { + "text": "https://aka.ms/azurestacklogfiles", + "type": "Text" + }, + { + "type": "LinkEnd" + }, + { + "text": ".", + "type": "Text" + } + ], + "resourceRegistrationId": "", + "resourceProviderRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "severity": "Warning", + "state": "Active", + "title": "Infrastructure role is unhealthy", + "impactedResourceId": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/FabricResourceProvider", + "impactedResourceDisplayName": "FabricResourceProvider", + "closedByUserAlias": "" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/alerts/ca55be03-9be9-4deb-8467-e890ab1d116b", + "name": "ca55be03-9be9-4deb-8467-e890ab1d116b", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/alerts", + "location": "local", + "tags": {}, + "properties": { + "closedTimestamp": "", + "createdTimestamp": "2017-08-12T20:28:56.912712Z", + "description": [ + { + "text": "The infrastructure role Infrastructure management controller is experiencing issues.", + "type": "Text" + } + ], + "faultId": "ServiceFabric:/FabricControllerRing/FabricControllerRing", + "alertId": "ca55be03-9be9-4deb-8467-e890ab1d116b", + "faultTypeId": "ServiceFabricClusterUnhealthy", + "lastUpdatedTimestamp": "2017-08-12T20:28:56.912712Z", + "alertProperties": { + "healthState": "Warning", + "name": "Infrastructure management controller", + "fabricName": "FabricControllerRing", + "description": "", + "serviceType": "FabricControllerRing" + }, + "remediation": [ + { + "text": "Please contact Support. Before you do, start the log file collection process using the guidance from ", + "type": "Text" + }, + { + "linkType": "Uri", + "uri": "https://aka.ms/azurestacklogfiles", + "resourceId": "", + "type": "LinkBegin" + }, + { + "text": "https://aka.ms/azurestacklogfiles", + "type": "Text" + }, + { + "type": "LinkEnd" + }, + { + "text": ".", + "type": "Text" + } + ], + "resourceRegistrationId": "7cd4c25c-e946-4502-926b-e3c32737b116", + "resourceProviderRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "severity": "Warning", + "state": "Active", + "title": "Infrastructure role is unhealthy", + "impactedResourceId": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/FabricControllerRing", + "impactedResourceDisplayName": "Infrastructure management controller", + "closedByUserAlias": "" + } + } + ], + "nextLink": "" + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/examples/RegionHealth/RegionHealthGetOperation_example.json b/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/examples/RegionHealth/RegionHealthGetOperation_example.json new file mode 100644 index 000000000000..7cbcc3e7f68f --- /dev/null +++ b/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/examples/RegionHealth/RegionHealthGetOperation_example.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "region" : "local", + "api-version": "2016-05-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local", + "name": "local", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths", + "location": "local", + "tags": {}, + "properties": { + "usageMetrics": [ + { + "name": "Physical memory", + "metricsValue": [ + { + "name": "Used", + "unit": "GB", + "value": 76.249416351318359 + }, + { + "name": "Available", + "unit": "GB", + "value": 181.7333984375 + } + ] + }, + { + "name": "Physical storage", + "metricsValue": [ + { + "name": "Used", + "unit": "TB", + "value": 0.22170669212937355 + }, + { + "name": "Available", + "unit": "TB", + "value": 2.2449070774018764 + } + ] + }, + { + "name": "Public IP address pools", + "metricsValue": [ + { + "name": "Used", + "unit": "One", + "value": 31.0 + }, + { + "name": "Available", + "unit": "One", + "value": 480.0 + } + ] + } + ], + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 2 + } + } + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/examples/RegionHealth/RegionHealthListOperation_example.json b/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/examples/RegionHealth/RegionHealthListOperation_example.json new file mode 100644 index 000000000000..caff96489358 --- /dev/null +++ b/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/examples/RegionHealth/RegionHealthListOperation_example.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "api-version": "2016-05-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local", + "name": "local", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths", + "location": "local", + "tags": {}, + "properties": { + "usageMetrics": [ + { + "name": "Physical memory", + "metricsValue": [ + { + "name": "Used", + "unit": "GB", + "value": 76.249416351318359 + }, + { + "name": "Available", + "unit": "GB", + "value": 181.7333984375 + } + ] + }, + { + "name": "Physical storage", + "metricsValue": [ + { + "name": "Used", + "unit": "TB", + "value": 0.22170669212937355 + }, + { + "name": "Available", + "unit": "TB", + "value": 2.2449070774018764 + } + ] + }, + { + "name": "Public IP address pools", + "metricsValue": [ + { + "name": "Used", + "unit": "One", + "value": 31.0 + }, + { + "name": "Available", + "unit": "One", + "value": 480.0 + } + ] + } + ], + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 2 + } + } + } + ], + "nextLink": "" + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/examples/ResourceHealth/ResourceHealthGetOperation_example.json b/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/examples/ResourceHealth/ResourceHealthGetOperation_example.json new file mode 100644 index 000000000000..28235242f5c5 --- /dev/null +++ b/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/examples/ResourceHealth/ResourceHealthGetOperation_example.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "serviceRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "resourceRegistrationId": "e388fe4c-63a0-4253-9b29-6dd4bf024501", + "api-version": "2016-05-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/e388fe4c-63a0-4253-9b29-6dd4bf024501", + "name": "e388fe4c-63a0-4253-9b29-6dd4bf024501", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "e388fe4c-63a0-4253-9b29-6dd4bf024501", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "NonPrivilegedApplicationGateway", + "resourceDisplayName": "Partition request broker (User)", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/NonPrivilegedApplicationGateway", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Healthy" + } + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/examples/ResourceHealth/ResourceHealthListOperation_example.json b/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/examples/ResourceHealth/ResourceHealthListOperation_example.json new file mode 100644 index 000000000000..7286612a5bba --- /dev/null +++ b/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/examples/ResourceHealth/ResourceHealthListOperation_example.json @@ -0,0 +1,905 @@ +{ + "parameters": { + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "serviceRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "api-version": "2016-05-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/02860753-c35b-4a1d-9d5b-78d51e08616e", + "name": "02860753-c35b-4a1d-9d5b-78d51e08616e", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "02860753-c35b-4a1d-9d5b-78d51e08616e", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "PortalAdmin", + "resourceDisplayName": "Portal (Administrator)", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/PortalAdmin", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Unknown" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/03e6f2b8-c4b9-4f13-b381-0365e1c83dbf", + "name": "03e6f2b8-c4b9-4f13-b381-0365e1c83dbf", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "03e6f2b8-c4b9-4f13-b381-0365e1c83dbf", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "SLBMultiplexer", + "resourceDisplayName": "Load balancer multiplexer", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/SLBMultiplexer", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Healthy" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/1c5fb7d8-0c79-4157-ba6b-3cd3316dbbdf", + "name": "1c5fb7d8-0c79-4157-ba6b-3cd3316dbbdf", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "1c5fb7d8-0c79-4157-ba6b-3cd3316dbbdf", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "KeyVaultControlPlane", + "resourceDisplayName": "Key Vault controller (User)", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/KeyVaultControlPlane", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Healthy" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/1ee2cdb4-ce31-45d7-890f-3fc3404897a3", + "name": "1ee2cdb4-ce31-45d7-890f-3fc3404897a3", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "1ee2cdb4-ce31-45d7-890f-3fc3404897a3", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "MicrosoftSQLServer", + "resourceDisplayName": "Internal data store", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/MicrosoftSQLServer", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Unknown" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/22e43659-5042-4ffb-896c-83bdd7be7003", + "name": "22e43659-5042-4ffb-896c-83bdd7be7003", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "22e43659-5042-4ffb-896c-83bdd7be7003", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "BackupController", + "resourceDisplayName": "Backup controller", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/BackupController", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Healthy" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/30c69554-bca4-421f-9d70-8c7dc4d9a90a", + "name": "30c69554-bca4-421f-9d70-8c7dc4d9a90a", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "30c69554-bca4-421f-9d70-8c7dc4d9a90a", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "AuthorizationServiceAdmin", + "resourceDisplayName": "Authorization service (Administrator)", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/AuthorizationServiceAdmin", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Unknown" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/320279a8-46c2-4551-b739-be1108f07285", + "name": "320279a8-46c2-4551-b739-be1108f07285", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "320279a8-46c2-4551-b739-be1108f07285", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "HealthMonitoring", + "resourceDisplayName": "Health controller", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/HealthMonitoring", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Healthy" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/33651056-1254-41d5-8388-8842a4cb8201", + "name": "33651056-1254-41d5-8388-8842a4cb8201", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "33651056-1254-41d5-8388-8842a4cb8201", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "NetworkController", + "resourceDisplayName": "Network controller", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/NetworkController", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Healthy" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/35348c64-1f2c-453b-8df4-b7cb5827db5d", + "name": "35348c64-1f2c-453b-8df4-b7cb5827db5d", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "35348c64-1f2c-453b-8df4-b7cb5827db5d", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "AuthorizationServiceUser", + "resourceDisplayName": "Authorization service (User)", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/AuthorizationServiceUser", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Unknown" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/396efceb-268c-4dfc-80de-d46f67ab9718", + "name": "396efceb-268c-4dfc-80de-d46f67ab9718", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "396efceb-268c-4dfc-80de-d46f67ab9718", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "InsightsServiceAdmin", + "resourceDisplayName": "Insights service (Administrator)", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/InsightsServiceAdmin", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Unknown" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/3a13bf18-e3d8-4533-abbd-97c9afc06a58", + "name": "3a13bf18-e3d8-4533-abbd-97c9afc06a58", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "3a13bf18-e3d8-4533-abbd-97c9afc06a58", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "KeyVaultInternalDataPlane", + "resourceDisplayName": "Key Vault service (Administrator)", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/KeyVaultInternalDataPlane", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Healthy" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/3a868182-32e4-4b78-af5e-4e30f2bb6140", + "name": "3a868182-32e4-4b78-af5e-4e30f2bb6140", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "3a868182-32e4-4b78-af5e-4e30f2bb6140", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "ActiveDirectoryDomainServices", + "resourceDisplayName": "Directory management", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/ActiveDirectoryDomainServices", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Healthy" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/4a407ec3-4378-491d-a1b4-747e12cc079f", + "name": "4a407ec3-4378-491d-a1b4-747e12cc079f", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "4a407ec3-4378-491d-a1b4-747e12cc079f", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "AzureResourceManagerAdmin", + "resourceDisplayName": "Azure Resource Manager (Administrator)", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/AzureResourceManagerAdmin", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Unknown" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/4b809ab1-6dd8-4944-9236-d94975579138", + "name": "4b809ab1-6dd8-4944-9236-d94975579138", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "4b809ab1-6dd8-4944-9236-d94975579138", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "UsageServiceUser", + "resourceDisplayName": "Usage service (User)", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/UsageServiceUser", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Unknown" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/4f400548-da5c-4fb4-aa23-f44e68b3a168", + "name": "4f400548-da5c-4fb4-aa23-f44e68b3a168", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "4f400548-da5c-4fb4-aa23-f44e68b3a168", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "KeyVaultInternalControlPlane", + "resourceDisplayName": "Key Vault controller (Administrator)", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/KeyVaultInternalControlPlane", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Healthy" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/52115be4-b1f7-4ed2-a8c9-0d93f588ee7f", + "name": "52115be4-b1f7-4ed2-a8c9-0d93f588ee7f", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "52115be4-b1f7-4ed2-a8c9-0d93f588ee7f", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "AzureConsistentStorageRing", + "resourceDisplayName": "Storage services", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/AzureConsistentStorageRing", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Healthy" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/58e5e6cc-e880-4f6a-886b-1819d9672bf8", + "name": "58e5e6cc-e880-4f6a-886b-1819d9672bf8", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "58e5e6cc-e880-4f6a-886b-1819d9672bf8", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "StorageController", + "resourceDisplayName": "Storage controller", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/StorageController", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Healthy" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/596fbaa6-66bd-4eac-b002-9b63a69f0728", + "name": "596fbaa6-66bd-4eac-b002-9b63a69f0728", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "596fbaa6-66bd-4eac-b002-9b63a69f0728", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "AzureBridge", + "resourceDisplayName": "Azure bridge", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/AzureBridge", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Unknown" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/6e65db7d-de20-4ff0-b628-0a8a5839c61d", + "name": "6e65db7d-de20-4ff0-b628-0a8a5839c61d", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "6e65db7d-de20-4ff0-b628-0a8a5839c61d", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "InsightsServiceUser", + "resourceDisplayName": "Insights service (User)", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/InsightsServiceUser", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Unknown" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/70bca597-4cda-4b3b-94e2-bda43c7207fb", + "name": "70bca597-4cda-4b3b-94e2-bda43c7207fb", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "70bca597-4cda-4b3b-94e2-bda43c7207fb", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "KeyVaultNamingService", + "resourceDisplayName": "Key Vault name manager", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/KeyVaultNamingService", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Healthy" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/7afd76d2-6f78-464a-aac9-55c24692de31", + "name": "7afd76d2-6f78-464a-aac9-55c24692de31", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "7afd76d2-6f78-464a-aac9-55c24692de31", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "KeyVaultDataPlane", + "resourceDisplayName": "Key Vault service (User)", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/KeyVaultDataPlane", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Healthy" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/7cd4c25c-e946-4502-926b-e3c32737b116", + "name": "7cd4c25c-e946-4502-926b-e3c32737b116", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "7cd4c25c-e946-4502-926b-e3c32737b116", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "FabricControllerRing", + "resourceDisplayName": "Infrastructure management controller", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/FabricControllerRing", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 1 + }, + "healthState": "Warning" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/8e829737-813b-4637-97d5-83a1eeaea4fe", + "name": "8e829737-813b-4637-97d5-83a1eeaea4fe", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "8e829737-813b-4637-97d5-83a1eeaea4fe", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "ComputeController", + "resourceDisplayName": "Compute controller", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/ComputeController", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Healthy" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/a979da34-78f0-45e6-8579-9023b7aabbbd", + "name": "a979da34-78f0-45e6-8579-9023b7aabbbd", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "a979da34-78f0-45e6-8579-9023b7aabbbd", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "AzureResourceManagerUser", + "resourceDisplayName": "Azure Resource Manager (User)", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/AzureResourceManagerUser", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Unknown" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/ac279697-3e4a-441e-a6ab-8afa589a6bf5", + "name": "ac279697-3e4a-441e-a6ab-8afa589a6bf5", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "ac279697-3e4a-441e-a6ab-8afa589a6bf5", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "ApplicationGateway", + "resourceDisplayName": "Partition request broker (Administrator)", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/ApplicationGateway", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Healthy" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/bd90c001-1ddb-470f-9081-4f6bf254d358", + "name": "bd90c001-1ddb-470f-9081-4f6bf254d358", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "bd90c001-1ddb-470f-9081-4f6bf254d358", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "UsageServiceAdmin", + "resourceDisplayName": "Usage service (Administrator)", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/UsageServiceAdmin", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Unknown" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/bffdc1b5-2276-43a1-82a4-01e7a0585162", + "name": "bffdc1b5-2276-43a1-82a4-01e7a0585162", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "bffdc1b5-2276-43a1-82a4-01e7a0585162", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "PortalUser", + "resourceDisplayName": "Portal (User)", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/PortalUser", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Unknown" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/c5ab5cc3-0e51-43fd-94f2-a999f4ce00d1", + "name": "c5ab5cc3-0e51-43fd-94f2-a999f4ce00d1", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "c5ab5cc3-0e51-43fd-94f2-a999f4ce00d1", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "ActiveDirectoryFederationServices", + "resourceDisplayName": "Active Directory Federation Services", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/ActiveDirectoryFederationServices", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Unknown" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/c634d1c5-1a2d-420d-9c88-8d12535d1870", + "name": "c634d1c5-1a2d-420d-9c88-8d12535d1870", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "c634d1c5-1a2d-420d-9c88-8d12535d1870", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "SubscriptionsServices", + "resourceDisplayName": "Subscriptions service", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/SubscriptionsServices", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Unknown" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/c9694eb8-5c18-47d1-b07d-55dc6ce88145", + "name": "c9694eb8-5c18-47d1-b07d-55dc6ce88145", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "c9694eb8-5c18-47d1-b07d-55dc6ce88145", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "RASGateway", + "resourceDisplayName": "Edge gateway", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/RASGateway", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Healthy" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/cef8ab56-97f5-42ef-a4c5-d63de46f603e", + "name": "cef8ab56-97f5-42ef-a4c5-d63de46f603e", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "cef8ab56-97f5-42ef-a4c5-d63de46f603e", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "ActiveDirectoryCertificateServices", + "resourceDisplayName": "Certificate management", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/ActiveDirectoryCertificateServices", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Unknown" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/d6374306-6c60-4881-94a3-b8d78e54dde1", + "name": "d6374306-6c60-4881-94a3-b8d78e54dde1", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "d6374306-6c60-4881-94a3-b8d78e54dde1", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "SeedRing", + "resourceDisplayName": "Privileged endpoint", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/SeedRing", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Unknown" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/df1a83e9-635b-4ed0-af15-dfdf91ef4631", + "name": "df1a83e9-635b-4ed0-af15-dfdf91ef4631", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "df1a83e9-635b-4ed0-af15-dfdf91ef4631", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "GalleryServiceUser", + "resourceDisplayName": "Gallery service (User)", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/GalleryServiceUser", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Unknown" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/e388fe4c-63a0-4253-9b29-6dd4bf024501", + "name": "e388fe4c-63a0-4253-9b29-6dd4bf024501", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "e388fe4c-63a0-4253-9b29-6dd4bf024501", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "NonPrivilegedApplicationGateway", + "resourceDisplayName": "Partition request broker (User)", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/NonPrivilegedApplicationGateway", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Healthy" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/e932389e-a9fc-4310-9e69-7451d7b4b878", + "name": "e932389e-a9fc-4310-9e69-7451d7b4b878", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "e932389e-a9fc-4310-9e69-7451d7b4b878", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "EnterpriseCloudEngine", + "resourceDisplayName": "Infrastructure deployment", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/EnterpriseCloudEngine", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Healthy" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/eedbe9cb-8d73-45f3-a1a9-fd8422fbaa99", + "name": "eedbe9cb-8d73-45f3-a1a9-fd8422fbaa99", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "eedbe9cb-8d73-45f3-a1a9-fd8422fbaa99", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "GalleryServiceAdmin", + "resourceDisplayName": "Gallery service (Administrator)", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/GalleryServiceAdmin", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Unknown" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c/resourceHealths/ffcada0c-9de3-4994-884d-8cf04e3ad0a5", + "name": "ffcada0c-9de3-4994-884d-8cf04e3ad0a5", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths/resourceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "ffcada0c-9de3-4994-884d-8cf04e3ad0a5", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "resourceType": "infraRoles", + "resourceName": "ServicesController", + "resourceDisplayName": "Infrastructure role controller", + "usageMetrics": [], + "resourceLocation": "local", + "resourceURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/ServicesController", + "rpRegistrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Healthy" + } + } + ], + "nextLink": "" + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/examples/ServiceHealth/ServiceHealthGetOperation_example.json b/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/examples/ServiceHealth/ServiceHealthGetOperation_example.json new file mode 100644 index 000000000000..d5c243cf6593 --- /dev/null +++ b/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/examples/ServiceHealth/ServiceHealthGetOperation_example.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "serviceHealth": "c720a7de-4812-4b58-969d-c2e2a5cd89ec", + "api-version": "2016-05-01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/c720a7de-4812-4b58-969d-c2e2a5cd89ec", + "name": "c720a7de-4812-4b58-969d-c2e2a5cd89ec", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "c720a7de-4812-4b58-969d-c2e2a5cd89ec", + "displayName": "Compute", + "namespace": "Microsoft.Compute.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Compute.Admin/", + "serviceLocation": "local", + "infraURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Compute.Admin/infraRoles/Compute", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Unknown" + } + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/examples/ServiceHealth/ServiceHealthListOperation_example.json b/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/examples/ServiceHealth/ServiceHealthListOperation_example.json new file mode 100644 index 000000000000..2e3b9e4bdaa7 --- /dev/null +++ b/specification/azsadmin/resource-manager/InfrastructureInsights/Microsoft.InfrastructureInsights.Admin/2016-05-01/examples/ServiceHealth/ServiceHealthListOperation_example.json @@ -0,0 +1,156 @@ +{ + "parameters": { + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "api-version": "2016-05-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/23c54265-0e65-4d53-abdc-6734bd6a59f6", + "name": "23c54265-0e65-4d53-abdc-6734bd6a59f6", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "23c54265-0e65-4d53-abdc-6734bd6a59f6", + "displayName": "Network", + "namespace": "Microsoft.Network.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Network.Admin/", + "serviceLocation": "local", + "infraURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Network.Admin/infraRoles/Network", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Healthy" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/385a3e01-3685-45ae-a073-f00dda2b1f7d", + "name": "385a3e01-3685-45ae-a073-f00dda2b1f7d", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "385a3e01-3685-45ae-a073-f00dda2b1f7d", + "displayName": "Storage", + "namespace": "Microsoft.Storage.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Storage.Admin/farms/84e1c82f-06e2-4bf7-8a9e-646cfa4e4988", + "serviceLocation": "local", + "infraURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Storage.Admin/farms/84e1c82f-06e2-4bf7-8a9e-646cfa4e4988/infraRoles/Storage", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Healthy" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/9d9bd18c-5f8d-4f3d-b680-7a27161527ca", + "name": "9d9bd18c-5f8d-4f3d-b680-7a27161527ca", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "9d9bd18c-5f8d-4f3d-b680-7a27161527ca", + "displayName": "Key Vault", + "namespace": "Microsoft.KeyVault.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.KeyVault.Admin/locations/local", + "serviceLocation": "local", + "infraURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.KeyVault.Admin/locations/local/infraRoles/Key Vault", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Healthy" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/bb58377f-3d7d-4d7f-b3b3-d433d422bf9e", + "name": "bb58377f-3d7d-4d7f-b3b3-d433d422bf9e", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "bb58377f-3d7d-4d7f-b3b3-d433d422bf9e", + "displayName": "Region Management", + "namespace": "Microsoft.InfrastructureInsights.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local", + "serviceLocation": "local", + "infraURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/infraRoles/Region Management", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Unknown" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/c720a7de-4812-4b58-969d-c2e2a5cd89ec", + "name": "c720a7de-4812-4b58-969d-c2e2a5cd89ec", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "c720a7de-4812-4b58-969d-c2e2a5cd89ec", + "displayName": "Compute", + "namespace": "Microsoft.Compute.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Compute.Admin/", + "serviceLocation": "local", + "infraURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Compute.Admin/infraRoles/Compute", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Unknown" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/ca6d95e7-7fe1-4c10-b0db-ab4cc835a811", + "name": "ca6d95e7-7fe1-4c10-b0db-ab4cc835a811", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "ca6d95e7-7fe1-4c10-b0db-ab4cc835a811", + "displayName": "Updates", + "namespace": "Microsoft.Update.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Update.Admin/updateLocations/local", + "serviceLocation": "local", + "infraURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Update.Admin/updateLocations/local/infraRoles/Updates", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 0 + }, + "healthState": "Unknown" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.InfrastructureInsights.Admin/regionHealths/local/serviceHealths/e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "name": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "type": "Microsoft.InfrastructureInsights.Admin/regionHealths/serviceHealths", + "location": "local", + "tags": {}, + "properties": { + "registrationId": "e56bc7b8-c8b5-4e25-b00c-4f951effb22c", + "displayName": "Capacity", + "namespace": "Microsoft.Fabric.Admin", + "routePrefix": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "serviceLocation": "local", + "infraURI": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Capacity", + "alertSummary": { + "criticalAlertCount": 0, + "warningAlertCount": 1 + }, + "healthState": "Warning" + } + } + ], + "nextLink": "" + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/InfrastructureInsights/readme.md b/specification/azsadmin/resource-manager/InfrastructureInsights/readme.md new file mode 100644 index 000000000000..a2b08b300d17 --- /dev/null +++ b/specification/azsadmin/resource-manager/InfrastructureInsights/readme.md @@ -0,0 +1,79 @@ +# InfrastructureInsights Admin + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for InfrastructureInsights Admin. + +--- +## Getting Started +To build the SDK for InfrastructureInsights Admin, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: + +> `autorest` + +To see additional help and options, run: + +> `autorest --help` +--- + +## Configuration + +### Basic Information +These are the global settings for the InfrastructureInsights API. + +``` yaml +title: InfrastructureInsightsAdminClient +description: InfrastructureInsights Admin Client +openapi-type: arm +tag: package-2016-05-01 +``` + +### Tag: package-2016-05-01 + +These settings apply only when `--tag=package-2016-05-01` is specified on the command line. + +``` yaml $(tag) == 'package-2016-05-01' +input-file: + - Microsoft.InfrastructureInsights.Admin/2016-05-01/InfrastructureInsights.json + - Microsoft.InfrastructureInsights.Admin/2016-05-01/Alert.json + - Microsoft.InfrastructureInsights.Admin/2016-05-01/RegionHealth.json + - Microsoft.InfrastructureInsights.Admin/2016-05-01/ResourceHealth.json + - Microsoft.InfrastructureInsights.Admin/2016-05-01/ServiceHealth.json +``` + +--- +# Code Generation + +## C# + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +``` yaml $(csharp) +csharp: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + namespace: Microsoft.AzureStack.InfrastructureInsights.Admin + payload-flattening-threshold: 1 + output-folder: $(csharp-sdks-folder)/InfrastructureInsights/InfrastructureInsights.Admin/Generated + clear-output-folder: true +``` + +## Python + +These settings apply only when `--python` is specified on the command line. + +``` yaml $(python) +python: + # override the default output folder + output-folder: $(output-folder)/python + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 +``` + +### Tag: package-2016-05-01 and python + +These settings apply only when `--tag=package-2016-05-01 --python` is specified on the command line. + +``` yaml $(tag) == 'package-2016-05-01' && $(python) +namespace: azure.mgmt.infrastructure_insights.admin.v2016_05_01 +``` diff --git a/specification/azsadmin/resource-manager/commerce/Microsoft.Commerce.Admin/2015-06-01-preview/CommerceAdmin.json b/specification/azsadmin/resource-manager/commerce/Microsoft.Commerce.Admin/2015-06-01-preview/CommerceAdmin.json new file mode 100644 index 000000000000..ff633b3afcb7 --- /dev/null +++ b/specification/azsadmin/resource-manager/commerce/Microsoft.Commerce.Admin/2015-06-01-preview/CommerceAdmin.json @@ -0,0 +1,247 @@ +{ + "swagger": "2.0", + "info": { + "x-ms-code-generation-settings": { + "header": "MICROSOFT_MIT", + "namespace": "Microsoft.AzureStack.Commerce.Admin" + }, + "version": "2015-06-01-preview", + "title": "CommerceManagementClient", + "description": "The Admin Commerce Management Client." + }, + "host": "management.local.azurestack.external", + "schemes": [ + "https" + ], + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Commerce/subscriberUsageAggregates": { + "get": { + "x-ms-examples": { + "Get the list of usage aggregates for all tenants.": { + "$ref": "./examples/SubscriberUsageAggregates/ListOperation.json" + } + }, + "description": "Gets a collection of SubscriberUsageAggregates, which are UsageAggregates from direct tenants.", + "tags": [ + "Commerce" + ], + "operationId": "SubscriberUsageAggregates_List", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ReportedStartTimeParameter" + }, + { + "$ref": "#/parameters/ReportedEndTimeParameter" + }, + { + "$ref": "#/parameters/AggregationGranularityParameter" + }, + { + "$ref": "#/parameters/TenantSubscriptionIdParameter" + }, + { + "$ref": "#/parameters/ContinuationTokenParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/UsageAggregatePage" + } + } + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + } + } + }, + "definitions": { + "Resource": { + "description": "Base Resource Object", + "type": "object", + "properties": { + "id": { + "readOnly": true, + "description": "URI of the resource.", + "type": "string" + }, + "name": { + "readOnly": true, + "description": "Name of the resource.", + "type": "string" + }, + "type": { + "readOnly": true, + "description": "Type of resource.", + "type": "string" + }, + "location": { + "readOnly": true, + "description": "Location where resource is location.", + "type": "string" + }, + "tags": { + "readOnly": true, + "description": "List of key value pairs.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "UsageAggregate": { + "description": "Aggregate usage values for resource.", + "type": "object", + "properties": { + "properties": { + "x-ms-client-flatten": true, + "description": "Properties for aggregate usage.", + "$ref": "#/definitions/UsageAggregateModel" + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "UsageAggregateModel": { + "description": "Properties for aggregate usage.", + "type": "object", + "properties": { + "subscriptionId": { + "type": "string", + "description": "Subscription id of tenant using plan." + }, + "usageStartTime": { + "type": "string", + "format": "date-time", + "description": "UTC start time for the usage bucket to which this usage aggregate belongs." + }, + "usageEndTime": { + "type": "string", + "format": "date-time", + "description": "UTC end time for the usage bucket to which this usage aggregate belongs." + }, + "instanceData": { + "description": "Key-value pairs of instance details represented as a string.", + "type": "string" + }, + "quantity": { + "description": "The amount of the resource consumption that occurred in this time frame.", + "type": "string" + }, + "meterId": { + "description": "Unique ID for the resource that was consumed (aka ResourceID).", + "type": "string" + } + } + }, + "UsageAggregatePage": { + "description": "Holds an array of usage aggregates and the continuation token.", + "properties": { + "value": { + "description": "Array of usage aggregates.", + "type": "array", + "items": { + "$ref": "#/definitions/UsageAggregate" + } + }, + "nextLink": { + "type": "string", + "description": "Continuation token" + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "description": "Subscription credentials which uniquely identify Microsoft Azure subscription.The subscription ID forms part of the URI for every service call.", + "required": true, + "type": "string" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "description": "Client Api Version.", + "required": true, + "type": "string", + "default": "2015-06-01-preview" + }, + "ReportedStartTimeParameter": { + "description": "The reported start time (inclusive).", + "name": "reportedStartTime", + "in": "query", + "type": "string", + "required": true, + "format": "date-time", + "x-ms-parameter-location": "method" + }, + "ReportedEndTimeParameter": { + "description": "The reported end time (exclusive).", + "name": "reportedEndTime", + "in": "query", + "type": "string", + "required": true, + "format": "date-time", + "x-ms-parameter-location": "method" + }, + "AggregationGranularityParameter": { + "description": "The aggregation granularity.", + "name": "aggregationGranularity", + "in": "query", + "type": "string", + "required": false, + "x-ms-parameter-location": "method" + }, + "TenantSubscriptionIdParameter": { + "description": "The tenant subscription identifier.", + "name": "subscriberId", + "in": "query", + "type": "string", + "required": false, + "x-ms-parameter-location": "method" + }, + "ContinuationTokenParameter": { + "description": "The continuation token.", + "name": "continuationToken", + "in": "query", + "type": "string", + "required": false, + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/commerce/Microsoft.Commerce.Admin/2015-06-01-preview/examples/SubscriberUsageAggregates/ListOperation.json b/specification/azsadmin/resource-manager/commerce/Microsoft.Commerce.Admin/2015-06-01-preview/examples/SubscriberUsageAggregates/ListOperation.json new file mode 100644 index 000000000000..9d6a9e6614b2 --- /dev/null +++ b/specification/azsadmin/resource-manager/commerce/Microsoft.Commerce.Admin/2015-06-01-preview/examples/SubscriberUsageAggregates/ListOperation.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "api-version": "2015-06-01-preview", + "reportedStartTime": "2017-08-01T00:00:00.00Z", + "reportedEndTime": "2017-08-02T00:00:00.00Z", + "aggregationGranularity": "", + "subscriberId": "", + "continuationToken": "" + }, + "responses": { + "200": { + "body": { + "value": [], + "nextLink": "" + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/commerce/readme.md b/specification/azsadmin/resource-manager/commerce/readme.md new file mode 100644 index 000000000000..013517df1e65 --- /dev/null +++ b/specification/azsadmin/resource-manager/commerce/readme.md @@ -0,0 +1,72 @@ +# Commerce Admin + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Commerce Admin. + +--- +## Getting Started +To build the SDK for Commerce Admin, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: + +> `autorest` + +To see additional help and options, run: + +> `autorest --help` +--- + +## Configuration + +### Basic Information +These are the global settings for the Commerce API. + +``` yaml +title: CommerceAdminClient +description: Commerce Admin Client +openapi-type: arm +tag: package-2015-06-01-preview +``` + +### Tag: package-2015-06-01-preview + +These settings apply only when `--tag=package-2015-06-01-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2015-06-01-preview' +input-file: + - Microsoft.Commerce.Admin/2015-06-01-preview/CommerceAdmin.json +``` + +--- +# Code Generation + +## C# + +``` yaml $(csharp) +csharp: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + namespace: Microsoft.AzureStack.Commerce.Admin + payload-flattening-threshold: 1 + output-folder: $(csharp-sdks-folder)/Commerce/Commerce.Admin/Generated + clear-output-folder: true +``` + +## Python + +These settings apply only when `--python` is specified on the command line. + +``` yaml $(python) +python: + # override the default output folder + output-folder: $(output-folder)/python + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 +``` + +### Tag: package-2015-06-01-preview and python + +These settings apply only when `--tag=package-2015-06-01-preview --python` is specified on the command line. + +``` yaml $(tag) == 'package-2015-06-01-preview' && $(python) +namespace: azure.mgmt.commerce.admin.v2015_06_01_preview +``` diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/EdgeGateway.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/EdgeGateway.json new file mode 100644 index 000000000000..bfca4564ecb1 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/EdgeGateway.json @@ -0,0 +1,184 @@ +{ + "swagger": "2.0", + "info": { + "description": "Edge gateway operation endpoints and objects.", + "title": "FabricAdminClient", + "version": "2016-05-01" + }, + "host": "adminmanagement.local.azurestack.external", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/edgeGateways/{edgeGateway}": { + "get": { + "x-ms-examples": { + "Get an edge gateway": { + "$ref": "./examples/EdgeGateway/EdgeGatewayGetOperation_example.json" + } + }, + "tags": [ + "EdgeGateways" + ], + "description": "Get an edge gateway by name.", + "operationId": "EdgeGateways_Get", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/EdgeGatewayParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/EdgeGateway" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/edgeGateways": { + "get": { + "x-ms-examples": { + "List all edge gateways": { + "$ref": "./examples/EdgeGateway/EdgeGatewayListOperation_example.json" + } + }, + "tags": [ + "EdgeGateways" + ], + "description": "Get a list of all edge gateways at a certain location.", + "operationId": "EdgeGateways_List", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "Fabric.json#/parameters/FilterParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/EdgeGatewayList" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/EdgeGateway" + } + } + }, + "definitions": { + "EdgeGateway": { + "description": "This resource represents a gateway, which provides the configuration needed to provide gateway services to virtual networks.", + "type": "object", + "properties": { + "properties": { + "description": "Model which holds information related to edge gateways.", + "$ref": "#/definitions/EdgeGatewayModel", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "Fabric.json#/definitions/Resource" + } + ] + }, + "EdgeGatewayModel": { + "description": "Model which holds information related to edge gateways.", + "type": "object", + "properties": { + "state": { + "description": "The current state of the edge gateway.", + "type": "string" + }, + "totalCapacity": { + "description": "The total network capacity.", + "format": "int64", + "type": "integer" + }, + "availableCapacity": { + "description": "The available network capacity.", + "format": "int64", + "type": "integer" + }, + "numberOfConnections": { + "description": "The current number of connections.", + "format": "int32", + "type": "integer" + } + } + }, + "EdgeGatewayList": { + "description": "Pageable list of edge gateways.", + "type": "object", + "properties": { + "value": { + "description": "Array of edge gateways.", + "type": "array", + "items": { + "$ref": "#/definitions/EdgeGateway" + } + }, + "nextLink": { + "description": "URI to the next page.", + "type": "string" + } + } + } + }, + "parameters": { + "EdgeGatewayParameter": { + "name": "edgeGateway", + "description": "name of the edge gateway.", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/EdgeGatewayPool.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/EdgeGatewayPool.json new file mode 100644 index 000000000000..cd38cd2aaf4a --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/EdgeGatewayPool.json @@ -0,0 +1,199 @@ +{ + "swagger": "2.0", + "info": { + "description": "Edge gateway pool operation endpoints and objects.", + "title": "FabricAdminClient", + "version": "2016-05-01" + }, + "host": "adminmanagement.local.azurestack.external", + "schemes": [ + "https" + ], + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/edgeGatewayPools/{edgeGatewayPool}": { + "get": { + "x-ms-examples": { + "Get an edge gateway pool": { + "$ref": "./examples/EdgeGatewayPool/EdgeGatewayPoolGetOperation_example.json" + } + }, + "description": "Get an EdgeGatewayPool.", + "tags": [ + "EdgeGatewayPools" + ], + "operationId": "EdgeGatewayPools_Get", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/EdgeGatewayPoolParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/EdgeGatewayPool" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/edgeGatewayPools": { + "get": { + "x-ms-examples": { + "Get a list of all edge gateway pools": { + "$ref": "./examples/EdgeGatewayPool/EdgeGatewayPoolListOperation_example.json" + } + }, + "tags": [ + "EdgeGatewayPools" + ], + "description": "Get a list of all edge gateway pools at a location.", + "operationId": "EdgeGatewayPools_List", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "Fabric.json#/parameters/FilterParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/EdgeGatewayPoolList" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/EdgeGatewayPool" + } + } + }, + "definitions": { + "EdgeGatewayPool": { + "description": "This resource represents an edge gateway pool, which contains an array of gateways.", + "type": "object", + "properties": { + "properties": { + "description": "All the properties of an edge gateway pool.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/EdgeGatewayPoolModel" + } + }, + "allOf": [ + { + "$ref": "Fabric.json#/definitions/Resource" + } + ] + }, + "EdgeGatewayPoolModel": { + "description": "A model holding all properties of an edge gateway pool.", + "type": "object", + "properties": { + "gatewayType": { + "description": "The gateway type (S2sIPsec, S2sGre, etc).", + "type": "string" + }, + "numberOfGateways": { + "description": "The number of gateways in the pool.", + "format": "int32", + "type": "integer" + }, + "redundantGatewayCount": { + "description": "The number of redundant gateways.", + "format": "int64", + "type": "integer" + }, + "gatewayCapacityKiloBitsPerSecond": { + "description": "Gateway capacity in kilobits per second.", + "format": "int32", + "type": "integer" + }, + "publicIpAddress": { + "description": "The public IP address.", + "type": "string" + }, + "greVipSubnet": { + "description": "The GRE VIP subnet.", + "type": "string" + }, + "edgeGateways": { + "description": "List of the edge gateways in this pool.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "EdgeGatewayPoolList": { + "description": "A pageable list of edge gateway pools.", + "type": "object", + "properties": { + "value": { + "description": "The array of edge gateway pools in this page.", + "type": "array", + "items": { + "$ref": "#/definitions/EdgeGatewayPool" + } + }, + "nextLink": { + "description": "The URI to the next page.", + "type": "string" + } + } + } + }, + "parameters": { + "EdgeGatewayPoolParameter": { + "name": "edgeGatewayPool", + "description": "Name of the edge gateway pool.", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/Fabric.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/Fabric.json new file mode 100644 index 000000000000..5ee536a2d30e --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/Fabric.json @@ -0,0 +1,112 @@ +{ + "swagger": "2.0", + "info": { + "x-ms-code-generation-settings": { + "name": "FabricAdminClient", + "header": "MICROSOFT_MIT", + "namespace": "Microsoft.AzureStack.Fabric.Admin" + }, + "version": "2016-05-01", + "title": "FabricAdminClient", + "description": "The Admin Fabric Management Client." + }, + "host": "adminmanagement.local.azurestack.external", + "schemes": [ + "https" + ], + "paths": {}, + "definitions": { + "Resource": { + "description": "Base Resource Object", + "type": "object", + "properties": { + "id": { + "description": "URI of the resource.", + "type": "string", + "readOnly": true + }, + "name": { + "description": "Name of the resource.", + "type": "string", + "readOnly": true + }, + "type": { + "description": "Type of resource.", + "type": "string", + "readOnly": true + }, + "location": { + "description": "Region Location of resource.", + "type": "string" + }, + "tags": { + "description": "List of key value pairs.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "OperationStatusLocation": { + "description": "URI where you can poll for status of operation.", + "properties": { + "location": { + "description": "URI where you can poll for status of operation.", + "type": "string" + } + } + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "description": "Subscription credentials which uniquely identify Microsoft Azure subscription.The subscription ID forms part of the URI for every service call.", + "required": true, + "type": "string" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "description": "Client Api Version.", + "required": true, + "type": "string", + "default": "2016-05-01" + }, + "LocationParameter": { + "description": "Location of the resource.", + "name": "location", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "FilterParameter": { + "description": "OData filter parameter.", + "name": "$filter", + "in": "query", + "type": "string", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/FabricLocation.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/FabricLocation.json new file mode 100644 index 000000000000..c8d8f1ee6480 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/FabricLocation.json @@ -0,0 +1,153 @@ +{ + "swagger": "2.0", + "info": { + "description": "Fabric location operation endpoints and objects.", + "title": "FabricAdminClient", + "version": "2016-05-01" + }, + "host": "adminmanagement.local.azurestack.external", + "schemes": [ + "https" + ], + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{fabricLocation}": { + "get": { + "x-ms-examples": { + "Get a fabric location": { + "$ref": "./examples/FabricLocation/FabricLocationGetOperation_example.json" + } + }, + "tags": [ + "FabricLocations" + ], + "description": "Get a fabric location.", + "operationId": "FabricLocations_Get", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/FabricLocationParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/FabricLocation" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations": { + "get": { + "x-ms-examples": { + "List all fabric locations": { + "$ref": "./examples/FabricLocation/FabricLocationListOperation_example.json" + } + }, + "tags": [ + "FabricLocations" + ], + "description": "Get a list of all fabric locations.", + "operationId": "FabricLocations_List", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "Fabric.json#/parameters/FilterParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/FabricLocationList" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/FabricLocation" + } + } + }, + "definitions": { + "FabricLocation": { + "description": "Place holder for fabric location.", + "type": "object", + "properties": {}, + "allOf": [ + { + "$ref": "Fabric.json#/definitions/Resource" + } + ] + }, + "FabricLocationList": { + "description": "Pageable list of fabric locations.", + "type": "object", + "properties": { + "value": { + "description": "List of fabric locations for this page.", + "type": "array", + "items": { + "$ref": "#/definitions/FabricLocation" + } + }, + "nextLink": { + "description": "URI to the next page.", + "type": "string" + } + } + } + }, + "parameters": { + "FabricLocationParameter": { + "description": "Fabric Location.", + "name": "fabricLocation", + "type": "string", + "in": "path", + "required": true, + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/FileShare.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/FileShare.json new file mode 100644 index 000000000000..2717915ec598 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/FileShare.json @@ -0,0 +1,169 @@ +{ + "swagger": "2.0", + "info": { + "description": "File share operation endpoints and objects.", + "title": "FabricAdminClient", + "version": "2016-05-01" + }, + "host": "adminmanagement.local.azurestack.external", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/fileShares/{fileShare}": { + "get": { + "x-ms-examples": { + "Get a file share": { + "$ref": "./examples/FileShare/FileShareGetOperation_example.json" + } + }, + "tags": [ + "FileShares" + ], + "description": "Get a fabric file share.", + "operationId": "FileShares_Get", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/FileShareParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/FileShare" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/fileShares": { + "get": { + "x-ms-examples": { + "List all file shares": { + "$ref": "./examples/FileShare/FileShareListOperation_example.json" + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "tags": [ + "FileShares" + ], + "description": "Get a list of all fabric file shares at a certain location.", + "operationId": "FileShares_List", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "Fabric.json#/parameters/FilterParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/FileShareList" + } + } + }, + "x-ms-odata": "#/definitions/FileShare" + } + } + }, + "definitions": { + "FileShare": { + "description": "Representation of a file share resource.", + "type": "object", + "properties": { + "properties": { + "description": "Properties of a file share resource.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/FileShareModel" + } + }, + "allOf": [ + { + "$ref": "Fabric.json#/definitions/Resource" + } + ] + }, + "FileShareModel": { + "description": "Properties of a file share resource.", + "type": "object", + "properties": { + "associatedVolume": { + "description": "Associated volume Id.", + "type": "string" + }, + "uncPath": { + "description": "The UNCPath for the fileshare.", + "type": "string" + } + } + }, + "FileShareList": { + "description": "Pageable list of fabric file share locations.", + "type": "object", + "properties": { + "value": { + "description": "List of fabric file shares for this page.", + "type": "array", + "items": { + "$ref": "#/definitions/FileShare" + } + } + } + } + }, + "parameters": { + "FileShareParameter": { + "name": "fileShare", + "description": "Fabric file share name.", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/InfraRole.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/InfraRole.json new file mode 100644 index 000000000000..643ef04febca --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/InfraRole.json @@ -0,0 +1,216 @@ +{ + "swagger": "2.0", + "info": { + "description": "InfraRole operation endpoints and objects.", + "title": "FabricAdminClient", + "version": "2016-05-01" + }, + "host": "adminmanagement.local.azurestack.external", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/infraRoles/{infraRole}/ScaleUp": { + "post": { + "tags": [ + "InfraRoles" + ], + "description": "Create new infra role instances.", + "operationId": "InfraRoles_ScaleUp", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/InfraRoleParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "Operations.json#/definitions/ProvisioningState" + } + }, + "202": { + "description": "ACCEPTED", + "schema": { + "$ref": "Operations.json#/definitions/ProvisioningState" + } + }, + "500": { + "description": "FAILURE", + "schema": { + "$ref": "Operations.json#/definitions/ProvisioningState" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/infraRoles/{infraRole}": { + "get": { + "x-ms-examples": { + "Get a infra role": { + "$ref": ".//examples/InfraRole/InfraRoleGetOperation_example.json" + } + }, + "tags": [ + "InfraRoles" + ], + "description": "Get an infra role description.", + "operationId": "InfraRoles_Get", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/InfraRoleParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/InfraRole" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/infraRoles": { + "get": { + "x-ms-examples": { + "List all infra roles": { + "$ref": ".//examples/InfraRole/InfraRoleListOperation_example.json" + } + }, + "tags": [ + "InfraRoles" + ], + "description": "Get a list of all infra roles at a location.", + "operationId": "InfraRoles_List", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "Fabric.json#/parameters/FilterParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/InfraRoleList" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/InfraRole" + } + } + }, + "definitions": { + "InfraRole": { + "description": "Get an infra role description.", + "type": "object", + "properties": { + "properties": { + "description": "Infra role properties.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/InfraRoleModel" + } + }, + "allOf": [ + { + "$ref": "Fabric.json#/definitions/Resource" + } + ] + }, + "InfraRoleModel": { + "description": "Infra role properties.", + "type": "object", + "properties": { + "instances": { + "description": "List of infra role instances.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "InfraRoleList": { + "description": "Pageable list of infra roles.", + "type": "object", + "properties": { + "value": { + "description": "List of infra roles for this page.", + "type": "array", + "items": { + "$ref": "#/definitions/InfraRole" + } + }, + "nextLink": { + "description": "URI to the next page.", + "type": "string" + } + } + } + }, + "parameters": { + "InfraRoleParameter": { + "name": "infraRole", + "description": "Infra role name.", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/InfraRoleInstance.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/InfraRoleInstance.json new file mode 100644 index 000000000000..f8a94e091694 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/InfraRoleInstance.json @@ -0,0 +1,403 @@ +{ + "swagger": "2.0", + "info": { + "description": "InfraRole instance operation endpoints and objects.", + "title": "FabricAdminClient", + "version": "2016-05-01" + }, + "host": "adminmanagement.local.azurestack.external", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/infraRoleInstances/{infraRoleInstance}/PowerOff": { + "post": { + "x-ms-examples": { + "Power off an infra role instance": { + "$ref": "./examples/InfraRoleInstance/InfraRoleInstancePowerOffOperation_example.json" + } + }, + "tags": [ + "InfraRoleInstances" + ], + "description": "Power off an infra role instance.", + "operationId": "InfraRoleInstances_PowerOff", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/InfraRoleInstanceParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "Operations.json#/definitions/ProvisioningState" + } + }, + "202": { + "description": "ACCEPTED", + "schema": { + "$ref": "Operations.json#/definitions/ProvisioningState" + } + }, + "500": { + "description": "FAILURE", + "schema": { + "$ref": "Operations.json#/definitions/ProvisioningState" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/infraRoleInstances/{infraRoleInstance}/PowerOn": { + "post": { + "x-ms-examples": { + "Power on an infra role instance": { + "$ref": "./examples/InfraRoleInstance/InfraRoleInstancePowerOnOperation_example.json" + } + }, + "tags": [ + "InfraRoleInstances" + ], + "description": "Power on an infra role instance.", + "operationId": "InfraRoleInstances_PowerOn", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/InfraRoleInstanceParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "Operations.json#/definitions/ProvisioningState" + } + }, + "202": { + "description": "ACCEPTED", + "schema": { + "$ref": "Operations.json#/definitions/ProvisioningState" + } + }, + "500": { + "description": "FAILURE", + "schema": { + "$ref": "Operations.json#/definitions/ProvisioningState" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/infraRoleInstances/{infraRoleInstance}/Shutdown": { + "post": { + "x-ms-examples": { + "Shutdown an infra role instance": { + "$ref": "./examples/InfraRoleInstance/InfraRoleInstanceShutdownOperation_example.json" + } + }, + "tags": [ + "InfraRoleInstances" + ], + "description": "Shut down an infra role instance.", + "operationId": "InfraRoleInstances_Shutdown", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/InfraRoleInstanceParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "Operations.json#/definitions/ProvisioningState" + } + }, + "202": { + "description": "ACCEPTED", + "schema": { + "$ref": "Operations.json#/definitions/ProvisioningState" + } + }, + "500": { + "description": "FAILURE", + "schema": { + "$ref": "Operations.json#/definitions/ProvisioningState" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/infraRoleInstances/{infraRoleInstance}/Reboot": { + "post": { + "x-ms-examples": { + "Reboot an infra role instance": { + "$ref": "./examples/InfraRoleInstance/InfraRoleInstanceRebootOperation_example.json" + } + }, + "tags": [ + "InfraRoleInstances" + ], + "description": "Reboot an infra role instance.", + "operationId": "InfraRoleInstances_Reboot", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/InfraRoleInstanceParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "Operations.json#/definitions/ProvisioningState" + } + }, + "202": { + "description": "ACCEPTED", + "schema": { + "$ref": "Operations.json#/definitions/ProvisioningState" + } + }, + "500": { + "description": "FAILURE", + "schema": { + "$ref": "Operations.json#/definitions/ProvisioningState" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/infraRoleInstances/{infraRoleInstance}": { + "get": { + "x-ms-examples": { + "Get an infra role instance": { + "$ref": "./examples/InfraRoleInstance/InfraRoleInstanceGetOperation_example.json" + } + }, + "tags": [ + "InfraRoleInstances" + ], + "description": "Get an infra role instance.", + "operationId": "InfraRoleInstances_Get", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/InfraRoleInstanceParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/InfraRoleInstance" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/infraRoleInstances": { + "get": { + "x-ms-examples": { + "List all infra role instances": { + "$ref": "./examples/InfraRoleInstance/InfraRoleInstanceListOperation_example.json" + } + }, + "tags": [ + "InfraRoleInstances" + ], + "description": "Get a list of all infra role instances at a location.", + "operationId": "InfraRoleInstances_List", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "Fabric.json#/parameters/FilterParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/InfraRoleInstanceList" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/InfraRoleInstance" + } + } + }, + "definitions": { + "InfraRoleInstance": { + "description": "The virtual machine resource is used to represent an infrastructure virtual machine in the Azure Stack environment. The fabric resource provider only surfaces infrastructure virtual machines. These machines are never created directly by the admin, but rather as a side effect of expanding admin services.", + "type": "object", + "properties": { + "properties": { + "description": "All properties of an infra role instance.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/InfraRoleInstanceModel" + } + }, + "allOf": [ + { + "$ref": "Fabric.json#/definitions/Resource" + } + ] + }, + "InfraRoleInstanceModel": { + "description": "All properties of an infra role instance.", + "type": "object", + "properties": { + "scaleUnit": { + "description": "The cluster that the virtual machine's host is part of.", + "type": "string" + }, + "scaleUnitNode": { + "description": "URI to the scale unit node.", + "type": "string" + }, + "size": { + "description": "Size of the virtual machine.", + "$ref": "#/definitions/InfraRoleInstanceSize" + }, + "state": { + "description": "The current state of the virtual machine.", + "enum": [ + "Stopped", + "Starting", + "Running", + "Stopping" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "InfraRoleInstanceState" + } + } + } + }, + "InfraRoleInstanceSize": { + "description": "The capacity information for a virtual machine.", + "type": "object", + "properties": { + "memoryGb": { + "description": "The amount of memory, in GB, currently assigned to the virtual machine. In Azure Stack V1, only static memory is used for infrastructure VMs.", + "format": "float", + "type": "number" + }, + "cores": { + "description": "The number of cores assigned to the virtual machine.", + "format": "int32", + "type": "integer" + } + } + }, + "InfraRoleInstanceList": { + "description": "Pageable list of infra role instances.", + "type": "object", + "properties": { + "value": { + "description": "List of infra role instances for this page.", + "type": "array", + "items": { + "$ref": "#/definitions/InfraRoleInstance" + } + }, + "nextLink": { + "description": "URI to the next page.", + "type": "string" + } + } + } + }, + "parameters": { + "InfraRoleInstanceParameter": { + "name": "infraRoleInstance", + "description": "Name of an infra role instance.", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/IpPool.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/IpPool.json new file mode 100644 index 000000000000..143b98ec967c --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/IpPool.json @@ -0,0 +1,239 @@ +{ + "swagger": "2.0", + "info": { + "description": "Ip pool operation endpoints and objects.", + "title": "FabricAdminClient", + "version": "2016-05-01" + }, + "host": "adminmanagement.local.azurestack.external", + "schemes": [ + "https" + ], + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/ipPools/{ipPool}": { + "get": { + "x-ms-examples": { + "Get an ip pool": { + "$ref": "./examples/IpPool/IpPoolGetOperation_example.json" + } + }, + "tags": [ + "IpPools" + ], + "description": "Get an ip pool.", + "operationId": "IpPools_Get", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/IpPoolNameParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IpPool" + } + } + } + }, + "put": { + "x-ms-examples": { + "Create an ip pool": { + "$ref": "./examples/IpPool/IpPoolCreateOperation_example.json" + } + }, + "tags": [ + "IpPools" + ], + "description": "Create an ip pool.", + "operationId": "IpPools_Create", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/IpPoolNameParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/IpPoolParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IpPool" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/ipPools": { + "get": { + "x-ms-examples": { + "List all ip pools": { + "$ref": "./examples/IpPool/IpPoolListOperation_example.json" + } + }, + "tags": [ + "IpPools" + ], + "description": "Get a list of all ip pools at a certain location.", + "operationId": "IpPools_List", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "Fabric.json#/parameters/FilterParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/IpPoolList" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/IpPool" + } + } + }, + "definitions": { + "IpPool": { + "description": "This resource defines the range of IP addresses from which addresses are allocated for nodes within a subnet.", + "type": "object", + "properties": { + "properties": { + "description": "Properties of an IpPool.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/IpPoolModel" + } + }, + "allOf": [ + { + "$ref": "Fabric.json#/definitions/Resource" + } + ] + }, + "IpPoolModel": { + "description": "Properties of an IpPool.", + "type": "object", + "properties": { + "startIpAddress": { + "description": "The starting Ip address.", + "type": "string" + }, + "endIpAddress": { + "description": "The ending Ip address.", + "type": "string" + }, + "addressPrefix": { + "description": "The address prefix.", + "type": "string" + }, + "numberOfIpAddresses": { + "description": "The total number of ip addresses.", + "type": "integer", + "format": "int64" + }, + "numberOfAllocatedIpAddresses": { + "description": "The number of currently allocated ip addresses.", + "type": "integer", + "format": "int64" + }, + "numberOfIpAddressesInTransition": { + "description": "The current number of ip addresses in transition.", + "type": "integer", + "format": "int64" + } + } + }, + "IpPoolList": { + "description": "Pageable list of ip pools.", + "type": "object", + "properties": { + "value": { + "description": "List of ip pools for this page.", + "type": "array", + "items": { + "$ref": "#/definitions/IpPool" + } + }, + "nextLink": { + "description": "URI to the next page.", + "type": "string" + } + } + } + }, + "parameters": { + "IpPoolParameter": { + "name": "pool", + "description": "Ip pool object to send.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/IpPool" + }, + "x-ms-parameter-location": "method" + }, + "IpPoolNameParameter": { + "name": "ipPool", + "description": "Ip pool name.", + "type": "string", + "in": "path", + "required": true, + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/LogicalNetwork.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/LogicalNetwork.json new file mode 100644 index 000000000000..092f9d1f46cf --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/LogicalNetwork.json @@ -0,0 +1,183 @@ +{ + "swagger": "2.0", + "info": { + "description": "Logical network operation endpoints and objects.", + "title": "FabricAdminClient", + "version": "2016-05-01" + }, + "host": "adminmanagement.local.azurestack.external", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/logicalNetworks/{logicalNetwork}": { + "get": { + "x-ms-examples": { + "Get a logical network": { + "$ref": "./examples/LogicalNetwork/LogicalNetworkGetOperation_example.json" + } + }, + "tags": [ + "LogicalNetworks" + ], + "description": "Get a logical network.", + "operationId": "LogicalNetworks_Get", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/LogicalNetworkParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/LogicalNetwork" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/logicalNetworks": { + "get": { + "x-ms-examples": { + "List all logical networks": { + "$ref": "./examples/LogicalNetwork/LogicalNetworkListOperation_example.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "tags": [ + "LogicalNetworks" + ], + "description": "Get a list of all logical networks at a location.", + "operationId": "LogicalNetworks_List", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "Fabric.json#/parameters/FilterParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/LogicalNetworkList" + } + } + }, + "x-ms-odata": "#/definitions/LogicalNetwork" + } + } + }, + "definitions": { + "LogicalNetwork": { + "description": "This resource represents a logical partition of physical network that is dedicated for a particular purpose. A logical network comprises of a collection of logical subnets.", + "type": "object", + "properties": { + "properties": { + "description": "Properties of a logical network.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/LogicalNetworkModel" + } + }, + "allOf": [ + { + "$ref": "Fabric.json#/definitions/Resource" + } + ] + }, + "LogicalNetworkModel": { + "description": "Properties of a logical network.", + "type": "object", + "properties": { + "metadata": { + "description": "Metadata related to this Logical Network.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "networkVirtualizationEnabled": { + "description": "Is Network Virtualization is enabled on this Logical Network.", + "type": "boolean" + }, + "subnets": { + "description": "List of subnets belonging to this Logical Network.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "LogicalNetworkList": { + "description": "A pageable list of logical networks.", + "type": "object", + "properties": { + "value": { + "description": "List of logical networks for this page.", + "type": "array", + "items": { + "$ref": "#/definitions/LogicalNetwork" + } + }, + "nextLink": { + "description": "URI to the next page.", + "type": "string" + } + } + } + }, + "parameters": { + "LogicalNetworkParameter": { + "name": "logicalNetwork", + "description": "Name of the logical network.", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/LogicalSubnet.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/LogicalSubnet.json new file mode 100644 index 000000000000..887cedf8ae83 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/LogicalSubnet.json @@ -0,0 +1,197 @@ +{ + "swagger": "2.0", + "info": { + "description": "Logical subnet operation endpoints and objects.", + "title": "FabricAdminClient", + "version": "2016-05-01" + }, + "host": "adminmanagement.local.azurestack.external", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/logicalNetworks/{logicalNetwork}/logicalSubnets/{logicalSubnet}": { + "get": { + "x-ms-examples": { + "Get a logical subnet": { + "$ref": "./examples/LogicalSubnet/LogicalSubnetGetOperation_example.json" + } + }, + "tags": [ + "LogicalSubnets" + ], + "description": "Get a list of all volumes at a location.", + "operationId": "LogicalSubnets_Get", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/LogicalNetworkParameter" + }, + { + "$ref": "#/parameters/LogicalSubnetParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/LogicalSubnet" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/logicalNetworks/{logicalNetwork}/logicalSubnets": { + "get": { + "x-ms-examples": { + "List all logical subnets": { + "$ref": "./examples/LogicalSubnet/LogicalSubnetListOperation_example.json" + } + }, + "tags": [ + "LogicalSubnets" + ], + "description": "Get a list of all logical subnets.", + "operationId": "LogicalSubnets_List", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/LogicalNetworkParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "Fabric.json#/parameters/FilterParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/LogicalSubnetList" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/LogicalSubnet" + } + } + }, + "definitions": { + "LogicalSubnet": { + "description": "This resource represents a Logical Subnet. A Logical Subnet comprises of subnet/vlan pair.", + "type": "object", + "properties": { + "properties": { + "description": "Properties of a logical subnet.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/LogicalSubnetModel" + } + }, + "allOf": [ + { + "$ref": "Fabric.json#/definitions/Resource" + } + ] + }, + "LogicalSubnetModel": { + "description": "Properties of a logical subnet.", + "type": "object", + "properties": { + "ipPools": { + "description": "All ip pools which belong to this subnet.", + "type": "array", + "items": { + "type": "string" + } + }, + "isPublic": { + "description": "The visiblity status of the ip pool. If is true the associated pools are public ip address pools.", + "type": "boolean" + }, + "metadata": { + "description": "Metadata related to this Logical Network.", + "type": "object", + "additionalProperties": { + "type": "string" + } + } + } + }, + "LogicalSubnetList": { + "description": "Pageable list of logical subnets.", + "type": "object", + "properties": { + "value": { + "description": "List of logical subnets on this page.", + "type": "array", + "items": { + "$ref": "#/definitions/LogicalSubnet" + } + }, + "nextLink": { + "description": "URI to the next page.", + "type": "string" + } + } + } + }, + "parameters": { + "LogicalSubnetParameter": { + "name": "logicalSubnet", + "description": "Name of the logical subnet.", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "LogicalNetworkParameter": { + "name": "logicalNetwork", + "description": "Name of the logical network.", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/MacAddressPool.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/MacAddressPool.json new file mode 100644 index 000000000000..845747039ba6 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/MacAddressPool.json @@ -0,0 +1,190 @@ +{ + "swagger": "2.0", + "info": { + "description": "MAC address pool operation endpoints and objects.", + "title": "FabricAdminClient", + "version": "2016-05-01" + }, + "host": "adminmanagement.local.azurestack.external", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/macAddressPools/{macAddressPool}": { + "get": { + "x-ms-examples": { + "Get a mac address pool": { + "$ref": "./examples/MacAddressPool/MacAddressPoolGetOperation_example.json" + } + }, + "tags": [ + "MacAddressPools" + ], + "description": "Get a MAC address pool.", + "operationId": "MacAddressPools_Get", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/MACAddressPoolParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MacAddressPool" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/macAddressPools": { + "get": { + "x-ms-examples": { + "List all mac address pools": { + "$ref": "./examples/MacAddressPool/MacAddressPoolListOperation_example.json" + } + }, + "tags": [ + "MacAddressPools" + ], + "description": "Get a list of all MAC address pools at a location.", + "operationId": "MacAddressPools_List", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "Fabric.json#/parameters/FilterParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/MacAddressPoolList" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/MacAddressPool" + } + } + }, + "definitions": { + "MacAddressPool": { + "description": "This resource represents a MAC address pool. The default MAC address pools are used if you set the MAC address type for a virtual machine to 'Static'. If the virtual machine setting is “Dynamic”, the hypervisor assigns the MAC address.", + "type": "object", + "properties": { + "properties": { + "description": "Properties of a MAC address pool.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/MacAddressPoolModel" + } + }, + "allOf": [ + { + "$ref": "Fabric.json#/definitions/Resource" + } + ] + }, + "MacAddressPoolModel": { + "description": "Properties of a MAC address pool.", + "type": "object", + "properties": { + "metadata": { + "description": "Metadata related to this MAC pool.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "startMacAddress": { + "description": "Starting MAC address.", + "type": "string" + }, + "endMacAddress": { + "description": "Ending MAC address.", + "type": "string" + }, + "numberOfAllocatedMacAddresses": { + "description": "Number of MAC addresses allocated.", + "type": "integer", + "format": "int64" + }, + "numberOfAvailableMacAddresses": { + "description": "Number of MAC addresses available.", + "type": "integer", + "format": "int64" + } + } + }, + "MacAddressPoolList": { + "description": "A pageable list of MAC address pools.", + "type": "object", + "properties": { + "value": { + "description": "The list of MAC address pools on this page.", + "type": "array", + "items": { + "$ref": "#/definitions/MacAddressPool" + } + }, + "nextLink": { + "description": "URI to the next page.", + "type": "string" + } + } + } + }, + "parameters": { + "MACAddressPoolParameter": { + "name": "macAddressPool", + "description": "Name of the MAC address pool.", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/Operations.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/Operations.json new file mode 100644 index 000000000000..58f46bf31598 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/Operations.json @@ -0,0 +1,175 @@ +{ + "swagger": "2.0", + "info": { + "description": "Operation status operation endpoints and objects.", + "title": "FabricAdminClient", + "version": "2016-05-01" + }, + "host": "adminmanagement.local.azurestack.external", + "schemes": [ + "https" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/{provider}/fabricLocations/{location}/computeOperationResults/{computeOperationResult}": { + "get": { + "tags": [ + "ComputeFabricOperations" + ], + "description": "Get the status of a compute fabric operation.", + "operationId": "ComputeFabricOperations_Get", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/ProviderParameter" + }, + { + "$ref": "#/parameters/ComputeOperationResultParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "ACCEPTED", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + } + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/{provider}/fabricLocations/{location}/networkOperationResults/{networkOperationResult}": { + "get": { + "tags": [ + "NetworkFabricOperations" + ], + "description": "Get the status of a network fabric operation.", + "operationId": "NetworkFabricOperations_Get", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/ProviderParameter" + }, + { + "$ref": "#/parameters/NetworkOperationResultParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "202": { + "description": "ACCEPTED", + "schema": { + "$ref": "#/definitions/OperationStatus" + } + } + }, + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ] + } + } + }, + "definitions": { + "OperationStatus": { + "description": "Status of the compute operation.", + "properties": { + "properties": { + "description": "The state of the operation.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ProvisioningState" + } + } + }, + "ProvisioningState": { + "description": "The state of the operation.", + "properties": { + "provisioningState": { + "description": "The state of the operation.", + "type": "string" + } + } + } + }, + "parameters": { + "ApplicationOperationResultParameter": { + "name": "applicationOperationResult", + "description": "Id of an infra role operation.", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "ComputeOperationResultParameter": { + "description": "Id of a compute fabric operation.", + "name": "computeOperationResult", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "StorageOperationResultParameter": { + "description": "Id of a storage fabric operation.", + "name": "storageOperationResult", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "NetworkOperationResultParameter": { + "description": "Id of a network fabric operation.", + "name": "networkOperationResult", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "ProviderParameter": { + "name": "provider", + "description": "Name of the provider.", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/ScaleUnit.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/ScaleUnit.json new file mode 100644 index 000000000000..d49f4718412c --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/ScaleUnit.json @@ -0,0 +1,325 @@ +{ + "swagger": "2.0", + "info": { + "description": "Scale unit operation endpoints and objects.", + "title": "FabricAdminClient", + "version": "2016-05-01" + }, + "host": "adminmanagement.local.azurestack.external", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/scaleUnits/{scaleUnit}/ScaleOut": { + "post": { + "tags": [ + "ScaleUnits" + ], + "description": "Scales out the cluster.", + "operationId": "ScaleUnits_ScaleOut", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/ScaleUnitParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/ServersToBeAddedParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "Operations.json#/definitions/ProvisioningState" + } + }, + "202": { + "description": "ACCEPTED", + "schema": { + "$ref": "Operations.json#/definitions/ProvisioningState" + } + }, + "500": { + "description": "FAILURE", + "schema": { + "$ref": "Operations.json#/definitions/ProvisioningState" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/scaleUnits/{scaleUnit}": { + "get": { + "x-ms-examples": { + "Get a scale unit": { + "$ref": "./examples/ScaleUnit/ScaleUnitGetOperation_example.json" + } + }, + "tags": [ + "ScaleUnits" + ], + "description": "Get a scale unit.", + "operationId": "ScaleUnits_Get", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/ScaleUnitParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ScaleUnit" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/scaleUnits": { + "get": { + "x-ms-examples": { + "List all scale units": { + "$ref": "./examples/ScaleUnit/ScaleUnitListOperation_example.json" + } + }, + "tags": [ + "ScaleUnits" + ], + "description": "Get a list of all scale units at a location.", + "operationId": "ScaleUnits_List", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "Fabric.json#/parameters/FilterParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ScaleUnitList" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/ScaleUnit" + } + } + }, + "definitions": { + "ScaleUnitCapacity": { + "description": "The capacity information for a physical machine.", + "type": "object", + "properties": { + "memoryGB": { + "description": "The memory for the physical machine.", + "type": "number", + "format": "float" + }, + "cores": { + "description": "The number of CPU cores for the physical machine.", + "type": "integer", + "format": "int64" + } + } + }, + "BareMetalNodeDescription": { + "description": "The description of a bare metal node used for ScaleOut operation on a cluster.", + "type": "object", + "properties": { + "bmcAddress": { + "description": "Bmc address of the physical machine.", + "type": "string" + }, + "vendor": { + "description": "Vendor of the physical machine.", + "type": "string" + }, + "model": { + "description": "Model of the physical machine.", + "type": "string" + }, + "serialNumber": { + "description": "Serial number of the physical machine.", + "type": "string" + }, + "biosVersion": { + "description": "Bios version of the physical machine.", + "type": "string" + }, + "computerName": { + "description": "Name of the computer.", + "type": "string" + }, + "id": { + "description": "Name of the cluster.", + "type": "string" + }, + "macAddress": { + "description": "Mac address of the bare metal node.", + "type": "string" + } + } + }, + "ScaleUnit": { + "description": "Represents a cluster - generally this will be a collection of Hosts backed by Failover Cluster Manager.", + "type": "object", + "properties": { + "properties": { + "description": "Properties of a scale unit.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ScaleUnitModel" + } + }, + "allOf": [ + { + "$ref": "Fabric.json#/definitions/Resource" + } + ] + }, + "ScaleUnitModel": { + "description": "Properties of a scale unit.", + "type": "object", + "properties": { + "scaleUnitType": { + "description": "Type of the cluster.", + "enum": [ + "Unknown", + "ComputeOnly", + "StorageOnly", + "HyperConverged" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "ScaleUnitType" + } + }, + "logicalFaultDomain": { + "description": "Fault domain name of the cluster.", + "type": "integer", + "format": "int32" + }, + "nodes": { + "description": "List of nodes in the server.", + "type": "array", + "items": { + "type": "string" + } + }, + "state": { + "description": "Current state of the cluster.", + "enum": [ + "Unknown", + "Creating", + "Running", + "Upgrading", + "Deleting" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "ScaleUnitState" + } + }, + "model": { + "description": "Model of the servers in the cluster.", + "type": "string" + }, + "totalCapacity": { + "description": "Capacity information for the cluster.", + "$ref": "#/definitions/ScaleUnitCapacity" + } + } + }, + "ScaleUnitList": { + "description": "A pageable list of scale units.", + "type": "object", + "properties": { + "value": { + "description": "The list of scale units on this page.", + "type": "array", + "items": { + "$ref": "#/definitions/ScaleUnit" + } + }, + "nextLink": { + "description": "URI to the next page.", + "type": "string" + } + } + } + }, + "parameters": { + "ScaleUnitParameter": { + "name": "scaleUnit", + "description": "Name of the scale units.", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "ServersToBeAddedParameter": { + "name": "serversToBeAdded", + "description": "Descripion of the server to be added.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/BareMetalNodeDescription" + }, + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/ScaleUnitNode.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/ScaleUnitNode.json new file mode 100644 index 000000000000..3d27ac7776de --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/ScaleUnitNode.json @@ -0,0 +1,428 @@ +{ + "swagger": "2.0", + "info": { + "description": "Scale unit node operation endpoints and objects.", + "title": "FabricAdminClient", + "version": "2016-05-01" + }, + "host": "adminmanagement.local.azurestack.external", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/scaleUnitNodes/{scaleUnitNode}/PowerOff": { + "post": { + "x-ms-examples": { + "Power off a scale unit node": { + "$ref": "./examples/ScaleUnitNode/ScaleUnitNodePowerOffOperation_example.json" + } + }, + "tags": [ + "ScaleUnitNodes" + ], + "description": "Power off a scale unit node.", + "operationId": "ScaleUnitNodes_PowerOff", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/ScaleUnitNodeParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "Operations.json#/definitions/ProvisioningState" + } + }, + "202": { + "description": "ACCEPTED", + "schema": { + "$ref": "Operations.json#/definitions/ProvisioningState" + } + }, + "500": { + "description": "FAILURE", + "schema": { + "$ref": "Operations.json#/definitions/ProvisioningState" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/scaleUnitNodes/{scaleUnitNode}/PowerOn": { + "post": { + "x-ms-examples": { + "Power on a scale unit node": { + "$ref": "./examples/ScaleUnitNode/ScaleUnitNodePowerOnOperation_example.json" + } + }, + "tags": [ + "ScaleUnitNodes" + ], + "description": "Power on a scale unit node.", + "operationId": "ScaleUnitNodes_PowerOn", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/ScaleUnitNodeParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "Operations.json#/definitions/ProvisioningState" + } + }, + "202": { + "description": "ACCEPTED", + "schema": { + "$ref": "Operations.json#/definitions/ProvisioningState" + } + }, + "500": { + "description": "FAILURE", + "schema": { + "$ref": "Operations.json#/definitions/ProvisioningState" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/scaleUnitNodes/{scaleUnitNode}/StartMaintenanceMode": { + "post": { + "x-ms-examples": { + "Start maintenance mode on a scale unit node": { + "$ref": "./examples/ScaleUnitNode/ScaleUnitNodeStartMaintenanceModeOperation_example.json" + } + }, + "tags": [ + "ScaleUnitNodes" + ], + "description": "Start maintenance mode for a scale unit node.", + "operationId": "ScaleUnitNodes_StartMaintenanceMode", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/ScaleUnitNodeParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "Operations.json#/definitions/ProvisioningState" + } + }, + "202": { + "description": "ACCEPTED", + "schema": { + "$ref": "Operations.json#/definitions/ProvisioningState" + } + }, + "500": { + "description": "FAILURE", + "schema": { + "$ref": "Operations.json#/definitions/ProvisioningState" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/scaleUnitNodes/{scaleUnitNode}/StopMaintenanceMode": { + "post": { + "x-ms-examples": { + "Stop maintenance mode on a scale unit node": { + "$ref": "./examples/ScaleUnitNode/ScaleUnitNodeStopMaintenanceModeOperation_example.json" + } + }, + "tags": [ + "ScaleUnitNodes" + ], + "description": "Stop maintenance mode for a scale unit node.", + "operationId": "ScaleUnitNodes_StopMaintenanceMode", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/ScaleUnitNodeParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "Operations.json#/definitions/ProvisioningState" + } + }, + "202": { + "description": "ACCEPTED", + "schema": { + "$ref": "Operations.json#/definitions/ProvisioningState" + } + }, + "500": { + "description": "FAILURE", + "schema": { + "$ref": "Operations.json#/definitions/ProvisioningState" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/scaleUnitNodes/{scaleUnitNode}": { + "get": { + "x-ms-examples": { + "Get a scale unit node": { + "$ref": "./examples/ScaleUnitNode/ScaleUnitNodeGetOperation_example.json" + } + }, + "tags": [ + "ScaleUnitNodes" + ], + "description": "Get a specific scale unit node.", + "operationId": "ScaleUnitNodes_Get", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/ScaleUnitNodeParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ScaleUnitNode" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/scaleUnitNodes": { + "get": { + "x-ms-examples": { + "List all scale unit node": { + "$ref": "./examples/ScaleUnitNode/ScaleUnitNodeListOperation_example.json" + } + }, + "tags": [ + "ScaleUnitNodes" + ], + "description": "Get a list of all scale unit nodes in a location.", + "operationId": "ScaleUnitNodes_List", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "Fabric.json#/parameters/FilterParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ScaleUnitNodeList" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/ScaleUnitNode" + } + } + }, + "definitions": { + "ScaleUnitNode": { + "description": "The physical server in a cluster.", + "type": "object", + "properties": { + "properties": { + "description": "Holds all properties related to a scale unit node.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/ScaleUnitNodeModel" + } + }, + "allOf": [ + { + "$ref": "Fabric.json#/definitions/Resource" + } + ] + }, + "ScaleUnitNodeModel": { + "description": "Holds all properties related to a scale unit node.", + "type": "object", + "properties": { + "scaleUnitNodeStatus": { + "description": "Status of the physical machine.", + "enum": [ + "Running", + "Maintenance", + "Stopped" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "ScaleUnitNodeStatus" + } + }, + "powerState": { + "description": "PowerState of the physical machine.", + "enum": [ + "Stopped", + "Starting", + "Running", + "Stopping" + ], + "type": "string", + "x-ms-enum": { + "modelAsString": true, + "name": "PowerState" + } + }, + "bmcAddress": { + "description": "Bmc address of the physical machine.", + "type": "string" + }, + "scaleUnitName": { + "description": "Cluster name of the physical machine.", + "type": "string" + }, + "scaleUnitUri": { + "description": "URI of the corresponding cluster.", + "type": "string" + }, + "canPowerOff": { + "description": "Value indicating whether the node can be powered off.", + "type": "boolean" + }, + "vendor": { + "description": "Vendor of the physical machine.", + "type": "string" + }, + "model": { + "description": "Model of the physical machine.", + "type": "string" + }, + "serialNumber": { + "description": "Serial number of the physical machine.", + "type": "string" + }, + "biosVersion": { + "description": "Bios version of the physical machine.", + "type": "string" + }, + "macAddress": { + "description": "MacAddress of the physical machine.", + "type": "string" + }, + "capacity": { + "description": "Capacity of the physical machine.", + "$ref": "ScaleUnit.json#/definitions/ScaleUnitCapacity" + } + } + }, + "ScaleUnitNodeList": { + "description": "A pageable list of scale unit nodes.", + "type": "object", + "properties": { + "value": { + "description": "The list of nodes in this page.", + "type": "array", + "items": { + "$ref": "#/definitions/ScaleUnitNode" + } + }, + "nextLink": { + "description": "The URI to the next page.", + "type": "string" + } + } + } + }, + "parameters": { + "ScaleUnitNodeParameter": { + "name": "scaleUnitNode", + "description": "Name of the scale unit node.", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/SlbMuxInstance.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/SlbMuxInstance.json new file mode 100644 index 000000000000..74c196d3b3e3 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/SlbMuxInstance.json @@ -0,0 +1,180 @@ +{ + "swagger": "2.0", + "info": { + "description": "Software load balancer multiplexer operation endpoints and objects.", + "title": "FabricAdminClient", + "version": "2016-05-01" + }, + "host": "adminmanagement.local.azurestack.external", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/slbMuxInstances/{slbMuxInstance}": { + "get": { + "x-ms-examples": { + "Get a Software Load Balancer Mux Instance": { + "$ref": "./examples/SlbMuxInstance/SlbMuxInstanceGetOperation_example.json" + } + }, + "tags": [ + "SlbMuxInstances" + ], + "description": "Get a software load balancer multiplexer instance.", + "operationId": "SlbMuxInstances_Get", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/SLBMuxInstanceParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SlbMuxInstance" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/slbMuxInstances": { + "get": { + "x-ms-examples": { + "List all Software Load Balancer Mux Instances": { + "$ref": "./examples/SlbMuxInstance/SlbMuxInstanceListOperation_example.json" + } + }, + "tags": [ + "SlbMuxInstances" + ], + "description": "Get a list of all software load balancer instances at a location.", + "operationId": "SlbMuxInstances_List", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "Fabric.json#/parameters/FilterParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SlbMuxInstanceList" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/SlbMuxInstance" + } + } + }, + "definitions": { + "SlbMuxInstance": { + "description": "This resource represents an SLB MUX (software load balancing multiplexer, which distributes the tenant and tenant customer network traffic).", + "type": "object", + "properties": { + "properties": { + "description": "Properties of a SLB MUX", + "x-ms-client-flatten": true, + "$ref": "#/definitions/SlbMuxInstanceModel" + } + }, + "allOf": [ + { + "$ref": "Fabric.json#/definitions/Resource" + } + ] + }, + "SlbMuxInstanceModel": { + "description": "Properties of a SLB MUX", + "type": "object", + "properties": { + "configurationState": { + "description": "Configuration state.", + "type": "string" + }, + "virtualServer": { + "description": "Virtual server.", + "type": "string" + }, + "bgpPeers": { + "description": "List of BGP peers.", + "type": "array", + "items": { + "type": "string" + } + } + } + }, + "SlbMuxInstanceList": { + "description": "A pageable list of SLB Mux instances.", + "type": "object", + "properties": { + "value": { + "description": "List of SLB Mux instances on this page.", + "type": "array", + "items": { + "$ref": "#/definitions/SlbMuxInstance" + } + }, + "nextLink": { + "description": "URI to the next page.", + "type": "string" + } + } + } + }, + "parameters": { + "SLBMuxInstanceParameter": { + "name": "slbMuxInstance", + "description": "Name of a SLB Mux instance.", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/StoragePool.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/StoragePool.json new file mode 100644 index 000000000000..62434f85b968 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/StoragePool.json @@ -0,0 +1,176 @@ +{ + "swagger": "2.0", + "info": { + "description": "Storage pool operation endpoints and objects.", + "title": "FabricAdminClient", + "version": "2016-05-01" + }, + "host": "adminmanagement.local.azurestack.external", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/storageSubSystems/{storageSubSystem}/storagePools/{storagePool}": { + "get": { + "x-ms-examples": { + "Get a storage pool": { + "$ref": "./examples/StoragePool/StoragePoolGetOperation_example.json" + } + }, + "tags": [ + "StoragePools" + ], + "description": "Get a storage pool.", + "operationId": "StoragePools_Get", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "StorageSystem.json#/parameters/StorageSubSystemParameter" + }, + { + "$ref": "#/parameters/StoragePoolParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/StoragePool" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/storageSubSystems/{storageSubSystem}/storagePools": { + "get": { + "x-ms-examples": { + "List all storage pools": { + "$ref": "./examples/StoragePool/StoragePoolListOperation_example.json" + } + }, + "tags": [ + "StoragePools" + ], + "description": "Get a list of all storage pools for a location.", + "operationId": "StoragePools_List", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "StorageSystem.json#/parameters/StorageSubSystemParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "Fabric.json#/parameters/FilterParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/StoragePoolList" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/StoragePool" + } + } + }, + "definitions": { + "StoragePool": { + "description": "Representation of a storage pool resource.", + "type": "object", + "properties": { + "properties": { + "description": "All properties of a storage pool.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/StoragePoolModel" + } + }, + "allOf": [ + { + "$ref": "Fabric.json#/definitions/Resource" + } + ] + }, + "StoragePoolModel": { + "description": "All properties of a storage pool.", + "type": "object", + "properties": { + "sizeGB": { + "description": "Amount of space in the storage pool in GB.", + "type": "integer", + "format": "int32" + } + } + }, + "StoragePoolList": { + "description": "Pageable list of storage pools.", + "type": "object", + "properties": { + "value": { + "description": "List of storage pools on this page.", + "type": "array", + "items": { + "$ref": "#/definitions/StoragePool" + } + }, + "nextLink": { + "description": "URI to the next page.", + "type": "string" + } + } + } + }, + "parameters": { + "StoragePoolParameter": { + "name": "storagePool", + "description": "Storage pool name.", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/StorageSystem.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/StorageSystem.json new file mode 100644 index 000000000000..b812d0753185 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/StorageSystem.json @@ -0,0 +1,170 @@ +{ + "swagger": "2.0", + "info": { + "description": "Storage system operation endpoints and objects.", + "title": "FabricAdminClient", + "version": "2016-05-01" + }, + "host": "adminmanagement.local.azurestack.external", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/storageSubSystems/{storageSubSystem}": { + "get": { + "x-ms-examples": { + "Get a storage system": { + "$ref": "./examples/StorageSystem/StorageSystemGetOperation_example.json" + } + }, + "tags": [ + "StorageSystems" + ], + "description": "Get a storage subsystem.", + "operationId": "StorageSystems_Get", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "#/parameters/StorageSubSystemParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/StorageSystem" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/storageSubSystems": { + "get": { + "x-ms-examples": { + "List all storage systems": { + "$ref": "./examples/StorageSystem/StorageSystemListOperation_example.json" + } + }, + "tags": [ + "StorageSystems" + ], + "description": "Get a list of all storage subsystems for a location.", + "operationId": "StorageSystems_List", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "Fabric.json#/parameters/FilterParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/StorageSystemList" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/StorageSystem" + } + } + }, + "definitions": { + "StorageSystem": { + "description": "Representation of a storage system resource.", + "type": "object", + "properties": { + "properties": { + "description": "All properties of a storage system.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/StorageSystemModel" + } + }, + "allOf": [ + { + "$ref": "Fabric.json#/definitions/Resource" + } + ] + }, + "StorageSystemModel": { + "description": "All properties of a storage system.", + "type": "object", + "properties": { + "totalCapacityGB": { + "description": "Total capacity of the system.", + "type": "integer", + "format": "int32" + } + } + }, + "StorageSystemList": { + "description": "Pageable list of storage systems.", + "type": "object", + "properties": { + "value": { + "description": "List of storage systems on this page.", + "type": "array", + "items": { + "$ref": "#/definitions/StorageSystem" + } + }, + "nextLink": { + "description": "URI to the next page.", + "type": "string" + } + } + } + }, + "parameters": { + "StorageSubSystemParameter": { + "name": "storageSubSystem", + "description": "Name of the storage system.", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/Volume.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/Volume.json new file mode 100644 index 000000000000..1148ddaaa1d0 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/Volume.json @@ -0,0 +1,195 @@ +{ + "swagger": "2.0", + "info": { + "description": "Volume operation endpoints and objects.", + "title": "FabricAdminClient", + "version": "2016-05-01" + }, + "host": "adminmanagement.local.azurestack.external", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/storageSubSystems/{storageSubSystem}/storagePools/{storagePool}/volumes/{volume}": { + "get": { + "x-ms-examples": { + "Get a volume": { + "$ref": "./examples/Volume/VolumeGetOperation_example.json" + } + }, + "tags": [ + "Volumes" + ], + "description": "Get a volume.", + "operationId": "Volumes_Get", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "StorageSystem.json#/parameters/StorageSubSystemParameter" + }, + { + "$ref": "StoragePool.json#/parameters/StoragePoolParameter" + }, + { + "$ref": "#/parameters/VolumeParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Volume" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/System.{location}/providers/Microsoft.Fabric.Admin/fabricLocations/{location}/storageSubSystems/{storageSubSystem}/storagePools/{storagePool}/volumes": { + "get": { + "x-ms-examples": { + "List all volumes": { + "$ref": "./examples/Volume/VolumeListOperation_example.json" + } + }, + "tags": [ + "Volumes" + ], + "description": "Get a list of all volumes at a location.", + "operationId": "Volumes_List", + "parameters": [ + { + "$ref": "Fabric.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "Fabric.json#/parameters/LocationParameter" + }, + { + "$ref": "StorageSystem.json#/parameters/StorageSubSystemParameter" + }, + { + "$ref": "StoragePool.json#/parameters/StoragePoolParameter" + }, + { + "$ref": "Fabric.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "Fabric.json#/parameters/FilterParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VolumeList" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "x-ms-odata": "#/definitions/Volume" + } + } + }, + "definitions": { + "Volume": { + "description": "Representation of a volume resource.", + "type": "object", + "properties": { + "properties": { + "description": "Properties of a volume.", + "x-ms-client-flatten": true, + "$ref": "#/definitions/VolumeModel" + } + }, + "allOf": [ + { + "$ref": "Fabric.json#/definitions/Resource" + } + ] + }, + "VolumeModel": { + "description": "Properties of a volume.", + "type": "object", + "properties": { + "fileSystem": { + "description": "Filesystem type.", + "type": "string" + }, + "remainingSizeGB": { + "description": "Amount of free space in GB.", + "format": "int32", + "type": "integer" + }, + "sizeGB": { + "description": "Total amount of space in GB.", + "format": "int32", + "type": "integer" + }, + "volumeLabel": { + "description": "Volume label.", + "type": "string" + } + } + }, + "VolumeList": { + "description": "Pageable list of volumes.", + "type": "object", + "properties": { + "value": { + "description": "List of volumes on this page.", + "type": "array", + "items": { + "$ref": "#/definitions/Volume" + } + }, + "nextLink": { + "description": "URI to the next page.", + "type": "string" + } + } + } + }, + "parameters": { + "VolumeParameter": { + "name": "volume", + "description": "Name of the volume.", + "in": "path", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + }, + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ] +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/EdgeGateway/EdgeGatewayGetOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/EdgeGateway/EdgeGatewayGetOperation_example.json new file mode 100644 index 000000000000..8d996ba87934 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/EdgeGateway/EdgeGatewayGetOperation_example.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "edgeGateway": "AzS-Gwy01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/edgeGateways/AzS-Gwy01", + "name": "AzS-Gwy01", + "type": "Microsoft.Fabric.Admin/fabricLocations/edgeGateways", + "location": "local", + "tags": {}, + "properties": { + "state": "Passive", + "totalCapacity": 100000000, + "availableCapacity": 100000000, + "numberOfConnections": 0 + } + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/EdgeGateway/EdgeGatewayListOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/EdgeGateway/EdgeGatewayListOperation_example.json new file mode 100644 index 000000000000..410e2b8bb187 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/EdgeGateway/EdgeGatewayListOperation_example.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/edgeGateways/AzS-Gwy01", + "name": "AzS-Gwy01", + "type": "Microsoft.Fabric.Admin/fabricLocations/edgeGateways", + "location": "local", + "tags": {}, + "properties": { + "state": "Passive", + "totalCapacity": 100000000, + "availableCapacity": 100000000, + "numberOfConnections": 0 + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/EdgeGatewayPool/EdgeGatewayPoolGetOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/EdgeGatewayPool/EdgeGatewayPoolGetOperation_example.json new file mode 100644 index 000000000000..34133521ac1c --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/EdgeGatewayPool/EdgeGatewayPoolGetOperation_example.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "edgeGatewayPool": "default" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/edgeGatewayPools/default", + "name": "default", + "type": "Microsoft.Fabric.Admin/fabricLocations/edgeGatewayPools", + "location": "local", + "tags": {}, + "properties": { + "gatewayType": "S2sIPsec", + "numberOfGateways": 1, + "redundantGatewayCount": 0, + "gatewayCapacityKiloBitsPerSecond": 100000000, + "publicIpAddress": "00000000-5555-0000-0001-000000000000", + "edgeGateways": [ + "AzS-Gwy01" + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/EdgeGatewayPool/EdgeGatewayPoolListOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/EdgeGatewayPool/EdgeGatewayPoolListOperation_example.json new file mode 100644 index 000000000000..1e55409c9a3f --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/EdgeGatewayPool/EdgeGatewayPoolListOperation_example.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/edgeGatewayPools/default", + "name": "default", + "type": "Microsoft.Fabric.Admin/fabricLocations/edgeGatewayPools", + "location": "local", + "tags": {}, + "properties": { + "gatewayType": "S2sIPsec", + "numberOfGateways": 1, + "redundantGatewayCount": 0, + "gatewayCapacityKiloBitsPerSecond": 100000000, + "publicIpAddress": "00000000-5555-0000-0001-000000000000", + "edgeGateways": [ + "AzS-Gwy01" + ] + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/FabricLocation/FabricLocationGetOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/FabricLocation/FabricLocationGetOperation_example.json new file mode 100644 index 000000000000..dd998623b80d --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/FabricLocation/FabricLocationGetOperation_example.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "fabricLocation": "local" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "name": "local", + "type": "Microsoft.Fabric.Admin/fabricLocations", + "location": "local", + "tags": {} + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/FabricLocation/FabricLocationListOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/FabricLocation/FabricLocationListOperation_example.json new file mode 100644 index 000000000000..b75f73a4e47e --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/FabricLocation/FabricLocationListOperation_example.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local", + "name": "local", + "type": "Microsoft.Fabric.Admin/fabricLocations", + "location": "local", + "tags": {} + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/FileShare/FileShareGetOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/FileShare/FileShareGetOperation_example.json new file mode 100644 index 000000000000..85d8941af1c9 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/FileShare/FileShareGetOperation_example.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "fileShare": "SU1_Public" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_Public", + "name": "SU1_Public", + "type": "Microsoft.Fabric.Admin/fabricLocations/fileShares", + "location": "local", + "tags": {}, + "properties": { + "associatedVolume": "28fbffa4", + "uncPath": "\\\\SU1FileServer.azurestack.local\\SU1_Public" + } + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/FileShare/FileShareListOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/FileShare/FileShareListOperation_example.json new file mode 100644 index 000000000000..7a740b290395 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/FileShare/FileShareListOperation_example.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_Infrastructure_1", + "name": "SU1_Infrastructure_1", + "type": "Microsoft.Fabric.Admin/fabricLocations/fileShares", + "location": "local", + "tags": {}, + "properties": { + "associatedVolume": "28fbffa4", + "uncPath": "\\\\SU1FileServer.azurestack.local\\SU1_Infrastructure_1" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_Infrastructure_2", + "name": "SU1_Infrastructure_2", + "type": "Microsoft.Fabric.Admin/fabricLocations/fileShares", + "location": "local", + "tags": {}, + "properties": { + "associatedVolume": "28fbffa4", + "uncPath": "\\\\SU1FileServer.azurestack.local\\SU1_Infrastructure_2" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_Infrastructure_3", + "name": "SU1_Infrastructure_3", + "type": "Microsoft.Fabric.Admin/fabricLocations/fileShares", + "location": "local", + "tags": {}, + "properties": { + "associatedVolume": "28fbffa4", + "uncPath": "\\\\SU1FileServer.azurestack.local\\SU1_Infrastructure_3" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_ObjStore", + "name": "SU1_ObjStore", + "type": "Microsoft.Fabric.Admin/fabricLocations/fileShares", + "location": "local", + "tags": {}, + "properties": { + "associatedVolume": "28fbffa4", + "uncPath": "\\\\SU1FileServer.azurestack.local\\SU1_ObjStore" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_Public", + "name": "SU1_Public", + "type": "Microsoft.Fabric.Admin/fabricLocations/fileShares", + "location": "local", + "tags": {}, + "properties": { + "associatedVolume": "28fbffa4", + "uncPath": "\\\\SU1FileServer.azurestack.local\\SU1_Public" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/fileShares/SU1_VmTemp", + "name": "SU1_VmTemp", + "type": "Microsoft.Fabric.Admin/fabricLocations/fileShares", + "location": "local", + "tags": {}, + "properties": { + "associatedVolume": "28fbffa4", + "uncPath": "\\\\SU1FileServer.azurestack.local\\SU1_VmTemp" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/InfraRole/InfraRoleGetOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/InfraRole/InfraRoleGetOperation_example.json new file mode 100644 index 000000000000..7b4d836a2269 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/InfraRole/InfraRoleGetOperation_example.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "infraRole": "Storage services" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Storage services", + "name": "Storage services", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ACS01" + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/InfraRole/InfraRoleListOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/InfraRole/InfraRoleListOperation_example.json new file mode 100644 index 000000000000..0924ca17f140 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/InfraRole/InfraRoleListOperation_example.json @@ -0,0 +1,567 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Active Directory Federation Services", + "name": "Active Directory Federation Services", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ADFS01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Authorization service (Administrator)", + "name": "Authorization service (Administrator)", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Authorization service (User)", + "name": "Authorization service (User)", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Azure bridge", + "name": "Azure bridge", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Azure Resource Manager (Administrator)", + "name": "Azure Resource Manager (Administrator)", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Azure Resource Manager (User)", + "name": "Azure Resource Manager (User)", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Backup controller", + "name": "Backup controller", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ERCS01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Backup Restore Resource Provider", + "name": "Backup Restore Resource Provider", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Capacity", + "name": "Capacity", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Certificate management", + "name": "Certificate management", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-CA01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Compute", + "name": "Compute", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Compute controller", + "name": "Compute controller", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Directory management", + "name": "Directory management", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-DC01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Edge gateway", + "name": "Edge gateway", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Gwy01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Gallery service (Administrator)", + "name": "Gallery service (Administrator)", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Gallery service (User)", + "name": "Gallery service (User)", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Health controller", + "name": "Health controller", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Infrastructure deployment", + "name": "Infrastructure deployment", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ERCS01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Infrastructure management controller", + "name": "Infrastructure management controller", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Infrastructure role controller", + "name": "Infrastructure role controller", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Insights service (Administrator)", + "name": "Insights service (Administrator)", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Insights service (User)", + "name": "Insights service (User)", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Internal data store", + "name": "Internal data store", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Sql01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key Vault", + "name": "Key Vault", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key Vault controller (Administrator)", + "name": "Key Vault controller (Administrator)", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key Vault controller (User)", + "name": "Key Vault controller (User)", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key Vault name manager", + "name": "Key Vault name manager", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key Vault service (Administrator)", + "name": "Key Vault service (Administrator)", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Key Vault service (User)", + "name": "Key Vault service (User)", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Load balancer multiplexer", + "name": "Load balancer multiplexer", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-SLB01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Network", + "name": "Network", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Network controller", + "name": "Network controller", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-NC01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Partition request broker (Administrator)", + "name": "Partition request broker (Administrator)", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Partition request broker (User)", + "name": "Partition request broker (User)", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Portal (Administrator)", + "name": "Portal (Administrator)", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Portal (User)", + "name": "Portal (User)", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Privileged endpoint", + "name": "Privileged endpoint", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ERCS01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Region Management", + "name": "Region Management", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Storage", + "name": "Storage", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Storage controller", + "name": "Storage controller", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Storage services", + "name": "Storage services", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ACS01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Subscriptions service", + "name": "Subscriptions service", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Updates", + "name": "Updates", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Usage Bridge host", + "name": "Usage Bridge host", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Usage service (Administrator)", + "name": "Usage service (Administrator)", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoles/Usage service (User)", + "name": "Usage service (User)", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoles", + "location": "local", + "tags": {}, + "properties": { + "instances": [ + "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01" + ] + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/InfraRoleInstance/InfraRoleInstanceGetOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/InfraRoleInstance/InfraRoleInstanceGetOperation_example.json new file mode 100644 index 000000000000..a52b04501d34 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/InfraRoleInstance/InfraRoleInstanceGetOperation_example.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "infraRoleInstance": "AzS-NC01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-NC01", + "name": "AzS-NC01", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances", + "location": "local", + "tags": {}, + "properties": { + "scaleUnit": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster", + "scaleUnitNode": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236", + "size": { + "memoryGb": 4.0, + "cores": 2 + }, + "state": "Running" + } + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/InfraRoleInstance/InfraRoleInstanceListOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/InfraRoleInstance/InfraRoleInstanceListOperation_example.json new file mode 100644 index 000000000000..710461a818c2 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/InfraRoleInstance/InfraRoleInstanceListOperation_example.json @@ -0,0 +1,191 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ACS01", + "name": "AzS-ACS01", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances", + "location": "local", + "tags": {}, + "properties": { + "scaleUnit": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster", + "scaleUnitNode": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236", + "size": { + "memoryGb": 8.0, + "cores": 2 + }, + "state": "Running" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-ADFS01", + "name": "AzS-ADFS01", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances", + "location": "local", + "tags": {}, + "properties": { + "scaleUnit": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster", + "scaleUnitNode": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236", + "size": { + "memoryGb": 2.0, + "cores": 2 + }, + "state": "Running" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-BGPNAT01", + "name": "AzS-BGPNAT01", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances", + "location": "local", + "tags": {}, + "properties": { + "scaleUnit": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster", + "scaleUnitNode": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236", + "size": { + "memoryGb": 2.0, + "cores": 2 + }, + "state": "Running" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-CA01", + "name": "AzS-CA01", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances", + "location": "local", + "tags": {}, + "properties": { + "scaleUnit": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster", + "scaleUnitNode": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236", + "size": { + "memoryGb": 1.0, + "cores": 2 + }, + "state": "Running" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Gwy01", + "name": "AzS-Gwy01", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances", + "location": "local", + "tags": {}, + "properties": { + "scaleUnit": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster", + "scaleUnitNode": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236", + "size": { + "memoryGb": 2.0, + "cores": 4 + }, + "state": "Running" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-NC01", + "name": "AzS-NC01", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances", + "location": "local", + "tags": {}, + "properties": { + "scaleUnit": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster", + "scaleUnitNode": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236", + "size": { + "memoryGb": 4.0, + "cores": 2 + }, + "state": "Running" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-SLB01", + "name": "AzS-SLB01", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances", + "location": "local", + "tags": {}, + "properties": { + "scaleUnit": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster", + "scaleUnitNode": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236", + "size": { + "memoryGb": 2.0, + "cores": 4 + }, + "state": "Running" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Sql01", + "name": "AzS-Sql01", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances", + "location": "local", + "tags": {}, + "properties": { + "scaleUnit": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster", + "scaleUnitNode": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236", + "size": { + "memoryGb": 4.0, + "cores": 2 + }, + "state": "Running" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WAS01", + "name": "AzS-WAS01", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances", + "location": "local", + "tags": {}, + "properties": { + "scaleUnit": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster", + "scaleUnitNode": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236", + "size": { + "memoryGb": 4.0, + "cores": 2 + }, + "state": "Running" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-WASP01", + "name": "AzS-WASP01", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances", + "location": "local", + "tags": {}, + "properties": { + "scaleUnit": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster", + "scaleUnitNode": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236", + "size": { + "memoryGb": 8.0, + "cores": 2 + }, + "state": "Running" + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/infraRoleInstances/AzS-Xrp01", + "name": "AzS-Xrp01", + "type": "Microsoft.Fabric.Admin/fabricLocations/infraRoleInstances", + "location": "local", + "tags": {}, + "properties": { + "scaleUnit": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster", + "scaleUnitNode": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236", + "size": { + "memoryGb": 8.0, + "cores": 4 + }, + "state": "Running" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/InfraRoleInstance/InfraRoleInstancePowerOffOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/InfraRoleInstance/InfraRoleInstancePowerOffOperation_example.json new file mode 100644 index 000000000000..56ab3475bb7e --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/InfraRoleInstance/InfraRoleInstancePowerOffOperation_example.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "infraRoleInstance": "AzS-NC01" + }, + "responses": { + "200": { + "provisioningState": { + "provisioningState": "Success" + } + }, + "202": { + "provisioningState": { + "provisioningState": "Working" + } + }, + "500": { + "provisioningState": { + "provisioningState": "Working" + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/InfraRoleInstance/InfraRoleInstancePowerOnOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/InfraRoleInstance/InfraRoleInstancePowerOnOperation_example.json new file mode 100644 index 000000000000..56ab3475bb7e --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/InfraRoleInstance/InfraRoleInstancePowerOnOperation_example.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "infraRoleInstance": "AzS-NC01" + }, + "responses": { + "200": { + "provisioningState": { + "provisioningState": "Success" + } + }, + "202": { + "provisioningState": { + "provisioningState": "Working" + } + }, + "500": { + "provisioningState": { + "provisioningState": "Working" + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/InfraRoleInstance/InfraRoleInstanceRebootOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/InfraRoleInstance/InfraRoleInstanceRebootOperation_example.json new file mode 100644 index 000000000000..56ab3475bb7e --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/InfraRoleInstance/InfraRoleInstanceRebootOperation_example.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "infraRoleInstance": "AzS-NC01" + }, + "responses": { + "200": { + "provisioningState": { + "provisioningState": "Success" + } + }, + "202": { + "provisioningState": { + "provisioningState": "Working" + } + }, + "500": { + "provisioningState": { + "provisioningState": "Working" + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/InfraRoleInstance/InfraRoleInstanceShutdownOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/InfraRoleInstance/InfraRoleInstanceShutdownOperation_example.json new file mode 100644 index 000000000000..56ab3475bb7e --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/InfraRoleInstance/InfraRoleInstanceShutdownOperation_example.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "infraRoleInstance": "AzS-NC01" + }, + "responses": { + "200": { + "provisioningState": { + "provisioningState": "Success" + } + }, + "202": { + "provisioningState": { + "provisioningState": "Working" + } + }, + "500": { + "provisioningState": { + "provisioningState": "Working" + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/IpPool/IpPoolCreateOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/IpPool/IpPoolCreateOperation_example.json new file mode 100644 index 000000000000..053f63fc891d --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/IpPool/IpPoolCreateOperation_example.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "ipPool": "myPool", + "pool": { + "properties": { + "startIpAddress": "10.10.1.1", + "endIpAddress": "10.10.1.254" + } + } + }, + "responses": { + "200": { + "body": {} + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/IpPool/IpPoolGetOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/IpPool/IpPoolGetOperation_example.json new file mode 100644 index 000000000000..73e896dca86a --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/IpPool/IpPoolGetOperation_example.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "ipPool": "981fec89-67d6-453e-bf21-5ff11562564f" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/981fec89-67d6-453e-bf21-5ff11562564f", + "name": "981fec89-67d6-453e-bf21-5ff11562564f", + "type": "Microsoft.Fabric.Admin/fabricLocations/ipPools", + "location": "local", + "tags": {}, + "properties": { + "startIpAddress": "192.168.200.224", + "endIpAddress": "192.168.200.254", + "numberOfIpAddresses": 31, + "numberOfAllocatedIpAddresses": 1, + "numberOfIpAddressesInTransition": 0 + } + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/IpPool/IpPoolListOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/IpPool/IpPoolListOperation_example.json new file mode 100644 index 000000000000..cad18790ce28 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/IpPool/IpPoolListOperation_example.json @@ -0,0 +1,99 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/04938f7f-797b-4dd2-80c6-077542be121a", + "name": "04938f7f-797b-4dd2-80c6-077542be121a", + "type": "Microsoft.Fabric.Admin/fabricLocations/ipPools", + "location": "local", + "tags": {}, + "properties": { + "startIpAddress": "192.168.102.1", + "endIpAddress": "192.168.102.255", + "numberOfIpAddresses": 255, + "numberOfAllocatedIpAddresses": 31, + "numberOfIpAddressesInTransition": 0 + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/3019a64c-9886-4e94-ba6e-2241da0472eb", + "name": "3019a64c-9886-4e94-ba6e-2241da0472eb", + "type": "Microsoft.Fabric.Admin/fabricLocations/ipPools", + "location": "local", + "tags": {}, + "properties": { + "startIpAddress": "192.168.200.65", + "endIpAddress": "192.168.200.111", + "numberOfIpAddresses": 47, + "numberOfAllocatedIpAddresses": 0, + "numberOfIpAddressesInTransition": 0 + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/8516e3aa-0aea-4503-88d7-335ebd1f1a46", + "name": "8516e3aa-0aea-4503-88d7-335ebd1f1a46", + "type": "Microsoft.Fabric.Admin/fabricLocations/ipPools", + "location": "local", + "tags": {}, + "properties": { + "startIpAddress": "192.168.200.1", + "endIpAddress": "192.168.200.62", + "numberOfIpAddresses": 62, + "numberOfAllocatedIpAddresses": 1, + "numberOfIpAddressesInTransition": 0 + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/90e70aa4-663f-44e5-a7c5-d77d9f06f809", + "name": "90e70aa4-663f-44e5-a7c5-d77d9f06f809", + "type": "Microsoft.Fabric.Admin/fabricLocations/ipPools", + "location": "local", + "tags": {}, + "properties": { + "startIpAddress": "192.168.105.1", + "endIpAddress": "192.168.105.255", + "numberOfIpAddresses": 255, + "numberOfAllocatedIpAddresses": 8, + "numberOfIpAddressesInTransition": 0 + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/981fec89-67d6-453e-bf21-5ff11562564f", + "name": "981fec89-67d6-453e-bf21-5ff11562564f", + "type": "Microsoft.Fabric.Admin/fabricLocations/ipPools", + "location": "local", + "tags": {}, + "properties": { + "startIpAddress": "192.168.200.224", + "endIpAddress": "192.168.200.254", + "numberOfIpAddresses": 31, + "numberOfAllocatedIpAddresses": 1, + "numberOfIpAddressesInTransition": 0 + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/ipPools/f5c138af-2f47-4c22-81fe-c675a5d2c3a2", + "name": "f5c138af-2f47-4c22-81fe-c675a5d2c3a2", + "type": "Microsoft.Fabric.Admin/fabricLocations/ipPools", + "location": "local", + "tags": {}, + "properties": { + "startIpAddress": "192.168.200.112", + "endIpAddress": "192.168.200.127", + "numberOfIpAddresses": 16, + "numberOfAllocatedIpAddresses": 1, + "numberOfIpAddressesInTransition": 0 + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/LogicalNetwork/LogicalNetworkGetOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/LogicalNetwork/LogicalNetworkGetOperation_example.json new file mode 100644 index 000000000000..a89b44b994ae --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/LogicalNetwork/LogicalNetworkGetOperation_example.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "logicalNetwork": "B60B71AA-36BF-40AC-A9CE-A6915D1EAE1A" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/B60B71AA-36BF-40AC-A9CE-A6915D1EAE1A", + "name": "B60B71AA-36BF-40AC-A9CE-A6915D1EAE1A", + "type": "Microsoft.Fabric.Admin/fabricLocations/logicalNetworks", + "location": "local", + "tags": {}, + "properties": { + "networkVirtualizationEnabled": false, + "subnets": [ + "75d0e314-a6f5-4c06-a430-88419a931df7" + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/LogicalNetwork/LogicalNetworkListOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/LogicalNetwork/LogicalNetworkListOperation_example.json new file mode 100644 index 000000000000..0216d0013bdf --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/LogicalNetwork/LogicalNetworkListOperation_example.json @@ -0,0 +1,93 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/00000000-2222-1111-9999-000000000001", + "name": "00000000-2222-1111-9999-000000000001", + "type": "Microsoft.Fabric.Admin/fabricLocations/logicalNetworks", + "location": "local", + "tags": {}, + "properties": { + "networkVirtualizationEnabled": false, + "subnets": [ + "9ea1839b-4025-416b-b67c-405d667691bb" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/47931036-2874-4d45-b1f1-b69666088968", + "name": "47931036-2874-4d45-b1f1-b69666088968", + "type": "Microsoft.Fabric.Admin/fabricLocations/logicalNetworks", + "location": "local", + "tags": {}, + "properties": { + "networkVirtualizationEnabled": false, + "subnets": [ + "af95176a-98f5-4302-b5d9-8723c535deef" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/B60B71AA-36BF-40AC-A9CE-A6915D1EAE1A", + "name": "B60B71AA-36BF-40AC-A9CE-A6915D1EAE1A", + "type": "Microsoft.Fabric.Admin/fabricLocations/logicalNetworks", + "location": "local", + "tags": {}, + "properties": { + "networkVirtualizationEnabled": false, + "subnets": [ + "75d0e314-a6f5-4c06-a430-88419a931df7" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/bb6c6f28-bad9-441b-8e62-57d2be255904", + "name": "bb6c6f28-bad9-441b-8e62-57d2be255904", + "type": "Microsoft.Fabric.Admin/fabricLocations/logicalNetworks", + "location": "local", + "tags": {}, + "properties": { + "networkVirtualizationEnabled": true, + "subnets": [ + "cbcf1be3-652f-4854-b57d-e3b07401f29e" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/F207C184-367C-4BC7-8C74-03AA39D68C24", + "name": "F207C184-367C-4BC7-8C74-03AA39D68C24", + "type": "Microsoft.Fabric.Admin/fabricLocations/logicalNetworks", + "location": "local", + "tags": {}, + "properties": { + "networkVirtualizationEnabled": false, + "subnets": [ + "3a1e55ef-6cb9-40fa-8deb-48db9363975c" + ] + } + }, + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/f8f67956-3906-4303-94c5-09cf91e7e311", + "name": "f8f67956-3906-4303-94c5-09cf91e7e311", + "type": "Microsoft.Fabric.Admin/fabricLocations/logicalNetworks", + "location": "local", + "tags": {}, + "properties": { + "networkVirtualizationEnabled": false, + "subnets": [ + "b5f364e5-e154-41ec-99c1-12ce4abfbc0c" + ] + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/LogicalSubnet/LogicalSubnetGetOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/LogicalSubnet/LogicalSubnetGetOperation_example.json new file mode 100644 index 000000000000..11f6d4709380 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/LogicalSubnet/LogicalSubnetGetOperation_example.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "logicalNetwork": "00000000-2222-1111-9999-000000000001", + "logicalSubnet": "9ea1839b-4025-416b-b67c-405d667691bb" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/00000000-2222-1111-9999-000000000001/logicalSubnets/9ea1839b-4025-416b-b67c-405d667691bb", + "name": "9ea1839b-4025-416b-b67c-405d667691bb", + "type": "Microsoft.Fabric.Admin/fabricLocations/logicalNetworks/logicalSubnets", + "location": "local", + "tags": {}, + "properties": { + "ipPools": [ + "cdda477d-c28a-4018-b76b-2af713358d95" + ], + "isPublic": false + } + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/LogicalSubnet/LogicalSubnetListOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/LogicalSubnet/LogicalSubnetListOperation_example.json new file mode 100644 index 000000000000..271872cc5d3d --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/LogicalSubnet/LogicalSubnetListOperation_example.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "logicalNetwork": "00000000-2222-1111-9999-000000000001" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/logicalNetworks/00000000-2222-1111-9999-000000000001/logicalSubnets/9ea1839b-4025-416b-b67c-405d667691bb", + "name": "9ea1839b-4025-416b-b67c-405d667691bb", + "type": "Microsoft.Fabric.Admin/fabricLocations/logicalNetworks/logicalSubnets", + "location": "local", + "tags": {}, + "properties": { + "ipPools": [ + "cdda477d-c28a-4018-b76b-2af713358d95" + ], + "isPublic": false + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/MacAddressPool/MacAddressPoolGetOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/MacAddressPool/MacAddressPoolGetOperation_example.json new file mode 100644 index 000000000000..2f914eeed674 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/MacAddressPool/MacAddressPoolGetOperation_example.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "macAddressPool": "8197fd09-8a69-417e-a55c-10c2c61f5ee7" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/macAddressPools/8197fd09-8a69-417e-a55c-10c2c61f5ee7", + "name": "8197fd09-8a69-417e-a55c-10c2c61f5ee7", + "type": "Microsoft.Fabric.Admin/fabricLocations/macAddressPools", + "location": "local", + "tags": {}, + "properties": { + "startMacAddress": "00-1D-D8-B7-1C-00", + "endMacAddress": "00-1D-D8-F4-1F-FF", + "numberOfAllocatedMacAddresses": 2, + "numberOfAvailableMacAddresses": 3998718 + } + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/MacAddressPool/MacAddressPoolListOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/MacAddressPool/MacAddressPoolListOperation_example.json new file mode 100644 index 000000000000..ad9e0c260a1f --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/MacAddressPool/MacAddressPoolListOperation_example.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/macAddressPools/8197fd09-8a69-417e-a55c-10c2c61f5ee7", + "name": "8197fd09-8a69-417e-a55c-10c2c61f5ee7", + "type": "Microsoft.Fabric.Admin/fabricLocations/macAddressPools", + "location": "local", + "tags": {}, + "properties": { + "startMacAddress": "00-1D-D8-B7-1C-00", + "endMacAddress": "00-1D-D8-F4-1F-FF", + "numberOfAllocatedMacAddresses": 2, + "numberOfAvailableMacAddresses": 3998718 + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/ScaleUnit/ScaleUnitGetOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/ScaleUnit/ScaleUnitGetOperation_example.json new file mode 100644 index 000000000000..8e00cbdf333e --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/ScaleUnit/ScaleUnitGetOperation_example.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "scaleUnit": "S-Cluster" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster", + "name": "S-Cluster", + "type": "Microsoft.Fabric.Admin/fabricLocations/scaleUnits", + "location": "local", + "tags": {}, + "properties": { + "scaleUnitType": "HyperConverged", + "logicalFaultDomain": 0, + "nodes": [ + "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236" + ], + "state": "Running", + "totalCapacity": { + "memoryGB": 255.875, + "cores": 56 + } + } + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/ScaleUnit/ScaleUnitListOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/ScaleUnit/ScaleUnitListOperation_example.json new file mode 100644 index 000000000000..0a8fce16bb1a --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/ScaleUnit/ScaleUnitListOperation_example.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnits/S-Cluster", + "name": "S-Cluster", + "type": "Microsoft.Fabric.Admin/fabricLocations/scaleUnits", + "location": "local", + "tags": {}, + "properties": { + "scaleUnitType": "HyperConverged", + "logicalFaultDomain": 0, + "nodes": [ + "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/system.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236" + ], + "state": "Running", + "totalCapacity": { + "memoryGB": 255.875, + "cores": 56 + } + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/ScaleUnitNode/ScaleUnitNodeGetOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/ScaleUnitNode/ScaleUnitNodeGetOperation_example.json new file mode 100644 index 000000000000..9aa0dc317341 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/ScaleUnitNode/ScaleUnitNodeGetOperation_example.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "scaleUnitNode": "HC1n25r2236" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236", + "name": "HC1n25r2236", + "type": "Microsoft.Fabric.Admin/fabricLocations/scaleUnitNodes", + "location": "local", + "tags": {}, + "properties": { + "scaleUnitNodeStatus": "Running", + "powerState": "Running", + "scaleUnitName": "S-Cluster", + "scaleUnitUri": "/fabricLocations/local/scaleUnits/S-Cluster", + "canPowerOff": false, + "macAddress": "24-8A-07-89-15-62", + "capacity": { + "memoryGB": 255.875, + "cores": 56 + } + } + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/ScaleUnitNode/ScaleUnitNodeListOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/ScaleUnitNode/ScaleUnitNodeListOperation_example.json new file mode 100644 index 000000000000..afc579939fca --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/ScaleUnitNode/ScaleUnitNodeListOperation_example.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/scaleUnitNodes/HC1n25r2236", + "name": "HC1n25r2236", + "type": "Microsoft.Fabric.Admin/fabricLocations/scaleUnitNodes", + "location": "local", + "tags": {}, + "properties": { + "scaleUnitNodeStatus": "Running", + "powerState": "Running", + "scaleUnitName": "S-Cluster", + "scaleUnitUri": "/fabricLocations/local/scaleUnits/S-Cluster", + "canPowerOff": false, + "macAddress": "24-8A-07-89-15-62", + "capacity": { + "memoryGB": 255.875, + "cores": 56 + } + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/ScaleUnitNode/ScaleUnitNodePowerOffOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/ScaleUnitNode/ScaleUnitNodePowerOffOperation_example.json new file mode 100644 index 000000000000..93ab7a9d6dd7 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/ScaleUnitNode/ScaleUnitNodePowerOffOperation_example.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "scaleUnitNode": "HC1n25r2236" + }, + "responses": { + "200": { + "provisioningState": { + "provisioningState": "Success" + } + }, + "202": { + "provisioningState": { + "provisioningState": "Working" + } + }, + "500": { + "provisioningState": { + "provisioningState": "Working" + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/ScaleUnitNode/ScaleUnitNodePowerOnOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/ScaleUnitNode/ScaleUnitNodePowerOnOperation_example.json new file mode 100644 index 000000000000..93ab7a9d6dd7 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/ScaleUnitNode/ScaleUnitNodePowerOnOperation_example.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "scaleUnitNode": "HC1n25r2236" + }, + "responses": { + "200": { + "provisioningState": { + "provisioningState": "Success" + } + }, + "202": { + "provisioningState": { + "provisioningState": "Working" + } + }, + "500": { + "provisioningState": { + "provisioningState": "Working" + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/ScaleUnitNode/ScaleUnitNodeStartMaintenanceModeOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/ScaleUnitNode/ScaleUnitNodeStartMaintenanceModeOperation_example.json new file mode 100644 index 000000000000..93ab7a9d6dd7 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/ScaleUnitNode/ScaleUnitNodeStartMaintenanceModeOperation_example.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "scaleUnitNode": "HC1n25r2236" + }, + "responses": { + "200": { + "provisioningState": { + "provisioningState": "Success" + } + }, + "202": { + "provisioningState": { + "provisioningState": "Working" + } + }, + "500": { + "provisioningState": { + "provisioningState": "Working" + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/ScaleUnitNode/ScaleUnitNodeStopMaintenanceModeOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/ScaleUnitNode/ScaleUnitNodeStopMaintenanceModeOperation_example.json new file mode 100644 index 000000000000..93ab7a9d6dd7 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/ScaleUnitNode/ScaleUnitNodeStopMaintenanceModeOperation_example.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "scaleUnitNode": "HC1n25r2236" + }, + "responses": { + "200": { + "provisioningState": { + "provisioningState": "Success" + } + }, + "202": { + "provisioningState": { + "provisioningState": "Working" + } + }, + "500": { + "provisioningState": { + "provisioningState": "Working" + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/SlbMuxInstance/SlbMuxInstanceGetOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/SlbMuxInstance/SlbMuxInstanceGetOperation_example.json new file mode 100644 index 000000000000..dbab45495540 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/SlbMuxInstance/SlbMuxInstanceGetOperation_example.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "slbMuxInstance": "AzS-SLB01" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/slbMuxInstances/AzS-SLB01", + "name": "AzS-SLB01", + "type": "Microsoft.Fabric.Admin/fabricLocations/slbMuxInstances", + "location": "local", + "tags": {}, + "properties": { + "configurationState": "Success", + "virtualServer": "AzS-SLB01", + "bgpPeers": [ + "BGPGateway-64000-64001" + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/SlbMuxInstance/SlbMuxInstanceListOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/SlbMuxInstance/SlbMuxInstanceListOperation_example.json new file mode 100644 index 000000000000..551d4cb2ad9c --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/SlbMuxInstance/SlbMuxInstanceListOperation_example.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/slbMuxInstances/AzS-SLB01", + "name": "AzS-SLB01", + "type": "Microsoft.Fabric.Admin/fabricLocations/slbMuxInstances", + "location": "local", + "tags": {}, + "properties": { + "configurationState": "Success", + "virtualServer": "AzS-SLB01", + "bgpPeers": [ + "BGPGateway-64000-64001" + ] + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/StoragePool/StoragePoolGetOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/StoragePool/StoragePoolGetOperation_example.json new file mode 100644 index 000000000000..828020a2f3b2 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/StoragePool/StoragePoolGetOperation_example.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "storageSubSystem": "S-Cluster.azurestack.local", + "storagePool": "SU1_Pool" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local/storagePools/SU1_Pool", + "name": "SU1_Pool", + "type": "Microsoft.Fabric.Admin/fabricLocations/storageSubSystems/storagePools", + "location": "local", + "tags": {}, + "properties": { + "sizeGB": 5614 + } + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/StoragePool/StoragePoolListOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/StoragePool/StoragePoolListOperation_example.json new file mode 100644 index 000000000000..b1107d0b7cc4 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/StoragePool/StoragePoolListOperation_example.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "storageSubSystem": "S-Cluster.azurestack.local" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local/storagePools/SU1_Pool", + "name": "SU1_Pool", + "type": "Microsoft.Fabric.Admin/fabricLocations/storageSubSystems/storagePools", + "location": "local", + "tags": {}, + "properties": { + "sizeGB": 5614 + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/StorageSystem/StorageSystemGetOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/StorageSystem/StorageSystemGetOperation_example.json new file mode 100644 index 000000000000..ff6a8faae4b3 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/StorageSystem/StorageSystemGetOperation_example.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "storageSubSystem": "S-Cluster.azurestack.local" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local", + "name": "S-Cluster.azurestack.local", + "type": "Microsoft.Fabric.Admin/fabricLocations/storageSubSystems", + "location": "local", + "tags": {}, + "properties": { + "totalCapacityGB": 2525 + } + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/StorageSystem/StorageSystemListOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/StorageSystem/StorageSystemListOperation_example.json new file mode 100644 index 000000000000..a6a47e8e8d1c --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/StorageSystem/StorageSystemListOperation_example.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local", + "name": "S-Cluster.azurestack.local", + "type": "Microsoft.Fabric.Admin/fabricLocations/storageSubSystems", + "location": "local", + "tags": {}, + "properties": { + "totalCapacityGB": 2525 + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/Volume/VolumeGetOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/Volume/VolumeGetOperation_example.json new file mode 100644 index 000000000000..fd51ee1ee540 --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/Volume/VolumeGetOperation_example.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "storageSubSystem": "S-Cluster.azurestack.local", + "storagePool": "SU1_Pool", + "volume": "28fbffa4" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local/storagePools/SU1_Pool/volumes/28fbffa4", + "name": "28fbffa4", + "type": "Microsoft.Fabric.Admin/fabricLocations/storageSubSystems/storagePools/volumes", + "location": "local", + "tags": {}, + "properties": { + "fileSystem": "CSVFS_ReFS", + "remainingSizeGB": 2367, + "sizeGB": 2525, + "volumeLabel": "SU1_Volume" + } + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/Volume/VolumeListOperation_example.json b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/Volume/VolumeListOperation_example.json new file mode 100644 index 000000000000..82fc284d84bf --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/Microsoft.Fabric.Admin/2016-05-01/examples/Volume/VolumeListOperation_example.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2016-05-01", + "subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", + "location": "local", + "storageSubSystem": "S-Cluster.azurestack.local", + "storagePool": "SU1_Pool" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/System.local/providers/Microsoft.Fabric.Admin/fabricLocations/local/storageSubSystems/S-Cluster.azurestack.local/storagePools/SU1_Pool/volumes/28fbffa4", + "name": "28fbffa4", + "type": "Microsoft.Fabric.Admin/fabricLocations/storageSubSystems/storagePools/volumes", + "location": "local", + "tags": {}, + "properties": { + "fileSystem": "CSVFS_ReFS", + "remainingSizeGB": 2367, + "sizeGB": 2525, + "volumeLabel": "SU1_Volume" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/azsadmin/resource-manager/fabric/readme.md b/specification/azsadmin/resource-manager/fabric/readme.md new file mode 100644 index 000000000000..fd21e188311a --- /dev/null +++ b/specification/azsadmin/resource-manager/fabric/readme.md @@ -0,0 +1,92 @@ +# Commerce Admin + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for Commerce Admin. + +--- +## Getting Started +To build the SDK for Commerce Admin, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: + +> `autorest` + +To see additional help and options, run: + +> `autorest --help` +--- + +## Configuration + +### Basic Information +These are the global settings for the Commerce API. + +``` yaml +title: FabricAdminClient +description: Fabric Admin Client +openapi-type: arm +tag: package-2016-05-01 +``` + +### Tag: package-2016-05-01 + +These settings apply only when `--tag=package-2016-05-01` is specified on the command line. + +``` yaml $(tag) == 'package-2016-05-01' +input-file: + - "Microsoft.Fabric.Admin/2016-05-01/Fabric.json" + - "Microsoft.Fabric.Admin/2016-05-01/EdgeGateway.json" + - "Microsoft.Fabric.Admin/2016-05-01/EdgeGatewayPool.json" + - "Microsoft.Fabric.Admin/2016-05-01/FabricLocation.json" + - "Microsoft.Fabric.Admin/2016-05-01/FileShare.json" + - "Microsoft.Fabric.Admin/2016-05-01/InfraRole.json" + - "Microsoft.Fabric.Admin/2016-05-01/InfraRoleInstance.json" + - "Microsoft.Fabric.Admin/2016-05-01/IpPool.json" + - "Microsoft.Fabric.Admin/2016-05-01/LogicalNetwork.json" + - "Microsoft.Fabric.Admin/2016-05-01/StoragePool.json" + - "Microsoft.Fabric.Admin/2016-05-01/StorageSystem.json" + - "Microsoft.Fabric.Admin/2016-05-01/Volume.json" + - "Microsoft.Fabric.Admin/2016-05-01/LogicalSubnet.json" + - "Microsoft.Fabric.Admin/2016-05-01/MacAddressPool.json" + - "Microsoft.Fabric.Admin/2016-05-01/Operations.json" + - "Microsoft.Fabric.Admin/2016-05-01/ScaleUnit.json" + - "Microsoft.Fabric.Admin/2016-05-01/ScaleUnitNode.json" + - "Microsoft.Fabric.Admin/2016-05-01/SlbMuxInstance.json" +``` + +--- +# Code Generation + +## C# + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +``` yaml $(csharp) +csharp: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + namespace: Microsoft.AzureStack.Fabric.Admin + payload-flattening-threshold: 1 + output-folder: $(csharp-sdks-folder)/Fabric/Fabric.Admin/Generated + clear-output-folder: true +``` + +## Python + +These settings apply only when `--python` is specified on the command line. + +``` yaml $(python) +python: + # override the default output folder + output-folder: $(output-folder)/python + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 +``` + +### Tag: package-2016-05-01 and python + +These settings apply only when `--tag=package-2016-05-01 --python` is specified on the command line. + +``` yaml $(tag) == 'package-2016-05-01' && $(python) +namespace: azure.mgmt.fabric.admin.v2016_05_01 +``` diff --git a/specification/monitor/resource-manager/microsoft.insights/2017-04-01/actionGroups_API.json b/specification/monitor/resource-manager/microsoft.insights/2017-04-01/actionGroups_API.json index 13c7fa2499a8..fdad7e4b20a9 100644 --- a/specification/monitor/resource-manager/microsoft.insights/2017-04-01/actionGroups_API.json +++ b/specification/monitor/resource-manager/microsoft.insights/2017-04-01/actionGroups_API.json @@ -82,7 +82,10 @@ } }, "default": { - "description": "An error occurred and the action group could not be created or updated." + "description": "An error occurred and the action group could not be created or updated.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } }, @@ -116,7 +119,10 @@ } }, "default": { - "description": "An error occurred and the action group could not be retrieved. 404: The action group does not exist." + "description": "An error occurred and the action group could not be retrieved. 404: The action group does not exist.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } }, @@ -150,7 +156,10 @@ "description": "The action group does not exist. It may have already been deleted." }, "default": { - "description": "An error occurred and the action group could not be deleted." + "description": "An error occurred and the action group could not be deleted.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } @@ -183,7 +192,10 @@ } }, "default": { - "description": "An error occurred and the list of action groups could not be retrieved." + "description": "An error occurred and the list of action groups could not be retrieved.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } @@ -219,7 +231,10 @@ } }, "default": { - "description": "An error occurred and the list of action groups could not be retrieved." + "description": "An error occurred and the list of action groups could not be retrieved.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } @@ -260,8 +275,14 @@ "200": { "description": "The receiver was successfully enabled." }, + "409": { + "description": "The receiver is already enabled in the action group." + }, "default": { - "description": "An error occurred and the receiver could not be enabled. 409: The receiver is already enabled in the action group. 404: The action group was not found or no matching receiver was found in the action group." + "description": "An error occurred and the receiver could not be enabled, e.g.: 404: The action group was not found or no matching receiver was found in the action group.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } } } } @@ -333,7 +354,7 @@ }, "nextLink": { "type": "string", - "description": "Provides the link to retrive the next set of elements." + "description": "Provides the link to retrieve the next set of elements." } } }, @@ -348,7 +369,7 @@ "enabled": { "type": "boolean", "default": true, - "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its receviers will receive communications." + "description": "Indicates whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications." }, "emailReceivers": { "type": "array", @@ -467,6 +488,20 @@ "required": [ "receiverName" ] + }, + "ErrorResponse": { + "description": "Describes the format of Error response.", + "type": "object", + "properties": { + "code": { + "description": "Error code", + "type": "string" + }, + "message": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + } } }, "parameters": { diff --git a/specification/monitor/resource-manager/microsoft.insights/2017-04-01/activityLogAlerts_API.json b/specification/monitor/resource-manager/microsoft.insights/2017-04-01/activityLogAlerts_API.json index 0da68f559dda..332e93e78a8c 100644 --- a/specification/monitor/resource-manager/microsoft.insights/2017-04-01/activityLogAlerts_API.json +++ b/specification/monitor/resource-manager/microsoft.insights/2017-04-01/activityLogAlerts_API.json @@ -204,7 +204,7 @@ } }, "x-ms-examples": { - "Path an activity log alert": { + "Patch an activity log alert": { "$ref": "./examples/patchActivityLogAlert.json" } } @@ -352,7 +352,7 @@ }, "nextLink": { "type": "string", - "description": "Provides the link to retrive the next set of elements." + "description": "Provides the link to retrieve the next set of elements." } } }, @@ -373,7 +373,7 @@ }, "condition": { "$ref": "#/definitions/ActivityLogAlertAllOfCondition", - "description": "The conditon that will cause this alert to activate." + "description": "The condition that will cause this alert to activate." }, "actions": { "$ref": "#/definitions/ActivityLogAlertActionList", diff --git a/specification/monitor/resource-manager/microsoft.insights/2017-05-01-preview/diagnosticsSettingsCategories_API.json b/specification/monitor/resource-manager/microsoft.insights/2017-05-01-preview/diagnosticsSettingsCategories_API.json new file mode 100644 index 000000000000..7997cdf59784 --- /dev/null +++ b/specification/monitor/resource-manager/microsoft.insights/2017-05-01-preview/diagnosticsSettingsCategories_API.json @@ -0,0 +1,266 @@ +{ + "swagger": "2.0", + "info": { + "title": "MonitorManagementClient", + "version": "2017-05-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/{resourceUri}/providers/microsoft.insights/diagnosticSettingsCategories/{name}": { + "get": { + "tags": [ + "DiagnosticSettingsCategories" + ], + "operationId": "DiagnosticSettingsCategory_Get", + "description": "Gets the diagnostic settings category for the specified resource.", + "parameters": [ + { + "$ref": "#/parameters/ResourceUriParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/NameParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Successful request to get more information about diagnostic setting category", + "schema": { + "$ref": "#/definitions/DiagnosticSettingsCategoryResource" + }, + "examples": { + "application/json": + { + "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/providers/microsoft.insights/diagnosticSettingsCategories/WorkflowRuntime", + "type":"microsoft.insights/diagnosticSettingsCategories", + "name":"WorkflowRuntime", + "location":"eastus", + "tags":null, + "properties": { + "categoryType":"Logs" + } + } + } + } + }, + "x-ms-examples": { + "Gets the diagnostic setting": { + "$ref": "./examples/getDiagnosticSettingsCategory.json" + } + } + } + }, + "/{resourceUri}/providers/microsoft.insights/diagnosticSettingsCategories": { + "get": { + "tags": [ + "DiagnosticSettingsCategories" + ], + "operationId": "DiagnosticSettingsCategory_List", + "description": "Lists the diagnostic settings categories for the specified resource.", + "parameters": [ + { + "$ref": "#/parameters/ResourceUriParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Successful request to get more information about diagnostic setting category", + "schema": { + "$ref": "#/definitions/DiagnosticSettingsCategoryResourceCollection" + }, + "examples": { + "application/json": { + "value": [ + { + "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/providers/microsoft.insights/diagnosticSettingsCategories/WorkflowRuntime", + "type":"microsoft.insights/diagnosticSettingsCategories", + "name":"WorkflowRuntime", + "location":"eastus", + "tags":null, + "properties": { + "categoryType":"Logs" + } + }, + { + "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/providers/microsoft.insights/diagnosticSettingsCategories/WorkflowMetric", + "type":"microsoft.insights/diagnosticSettingsCategories", + "name":"WorkflowMetric", + "location":"eastus", + "tags":null, + "properties": { + "categoryType":"Metrics" + } + } + ] + } + } + } + }, + "x-ms-examples": { + "Gets the diagnostic setting": { + "$ref": "./examples/listDiagnosticSettingsCategories.json" + } + } + } + } + }, + "definitions": { + "Resource": { + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Azure resource name" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "tags": { + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "required": [ + "location" + ], + "x-ms-azure-resource": true, + "description": "An azure resource object" + }, + "DiagnosticSettingsCategory": { + "properties": { + "categoryType": { + "type": "string", + "description": "The type of the diagnostic settings category. Can be 'Logs' or 'Metrics'." + } + }, + "description": "The diagnostic settings Category." + }, + "DiagnosticSettingsCategoryResource": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/DiagnosticSettingsCategory" + } + }, + "description": "Description of diagnostic setting category." + }, + "DiagnosticSettingsCategoryResourceCollection": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/DiagnosticSettingsCategoryResource" + }, + "description": "The collection of diagnostic settings category resources." + } + }, + "description": "Represents a collection of diagnostic setting category resources." + }, + "ErrorResponse": { + "description": "Describes the format of Error response.", + "type": "object", + "properties": { + "code": { + "description": "Error code", + "type": "string" + }, + "message": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + } + } + }, + "parameters": { + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." + }, + "ResourceUriParameter": { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "description": "The identifier of the resource.", + "x-ms-parameter-location": "method" + }, + "NameParameter": { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the diagnostic setting.", + "x-ms-parameter-location": "method" + } + } +} \ No newline at end of file diff --git a/specification/monitor/resource-manager/microsoft.insights/2017-05-01-preview/diagnosticsSettings_API.json b/specification/monitor/resource-manager/microsoft.insights/2017-05-01-preview/diagnosticsSettings_API.json new file mode 100644 index 000000000000..da506aa65d1a --- /dev/null +++ b/specification/monitor/resource-manager/microsoft.insights/2017-05-01-preview/diagnosticsSettings_API.json @@ -0,0 +1,499 @@ +{ + "swagger": "2.0", + "info": { + "title": "MonitorManagementClient", + "version": "2017-05-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/{resourceUri}/providers/microsoft.insights/diagnosticSettings/{name}": { + "get": { + "tags": [ + "DiagnosticSettings" + ], + "operationId": "DiagnosticSettings_Get", + "description": "Gets the active diagnostic settings for the specified resource.", + "parameters": [ + { + "$ref": "#/parameters/ResourceUriParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/NameParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Successful request to get more information about diagnostic setting", + "schema": { + "$ref": "#/definitions/DiagnosticSettingsResource" + }, + "examples": { + "application/json": { + "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/mysetting", + "type":"microsoft.logic/workflows", + "name":"mysetting", + "location":"eastus", + "tags":null, + "properties": { + "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", + "eventHubAuthorizationRuleId":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey", + "workspaceId":"", + "metrics": [ + { + "category":"WorkflowMetrics", + "enabled":true, + "retentionPolicy": { + "enabled":false, + "days":0 + } + } + ], + "logs": [ + { + "category":"WorkflowRuntime", + "enabled":true, + "retentionPolicy": { + "enabled":false, + "days":0 + } + } + ] + } + } + } + } + }, + "x-ms-examples": { + "Gets the diagnostic setting": { + "$ref": "./examples/getDiagnosticSetting.json" + } + } + }, + "put": { + "tags": [ + "DiagnosticSettings" + ], + "operationId": "DiagnosticSettings_CreateOrUpdate", + "description": "Creates or updates diagnostic settings for the specified resource.", + "parameters": [ + { + "$ref": "#/parameters/ResourceUriParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DiagnosticSettingsResource" + }, + "description": "Parameters supplied to the operation." + }, + { + "$ref": "#/parameters/NameParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Successful request to create a diagnostic setting", + "schema": { + "$ref": "#/definitions/DiagnosticSettingsResource" + }, + "examples": { + "application/json": { + "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/mysetting", + "type":"microsoft.logic/workflows", + "name":"mysetting", + "location":"eastus", + "tags":null, + "properties": { + "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", + "eventHubAuthorizationRuleId":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey", + "workspaceId":"", + "metrics": [ + { + "category":"WorkflowMetrics", + "enabled":true, + "retentionPolicy": { + "enabled":false, + "days":0 + } + } + ], + "logs": [ + { + "category":"WorkflowRuntime", + "enabled":true, + "retentionPolicy": { + "enabled":false, + "days":0 + } + } + ] + } + } + } + } + }, + "x-ms-examples": { + "Creates or Updates the diagnostic setting": { + "$ref": "./examples/createOrUpdateDiagnosticSetting.json" + } + } + }, + "delete": { + "tags": [ + "DiagnosticSettings" + ], + "operationId": "DiagnosticSettings_Delete", + "description": "Deletes existing diagnostic settings for the specified resource.", + "parameters": [ + { + "$ref": "#/parameters/ResourceUriParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/NameParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Successful request to remove a diagnostic setting" + }, + "204": { + "description": "Successful request to remove a diagnostic setting" + } + }, + "x-ms-examples": { + "Deletes the diagnostic setting": { + "$ref": "./examples/deleteDiagnosticSetting.json" + } + } + } + }, + "/{resourceUri}/providers/microsoft.insights/diagnosticSettings": { + "get": { + "tags": [ + "DiagnosticSettings" + ], + "operationId": "DiagnosticSettings_List", + "description": "Gets the active diagnostic settings list for the specified resource.", + "parameters": [ + { + "$ref": "#/parameters/ResourceUriParameter" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + }, + "200": { + "description": "Successful request to get more information about diagnostic setting", + "schema": { + "$ref": "#/definitions/DiagnosticSettingsResourceCollection" + }, + "examples": { + "application/json": { + "value": [ + { + "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/mysetting", + "type":"microsoft.logic/workflows", + "name":"mysetting", + "location":"eastus", + "tags":null, + "properties": { + "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", + "eventHubAuthorizationRuleId":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey", + "workspaceId":"", + "metrics": [ + { + "category":"WorkflowMetrics", + "enabled":true, + "retentionPolicy": { + "enabled":false, + "days":0 + } + } + ], + "logs": [ + { + "category":"WorkflowRuntime", + "enabled":true, + "retentionPolicy": { + "enabled":false, + "days":0 + } + } + ] + } + } + ] + } + } + } + }, + "x-ms-examples": { + "Gets the diagnostic setting": { + "$ref": "./examples/listDiagnosticSettings.json" + } + } + } + } + }, + "definitions": { + "Resource": { + "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Azure resource Id" + }, + "name": { + "type": "string", + "readOnly": true, + "description": "Azure resource name" + }, + "type": { + "type": "string", + "readOnly": true, + "description": "Azure resource type" + }, + "location": { + "type": "string", + "description": "Resource location", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "tags": { + "additionalProperties": { + "type": "string" + }, + "description": "Resource tags" + } + }, + "required": [ + "location" + ], + "x-ms-azure-resource": true, + "description": "An azure resource object" + }, + "RetentionPolicy": { + "properties": { + "enabled": { + "type": "boolean", + "description": "a value indicating whether the retention policy is enabled." + }, + "days": { + "type": "integer", + "format": "int32", + "minimum": 0, + "description": "the number of days for the retention in days. A value of 0 will retain the events indefinitely." + } + }, + "required": [ "enabled", "days" ], + "description": "Specifies the retention policy for the log." + }, + "MetricSettings": { + "properties": { + "timeGrain": { + "type": "string", + "format": "duration", + "description": "the timegrain of the metric in ISO8601 format." + }, + "category": { + "type": "string", + "description": "Name of a Diagnostic Metric category for a resource type this setting is applied to. To obtain the list of Diagnostic metric categories for a resource, first perform a GET diagnostic settings operation." + }, + "enabled": { + "type": "boolean", + "description": "a value indicating whether this category is enabled." + }, + "retentionPolicy": { + "$ref": "#/definitions/RetentionPolicy", + "description": "the retention policy for this category." + } + }, + "required": [ "enabled" ], + "description": "Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular metric." + }, + "LogSettings": { + "properties": { + "category": { + "type": "string", + "description": "Name of a Diagnostic Log category for a resource type this setting is applied to. To obtain the list of Diagnostic Log categories for a resource, first perform a GET diagnostic settings operation." + }, + "enabled": { + "type": "boolean", + "description": "a value indicating whether this log is enabled." + }, + "retentionPolicy": { + "$ref": "#/definitions/RetentionPolicy", + "description": "the retention policy for this log." + } + }, + "required": [ "enabled" ], + "description": "Part of MultiTenantDiagnosticSettings. Specifies the settings for a particular log." + }, + "DiagnosticSettings": { + "properties": { + "storageAccountId": { + "type": "string", + "description": "The resource ID of the storage account to which you would like to send Diagnostic Logs." + }, + "eventHubAuthorizationRuleId": { + "type": "string", + "description": "The resource Id for the event hub authorization rule." + }, + "eventHubName": { + "type": "string", + "description": "The name of the event hub. If none is specified, the default event hub will be selected." + }, + "metrics": { + "type": "array", + "items": { + "$ref": "#/definitions/MetricSettings" + }, + "description": "the list of metric settings." + }, + "logs": { + "type": "array", + "items": { + "$ref": "#/definitions/LogSettings" + }, + "description": "the list of logs settings." + }, + "workspaceId": { + "type": "string", + "description": "The workspace ID (resource ID of a Log Analytics workspace) for a Log Analytics workspace to which you would like to send Diagnostic Logs. Example: /subscriptions/4b9e8510-67ab-4e9a-95a9-e2f1e570ea9c/resourceGroups/insights-integration/providers/Microsoft.OperationalInsights/workspaces/viruela2" + } + }, + "description": "The diagnostic settings." + }, + "DiagnosticSettingsResource": { + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/DiagnosticSettings" + } + }, + "description": "Description of diagnostic setting resource." + }, + "DiagnosticSettingsResourceCollection": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/DiagnosticSettingsResource" + }, + "description": "The collection of diagnostic settings resources;." + } + }, + "description": "Represents a collection of alert rule resources." + }, + "ErrorResponse": { + "description": "Describes the format of Error response.", + "type": "object", + "properties": { + "code": { + "description": "Error code", + "type": "string" + }, + "message": { + "description": "Error message indicating why the operation failed.", + "type": "string" + } + } + } + }, + "parameters": { + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." + }, + "ResourceUriParameter": { + "name": "resourceUri", + "in": "path", + "required": true, + "type": "string", + "description": "The identifier of the resource.", + "x-ms-parameter-location": "method" + }, + "NameParameter": { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the diagnostic setting.", + "x-ms-parameter-location": "method" + } + } +} \ No newline at end of file diff --git a/specification/monitor/resource-manager/microsoft.insights/2017-05-01-preview/examples/createOrUpdateDiagnosticSetting.json b/specification/monitor/resource-manager/microsoft.insights/2017-05-01-preview/examples/createOrUpdateDiagnosticSetting.json new file mode 100644 index 000000000000..9d197db3ff62 --- /dev/null +++ b/specification/monitor/resource-manager/microsoft.insights/2017-05-01-preview/examples/createOrUpdateDiagnosticSetting.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "resourceUri": "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6", + "api-version": "2017-05-01-preview", + "parameters": { + "location":"", + "properties": { + "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", + "workspaceId":"", + "eventHubAuthorizationRuleId":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule", + "eventHubName": "myeventhub", + "metrics": [ + { + "category":"WorkflowMetrics", + "enabled":true, + "retentionPolicy": { + "enabled":false, + "days":0 + } + } + ], + "logs": [ + { + "category":"WorkflowRuntime", + "enabled":true, + "retentionPolicy": { + "enabled":false, + "days":0 + } + } + ] + } + } + }, + "responses": { + "200": { + "headers": { }, + "body": { + "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service", + "type":"", + "name":"mysetting", + "location":"", + "tags":null, + "properties": { + "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", + "workspaceId":"", + "eventHubAuthorizationRuleId":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule", + "eventHubName": "myeventhub", + "metrics": [ + { + "category":"WorkflowMetrics", + "enabled":true, + "retentionPolicy": { + "enabled":false, + "days":0 + } + } + ], + "logs": [ + { + "category":"WorkflowRuntime", + "enabled":true, + "retentionPolicy": { + "enabled":false, + "days":0 + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/monitor/resource-manager/microsoft.insights/2017-05-01-preview/examples/deleteDiagnosticSetting.json b/specification/monitor/resource-manager/microsoft.insights/2017-05-01-preview/examples/deleteDiagnosticSetting.json new file mode 100644 index 000000000000..cfac0670258c --- /dev/null +++ b/specification/monitor/resource-manager/microsoft.insights/2017-05-01-preview/examples/deleteDiagnosticSetting.json @@ -0,0 +1,17 @@ +{ + "parameters" : { + "resourceUri" : "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6", + "name": "mysetting", + "api-version" : "2017-05-01-preview" + }, + "responses": { + "200": { + "headers": {}, + "body": null + }, + "204": { + "headers": {}, + "body": null + } + } +} \ No newline at end of file diff --git a/specification/monitor/resource-manager/microsoft.insights/2017-05-01-preview/examples/getDiagnosticSetting.json b/specification/monitor/resource-manager/microsoft.insights/2017-05-01-preview/examples/getDiagnosticSetting.json new file mode 100644 index 000000000000..5d6a55b8a125 --- /dev/null +++ b/specification/monitor/resource-manager/microsoft.insights/2017-05-01-preview/examples/getDiagnosticSetting.json @@ -0,0 +1,43 @@ +{ + "parameters" : { + "resourceUri" : "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6", + "name": "mysetting", + "api-version" : "2017-05-01-preview" + }, + "responses" : { + "200" : { + "headers" : {}, + "body" : { + "id" : "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/service", + "type" : "", + "name" : "mysetting", + "location" : "", + "tags" : null, + "properties" : { + "storageAccountId" : "/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", + "serviceBusRuleId" : "/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey", + "workspaceId" : "", + "eventHubAuthorizationRuleId" : "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourceGroups/montest/providers/microsoft.eventhub/namespaces/mynamespace/eventhubs/myeventhub/authorizationrules/myrule", + "metrics" : [{ + "category" : "WorkflowMetrics", + "enabled" : true, + "retentionPolicy" : { + "enabled" : false, + "days" : 0 + } + } + ], + "logs" : [{ + "category" : "WorkflowRuntime", + "enabled" : true, + "retentionPolicy" : { + "enabled" : false, + "days" : 0 + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/monitor/resource-manager/microsoft.insights/2017-05-01-preview/examples/getDiagnosticSettingsCategory.json b/specification/monitor/resource-manager/microsoft.insights/2017-05-01-preview/examples/getDiagnosticSettingsCategory.json new file mode 100644 index 000000000000..26aeb64f748a --- /dev/null +++ b/specification/monitor/resource-manager/microsoft.insights/2017-05-01-preview/examples/getDiagnosticSettingsCategory.json @@ -0,0 +1,22 @@ +{ + "parameters" : { + "resourceUri" : "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6", + "name": "WorkflowRuntime", + "api-version" : "2017-05-01-preview" + }, + "responses" : { + "200" : { + "headers" : {}, + "body" : { + "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/providers/microsoft.insights/diagnosticSettingsCategories/WorkflowRuntime", + "type":"microsoft.insights/diagnosticSettingsCategories", + "name":"WorkflowRuntime", + "location":"eastus", + "tags":null, + "properties": { + "categoryType":"Logs" + } + } + } + } +} \ No newline at end of file diff --git a/specification/monitor/resource-manager/microsoft.insights/2017-05-01-preview/examples/listDiagnosticSettings.json b/specification/monitor/resource-manager/microsoft.insights/2017-05-01-preview/examples/listDiagnosticSettings.json new file mode 100644 index 000000000000..eebe40062579 --- /dev/null +++ b/specification/monitor/resource-manager/microsoft.insights/2017-05-01-preview/examples/listDiagnosticSettings.json @@ -0,0 +1,47 @@ +{ + "parameters" : { + "resourceUri" : "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6", + "api-version" : "2017-05-01-preview" + }, + "responses" : { + "200" : { + "headers" : {}, + "body" : { + "value": [ + { + "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/diagnosticSettings/mysetting", + "type":"microsoft.logic/workflows", + "name":"mysetting", + "location":"eastus", + "tags":null, + "properties": { + "storageAccountId":"/subscriptions/df602c9c-7aa0-407d-a6fb-eb20c8bd1192/resourceGroups/apptest/providers/Microsoft.Storage/storageAccounts/appteststorage1", + "eventHubAuthorizationRuleId":"/subscriptions/b67f7fec-69fc-4974-9099-a26bd6ffeda3/resourceGroups/andy1101/providers/Microsoft.EventHub/namespaces/andy1101/authorizationrules/RootManageSharedAccessKey", + "workspaceId":"", + "metrics": [ + { + "category":"WorkflowMetrics", + "enabled":true, + "retentionPolicy": { + "enabled":false, + "days":0 + } + } + ], + "logs": [ + { + "category":"WorkflowRuntime", + "enabled":true, + "retentionPolicy": { + "enabled":false, + "days":0 + } + } + ] + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/monitor/resource-manager/microsoft.insights/2017-05-01-preview/examples/listDiagnosticSettingsCategories.json b/specification/monitor/resource-manager/microsoft.insights/2017-05-01-preview/examples/listDiagnosticSettingsCategories.json new file mode 100644 index 000000000000..5b5545066b43 --- /dev/null +++ b/specification/monitor/resource-manager/microsoft.insights/2017-05-01-preview/examples/listDiagnosticSettingsCategories.json @@ -0,0 +1,35 @@ +{ + "parameters" : { + "resourceUri" : "/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6", + "api-version" : "2017-05-01-preview" + }, + "responses" : { + "200" : { + "headers" : {}, + "body" : { + "value": [ + { + "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/providers/microsoft.insights/diagnosticSettingsCategories/WorkflowRuntime", + "type":"microsoft.insights/diagnosticSettingsCategories", + "name":"WorkflowRuntime", + "location":"eastus", + "tags":null, + "properties": { + "categoryType":"Logs" + } + }, + { + "id":"/subscriptions/1a66ce04-b633-4a0b-b2bc-a912ec8986a6/resourcegroups/viruela1/providers/microsoft.logic/workflows/viruela6/providers/microsoft.insights/diagnosticSettingsCategories/WorkflowMetric", + "type":"microsoft.insights/diagnosticSettingsCategories", + "name":"WorkflowMetric", + "location":"eastus", + "tags":null, + "properties": { + "categoryType":"Metrics" + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/monitor/resource-manager/readme.md b/specification/monitor/resource-manager/readme.md index 97bc18aba2bd..fa4789d0ce88 100644 --- a/specification/monitor/resource-manager/readme.md +++ b/specification/monitor/resource-manager/readme.md @@ -28,21 +28,22 @@ These are the global settings for the MonitorClient API. title: MonitorClient description: Monitor Management Client openapi-type: arm -tag: package-2017-03 +tag: package-2017-08 ``` ### Tag: package-2017-03 -These settings apply only when `--tag=package-2017-03` is specified on the command line. +These settings apply only when `--tag=package-2017-08` is specified on the command line. -``` yaml $(tag) == 'package-2017-03' +``` yaml $(tag) == 'package-2017-08' input-file: - microsoft.insights/2015-04-01/autoscale_API.json - microsoft.insights/2016-03-01/alertRulesIncidents_API.json - microsoft.insights/2016-03-01/alertRules_API.json - microsoft.insights/2016-03-01/logProfiles_API.json -- microsoft.insights/2016-09-01/serviceDiagnosticsSettings_API.json +- microsoft.insights/2017-05-01-preview/diagnosticsSettings_API.json +- microsoft.insights/2017-05-01-preview/diagnosticsSettingsCategories_API.json - microsoft.insights/2017-04-01/actionGroups_API.json - microsoft.insights/2017-04-01/activityLogAlerts_API.json ``` diff --git a/specification/network/resource-manager/Microsoft.Network/2017-08-01/checkDnsAvailability.json b/specification/network/resource-manager/Microsoft.Network/2017-08-01/checkDnsAvailability.json index bdcd9d82fd37..074c068a9922 100644 --- a/specification/network/resource-manager/Microsoft.Network/2017-08-01/checkDnsAvailability.json +++ b/specification/network/resource-manager/Microsoft.Network/2017-08-01/checkDnsAvailability.json @@ -39,7 +39,7 @@ "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability": { "get": { "operationId": "CheckDnsNameAvailability", - "description": "Checks whether a domain name in the cloudapp.net zone is available for use.", + "description": "Checks whether a domain name in the cloudapp.azure.com zone is available for use.", "parameters": [ { "name": "location", @@ -51,7 +51,7 @@ { "name": "domainNameLabel", "in": "query", - "required": false, + "required": true, "type": "string", "description": "The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$." }, diff --git a/specification/network/resource-manager/Microsoft.Network/2017-08-01/examples/UsageList.json b/specification/network/resource-manager/Microsoft.Network/2017-08-01/examples/UsageList.json index 2715b43ce2c1..9475256221df 100644 --- a/specification/network/resource-manager/Microsoft.Network/2017-08-01/examples/UsageList.json +++ b/specification/network/resource-manager/Microsoft.Network/2017-08-01/examples/UsageList.json @@ -9,103 +9,254 @@ "body": { "value": [ { - "unit": "Count", - "currentValue": 47, - "limit": 100, + "currentValue": 8.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/VirtualNetworks", + "limit": 50.0, "name": { - "value": "VirtualNetworks", - "localizedValue": "Virtual Networks" - } + "localizedValue": "Virtual Networks", + "value": "VirtualNetworks" + }, + "unit": "Count" }, { - "unit": "Count", - "currentValue": 2, - "limit": 20, + "currentValue": 3.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/StaticPublicIPAddresses", + "limit": 20.0, "name": { - "value": "StaticPublicIPAddresses", - "localizedValue": "Static Public IP Addresses" - } + "localizedValue": "Static Public IP Addresses", + "value": "StaticPublicIPAddresses" + }, + "unit": "Count" }, { - "unit": "Count", - "currentValue": 19, - "limit": 100, + "currentValue": 1.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/NetworkSecurityGroups", + "limit": 100.0, "name": { - "value": "NetworkSecurityGroups", - "localizedValue": "Network Security Groups" - } + "localizedValue": "Network Security Groups", + "value": "NetworkSecurityGroups" + }, + "unit": "Count" }, { - "unit": "Count", - "currentValue": 43, - "limit": 60, + "currentValue": 8.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/PublicIPAddresses", + "limit": 60.0, "name": { - "value": "PublicIPAddresses", - "localizedValue": "Public IP Addresses" - } + "localizedValue": "Public IP Addresses", + "value": "PublicIPAddresses" + }, + "unit": "Count" }, { - "unit": "Count", - "currentValue": 33, - "limit": 5000, + "currentValue": 2.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/NetworkInterfaces", + "limit": 350.0, "name": { - "value": "NetworkInterfaces", - "localizedValue": "Network Interfaces" - } + "localizedValue": "Network Interfaces", + "value": "NetworkInterfaces" + }, + "unit": "Count" }, { - "unit": "Count", - "currentValue": 11, - "limit": 100, + "currentValue": 2.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/LoadBalancers", + "limit": 100.0, "name": { - "value": "LoadBalancers", - "localizedValue": "Load Balancers" - } + "localizedValue": "Load Balancers", + "value": "LoadBalancers" + }, + "unit": "Count" }, { - "unit": "Count", - "currentValue": 0, - "limit": 50, + "currentValue": 1.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/ApplicationGateways", + "limit": 50.0, "name": { - "value": "ApplicationGateways", - "localizedValue": "Application Gateways" - } + "localizedValue": "Application Gateways", + "value": "ApplicationGateways" + }, + "unit": "Count" }, { - "unit": "Count", - "currentValue": 3, - "limit": 100, + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/RouteTables", + "limit": 100.0, "name": { - "value": "RouteTables", - "localizedValue": "Route Tables" - } + "localizedValue": "Route Tables", + "value": "RouteTables" + }, + "unit": "Count" }, { - "unit": "Count", - "currentValue": 0, - "limit": 1000, + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/RouteFilters", + "limit": 1000.0, "name": { - "value": "RouteFilters", - "localizedValue": "Route Filters" - } + "localizedValue": "Route Filters", + "value": "RouteFilters" + }, + "unit": "Count" }, { - "unit": "Count", - "currentValue": 0, - "limit": 1, + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/NetworkWatchers", + "limit": 1.0, "name": { - "value": "NetworkWatchers", - "localizedValue": "Network Watchers" - } + "localizedValue": "Network Watchers", + "value": "NetworkWatchers" + }, + "unit": "Count" }, { - "unit": "Count", - "currentValue": 0, - "limit": 10, + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/PacketCaptures", + "limit": 10.0, "name": { - "value": "PacketCaptures", - "localizedValue": "Packet Captures" - } + "localizedValue": "Packet Captures", + "value": "PacketCaptures" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/DnsServersPerVirtualNetwork", + "limit": 9.0, + "name": { + "localizedValue": "DNS servers per Virtual Network", + "value": "DnsServersPerVirtualNetwork" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/SubnetsPerVirtualNetwork", + "limit": 1000.0, + "name": { + "localizedValue": "Subnets per Virtual Network", + "value": "SubnetsPerVirtualNetwork" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/IPConfigurationsPerVirtualNetwork", + "limit": 4096.0, + "name": { + "localizedValue": "IP Configurations per Virtual Network", + "value": "IPConfigurationsPerVirtualNetwork" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/PeeringsPerVirtualNetwork", + "limit": 10.0, + "name": { + "localizedValue": "Peerings per Virtual Network", + "value": "PeeringsPerVirtualNetwork" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/SecurityRulesPerNetworkSecurityGroup", + "limit": 200.0, + "name": { + "localizedValue": "Security rules per Network Security Group", + "value": "SecurityRulesPerNetworkSecurityGroup" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/SecurityRuleAddressesOrPortsPerNetworkSecurityGroup", + "limit": 2000.0, + "name": { + "localizedValue": "Security rules addresses or ports per Network Security Group", + "value": "SecurityRuleAddressesOrPortsPerNetworkSecurityGroup" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/InboundRulesPerLoadBalancer", + "limit": 150.0, + "name": { + "localizedValue": "Inbound Rules per Load Balancer", + "value": "InboundRulesPerLoadBalancer" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/FrontendIPConfigurationPerLoadBalancer", + "limit": 10.0, + "name": { + "localizedValue": "Frontend IP Configurations per Load Balancer", + "value": "FrontendIPConfigurationPerLoadBalancer" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/OutboundNatRulesPerLoadBalancer", + "limit": 5.0, + "name": { + "localizedValue": "Outbound NAT Rules per Load Balancer", + "value": "OutboundNatRulesPerLoadBalancer" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/RoutesPerRouteTable", + "limit": 100.0, + "name": { + "localizedValue": "Routes per Route Table", + "value": "RoutesPerRouteTable" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/SecondaryIPConfigurationsPerNetworkInterface", + "limit": 256.0, + "name": { + "localizedValue": "Secondary IP Configurations per Network Interface", + "value": "SecondaryIPConfigurationsPerNetworkInterface" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/InboundRulesPerNetworkInterface", + "limit": 500.0, + "name": { + "localizedValue": "Inbound rules per Network Interface", + "value": "InboundRulesPerNetworkInterface" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/RouteFilterRulesPerRouteFilter", + "limit": 1.0, + "name": { + "localizedValue": "Route filter rules per Route Filter", + "value": "RouteFilterRulesPerRouteFilter" + }, + "unit": "Count" + }, + { + "currentValue": 0.0, + "id": "/subscriptions/subid/providers/Microsoft.Network/locations/westus/usages/RouteFiltersPerExpressRouteBgpPeering", + "limit": 1.0, + "name": { + "localizedValue": "Route filters per Express route BGP Peering", + "value": "RouteFiltersPerExpressRouteBgpPeering" + }, + "unit": "Count" } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/2017-08-01/networkInterface.json b/specification/network/resource-manager/Microsoft.Network/2017-08-01/networkInterface.json index 1ff392137cbd..b56933f28400 100644 --- a/specification/network/resource-manager/Microsoft.Network/2017-08-01/networkInterface.json +++ b/specification/network/resource-manager/Microsoft.Network/2017-08-01/networkInterface.json @@ -446,7 +446,7 @@ "NetworkInterfaces" ], "operationId": "NetworkInterfaceLoadBalancers_List", - "description": "Get all load balancers in a network interface", + "description": "List all load balancers in a network interface.", "parameters": [ { "name": "resourceGroupName", diff --git a/specification/network/resource-manager/Microsoft.Network/2017-08-01/usage.json b/specification/network/resource-manager/Microsoft.Network/2017-08-01/usage.json index 295b69b1e1b9..391efd0f154a 100644 --- a/specification/network/resource-manager/Microsoft.Network/2017-08-01/usage.json +++ b/specification/network/resource-manager/Microsoft.Network/2017-08-01/usage.json @@ -42,7 +42,7 @@ "Usages" ], "operationId": "Usages_List", - "description": "Lists compute usages for a subscription.", + "description": "List network usages for a subscription.", "parameters": [ { "name": "location", @@ -92,6 +92,11 @@ }, "Usage": { "properties": { + "id": { + "type": "string", + "readOnly": true, + "description": "Resource identifier." + }, "unit": { "type": "string", "description": "An enum describing the unit of measurement.", diff --git a/specification/storage/resource-manager/Microsoft.Storage/2017-06-01/examples/SKUList.json b/specification/storage/resource-manager/Microsoft.Storage/2017-06-01/examples/SKUList.json new file mode 100644 index 000000000000..10660f595c38 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/2017-06-01/examples/SKUList.json @@ -0,0 +1,6454 @@ +{ + "parameters": { + "subscriptionId": "27de630f-e1ee-42de-8849-90def4986454", + "api-version": "2017-06-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "eastus" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_ZRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "eastus" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "eastus" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "eastus" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Premium_LRS", + "tier": "Premium", + "kind": "Storage", + "locations": [ + "eastus" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "eastus" + ], + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "eastus" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "eastus" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "eastus2" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_ZRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "eastus2" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "eastus2" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "eastus2" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Premium_LRS", + "tier": "Premium", + "kind": "Storage", + "locations": [ + "eastus2" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "eastus2" + ], + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "true" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "eastus2" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "eastus2" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "eastus2(stage)" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_ZRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "eastus2(stage)" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "eastus2(stage)" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "eastus2(stage)" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Premium_LRS", + "tier": "Premium", + "kind": "Storage", + "locations": [ + "eastus2(stage)" + ], + "capabilities": [ + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "eastus2(stage)" + ], + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "eastus2(stage)" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "eastus2(stage)" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "westus" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_ZRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "westus" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "westus" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "westus" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Premium_LRS", + "tier": "Premium", + "kind": "Storage", + "locations": [ + "westus" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "westus" + ], + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "westus" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "westus" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "westeurope" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_ZRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "westeurope" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "westeurope" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "westeurope" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Premium_LRS", + "tier": "Premium", + "kind": "Storage", + "locations": [ + "westeurope" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "westeurope" + ], + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "westeurope" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "westeurope" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "eastasia" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_ZRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "eastasia" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "eastasia" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "eastasia" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Premium_LRS", + "tier": "Premium", + "kind": "Storage", + "locations": [ + "eastasia" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "eastasia" + ], + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "eastasia" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "eastasia" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "southeastasia" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_ZRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "southeastasia" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "southeastasia" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "southeastasia" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Premium_LRS", + "tier": "Premium", + "kind": "Storage", + "locations": [ + "southeastasia" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "southeastasia" + ], + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "southeastasia" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "southeastasia" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "japaneast" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_ZRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "japaneast" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "japaneast" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "japaneast" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Premium_LRS", + "tier": "Premium", + "kind": "Storage", + "locations": [ + "japaneast" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "japaneast" + ], + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "japaneast" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "japaneast" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "japanwest" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_ZRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "japanwest" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "japanwest" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "japanwest" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Premium_LRS", + "tier": "Premium", + "kind": "Storage", + "locations": [ + "japanwest" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "japanwest" + ], + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "japanwest" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "japanwest" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "northcentralus" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_ZRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "northcentralus" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "northcentralus" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "northcentralus" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Premium_LRS", + "tier": "Premium", + "kind": "Storage", + "locations": [ + "northcentralus" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "northcentralus" + ], + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "northcentralus" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "northcentralus" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "southcentralus" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_ZRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "southcentralus" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "southcentralus" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "southcentralus" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Premium_LRS", + "tier": "Premium", + "kind": "Storage", + "locations": [ + "southcentralus" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "southcentralus" + ], + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "southcentralus" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "southcentralus" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "centralus" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_ZRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "centralus" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "centralus" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "centralus" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Premium_LRS", + "tier": "Premium", + "kind": "Storage", + "locations": [ + "centralus" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "centralus" + ], + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "centralus" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "centralus" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "northeurope" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_ZRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "northeurope" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "northeurope" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "northeurope" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Premium_LRS", + "tier": "Premium", + "kind": "Storage", + "locations": [ + "northeurope" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "northeurope" + ], + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "northeurope" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "northeurope" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "brazilsouth" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_ZRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "brazilsouth" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "brazilsouth" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "brazilsouth" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Premium_LRS", + "tier": "Premium", + "kind": "Storage", + "locations": [ + "brazilsouth" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "brazilsouth" + ], + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "brazilsouth" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "brazilsouth" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "australiaeast" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_ZRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "australiaeast" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "australiaeast" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "australiaeast" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Premium_LRS", + "tier": "Premium", + "kind": "Storage", + "locations": [ + "australiaeast" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "australiaeast" + ], + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "australiaeast" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "australiaeast" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "australiasoutheast" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_ZRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "australiasoutheast" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "australiasoutheast" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "australiasoutheast" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Premium_LRS", + "tier": "Premium", + "kind": "Storage", + "locations": [ + "australiasoutheast" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "australiasoutheast" + ], + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "australiasoutheast" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "australiasoutheast" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "southindia" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_ZRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "southindia" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "southindia" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "southindia" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Premium_LRS", + "tier": "Premium", + "kind": "Storage", + "locations": [ + "southindia" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "southindia" + ], + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "southindia" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "southindia" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "centralindia" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_ZRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "centralindia" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "centralindia" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "centralindia" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Premium_LRS", + "tier": "Premium", + "kind": "Storage", + "locations": [ + "centralindia" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "centralindia" + ], + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "centralindia" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "centralindia" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "westindia" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_ZRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "westindia" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "westindia" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "westindia" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Premium_LRS", + "tier": "Premium", + "kind": "Storage", + "locations": [ + "westindia" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "westindia" + ], + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "westindia" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "westindia" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "canadaeast" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_ZRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "canadaeast" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "canadaeast" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "canadaeast" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Premium_LRS", + "tier": "Premium", + "kind": "Storage", + "locations": [ + "canadaeast" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "canadaeast" + ], + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "canadaeast" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "canadaeast" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "canadacentral" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_ZRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "canadacentral" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "canadacentral" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "canadacentral" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Premium_LRS", + "tier": "Premium", + "kind": "Storage", + "locations": [ + "canadacentral" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "canadacentral" + ], + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "canadacentral" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "canadacentral" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "westus2" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_ZRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "westus2" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "westus2" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "westus2" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Premium_LRS", + "tier": "Premium", + "kind": "Storage", + "locations": [ + "westus2" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "westus2" + ], + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "westus2" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "westus2" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "westcentralus" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_ZRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "westcentralus" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "westcentralus" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "westcentralus" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Premium_LRS", + "tier": "Premium", + "kind": "Storage", + "locations": [ + "westcentralus" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "westcentralus" + ], + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "westcentralus" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "westcentralus" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "true" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "uksouth" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_ZRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "uksouth" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "uksouth" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "uksouth" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Premium_LRS", + "tier": "Premium", + "kind": "Storage", + "locations": [ + "uksouth" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "uksouth" + ], + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "uksouth" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "uksouth" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "ukwest" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_ZRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "ukwest" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "ukwest" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "ukwest" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Premium_LRS", + "tier": "Premium", + "kind": "Storage", + "locations": [ + "ukwest" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "ukwest" + ], + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "ukwest" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "ukwest" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "koreacentral" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_ZRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "koreacentral" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "koreacentral" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "koreacentral" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Premium_LRS", + "tier": "Premium", + "kind": "Storage", + "locations": [ + "koreacentral" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "koreacentral" + ], + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "koreacentral" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "koreacentral" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "koreasouth" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_ZRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "koreasouth" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "koreasouth" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "koreasouth" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Premium_LRS", + "tier": "Premium", + "kind": "Storage", + "locations": [ + "koreasouth" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "koreasouth" + ], + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "koreasouth" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "koreasouth" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "uknorth" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_ZRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "uknorth" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "uknorth" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "uknorth" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Premium_LRS", + "tier": "Premium", + "kind": "Storage", + "locations": [ + "uknorth" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "uknorth" + ], + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "uknorth" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "uknorth" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "uksouth2" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_ZRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "uksouth2" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "uksouth2" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "uksouth2" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Premium_LRS", + "tier": "Premium", + "kind": "Storage", + "locations": [ + "uksouth2" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "uksouth2" + ], + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "uksouth2" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "uksouth2" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "false" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "eastus2euap" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_ZRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "eastus2euap" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "eastus2euap" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "eastus2euap" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Premium_LRS", + "tier": "Premium", + "kind": "Storage", + "locations": [ + "eastus2euap" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "eastus2euap" + ], + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "eastus2euap" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "eastus2euap" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "centraluseuap" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_ZRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "centraluseuap" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "centraluseuap" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "Storage", + "locations": [ + "centraluseuap" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "true" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Premium_LRS", + "tier": "Premium", + "kind": "Storage", + "locations": [ + "centraluseuap" + ], + "capabilities": [ + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_LRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "centraluseuap" + ], + "capabilities": [ + { + "name": "supportsarchivepreview", + "value": "false" + }, + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_GRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "centraluseuap" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "true" + } + ], + "restrictions": [] + }, + { + "resourceType": "storageAccounts", + "name": "Standard_RAGRS", + "tier": "Standard", + "kind": "BlobStorage", + "locations": [ + "centraluseuap" + ], + "capabilities": [ + { + "name": "supportschangenotification", + "value": "true" + }, + { + "name": "supportsfileencryption", + "value": "false" + }, + { + "name": "supportshoeboxcapacitymetrics", + "value": "false" + }, + { + "name": "supportsnetworkacls", + "value": "false" + } + ], + "restrictions": [] + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/2017-06-01/storage.json b/specification/storage/resource-manager/Microsoft.Storage/2017-06-01/storage.json index 9798fd2c21ee..3e6ce767811f 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/2017-06-01/storage.json +++ b/specification/storage/resource-manager/Microsoft.Storage/2017-06-01/storage.json @@ -48,6 +48,37 @@ } } }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/skus": { + "get": { + "tags": [ + "SKU" + ], + "operationId": "SKUs_List", + "description": "Lists the available SKUs supported by Microsoft.Storage for given subscription.", + "x-ms-examples": { + "SKUList": { "$ref": "./examples/SKUList.json" } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "OK -- List of storage SKUs in the given subscription retrieved and returned successfully.", + "schema": { + "$ref": "#/definitions/StorageSkuListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability": { "post": { "tags": [ @@ -700,6 +731,64 @@ ], "description": "The parameters used to check the availabity of the storage account name." }, + "SKUCapability": { + "properties": { + "name": { + "readOnly": true, + "type": "string", + "description": "The name of capability, The capability information in the specified sku, including file encryption, network acls, change notification, etc." + }, + "value": { + "readOnly": true, + "type": "string", + "description": "A string value to indicate states of given capability. Possibly 'true' or 'false'." + } + }, + "description": "The capability information in the specified sku, including file encryption, network acls, change notification, etc." + }, + "Restriction": { + "properties": { + "type": { + "readOnly": true, + "type": "string", + "description": "The type of restrictions. As of now only possible value for this is location." + }, + "values": { + "readOnly": true, + "type": "array", + "items": { + "type": "string" + }, + "description": "The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted." + }, + "reasonCode": { + "type": "string", + "enum": [ + "QuotaId", + "NotAvailableForSubscription" + ], + "x-ms-enum": { + "name": "ReasonCode", + "modelAsString": true + }, + "description": "The reason for the restriction. As of now this can be “QuotaId” or “NotAvailableForSubscription”. Quota Id is set when the SKU has requiredQuotas parameter as the subscription does not belong to that quota. The “NotAvailableForSubscription” is related to capacity at DC." + } + }, + "description": "The restriction because of which SKU cannot be used." + }, + "StorageSkuListResult": { + "properties": { + "value": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/Sku" + }, + "description": "Get the list result of storage SKUs and their properties." + } + }, + "description": "The response from the List Storage SKUs operation." + }, "CheckNameAvailabilityResult": { "properties": { "nameAvailable": { @@ -757,6 +846,47 @@ "name": "SkuTier", "modelAsString": false } + }, + "resourceType":{ + "readOnly": true, + "type": "string", + "description": "The type of the resource, usually it is 'storageAccounts'." + }, + "kind": { + "readOnly": true, + "type": "string", + "description": "Indicates the type of storage account.", + "enum": [ + "Storage", + "BlobStorage" + ], + "x-ms-enum": { + "name": "Kind", + "modelAsString": false + } + }, + "locations": { + "readOnly": true, + "type": "array", + "items": { + "type": "string" + }, + "description": "The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.)." + }, + "capabilities": { + "readOnly": true, + "type": "array", + "items": { + "$ref": "#/definitions/SKUCapability" + }, + "description": "The capability information in the specified sku, including file encryption, network acls, change notification, etc." + }, + "restrictions": { + "type": "array", + "items": { + "$ref": "#/definitions/Restriction" + }, + "description": "The restrictions because of which SKU cannot be used. This is empty if there are no restrictions." } }, "required": [ @@ -871,7 +1001,7 @@ "id": { "type": "string", "x-ms-client-name": "VirtualNetworkResourceId", - "description": "A URL of vnet, subnet, classicVnet or classicSubnet." + "description": "Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}." }, "action": { "type": "string", diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Endpoint-DELETE-External.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Endpoint-DELETE-External.json new file mode 100644 index 000000000000..2ce262b39e63 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Endpoint-DELETE-External.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "subscriptionId": "e68d4145-c9ae-4667-925d-c51c8d88ad73", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", + "profileName": "azsmnet6386", + "endpointType": "ExternalEndpoints", + "endpointName": "azsmnet7187", + "api-version": "2017-09-01-preview" + }, + "responses": { + "200": { + "body": "" + }, + "204": { + "body": "" + } + } +} \ No newline at end of file diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Endpoint-GET-External-WithGeoMapping.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Endpoint-GET-External-WithGeoMapping.json new file mode 100644 index 000000000000..a8ee2e1ee0fa --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Endpoint-GET-External-WithGeoMapping.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "subscriptionId": "e68d4145-c9ae-4667-925d-c51c8d88ad73", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager2191", + "profileName": "azuresdkfornetautoresttrafficmanager8224", + "endpointType": "ExternalEndpoints", + "endpointName": "My%20external%20endpoint", + "api-version": "2017-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/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" + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Endpoint-GET-External-WithLocation.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Endpoint-GET-External-WithLocation.json new file mode 100644 index 000000000000..21c3c26efd2d --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Endpoint-GET-External-WithLocation.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "subscriptionId": "e68d4145-c9ae-4667-925d-c51c8d88ad73", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", + "profileName": "azsmnet6386", + "endpointType": "ExternalEndpoints", + "endpointName": "azsmnet7187", + "api-version": "2017-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/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" + } + } + } + } +} \ No newline at end of file diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Endpoint-PATCH-External-Target.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Endpoint-PATCH-External-Target.json new file mode 100644 index 000000000000..02db49afee41 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Endpoint-PATCH-External-Target.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "subscriptionId": "e68d4145-c9ae-4667-925d-c51c8d88ad73", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", + "profileName": "azsmnet6386", + "endpointType": "ExternalEndpoints", + "endpointName": "azsmnet7187", + "api-version": "2017-09-01-preview", + "parameters": { + "id": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/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/e68d4145-c9ae-4667-925d-c51c8d88ad73/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" + } + } + } + } +} \ No newline at end of file diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Endpoint-PUT-External-WithGeoMapping.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Endpoint-PUT-External-WithGeoMapping.json new file mode 100644 index 000000000000..68155974afae --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Endpoint-PUT-External-WithGeoMapping.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "subscriptionId": "e68d4145-c9ae-4667-925d-c51c8d88ad73", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager2191", + "profileName": "azuresdkfornetautoresttrafficmanager8224", + "endpointType": "ExternalEndpoints", + "endpointName": "My%20external%20endpoint", + "api-version": "2017-09-01-preview", + "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/e68d4145-c9ae-4667-925d-c51c8d88ad73/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/e68d4145-c9ae-4667-925d-c51c8d88ad73/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" + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Endpoint-PUT-External-WithLocation.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Endpoint-PUT-External-WithLocation.json new file mode 100644 index 000000000000..feeca7f44d9e --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Endpoint-PUT-External-WithLocation.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "subscriptionId": "e68d4145-c9ae-4667-925d-c51c8d88ad73", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", + "profileName": "azsmnet6386", + "endpointType": "ExternalEndpoints", + "endpointName": "azsmnet7187", + "api-version": "2017-09-01-preview", + "parameters": { + "name": "azsmnet7187", + "type": "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", + "properties": { + "target": "foobar.contoso.com", + "endpointStatus": "Enabled", + "endpointLocation": "North Europe" + } + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/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/e68d4145-c9ae-4667-925d-c51c8d88ad73/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" + } + } + } + } +} \ No newline at end of file diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/GeographicHierarchy-GET-default.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/GeographicHierarchy-GET-default.json new file mode 100644 index 000000000000..34da7894281a --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/GeographicHierarchy-GET-default.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2017-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/providers/Microsoft.Network/trafficManagerGeographicHierarchies/default", + "name": "default", + "type": "Microsoft.Network/trafficManagerGeographicHierarchies", + "properties": { + "geographicHierarchy": { + "code": "WORLD", + "name": "World", + "regions": [ + { + "code": "GEO-ME", + "name": "Middle East", + "regions": [ + { + "code": "AE", + "name": "United Arab Emirates", + "regions": [] + } + ] + }, + { + "code": "GEO-AP", + "name": "Australia / Pacific", + "regions": [ + { + "code": "AU", + "name": "Australia", + "regions": [ + { + "code": "AU-ACT", + "name": "Australian Capital Territory", + "regions": [] + }, + { + "code": "AU-NSW", + "name": "New South Wales", + "regions": [] + } + ] + }, + { + "code": "CK", + "name": "Cook Islands", + "regions": [] + } + ] + } + ] + } + } + } + } + } +} \ No newline at end of file diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/HeatMap-GET-With-TopLeft-BotRight.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/HeatMap-GET-With-TopLeft-BotRight.json new file mode 100644 index 000000000000..104e577dfc9d --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/HeatMap-GET-With-TopLeft-BotRight.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "subscriptionId": "e68d4145-c9ae-4667-925d-c51c8d88ad73", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1323", + "profileName": "azuresdkfornetautoresttrafficmanager3880", + "heatMapType": "default", + "topLeft": [10.000,50.001], + "botRight": [-50.001,80.000], + "api-version": "2017-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/heatMaps/latencyVolumeByLocation", + "name": "default", + "type": "Microsoft.Network/trafficManagerProfiles/heatMaps/latencyVolumeByLocation", + "properties": { + "startTime": "2017-08-15T12:00:00Z", + "endTime": "2017-08-22T12:50:00Z", + "endpoints": [ + { + "endpointId": 1, + "resourceId": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/azuresdkfornetautoresttrafficmanager3880" + }, + { + "endpointId": 2, + "resourceId": "/subscriptions/562d4115-c01e-4m67-9bbd-c11c2d58ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1300/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3885/externalEndpoints/azuresdkfornetautoresttrafficmanager3881" + } + ], + "trafficFlows": [ + { + "latitude": 9.99, + "longitude": 75.01, + "sourceIp": "1.1.1.1", + "queryExperiences": [ + { + "endpointId": 1, + "latency": 99.222, + "queryCount": 1000000 + }, + { + "endpointId": 2, + "latency": 1.222, + "queryCount": 1 + } + ] + }, + { + "latitude": -49.99, + "longitude": 51.00, + "sourceIp": "2.255.1.1", + "queryExperiences": [ + { + "endpointId": 1, + "latency": 96.222, + "queryCount": 100 + }, + { + "endpointId": 2, + "latency": 4.222, + "queryCount": 500 + } + ] + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/HeatMap-GET.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/HeatMap-GET.json new file mode 100644 index 000000000000..43ef96d21449 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/HeatMap-GET.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "subscriptionId": "e68d4145-c9ae-4667-925d-c51c8d88ad73", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1323", + "profileName": "azuresdkfornetautoresttrafficmanager3880", + "heatMapType": "default", + "api-version": "2017-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/heatMaps/latencyVolumeByLocation", + "name": "default", + "type": "Microsoft.Network/trafficManagerProfiles/heatMaps/latencyVolumeByLocation", + "properties": { + "startTime": "2017-08-15T12:00:00Z", + "endTime": "2017-08-22T12:50:00Z", + "endpoints": [ + { + "endpointId": 1, + "resourceId": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/externalEndpoints/azuresdkfornetautoresttrafficmanager3880" + }, + { + "endpointId": 2, + "resourceId": "/subscriptions/562d4115-c01e-4m67-9bbd-c11c2d58ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1300/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3885/externalEndpoints/azuresdkfornetautoresttrafficmanager3881" + } + ], + "trafficFlows": [ + { + "latitude": 99.99, + "longitude": 0.00, + "sourceIp": "1.1.1.1", + "queryExperiences": [ + { + "endpointId": 1, + "latency": 99.222, + "queryCount": 1000000 + }, + { + "endpointId": 2, + "latency": 1.222, + "queryCount": 1 + } + ] + }, + { + "latitude": -99.99, + "longitude": 1.00, + "sourceIp": "2.255.1.1", + "queryExperiences": [ + { + "endpointId": 1, + "latency": 96.222, + "queryCount": 100 + }, + { + "endpointId": 2, + "latency": 4.222, + "queryCount": 500 + } + ] + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json new file mode 100644 index 000000000000..4ea1c8abf453 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/NameAvailabilityTest_NameAvailable-POST-example-21.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2017-09-01-preview", + "parameters": { + "name": "azsmnet5403", + "type": "microsoft.network/trafficmanagerprofiles" + } + }, + "responses": { + "200": { + "body": { + "name": "azsmnet5403", + "type": "Microsoft.Network/trafficManagerProfiles", + "nameAvailable": true + } + } + } +} \ No newline at end of file diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json new file mode 100644 index 000000000000..e694582e13f0 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2017-09-01-preview", + "parameters": { + "name": "azsmnet4696", + "type": "microsoft.network/trafficmanagerprofiles" + } + }, + "responses": { + "200": { + "body": { + "name": "azsmnet4696", + "type": "Microsoft.Network/trafficManagerProfiles", + "nameAvailable": false, + "reason": "AlreadyExists", + "message": "Domain name azsmnet4696.tmpreview.watmtest.azure-test.net already exists. Please choose a different DNS prefix." + } + } + } +} \ No newline at end of file diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Profile-DELETE.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Profile-DELETE.json new file mode 100644 index 000000000000..f6bf971cc95e --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Profile-DELETE.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "subscriptionId": "e68d4145-c9ae-4667-925d-c51c8d88ad73", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1323", + "profileName": "azuresdkfornetautoresttrafficmanager3880", + "api-version": "2017-09-01-preview" + }, + "responses": { + "200": { + "body": "" + }, + "204": { + "body": "" + } + } +} \ No newline at end of file diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Profile-GET-ByResourceGroup.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Profile-GET-ByResourceGroup.json new file mode 100644 index 000000000000..5809a7d2d17c --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Profile-GET-ByResourceGroup.json @@ -0,0 +1,95 @@ +{ + "parameters": { + "subscriptionId": "e68d4145-c9ae-4667-925d-c51c8d88ad73", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager3640", + "api-version": "2017-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azuresdkfornetautoresttrafficmanager3640/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager1005", + "name": "azuresdkfornetautoresttrafficmanager1005", + "type": "Microsoft.Network/trafficManagerProfiles", + "location": "global", + "tags": {}, + "properties": { + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance", + "dnsConfig": { + "relativeName": "azuresdkfornetautoresttrafficmanager1005", + "fqdn": "azuresdkfornetautoresttrafficmanager1005.tmpreview.watmtest.azure-test.net", + "ttl": 35 + }, + "monitorConfig": { + "profileMonitorStatus": "Online", + "protocol": "HTTP", + "port": 80, + "path": "/testpath.aspx", + "intervalInSeconds": 30, + "toleratedNumberOfFailures": 3, + "timeoutInSeconds": 10 + }, + "endpoints": [ + { + "id": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azuresdkfornetautoresttrafficmanager3640/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager1005/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, + "endpointLocation": "North Europe" + } + } + ] + } + }, + { + "id": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azuresdkfornetautoresttrafficmanager3640/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager959", + "name": "azuresdkfornetautoresttrafficmanager959", + "type": "Microsoft.Network/trafficManagerProfiles", + "location": "global", + "tags": {}, + "properties": { + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance", + "dnsConfig": { + "relativeName": "azuresdkfornetautoresttrafficmanager959", + "fqdn": "azuresdkfornetautoresttrafficmanager959.tmpreview.watmtest.azure-test.net", + "ttl": 35 + }, + "monitorConfig": { + "profileMonitorStatus": "Online", + "protocol": "HTTP", + "port": 80, + "path": "/testpath.aspx", + "intervalInSeconds": 30, + "toleratedNumberOfFailures": 3, + "timeoutInSeconds": 10 + }, + "endpoints": [ + { + "id": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azuresdkfornetautoresttrafficmanager3640/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager959/externalEndpoints/My external endpoint", + "name": "My external endpoint", + "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "properties": { + "endpointStatus": "Enabled", + "endpointMonitorStatus": "Online", + "target": "foobar.contoso.com", + "weight": 1, + "priority": 1, + "endpointLocation": "North Europe" + } + } + ] + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Profile-GET-BySubscription.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Profile-GET-BySubscription.json new file mode 100644 index 000000000000..115ba2b85cec --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Profile-GET-BySubscription.json @@ -0,0 +1,122 @@ +{ + "parameters": { + "subscriptionId": "e68d4145-c9ae-4667-925d-c51c8d88ad73", + "api-version": "2017-09-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azsmnet1719/providers/Microsoft.Network/trafficManagerProfiles/azsmnet5183", + "name": "azsmnet5183", + "type": "Microsoft.Network/trafficManagerProfiles", + "location": "global", + "tags": {}, + "properties": { + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance", + "dnsConfig": { + "relativeName": "azsmnet4696", + "fqdn": "azsmnet4696.tmpreview.watmtest.azure-test.net", + "ttl": 35 + }, + "monitorConfig": { + "profileMonitorStatus": "Online", + "protocol": "HTTP", + "port": 80, + "path": "/testpath.aspx", + "intervalInSeconds": 30, + "toleratedNumberOfFailures": 3, + "timeoutInSeconds": 10 + }, + "endpoints": [] + } + }, + { + "id": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azuresdkfornetautoresttrafficmanager5168/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3440", + "name": "azuresdkfornetautoresttrafficmanager3440", + "type": "Microsoft.Network/trafficManagerProfiles", + "location": "global", + "tags": {}, + "properties": { + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance", + "dnsConfig": { + "relativeName": "azuresdkfornetautoresttrafficmanager3440", + "fqdn": "azuresdkfornetautoresttrafficmanager3440.tmpreview.watmtest.azure-test.net", + "ttl": 35 + }, + "monitorConfig": { + "profileMonitorStatus": "Online", + "protocol": "HTTP", + "port": 80, + "path": "/testpath.aspx", + "intervalInSeconds": 30, + "toleratedNumberOfFailures": 3, + "timeoutInSeconds": 10 + }, + "endpoints": [ + { + "id": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azuresdkfornetautoresttrafficmanager5168/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3440/externalEndpoints/My external endpoint", + "name": "My external endpoint", + "type": "Microsoft.Network/trafficManagerProfiles/externalEndpoints", + "properties": { + "endpointStatus": "Enabled", + "endpointMonitorStatus": "Online", + "target": "foobar.contoso.com", + "weight": 1, + "priority": 1, + "endpointLocation": "North Europe" + } + } + ] + } + }, + { + "id": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/onesdk9785/providers/Microsoft.Network/trafficManagerProfiles/onesdk8819", + "name": "onesdk8819", + "type": "Microsoft.Network/trafficManagerProfiles", + "location": "global", + "tags": {}, + "properties": { + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance", + "dnsConfig": { + "relativeName": "onesdk7242", + "fqdn": "onesdk7242.tmpreview.watmtest.azure-test.net", + "ttl": 51 + }, + "monitorConfig": { + "profileMonitorStatus": "Online", + "protocol": "HTTPS", + "port": 111, + "path": "/testparent.asp", + "intervalInSeconds": 30, + "toleratedNumberOfFailures": 3, + "timeoutInSeconds": 10 + }, + "endpoints": [ + { + "id": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/onesdk9785/providers/Microsoft.Network/trafficManagerProfiles/onesdk8819/nestedEndpoints/MyNestedEndpoint", + "name": "MyNestedEndpoint", + "type": "Microsoft.Network/trafficManagerProfiles/nestedEndpoints", + "properties": { + "endpointStatus": "Enabled", + "endpointMonitorStatus": "Stopped", + "targetResourceId": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/onesdk9785/providers/Microsoft.Network/trafficManagerProfiles/onesdk1792", + "target": "onesdk4285.tmpreview.watmtest.azure-test.net", + "weight": 1, + "priority": 1, + "endpointLocation": "West Europe", + "minChildEndpoints": 1 + } + } + ] + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Profile-GET-WithEndpoints.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Profile-GET-WithEndpoints.json new file mode 100644 index 000000000000..484e247216e4 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Profile-GET-WithEndpoints.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "subscriptionId": "e68d4145-c9ae-4667-925d-c51c8d88ad73", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1323", + "profileName": "azuresdkfornetautoresttrafficmanager3880", + "api-version": "2017-09-01-preview" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880", + "name": "azuresdkfornetautoresttrafficmanager3880", + "type": "Microsoft.Network/trafficManagerProfiles", + "location": "global", + "tags": {}, + "properties": { + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance", + "dnsConfig": { + "relativeName": "azuresdkfornetautoresttrafficmanager3880", + "fqdn": "azuresdkfornetautoresttrafficmanager3880.tmpreview.watmtest.azure-test.net", + "ttl": 35 + }, + "monitorConfig": { + "profileMonitorStatus": "CheckingEndpoints", + "protocol": "HTTP", + "port": 80, + "path": "/testpath.aspx", + "intervalInSeconds": 30, + "toleratedNumberOfFailures": 3, + "timeoutInSeconds": 10 + }, + "endpoints": [ + { + "id": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1323/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager3880/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, + "endpointLocation": "North Europe" + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Profile-PATCH-MonitorConfig.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Profile-PATCH-MonitorConfig.json new file mode 100644 index 000000000000..6e3f234f8d4c --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Profile-PATCH-MonitorConfig.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "subscriptionId": "e68d4145-c9ae-4667-925d-c51c8d88ad73", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager2583", + "profileName": "azuresdkfornetautoresttrafficmanager6192", + "api-version": "2017-09-01-preview", + "parameters": { + "properties": { + "monitorConfig": { + "protocol": "HTTP", + "port": 80, + "path": "/testpath.aspx", + "intervalInSeconds": 30, + "timeoutInSeconds": 6, + "toleratedNumberOfFailures": 4 + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192", + "name": "azuresdkfornetautoresttrafficmanager6192", + "type": "Microsoft.Network/trafficManagerProfiles", + "location": "global", + "tags": {}, + "properties": { + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance", + "dnsConfig": { + "relativeName": "azuresdkfornetautoresttrafficmanager6192", + "fqdn": "azuresdkfornetautoresttrafficmanager6192.tmpreview.watmtest.azure-test.net", + "ttl": 35 + }, + "monitorConfig": { + "profileMonitorStatus": "CheckingEndpoints", + "protocol": "HTTP", + "port": 80, + "path": "/testpath.aspx", + "intervalInSeconds": 30, + "toleratedNumberOfFailures": 4, + "timeoutInSeconds": 6 + }, + "endpoints": [ + { + "id": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192/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, + "endpointLocation": "North Europe" + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Profile-PUT-NoEndpoints.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Profile-PUT-NoEndpoints.json new file mode 100644 index 000000000000..7e4b40e0a2e2 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Profile-PUT-NoEndpoints.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "subscriptionId": "e68d4145-c9ae-4667-925d-c51c8d88ad73", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager1421", + "profileName": "azsmnet6386", + "api-version": "2017-09-01-preview", + "parameters": { + "properties": { + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance", + "dnsConfig": { + "relativeName": "azsmnet6386", + "ttl": 35 + }, + "monitorConfig": { + "protocol": "HTTP", + "port": 80, + "path": "/testpath.aspx" + } + }, + "location": "global" + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386", + "name": "azsmnet6386", + "type": "Microsoft.Network/trafficManagerProfiles", + "location": "global", + "properties": { + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance", + "dnsConfig": { + "relativeName": "azsmnet6386", + "fqdn": "azsmnet6386.tmpreview.watmtest.azure-test.net", + "ttl": 35 + }, + "monitorConfig": { + "profileMonitorStatus": "Inactive", + "protocol": "HTTP", + "port": 80, + "path": "/testpath.aspx", + "intervalInSeconds": 30, + "toleratedNumberOfFailures": 3, + "timeoutInSeconds": 10 + }, + "endpoints": [] + } + } + }, + "200": { + "body": { + "id": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azuresdkfornetautoresttrafficmanager1421/providers/Microsoft.Network/trafficManagerProfiles/azsmnet6386", + "name": "azsmnet6386", + "type": "Microsoft.Network/trafficManagerProfiles", + "location": "global", + "properties": { + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance", + "dnsConfig": { + "relativeName": "azsmnet6386", + "fqdn": "azsmnet6386.tmpreview.watmtest.azure-test.net", + "ttl": 35 + }, + "monitorConfig": { + "profileMonitorStatus": "Inactive", + "protocol": "HTTP", + "port": 80, + "path": "/testpath.aspx", + "intervalInSeconds": 30, + "toleratedNumberOfFailures": 3, + "timeoutInSeconds": 10 + }, + "endpoints": [] + } + } + } + } +} \ No newline at end of file diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Profile-PUT-WithEndpoints.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Profile-PUT-WithEndpoints.json new file mode 100644 index 000000000000..cb3ec27707bd --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/examples/Profile-PUT-WithEndpoints.json @@ -0,0 +1,122 @@ +{ + "parameters": { + "subscriptionId": "e68d4145-c9ae-4667-925d-c51c8d88ad73", + "resourceGroupName": "azuresdkfornetautoresttrafficmanager2583", + "profileName": "azuresdkfornetautoresttrafficmanager6192", + "api-version": "2017-09-01-preview", + "parameters": { + "properties": { + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance", + "dnsConfig": { + "relativeName": "azuresdkfornetautoresttrafficmanager6192", + "ttl": 35 + }, + "monitorConfig": { + "protocol": "HTTP", + "port": 80, + "path": "/testpath.aspx", + "intervalInSeconds": 10, + "timeoutInSeconds": 5, + "toleratedNumberOfFailures": 2 + }, + "endpoints": [ + { + "name": "My external endpoint", + "type": "Microsoft.network/TrafficManagerProfiles/ExternalEndpoints", + "properties": { + "target": "foobar.contoso.com", + "endpointStatus": "Enabled", + "endpointLocation": "North Europe" + } + } + ] + }, + "location": "global" + } + }, + "responses": { + "201": { + "body": { + "id": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192", + "name": "azuresdkfornetautoresttrafficmanager6192", + "type": "Microsoft.Network/trafficManagerProfiles", + "location": "global", + "properties": { + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance", + "dnsConfig": { + "relativeName": "azuresdkfornetautoresttrafficmanager6192", + "fqdn": "azuresdkfornetautoresttrafficmanager6192.tmpreview.watmtest.azure-test.net", + "ttl": 35 + }, + "monitorConfig": { + "profileMonitorStatus": "CheckingEndpoints", + "protocol": "HTTP", + "port": 80, + "path": "/testpath.aspx", + "intervalInSeconds": 10, + "toleratedNumberOfFailures": 2, + "timeoutInSeconds": 5 + }, + "endpoints": [ + { + "id": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192/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, + "endpointLocation": "North Europe" + } + } + ] + } + } + }, + "200": { + "body": { + "id": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192", + "name": "azuresdkfornetautoresttrafficmanager6192", + "type": "Microsoft.Network/trafficManagerProfiles", + "location": "global", + "properties": { + "profileStatus": "Enabled", + "trafficRoutingMethod": "Performance", + "dnsConfig": { + "relativeName": "azuresdkfornetautoresttrafficmanager6192", + "fqdn": "azuresdkfornetautoresttrafficmanager6192.tmpreview.watmtest.azure-test.net", + "ttl": 35 + }, + "monitorConfig": { + "profileMonitorStatus": "CheckingEndpoints", + "protocol": "HTTP", + "port": 80, + "path": "/testpath.aspx", + "intervalInSeconds": 10, + "toleratedNumberOfFailures": 2, + "timeoutInSeconds": 5 + }, + "endpoints": [ + { + "id": "/subscriptions/e68d4145-c9ae-4667-925d-c51c8d88ad73/resourceGroups/azuresdkfornetautoresttrafficmanager2583/providers/Microsoft.Network/trafficManagerProfiles/azuresdkfornetautoresttrafficmanager6192/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, + "endpointLocation": "North Europe" + } + } + ] + } + } + } + } +} \ No newline at end of file diff --git a/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/trafficmanager.json b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/trafficmanager.json new file mode 100644 index 000000000000..5ba7ae060b27 --- /dev/null +++ b/specification/trafficmanager/resource-manager/Microsoft.Network/2017-09-01-preview/trafficmanager.json @@ -0,0 +1,1337 @@ +{ + "swagger": "2.0", + "info": { + "title": "TrafficManagerManagementClient", + "version": "2017-09-01-preview" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/{endpointType}/{endpointName}": { + "patch": { + "tags": [ + "Endpoints" + ], + "operationId": "Endpoints_Update", + "description": "Update a Traffic Manager endpoint.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group containing the Traffic Manager endpoint to be updated." + }, + { + "name": "profileName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Traffic Manager profile." + }, + { + "name": "endpointType", + "in": "path", + "required": true, + "type": "string", + "description": "The type of the Traffic Manager endpoint to be updated." + }, + { + "name": "endpointName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Traffic Manager endpoint to be updated." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Endpoint" + }, + "description": "The Traffic Manager endpoint parameters supplied to the Update operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The updated Traffic Manager endpoint.", + "schema": { + "$ref": "#/definitions/Endpoint" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Endpoint-PATCH-External-Target": { + "$ref": "./examples/Endpoint-PATCH-External-Target.json" + } + } + }, + "get": { + "tags": [ + "Endpoints" + ], + "operationId": "Endpoints_Get", + "description": "Gets a Traffic Manager endpoint.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group containing the Traffic Manager endpoint." + }, + { + "name": "profileName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Traffic Manager profile." + }, + { + "name": "endpointType", + "in": "path", + "required": true, + "type": "string", + "description": "The type of the Traffic Manager endpoint." + }, + { + "name": "endpointName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Traffic Manager endpoint." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The Traffic Manager endpoint.", + "schema": { + "$ref": "#/definitions/Endpoint" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Endpoint-GET-External-WithGeoMapping": { + "$ref": "./examples/Endpoint-GET-External-WithGeoMapping.json" + }, + "Endpoint-GET-External-WithLocation": { + "$ref": "./examples/Endpoint-GET-External-WithLocation.json" + } + } + }, + "put": { + "tags": [ + "Endpoints" + ], + "operationId": "Endpoints_CreateOrUpdate", + "description": "Create or update a Traffic Manager endpoint.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group containing the Traffic Manager endpoint to be created or updated." + }, + { + "name": "profileName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Traffic Manager profile." + }, + { + "name": "endpointType", + "in": "path", + "required": true, + "type": "string", + "description": "The type of the Traffic Manager endpoint to be created or updated." + }, + { + "name": "endpointName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Traffic Manager endpoint to be created or updated." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Endpoint" + }, + "description": "The Traffic Manager endpoint parameters supplied to the CreateOrUpdate operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The created or updated Endpoint.", + "schema": { + "$ref": "#/definitions/Endpoint" + } + }, + "201": { + "description": "The created or updated Endpoint.", + "schema": { + "$ref": "#/definitions/Endpoint" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Endpoint-PUT-External-WithGeoMapping": { + "$ref": "./examples/Endpoint-PUT-External-WithGeoMapping.json" + }, + "Endpoint-PUT-External-WithLocation": { + "$ref": "./examples/Endpoint-PUT-External-WithLocation.json" + } + } + }, + "delete": { + "tags": [ + "Endpoints" + ], + "operationId": "Endpoints_Delete", + "description": "Deletes a Traffic Manager endpoint.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group containing the Traffic Manager endpoint to be deleted." + }, + { + "name": "profileName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Traffic Manager profile." + }, + { + "name": "endpointType", + "in": "path", + "required": true, + "type": "string", + "description": "The type of the Traffic Manager endpoint to be deleted." + }, + { + "name": "endpointName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Traffic Manager endpoint to be deleted." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The Traffic Manager Endpoint was deleted successfully.", + "schema": { + "$ref": "#/definitions/DeleteOperationResult" + } + }, + "204": { + "description": "The Traffic Manager Endpoint does not exist. It could have been deleted on a previous request." + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Endpoint-DELETE-External": { + "$ref": "./examples/Endpoint-DELETE-External.json" + } + } + } + }, + "/providers/Microsoft.Network/checkTrafficManagerNameAvailability": { + "post": { + "tags": [ + "Profiles" + ], + "operationId": "Profiles_CheckTrafficManagerRelativeDnsNameAvailability", + "description": "Checks the availability of a Traffic Manager Relative DNS name.", + "parameters": [ + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckTrafficManagerRelativeDnsNameAvailabilityParameters" + }, + "description": "The Traffic Manager name parameters supplied to the CheckTrafficManagerNameAvailability operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The Traffic Manager Name Availability.", + "schema": { + "$ref": "#/definitions/TrafficManagerNameAvailability" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "NameAvailabilityTest_NameAvailablePOST21": { + "$ref": "./examples/NameAvailabilityTest_NameAvailable-POST-example-21.json" + }, + "NameAvailabilityTest_NameNotAvailablePOST23": { + "$ref": "./examples/NameAvailabilityTest_NameNotAvailable-POST-example-23.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles": { + "get": { + "tags": [ + "Profiles" + ], + "x-ms-pageable": { + "nextLinkName": null + }, + "operationId": "Profiles_ListByResourceGroup", + "description": "Lists all Traffic Manager profiles within a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group containing the Traffic Manager profiles to be listed." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The list of Traffic Manager profiles.", + "schema": { + "$ref": "#/definitions/ProfileListResult" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ListProfilesByResourceGroup": { + "$ref": "./examples/Profile-GET-ByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/trafficmanagerprofiles": { + "get": { + "tags": [ + "Profiles" + ], + "x-ms-pageable": { + "nextLinkName": null + }, + "operationId": "Profiles_ListBySubscription", + "description": "Lists all Traffic Manager profiles within a subscription.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The list of Traffic Manager profiles.", + "schema": { + "$ref": "#/definitions/ProfileListResult" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "ListBySubscription": { + "$ref": "./examples/Profile-GET-BySubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}": { + "get": { + "tags": [ + "Profiles" + ], + "operationId": "Profiles_Get", + "description": "Gets a Traffic Manager profile.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group containing the Traffic Manager profile." + }, + { + "name": "profileName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Traffic Manager profile." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The Traffic Manager profile.", + "schema": { + "$ref": "#/definitions/Profile" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Profile-GET-WithEndpoints": { + "$ref": "./examples/Profile-GET-WithEndpoints.json" + } + } + }, + "put": { + "tags": [ + "Profiles" + ], + "operationId": "Profiles_CreateOrUpdate", + "description": "Create or update a Traffic Manager profile.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group containing the Traffic Manager profile." + }, + { + "name": "profileName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Traffic Manager profile." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Profile" + }, + "description": "The Traffic Manager profile parameters supplied to the CreateOrUpdate operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The created or updated Traffic Manager profile.", + "schema": { + "$ref": "#/definitions/Profile" + } + }, + "201": { + "description": "The created or updated Traffic Manager profile.", + "schema": { + "$ref": "#/definitions/Profile" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Profile-PUT-NoEndpoints": { + "$ref": "./examples/Profile-PUT-NoEndpoints.json" + }, + "Profile-PUT-WithEndpoints": { + "$ref": "./examples/Profile-PUT-WithEndpoints.json" + } + } + }, + "delete": { + "tags": [ + "Profiles" + ], + "operationId": "Profiles_Delete", + "description": "Deletes a Traffic Manager profile.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group containing the Traffic Manager profile to be deleted." + }, + { + "name": "profileName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Traffic Manager profile to be deleted." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The Traffic Manager Profile was deleted successfully.", + "schema": { + "$ref": "#/definitions/DeleteOperationResult" + } + }, + "204": { + "description": "The profile does not exist. It could have been deleted on a previous request." + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Profile-DELETE": { + "$ref": "./examples/Profile-DELETE.json" + } + } + }, + "patch": { + "tags": [ + "Profiles" + ], + "operationId": "Profiles_Update", + "description": "Update a Traffic Manager profile.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group containing the Traffic Manager profile." + }, + { + "name": "profileName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Traffic Manager profile." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/Profile" + }, + "description": "The Traffic Manager profile parameters supplied to the Update operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The updated Traffic Manager profile.", + "schema": { + "$ref": "#/definitions/Profile" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "Profile-PATCH-MonitorConfig": { + "$ref": "./examples/Profile-PATCH-MonitorConfig.json" + } + } + } + }, + "/providers/Microsoft.Network/trafficManagerGeographicHierarchies/default": { + "get": { + "tags": [ + "GeographicHierarchies" + ], + "operationId": "GeographicHierarchies_GetDefault", + "description": "Gets the default Geographic Hierarchy used by the Geographic traffic routing method.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The default Geographic Hierarchy.", + "schema": { + "$ref": "#/definitions/TrafficManagerGeographicHierarchy" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "GeographicHierarchy-GET-default": { + "$ref": "./examples/GeographicHierarchy-GET-default.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficmanagerprofiles/{profileName}/heatMaps/{heatMapType}": { + "get": { + "tags": [ + "HeatMaps" + ], + "operationId": "HeatMap_Get", + "description": "Gets latest heatmap for Traffic Manager profile.", + "parameters": [ + { + "$ref": "#/parameters/SubscriptionIdParameter" + }, + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group containing the Traffic Manager endpoint." + }, + { + "name": "profileName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the Traffic Manager profile." + }, + { + "name": "heatMapType", + "in": "path", + "required": true, + "type": "string", + "enum": [ "default" ], + "description": "The type of HeatMap for the Traffic Manager profile." + }, + { + "name": "topLeft", + "in": "query", + "required": false, + "allowEmptyValue": true, + "description": "The top left latitude,longitude pair of the rectangular viewport to query for.", + "type": "array", + "minItems": 2, + "maxItems": 2, + "collectionFormat": "csv", + "items": { + "type": "number", + "format": "double" + } + }, + { + "name": "botRight", + "in": "query", + "required": false, + "allowEmptyValue": true, + "description": "The bottom right latitude,longitude pair of the rectangular viewport to query for.", + "type": "array", + "minItems": 2, + "maxItems": 2, + "collectionFormat": "csv", + "items": { + "type": "number", + "format": "double" + } + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The Traffic Manager heatmap.", + "schema": { + "$ref": "#/definitions/HeatMapModel" + } + }, + "default": { + "description": "Default response. It will be deserialized as per the Error definition.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + }, + "x-ms-examples": { + "HeatMap-GET": { + "$ref": "./examples/HeatMap-GET.json" + }, + "HeatMap-GET-With-TopLeft-BotRight": { + "$ref": "./examples/HeatMap-GET-With-TopLeft-BotRight.json" + } + } + } + } + }, + "definitions": { + "DeleteOperationResult": { + "properties": { + "boolean": { + "type": "boolean", + "x-ms-client-name": "operationResult", + "readOnly": true, + "description": "The result of the operation or request." + } + }, + "description": "The result of the request or operation." + }, + "EndpointProperties": { + "properties": { + "targetResourceId": { + "type": "string", + "description": "The Azure Resource URI of the of the endpoint. Not applicable to endpoints of type 'ExternalEndpoints'." + }, + "target": { + "type": "string", + "description": "The fully-qualified DNS name of the endpoint. Traffic Manager returns this value in DNS responses to direct traffic to this endpoint." + }, + "endpointStatus": { + "type": "string", + "description": "The status of the endpoint. If the endpoint is Enabled, it is probed for endpoint health and is included in the traffic routing method.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "EndpointStatus", + "modelAsString": true + } + }, + "weight": { + "type": "integer", + "format": "int64", + "description": "The weight of this endpoint when using the 'Weighted' traffic routing method. Possible values are from 1 to 1000." + }, + "priority": { + "type": "integer", + "format": "int64", + "description": "The priority of this endpoint when using the ‘Priority’ traffic routing method. Possible values are from 1 to 1000, lower values represent higher priority. This is an optional parameter. If specified, it must be specified on all endpoints, and no two endpoints can share the same priority value." + }, + "endpointLocation": { + "type": "string", + "description": "Specifies the location of the external or nested endpoints when using the ‘Performance’ traffic routing method." + }, + "endpointMonitorStatus": { + "type": "string", + "description": "The monitoring status of the endpoint.", + "enum": [ + "CheckingEndpoint", + "Online", + "Degraded", + "Disabled", + "Inactive", + "Stopped" + ], + "x-ms-enum": { + "name": "EndpointMonitorStatus", + "modelAsString": true + } + }, + "minChildEndpoints": { + "type": "integer", + "format": "int64", + "description": "The minimum number of endpoints that must be available in the child profile in order for the parent profile to be considered available. Only applicable to endpoint of type 'NestedEndpoints'." + }, + "geoMapping": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of countries/regions mapped to this endpoint when using the ‘Geographic’ traffic routing method. Please consult Traffic Manager Geographic documentation for a full list of accepted values." + } + }, + "description": "Class representing a Traffic Manager endpoint properties." + }, + "Endpoint": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/EndpointProperties", + "description": "The properties of the Traffic Manager endpoint." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "description": "Class representing a Traffic Manager endpoint." + }, + "CheckTrafficManagerRelativeDnsNameAvailabilityParameters": { + "properties": { + "name": { + "type": "string", + "description": "The name of the resource." + }, + "type": { + "type": "string", + "description": "The type of the resource." + } + }, + "description": "Parameters supplied to check Traffic Manager name operation." + }, + "DnsConfig": { + "properties": { + "relativeName": { + "type": "string", + "description": "The relative DNS name provided by this Traffic Manager profile. This value is combined with the DNS domain name used by Azure Traffic Manager to form the fully-qualified domain name (FQDN) of the profile." + }, + "fqdn": { + "type": "string", + "readOnly": true, + "description": "The fully-qualified domain name (FQDN) of the Traffic Manager profile. This is formed from the concatenation of the RelativeName with the DNS domain used by Azure Traffic Manager." + }, + "ttl": { + "type": "integer", + "format": "int64", + "description": "The DNS Time-To-Live (TTL), in seconds. This informs the local DNS resolvers and DNS clients how long to cache DNS responses provided by this Traffic Manager profile." + } + }, + "description": "Class containing DNS settings in a Traffic Manager profile." + }, + "MonitorConfig": { + "properties": { + "profileMonitorStatus": { + "type": "string", + "description": "The profile-level monitoring status of the Traffic Manager profile.", + "enum": [ + "CheckingEndpoints", + "Online", + "Degraded", + "Disabled", + "Inactive" + ], + "x-ms-enum": { + "name": "ProfileMonitorStatus", + "modelAsString": true + } + }, + "protocol": { + "type": "string", + "description": "The protocol (HTTP, HTTPS or TCP) used to probe for endpoint health.", + "enum": [ + "HTTP", + "HTTPS", + "TCP" + ], + "x-ms-enum": { + "name": "MonitorProtocol", + "modelAsString": true + } + }, + "port": { + "type": "integer", + "format": "int64", + "description": "The TCP port used to probe for endpoint health." + }, + "path": { + "type": "string", + "description": "The path relative to the endpoint domain name used to probe for endpoint health." + }, + "intervalInSeconds": { + "type": "integer", + "format": "int64", + "description": "The monitor interval for endpoints in this profile. This is the interval at which Traffic Manager will check the health of each endpoint in this profile." + }, + "timeoutInSeconds": { + "type": "integer", + "format": "int64", + "description": "The monitor timeout for endpoints in this profile. This is the time that Traffic Manager allows endpoints in this profile to response to the health check." + }, + "toleratedNumberOfFailures": { + "type": "integer", + "format": "int64", + "description": "The number of consecutive failed health check that Traffic Manager tolerates before declaring an endpoint in this profile Degraded after the next failed health check." + } + }, + "description": "Class containing endpoint monitoring settings in a Traffic Manager profile." + }, + "ProfileProperties": { + "properties": { + "profileStatus": { + "type": "string", + "description": "The status of the Traffic Manager profile.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ProfileStatus", + "modelAsString": true + } + }, + "trafficRoutingMethod": { + "type": "string", + "description": "The traffic routing method of the Traffic Manager profile.", + "enum": [ + "Performance", + "Priority", + "Weighted", + "Geographic" + ], + "x-ms-enum": { + "name": "TrafficRoutingMethod", + "modelAsString": true + } + }, + "dnsConfig": { + "$ref": "#/definitions/DnsConfig", + "description": "The DNS settings of the Traffic Manager profile." + }, + "monitorConfig": { + "$ref": "#/definitions/MonitorConfig", + "description": "The endpoint monitoring settings of the Traffic Manager profile." + }, + "endpoints": { + "type": "array", + "items": { + "$ref": "#/definitions/Endpoint" + }, + "description": "The list of endpoints in the Traffic Manager profile." + } + }, + "description": "Class representing the Traffic Manager profile properties." + }, + "Profile": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/ProfileProperties", + "description": "The properties of the Traffic Manager profile." + } + }, + "allOf": [ + { + "$ref": "#/definitions/TrackedResource" + } + ], + "description": "Class representing a Traffic Manager profile." + }, + "ProfileListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/Profile" + }, + "description": "Gets the list of Traffic manager profiles." + } + }, + "description": "The list Traffic Manager profiles operation response." + }, + "TrafficManagerNameAvailability": { + "properties": { + "name": { + "type": "string", + "description": "The relative name." + }, + "type": { + "type": "string", + "description": "Traffic Manager profile resource type." + }, + "nameAvailable": { + "type": "boolean", + "description": "Describes whether the relative name is available or not." + }, + "reason": { + "type": "string", + "description": "The reason why the name is not available, when applicable." + }, + "message": { + "type": "string", + "description": "Descriptive message that explains why the name is not available, when applicable." + } + }, + "description": "Class representing a Traffic Manager Name Availability response." + }, + "Region": { + "properties": { + "code": { + "type": "string", + "description": "The code of the region" + }, + "name": { + "type": "string", + "description": "The name of the region" + }, + "regions": { + "type": "array", + "items": { + "$ref": "#/definitions/Region" + }, + "description": "The list of Regions grouped under this Region in the Geographic Hierarchy." + } + }, + "description": "Class representing a region in the Geographic hierarchy used with the Geographic traffic routing method." + }, + "GeographicHierarchyProperties": { + "properties": { + "geographicHierarchy": { + "$ref": "#/definitions/Region", + "description": "The region at the root of the hierarchy from all the regions in the hierarchy can be retrieved." + } + }, + "description": "Class representing the properties of the Geographic hierarchy used with the Geographic traffic routing method." + }, + "TrafficManagerGeographicHierarchy": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/GeographicHierarchyProperties", + "description": "The properties of the Geographic Hierarchy resource." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "description": "Class representing the Geographic hierarchy used with the Geographic traffic routing method." + }, + "Resource": { + "description": "The core properties of ARM resources", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{resourceName}" + }, + "name": { + "readOnly": true, + "type": "string", + "description": "The name of the resource" + }, + "type": { + "readOnly": true, + "type": "string", + "description": "The type of the resource. Ex- Microsoft.Network/trafficmanagerProfiles." + } + }, + "x-ms-azure-resource": true + }, + "TrackedResource": { + "description": "The resource model definition for a ARM tracked top level resource", + "properties": { + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "create", + "update" + ], + "description": "Resource tags." + }, + "location": { + "type": "string", + "x-ms-mutability": [ + "read", + "create" + ], + "description": "The Azure Region where the resource lives" + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "ProxyResource": { + "description": "The resource model definition for a ARM proxy resource. It will have everything other than required location and tags", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ] + }, + "CloudError": { + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/CloudErrorBody", + "description": "The content of the error." + } + }, + "description": "An error returned by the Azure Resource Manager", + "x-ms-external": true + }, + "CloudErrorBody": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "Error code" + }, + "message": { + "type": "string", + "description": "Error message" + }, + "target": { + "type": "string", + "description": "Error target" + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/CloudErrorBody" + }, + "description": "Error details" + } + }, + "description": "The content of an error returned by the Azure Resource Manager", + "x-ms-external": true + }, + "HeatMapProperties": { + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "description": "The beginning of the time window for this HeatMap, inclusive." + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "The ending of the time window for this HeatMap, exclusive." + }, + "endpoints": { + "type": "array", + "description": "The endpoints used in this HeatMap calculation.", + "items": { + "$ref": "#/definitions/HeatMapEndpoint" + } + }, + "trafficFlows": { + "type": "array", + "description": "The traffic flows produced in this HeatMap calculation.", + "items": { + "$ref": "#/definitions/TrafficFlow" + } + } + }, + "description": "Class representing a Traffic Manager HeatMap properties." + }, + "HeatMapEndpoint": { + "properties": { + "resourceId": { + "type": "string", + "description": "The ARM Resource ID of this Traffic Manager endpoint." + }, + "endpointId": { + "type": "integer", + "description": "A number uniquely identifying this endpoint in query experiences." + } + }, + "description": "Class which is a sparse representation of a Traffic Manager endpoint." + }, + "QueryExperience": { + "properties": { + "endpointId": { + "type": "integer", + "description": "The id of the endpoint from the 'endpoints' array which these queries were routed to." + }, + "queryCount": { + "type": "integer", + "description": "The number of queries originating from this location." + }, + "latency": { + "type": "number", + "format": "double", + "description": "The latency experienced by queries originating from this location." + } + }, + "description": "Class representing a Traffic Manager HeatMap query experience properties." + }, + "TrafficFlow": { + "properties": { + "sourceIp": { + "type": "string", + "description": "The IP address that this query experience originated from." + }, + "latitude": { + "type": "number", + "format": "double", + "description": "The approximate latitude that these queries originated from." + }, + "longitude": { + "type": "number", + "format": "double", + "description": "The approximate longitude that these queries originated from." + }, + "queryExperiences": { + "type": "array", + "description": "The query experiences produced in this HeatMap calculation.", + "items": { + "$ref": "#/definitions/QueryExperience" + } + } + }, + "description": "Class representing a Traffic Manager HeatMap traffic flow properties." + }, + "HeatMapModel": { + "properties": { + "properties": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/HeatMapProperties", + "description": "The properties of the Traffic Manager HeatMap." + } + }, + "allOf": [ + { + "$ref": "#/definitions/ProxyResource" + } + ], + "description": "Class representing a Traffic Manager HeatMap." + } + }, + "parameters": { + "SubscriptionIdParameter": { + "name": "subscriptionId", + "in": "path", + "required": true, + "type": "string", + "description": "Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call." + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." + } + }, + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + } +} \ No newline at end of file diff --git a/specification/trafficmanager/resource-manager/readme.md b/specification/trafficmanager/resource-manager/readme.md index bf299eb08348..4bbb12416b2f 100644 --- a/specification/trafficmanager/resource-manager/readme.md +++ b/specification/trafficmanager/resource-manager/readme.md @@ -20,13 +20,21 @@ To see additional help and options, run: ## Configuration - ### Basic Information These are the global settings for the TrafficManager API. ``` yaml openapi-type: arm -tag: package-2017-05 +tag: package-2017-09-preview +``` + +### Tag: package-2017-09-preview + +These settings apply only when `--tag=package-2017-09-preview` is specified on the command line. + +``` yaml $(tag) == 'package-2017-09-preview' +input-file: +- Microsoft.Network/2017-09-01-preview/trafficmanager.json ``` diff --git a/specification/web/resource-manager/Microsoft.Web/2016-03-01/DeletedWebApps.json b/specification/web/resource-manager/Microsoft.Web/2016-03-01/DeletedWebApps.json index a2a771b0b5f6..48906a350390 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-03-01/DeletedWebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-03-01/DeletedWebApps.json @@ -10,7 +10,7 @@ ], "paths": { "/subscriptions/{subscriptionId}/providers/Microsoft.Web/deletedSites": { - "post": { + "get": { "tags": [ "DeletedWebApps" ], @@ -41,461 +41,37 @@ "nextLinkName": "nextLink" } } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/deletedSites": { - "get": { - "tags": [ - "DeletedWebApps" - ], - "summary": "Gets deleted web apps in subscription.", - "description": "Gets deleted web apps in subscription.", - "operationId": "DeletedWebApps_ListByResourceGroup", - "produces": [ - "application/json", - "text/json" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/DeletedWebAppCollection" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } } }, "definitions": { - "ApiDefinitionInfo": { - "description": "Information about the formal API definition for the app.", - "type": "object", - "properties": { - "url": { - "description": "The URL of the API definition.", - "type": "string" - } - } - }, - "AutoHealActions": { - "description": "Actions which to take by the auto-heal module when a rule is triggered.", - "type": "object", - "properties": { - "actionType": { - "description": "Predefined action to be taken.", - "enum": [ - "Recycle", - "LogEvent", - "CustomAction" - ], - "type": "string", - "x-ms-enum": { - "name": "AutoHealActionType", - "modelAsString": false - } - }, - "customAction": { - "$ref": "#/definitions/AutoHealCustomAction", - "description": "Custom action to be taken." - }, - "minProcessExecutionTime": { - "description": "Minimum time the process must execute\n before taking the action", - "type": "string" - } - } - }, - "AutoHealCustomAction": { - "description": "Custom action to be executed\n when an auto heal rule is triggered.", - "type": "object", - "properties": { - "exe": { - "description": "Executable to be run.", - "type": "string" - }, - "parameters": { - "description": "Parameters for the executable.", - "type": "string" - } - } - }, - "AutoHealRules": { - "description": "Rules that can be defined for auto-heal.", - "type": "object", - "properties": { - "triggers": { - "$ref": "#/definitions/AutoHealTriggers", - "description": "Conditions that describe when to execute the auto-heal actions." - }, - "actions": { - "$ref": "#/definitions/AutoHealActions", - "description": "Actions to be executed when a rule is triggered." - } - } - }, - "AutoHealTriggers": { - "description": "Triggers for auto-heal.", + "DeletedSite": { + "description": "A deleted app.", "type": "object", "properties": { - "requests": { - "$ref": "#/definitions/RequestsBasedTrigger", - "description": "A rule based on total requests." - }, - "privateBytesInKB": { + "id": { "format": "int32", - "description": "A rule based on private bytes.", + "description": "Numeric id for the deleted site", "type": "integer" }, - "statusCodes": { - "description": "A rule based on status codes.", - "type": "array", - "items": { - "$ref": "#/definitions/StatusCodesBasedTrigger" - } - }, - "slowRequests": { - "$ref": "#/definitions/SlowRequestsBasedTrigger", - "description": "A rule based on request execution time." - } - } - }, - "CloningInfo": { - "description": "Information needed for cloning operation.", - "required": [ - "sourceWebAppId" - ], - "type": "object", - "properties": { - "correlationId": { - "description": "Correlation ID of cloning operation. This ID ties multiple cloning operations\n together to use the same snapshot.", - "type": "string" - }, - "overwrite": { - "description": "true to overwrite destination app; otherwise, false.", - "type": "boolean" - }, - "cloneCustomHostNames": { - "description": "true to clone custom hostnames from source app; otherwise, false.", - "type": "boolean" - }, - "cloneSourceControl": { - "description": "true to clone source control from source app; otherwise, false.", - "type": "boolean" - }, - "sourceWebAppId": { - "description": "ARM resource ID of the source app. App resource ID is of the form \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", - "type": "string" - }, - "hostingEnvironment": { - "description": "App Service Environment.", - "type": "string" - }, - "appSettingsOverrides": { - "description": "Application setting overrides for cloned app. If specified, these settings override the settings cloned \n from source app. Otherwise, application settings from source app are retained.", - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "configureLoadBalancing": { - "description": "true to configure load balancing for source and destination app.", - "type": "boolean" + "deletedTimestamp": { + "description": "Time in UTC when the app was deleted.", + "type": "string", + "readOnly": true }, - "trafficManagerProfileId": { - "description": "ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}.", - "type": "string" + "subscription": { + "description": "Subscription containing the deleted site", + "type": "string", + "readOnly": true }, - "trafficManagerProfileName": { - "description": "Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist.", - "type": "string" + "resourceGroup": { + "description": "ResourceGroup that contained the deleted site", + "type": "string", + "readOnly": true }, - "ignoreQuotas": { - "description": "true if quotas should be ignored; otherwise, false.", - "type": "boolean" - } - } - }, - "ConnStringInfo": { - "description": "Database connection string information.", - "type": "object", - "properties": { "name": { - "description": "Name of connection string.", - "type": "string" - }, - "connectionString": { - "description": "Connection string value.", - "type": "string" - }, - "type": { - "description": "Type of database.", - "enum": [ - "MySql", - "SQLServer", - "SQLAzure", - "Custom", - "NotificationHub", - "ServiceBus", - "EventHub", - "ApiHub", - "DocDb", - "RedisCache", - "PostgreSQL" - ], + "description": "Name of the deleted site", "type": "string", - "x-ms-enum": { - "name": "ConnectionStringType", - "modelAsString": false - } - } - } - }, - "CorsSettings": { - "description": "Cross-Origin Resource Sharing (CORS) settings for the app.", - "type": "object", - "properties": { - "allowedOrigins": { - "description": "Gets or sets the list of origins that should be allowed to make cross-origin\n calls (for example: http://example.com:12345). Use \"*\" to allow all.", - "type": "array", - "items": { - "type": "string" - } - } - } - }, - "DeletedSite": { - "description": "A deleted app.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "DeletedSite resource specific properties", - "properties": { - "deletedTimestamp": { - "format": "date-time", - "description": "Time in UTC when the app was deleted.", - "type": "string", - "readOnly": true - }, - "state": { - "description": "Current state of the app.", - "type": "string", - "readOnly": true - }, - "hostNames": { - "description": "Hostnames associated with the app.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "repositorySiteName": { - "description": "Name of the repository site.", - "type": "string", - "readOnly": true - }, - "usageState": { - "description": "State indicating whether the app has exceeded its quota usage. Read-only.", - "enum": [ - "Normal", - "Exceeded" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "UsageState", - "modelAsString": false - } - }, - "enabled": { - "description": "true if the app is enabled; otherwise, false. Setting this value to false disables the app (takes the app offline).", - "type": "boolean" - }, - "enabledHostNames": { - "description": "Enabled hostnames for the app.Hostnames need to be assigned (see HostNames) AND enabled. Otherwise,\n the app is not served on those hostnames.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "availabilityState": { - "description": "Management information availability state for the app.", - "enum": [ - "Normal", - "Limited", - "DisasterRecoveryMode" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "SiteAvailabilityState", - "modelAsString": false - } - }, - "hostNameSslStates": { - "description": "Hostname SSL states are used to manage the SSL bindings for app's hostnames.", - "type": "array", - "items": { - "$ref": "#/definitions/HostNameSslState" - } - }, - "serverFarmId": { - "description": "Resource ID of the associated App Service plan, formatted as: \"/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}\".", - "type": "string" - }, - "reserved": { - "description": "true if reserved; otherwise, false.", - "default": false, - "type": "boolean", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "lastModifiedTimeUtc": { - "format": "date-time", - "description": "Last time the app was modified, in UTC. Read-only.", - "type": "string", - "readOnly": true - }, - "siteConfig": { - "$ref": "#/definitions/SiteConfig", - "description": "Configuration of the app." - }, - "trafficManagerHostNames": { - "description": "Azure Traffic Manager hostnames associated with the app. Read-only.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "premiumAppDeployed": { - "description": "Indicates whether app is deployed as a premium app.", - "type": "boolean", - "readOnly": true - }, - "scmSiteAlsoStopped": { - "description": "true to stop SCM (KUDU) site when the app is stopped; otherwise, false. The default is false.", - "default": false, - "type": "boolean" - }, - "targetSwapSlot": { - "description": "Specifies which deployment slot this app will swap into. Read-only.", - "type": "string", - "readOnly": true - }, - "hostingEnvironmentProfile": { - "$ref": "#/definitions/HostingEnvironmentProfile", - "description": "App Service Environment to use for the app.", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "microService": { - "description": "Micro services like apps, logic apps.", - "default": "WebSites", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "gatewaySiteName": { - "description": "Name of gateway app associated with the app.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "clientAffinityEnabled": { - "description": "true to enable client affinity; false to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is true.", - "type": "boolean" - }, - "clientCertEnabled": { - "description": "true to enable client certificate authentication (TLS mutual authentication); otherwise, false. Default is false.", - "type": "boolean" - }, - "hostNamesDisabled": { - "description": "true to disable the public hostnames of the app; otherwise, false.\n If true, the app is only accessible via API management process.", - "type": "boolean" - }, - "outboundIpAddresses": { - "description": "List of IP addresses that the app uses for outbound connections (e.g. database access). Read-only.", - "type": "string", - "readOnly": true - }, - "containerSize": { - "format": "int32", - "description": "Size of the function container.", - "type": "integer" - }, - "dailyMemoryTimeQuota": { - "format": "int32", - "description": "Maximum allowed daily memory-time quota (applicable on dynamic apps only).", - "type": "integer" - }, - "suspendedTill": { - "format": "date-time", - "description": "App suspended till in case memory-time quota is exceeded.", - "type": "string", - "readOnly": true - }, - "maxNumberOfWorkers": { - "format": "int32", - "description": "Maximum number of workers.\n This only applies to Functions container.", - "type": "integer", - "readOnly": true - }, - "cloningInfo": { - "$ref": "#/definitions/CloningInfo", - "description": "If specified during app creation, the app is cloned from a source app.", - "x-ms-mutability": [ - "create" - ] - }, - "resourceGroup": { - "description": "Name of the resource group the app belongs to. Read-only.", - "type": "string", - "readOnly": true - }, - "isDefaultContainer": { - "description": "true if the app is a default container; otherwise, false.", - "type": "boolean", - "readOnly": true - }, - "defaultHostName": { - "description": "Default hostname of the app. Read-only.", - "type": "string", - "readOnly": true - }, - "slotSwapStatus": { - "$ref": "#/definitions/SlotSwapStatus", - "description": "Status of the last deployment slot swap operation.", - "readOnly": true - } - }, - "x-ms-client-flatten": true + "readOnly": true } } }, @@ -518,654 +94,6 @@ "type": "string" } } - }, - "Experiments": { - "description": "Routing rules in production experiments.", - "type": "object", - "properties": { - "rampUpRules": { - "description": "List of ramp-up rules.", - "type": "array", - "items": { - "$ref": "#/definitions/RampUpRule" - } - } - } - }, - "HandlerMapping": { - "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \n For example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.", - "type": "object", - "properties": { - "extension": { - "description": "Requests with this extension will be handled using the specified FastCGI application.", - "type": "string" - }, - "scriptProcessor": { - "description": "The absolute path to the FastCGI application.", - "type": "string" - }, - "arguments": { - "description": "Command-line arguments to be passed to the script processor.", - "type": "string" - } - } - }, - "HostNameSslState": { - "description": "SSL-enabled hostname.", - "type": "object", - "properties": { - "name": { - "description": "Hostname.", - "type": "string" - }, - "sslState": { - "description": "SSL type.", - "enum": [ - "Disabled", - "SniEnabled", - "IpBasedEnabled" - ], - "type": "string", - "x-ms-enum": { - "name": "SslState", - "modelAsString": false - } - }, - "virtualIP": { - "description": "Virtual IP address assigned to the hostname if IP based SSL is enabled.", - "type": "string" - }, - "thumbprint": { - "description": "SSL certificate thumbprint.", - "type": "string" - }, - "toUpdate": { - "description": "Set to true to update existing hostname.", - "type": "boolean" - }, - "hostType": { - "description": "Indicates whether the hostname is a standard or repository hostname.", - "enum": [ - "Standard", - "Repository" - ], - "type": "string", - "x-ms-enum": { - "name": "HostType", - "modelAsString": false - } - } - } - }, - "HostingEnvironmentProfile": { - "description": "Specification for an App Service Environment to use for this resource.", - "type": "object", - "properties": { - "id": { - "description": "Resource ID of the App Service Environment.", - "type": "string" - }, - "name": { - "description": "Name of the App Service Environment.", - "type": "string", - "readOnly": true - }, - "type": { - "description": "Resource type of the App Service Environment.", - "type": "string", - "readOnly": true - } - } - }, - "IpSecurityRestriction": { - "description": "IP security restriction on an app.", - "required": [ - "ipAddress" - ], - "type": "object", - "properties": { - "ipAddress": { - "description": "IP address the security restriction is valid for.", - "type": "string" - }, - "subnetMask": { - "description": "Subnet mask for the range of IP addresses the restriction is valid for.", - "type": "string" - } - } - }, - "NameValuePair": { - "description": "Name value pair.", - "type": "object", - "properties": { - "name": { - "description": "Pair name.", - "type": "string" - }, - "value": { - "description": "Pair value.", - "type": "string" - } - } - }, - "PushSettings": { - "description": "Push settings for the App.", - "required": [ - "isPushEnabled" - ], - "type": "object", - "properties": { - "isPushEnabled": { - "description": "Gets or sets a flag indicating whether the Push endpoint is enabled.", - "type": "boolean" - }, - "tagWhitelistJson": { - "description": "Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint.", - "type": "string" - }, - "tagsRequiringAuth": { - "description": "Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.\n Tags can consist of alphanumeric characters and the following:\n '_', '@', '#', '.', ':', '-'. \n Validation should be performed at the PushRequestHandler.", - "type": "string" - }, - "dynamicTagsJson": { - "description": "Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint.", - "type": "string" - } - } - }, - "RampUpRule": { - "description": "Routing rules for ramp up testing. This rule allows to redirect static traffic % to a slot or to gradually change routing % based on performance.", - "type": "object", - "properties": { - "actionHostName": { - "description": "Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net.", - "type": "string" - }, - "reroutePercentage": { - "format": "double", - "description": "Percentage of the traffic which will be redirected to ActionHostName.", - "type": "number" - }, - "changeStep": { - "format": "double", - "description": "In auto ramp up scenario this is the step to to add/remove from ReroutePercentage until it reaches \n MinReroutePercentage or MaxReroutePercentage. Site metrics are checked every N minutes specificed in ChangeIntervalInMinutes.\n Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified in ChangeDecisionCallbackUrl.", - "type": "number" - }, - "changeIntervalInMinutes": { - "format": "int32", - "description": "Specifies interval in mimuntes to reevaluate ReroutePercentage.", - "type": "integer" - }, - "minReroutePercentage": { - "format": "double", - "description": "Specifies lower boundary above which ReroutePercentage will stay.", - "type": "number" - }, - "maxReroutePercentage": { - "format": "double", - "description": "Specifies upper boundary below which ReroutePercentage will stay.", - "type": "number" - }, - "changeDecisionCallbackUrl": { - "description": "Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts.\n https://www.siteextensions.net/packages/TiPCallback/", - "type": "string" - }, - "name": { - "description": "Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment.", - "type": "string" - } - } - }, - "RequestsBasedTrigger": { - "description": "Trigger based on total requests.", - "type": "object", - "properties": { - "count": { - "format": "int32", - "description": "Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - } - } - }, - "Resource": { - "description": "Azure resource. This resource is tracked in Azure Resource Manager", - "required": [ - "location" - ], - "properties": { - "id": { - "description": "Resource Id.", - "type": "string", - "readOnly": true - }, - "name": { - "description": "Resource Name.", - "type": "string", - "readOnly": true - }, - "kind": { - "description": "Kind of resource.", - "type": "string" - }, - "location": { - "description": "Resource Location.", - "type": "string" - }, - "type": { - "description": "Resource type.", - "type": "string", - "readOnly": true - }, - "tags": { - "description": "Resource tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } - } - }, - "x-ms-azure-resource": true - }, - "SiteConfig": { - "description": "Configuration of an App Service app.", - "type": "object", - "properties": { - "numberOfWorkers": { - "format": "int32", - "description": "Number of workers.", - "type": "integer" - }, - "defaultDocuments": { - "description": "Default documents.", - "type": "array", - "items": { - "type": "string" - } - }, - "netFrameworkVersion": { - "description": ".NET Framework version.", - "default": "v4.6", - "type": "string" - }, - "phpVersion": { - "description": "Version of PHP.", - "type": "string" - }, - "pythonVersion": { - "description": "Version of Python.", - "type": "string" - }, - "nodeVersion": { - "description": "Version of Node.js.", - "type": "string" - }, - "linuxFxVersion": { - "description": "Linux App Framework and version", - "type": "string" - }, - "requestTracingEnabled": { - "description": "true if request tracing is enabled; otherwise, false.", - "type": "boolean" - }, - "requestTracingExpirationTime": { - "format": "date-time", - "description": "Request tracing expiration time.", - "type": "string" - }, - "remoteDebuggingEnabled": { - "description": "true if remote debugging is enabled; otherwise, false.", - "type": "boolean" - }, - "remoteDebuggingVersion": { - "description": "Remote debugging version.", - "type": "string" - }, - "httpLoggingEnabled": { - "description": "true if HTTP logging is enabled; otherwise, false.", - "type": "boolean" - }, - "logsDirectorySizeLimit": { - "format": "int32", - "description": "HTTP logs directory size limit.", - "type": "integer" - }, - "detailedErrorLoggingEnabled": { - "description": "true if detailed error logging is enabled; otherwise, false.", - "type": "boolean" - }, - "publishingUsername": { - "description": "Publishing user name.", - "type": "string" - }, - "appSettings": { - "description": "Application settings.", - "type": "array", - "items": { - "$ref": "#/definitions/NameValuePair" - } - }, - "connectionStrings": { - "description": "Connection strings.", - "type": "array", - "items": { - "$ref": "#/definitions/ConnStringInfo" - } - }, - "machineKey": { - "$ref": "#/definitions/SiteMachineKey", - "description": "Site MachineKey.", - "readOnly": true - }, - "handlerMappings": { - "description": "Handler mappings.", - "type": "array", - "items": { - "$ref": "#/definitions/HandlerMapping" - } - }, - "documentRoot": { - "description": "Document root.", - "type": "string" - }, - "scmType": { - "description": "SCM type.", - "enum": [ - "None", - "Dropbox", - "Tfs", - "LocalGit", - "GitHub", - "CodePlexGit", - "CodePlexHg", - "BitbucketGit", - "BitbucketHg", - "ExternalGit", - "ExternalHg", - "OneDrive", - "VSO" - ], - "type": "string", - "x-ms-enum": { - "name": "ScmType", - "modelAsString": true - } - }, - "use32BitWorkerProcess": { - "description": "true to use 32-bit worker process; otherwise, false.", - "type": "boolean" - }, - "webSocketsEnabled": { - "description": "true if WebSocket is enabled; otherwise, false.", - "type": "boolean" - }, - "alwaysOn": { - "description": "true if Always On is enabled; otherwise, false.", - "type": "boolean" - }, - "javaVersion": { - "description": "Java version.", - "type": "string" - }, - "javaContainer": { - "description": "Java container.", - "type": "string" - }, - "javaContainerVersion": { - "description": "Java container version.", - "type": "string" - }, - "appCommandLine": { - "description": "App command line to launch.", - "type": "string" - }, - "managedPipelineMode": { - "description": "Managed pipeline mode.", - "enum": [ - "Integrated", - "Classic" - ], - "type": "string", - "x-ms-enum": { - "name": "ManagedPipelineMode", - "modelAsString": false - } - }, - "virtualApplications": { - "description": "Virtual applications.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualApplication" - } - }, - "loadBalancing": { - "description": "Site load balancing.", - "enum": [ - "WeightedRoundRobin", - "LeastRequests", - "LeastResponseTime", - "WeightedTotalTraffic", - "RequestHash" - ], - "type": "string", - "x-ms-enum": { - "name": "SiteLoadBalancing", - "modelAsString": false - } - }, - "experiments": { - "$ref": "#/definitions/Experiments", - "description": "This is work around for polymophic types." - }, - "limits": { - "$ref": "#/definitions/SiteLimits", - "description": "Site limits." - }, - "autoHealEnabled": { - "description": "true if Auto Heal is enabled; otherwise, false.", - "type": "boolean" - }, - "autoHealRules": { - "$ref": "#/definitions/AutoHealRules", - "description": "Auto Heal rules." - }, - "tracingOptions": { - "description": "Tracing options.", - "type": "string" - }, - "vnetName": { - "description": "Virtual Network name.", - "type": "string", - "x-ms-mutability": [ - "create", - "read" - ] - }, - "cors": { - "$ref": "#/definitions/CorsSettings", - "description": "Cross-Origin Resource Sharing (CORS) settings." - }, - "push": { - "$ref": "#/definitions/PushSettings", - "description": "Push endpoint settings." - }, - "apiDefinition": { - "$ref": "#/definitions/ApiDefinitionInfo", - "description": "Information about the formal API definition for the app." - }, - "autoSwapSlotName": { - "description": "Auto-swap slot name.", - "type": "string" - }, - "localMySqlEnabled": { - "description": "true to enable local MySQL; otherwise, false.", - "default": false, - "type": "boolean" - }, - "ipSecurityRestrictions": { - "description": "IP security restrictions.", - "type": "array", - "items": { - "$ref": "#/definitions/IpSecurityRestriction" - } - } - } - }, - "SiteLimits": { - "description": "Metric limits set on an app.", - "type": "object", - "properties": { - "maxPercentageCpu": { - "format": "double", - "description": "Maximum allowed CPU usage percentage.", - "type": "number" - }, - "maxMemoryInMb": { - "format": "int64", - "description": "Maximum allowed memory usage in MB.", - "type": "integer" - }, - "maxDiskSizeInMb": { - "format": "int64", - "description": "Maximum allowed disk size usage in MB.", - "type": "integer" - } - } - }, - "SiteMachineKey": { - "description": "MachineKey of an app.", - "type": "object", - "properties": { - "validation": { - "description": "MachineKey validation.", - "type": "string" - }, - "validationKey": { - "description": "Validation key.", - "type": "string" - }, - "decryption": { - "description": "Decryption.", - "type": "string" - }, - "decryptionKey": { - "description": "Decryption key.", - "type": "string" - } - } - }, - "SlotSwapStatus": { - "description": "The status of the last successfull slot swap operation.", - "type": "object", - "properties": { - "timestampUtc": { - "format": "date-time", - "description": "The time the last successful slot swap completed.", - "type": "string", - "readOnly": true - }, - "sourceSlotName": { - "description": "The source slot of the last swap operation.", - "type": "string", - "readOnly": true - }, - "destinationSlotName": { - "description": "The destination slot of the last swap operation.", - "type": "string", - "readOnly": true - } - } - }, - "SlowRequestsBasedTrigger": { - "description": "Trigger based on request execution time.", - "type": "object", - "properties": { - "timeTaken": { - "description": "Time taken.", - "type": "string" - }, - "count": { - "format": "int32", - "description": "Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - } - } - }, - "StatusCodesBasedTrigger": { - "description": "Trigger based on status code.", - "type": "object", - "properties": { - "status": { - "format": "int32", - "description": "HTTP status code.", - "type": "integer" - }, - "subStatus": { - "format": "int32", - "description": "SubStatus.", - "type": "integer" - }, - "win32Status": { - "format": "int32", - "description": "Win32 error code.", - "type": "integer" - }, - "count": { - "format": "int32", - "description": "Count.", - "type": "integer" - }, - "timeInterval": { - "description": "Time interval.", - "type": "string" - } - } - }, - "VirtualApplication": { - "description": "Virtual application in an app.", - "type": "object", - "properties": { - "virtualPath": { - "description": "Virtual path.", - "type": "string" - }, - "physicalPath": { - "description": "Physical path.", - "type": "string" - }, - "preloadEnabled": { - "description": "true if preloading is enabled; otherwise, false.", - "type": "boolean" - }, - "virtualDirectories": { - "description": "Virtual directories for virtual application.", - "type": "array", - "items": { - "$ref": "#/definitions/VirtualDirectory" - } - } - } - }, - "VirtualDirectory": { - "description": "Directory for virtual application.", - "type": "object", - "properties": { - "virtualPath": { - "description": "Path to virtual application.", - "type": "string" - }, - "physicalPath": { - "description": "Physical path.", - "type": "string" - } - } } }, "parameters": { @@ -1176,17 +104,6 @@ "required": true, "type": "string" }, - "resourceGroupNameParameter": { - "name": "resourceGroupName", - "in": "path", - "description": "Name of the resource group to which the resource belongs.", - "required": true, - "x-ms-parameter-location": "method", - "type": "string", - "maxLength": 90, - "minLength": 1, - "pattern": "^[-\\w\\._\\(\\)]+[^\\.]$" - }, "apiVersionParameter": { "name": "api-version", "in": "query", @@ -1213,4 +130,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json index b42d5817bc58..523fd86ba9d1 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-08-01/WebApps.json @@ -166,7 +166,7 @@ { "name": "skipDnsRegistration", "in": "query", - "description": "If true web app hostname is not registered with DNS on creation. This parameter is\n only used for app creation", + "description": "If true web app hostname is not registered with DNS on creation. This parameter is\n only used for app creation.", "type": "boolean" }, { @@ -178,13 +178,13 @@ { "name": "forceDnsRegistration", "in": "query", - "description": "If true, web app hostname is force registered with DNS", + "description": "If true, web app hostname is force registered with DNS.", "type": "boolean" }, { "name": "ttlInSeconds", "in": "query", - "description": "Time to live in seconds for web app's default domain name", + "description": "Time to live in seconds for web app's default domain name.", "type": "string" }, { @@ -196,13 +196,13 @@ ], "responses": { "200": { - "description": "OK", + "description": "OK.", "schema": { "$ref": "#/definitions/Site" } }, "202": { - "description": "Asynchronous operation in progress", + "description": "Asynchronous operation in progress.", "schema": { "$ref": "#/definitions/Site" } @@ -231,7 +231,7 @@ { "name": "deleteMetrics", "in": "query", - "description": "If true, web app metrics are also deleted", + "description": "If true, web app metrics are also deleted.", "type": "boolean" }, { @@ -243,7 +243,7 @@ { "name": "skipDnsRegistration", "in": "query", - "description": "If true, DNS registration is skipped", + "description": "If true, DNS registration is skipped.", "type": "boolean" }, { @@ -255,10 +255,10 @@ ], "responses": { "200": { - "description": "Succesfully deleted web app" + "description": "Succesfully deleted web app." }, "404": { - "description": "Web app not found" + "description": "Web app not found." } } } @@ -284,14 +284,14 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Name of web app.", "required": true, "type": "string" }, { "name": "hostName", "in": "query", - "description": "Custom hostname", + "description": "Custom hostname.", "type": "string" }, { @@ -355,7 +355,7 @@ ], "responses": { "200": { - "description": "OK" + "description": "OK." } } } @@ -631,21 +631,21 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Name of web app.", "required": true, "type": "string" }, { "name": "backupId", "in": "path", - "description": "Id of backup", + "description": "ID of backup.", "required": true, "type": "string" }, { "name": "request", "in": "body", - "description": "Information on backup request", + "description": "Information on backup request.", "required": true, "schema": { "$ref": "#/definitions/BackupRequest" @@ -708,7 +708,7 @@ { "name": "request", "in": "body", - "description": "Information on restore request", + "description": "Information on restore request .", "required": true, "schema": { "$ref": "#/definitions/RestoreRequest" @@ -899,14 +899,14 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Name of web app.", "required": true, "type": "string" }, { "name": "siteAuthSettings", "in": "body", - "description": "Auth settings associated with web app", + "description": "Auth settings associated with web app.", "required": true, "schema": { "$ref": "#/definitions/SiteAuthSettings" @@ -1461,14 +1461,14 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Name of web app.", "required": true, "type": "string" }, { "name": "pushSettings", "in": "body", - "description": "Push settings associated with web app", + "description": "Push settings associated with web app.", "required": true, "schema": { "$ref": "#/definitions/PushSettings" @@ -1512,7 +1512,7 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Name of web app.", "required": true, "type": "string" }, @@ -1913,13 +1913,259 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "List continuous web jobs for an app, or a deployment slot.", + "description": "List continuous web jobs for an app, or a deployment slot.", + "operationId": "WebApps_ListContinuousWebJobs", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ContinuousWebJobCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName}": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Gets a continuous web job by its ID for an app, or a deployment slot.", + "description": "Gets a continuous web job by its ID for an app, or a deployment slot.", + "operationId": "WebApps_GetContinuousWebJob", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "webJobId", + "in": "query", + "description": "Web job ID.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Found continuous web job.", + "schema": { + "$ref": "#/definitions/ContinuousWebJob" + } + }, + "404": { + "description": "Continuous web job does not exist." + } + } + }, + "delete": { + "tags": [ + "WebApps" + ], + "summary": "Delete a continuous web job by its ID for an app, or a deployment slot.", + "description": "Delete a continuous web job by its ID for an app, or a deployment slot.", + "operationId": "WebApps_DeleteContinuousWebJob", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "webJobId", + "in": "query", + "description": "Web job ID.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Succesfully deleted continuous web job." + }, + "204": { + "description": "Continuous web job does not exist." + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName}/start": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Start a continuous web job for an app, or a deployment slot.", + "description": "Start a continuous web job for an app, or a deployment slot.", + "operationId": "WebApps_StartContinuousWebJob", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "webJobId", + "in": "query", + "description": "Web job ID.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Found continuous web job." + }, + "404": { + "description": "Continuous web job does not exist." + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/continuouswebjobs/{webJobName}/stop": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Stop a continuous web job for an app, or a deployment slot.", + "description": "Stop a continuous web job for an app, or a deployment slot.", + "operationId": "WebApps_StopContinuousWebJob", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "webJobId", + "in": "query", + "description": "Web job ID.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Found continuous web job." + }, + "404": { + "description": "Continuous web job does not exist." + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments": { "get": { "tags": [ "WebApps" ], - "summary": "List deployments for an app, or a deployment slot, or for an instance of a scaled-out app.", - "description": "List deployments for an app, or a deployment slot, or for an instance of a scaled-out app.", + "summary": "List deployments for an app, or a deployment slot.", + "description": "List deployments for an app, or a deployment slot.", "operationId": "WebApps_ListDeployments", "produces": [ "application/json", @@ -1961,8 +2207,8 @@ "tags": [ "WebApps" ], - "summary": "Get a deployment by its ID for an app, a specific deployment slot, and/or a specific scaled-out instance.", - "description": "Get a deployment by its ID for an app, a specific deployment slot, and/or a specific scaled-out instance.", + "summary": "Get a deployment by its ID for an app, or a deployment slot.", + "description": "Get a deployment by its ID for an app, or a deployment slot.", "operationId": "WebApps_GetDeployment", "produces": [ "application/json", @@ -2008,8 +2254,8 @@ "tags": [ "WebApps" ], - "summary": "Create a deployment for an app, a specific deployment slot, and/or a specific scaled-out instance.", - "description": "Create a deployment for an app, a specific deployment slot, and/or a specific scaled-out instance.", + "summary": "Create a deployment for an app, or a deployment slot.", + "description": "Create a deployment for an app, or a deployment slot.", "operationId": "WebApps_CreateDeployment", "consumes": [ "application/json", @@ -2069,8 +2315,8 @@ "tags": [ "WebApps" ], - "summary": "Delete a deployment by its ID for an app, a specific deployment slot, and/or a specific scaled-out instance.", - "description": "Delete a deployment by its ID for an app, a specific deployment slot, and/or a specific scaled-out instance.", + "summary": "Delete a deployment by its ID for an app, or a deployment slot.", + "description": "Delete a deployment by its ID for an app, or a deployment slot.", "operationId": "WebApps_DeleteDeployment", "parameters": [ { @@ -2099,10 +2345,59 @@ ], "responses": { "200": { - "description": "Succesfully deleted deployment" + "description": "Succesfully deleted deployment." }, "204": { - "description": "Deployment does not exist" + "description": "Deployment does not exist." + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/deployments/{id}/log": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "List deployment log for specific deployment for an app, or a deployment slot.", + "description": "List deployment log for specific deployment for an app, or a deployment slot.", + "operationId": "WebApps_ListDeploymentLog", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "The ID of a specific deployment. This is the value of the name property in the JSON response from \"GET /api/sites/{siteName}/deployments\".", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/Deployment" + } } } } @@ -2367,8 +2662,8 @@ "tags": [ "WebApps" ], - "summary": "Invoke the MSDeploy web app extension as pass-through API", - "description": "Invoke the MSDeploy web app extension as pass-through API", + "summary": "Get the status of the last MSDeploy operation.", + "description": "Get the status of the last MSDeploy operation.", "operationId": "WebApps_GetMSDeployStatus", "produces": [ "application/json", @@ -2383,7 +2678,7 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Name of web app.", "required": true, "type": "string" }, @@ -2407,8 +2702,8 @@ "tags": [ "WebApps" ], - "summary": "Invoke the MSDeploy web app extension as pass-through API", - "description": "Invoke the MSDeploy web app extension as pass-through API", + "summary": "Invoke the MSDeploy web app extension.", + "description": "Invoke the MSDeploy web app extension.", "operationId": "WebApps_CreateMSDeployOperation", "consumes": [ "application/json", @@ -2428,7 +2723,7 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Name of web app.", "required": true, "type": "string" }, @@ -2450,13 +2745,13 @@ ], "responses": { "201": { - "description": "Deployment is scheduled", + "description": "Deployment is scheduled.", "schema": { "$ref": "#/definitions/MSDeployStatus" } }, "409": { - "description": "Another deployment is in progress" + "description": "Another deployment is in progress." } }, "x-ms-long-running-operation": true @@ -2467,8 +2762,8 @@ "tags": [ "WebApps" ], - "summary": "Invoke the MSDeploy Log web app extension as pass-through API", - "description": "Invoke the MSDeploy Log web app extension as pass-through API", + "summary": "Get the MSDeploy Log for the last MSDeploy operation.", + "description": "Get the MSDeploy Log for the last MSDeploy operation.", "operationId": "WebApps_GetMSDeployLog", "produces": [ "application/json", @@ -2483,7 +2778,7 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Name of web app.", "required": true, "type": "string" }, @@ -2496,27 +2791,28 @@ ], "responses": { "200": { - "description": "OK", + "description": "MSDeploy log returned.", "schema": { "$ref": "#/definitions/MSDeployLog" } + }, + "404": { + "description": "MSDeploy log not found." } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/admin/token": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions": { "get": { "tags": [ "WebApps" ], - "summary": "Fetch a short lived token that can be exchanged for a master key.", - "description": "Fetch a short lived token that can be exchanged for a master key.", - "operationId": "WebApps_GetFunctionsAdminToken", + "summary": "List the functions for a web site, or a deployment slot.", + "description": "List the functions for a web site, or a deployment slot.", + "operationId": "WebApps_ListFunctions", "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -2525,7 +2821,55 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Function information returned.", + "schema": { + "$ref": "#/definitions/FunctionEnvelopeCollection" + } + }, + "404": { + "description": "Function with an ID of {functionName} is not running." + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/admin/token": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Fetch a short lived token that can be exchanged for a master key.", + "description": "Fetch a short lived token that can be exchanged for a master key.", + "operationId": "WebApps_GetFunctionsAdminToken", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of web app.", "required": true, "type": "string" }, @@ -2546,6 +2890,210 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Get function information by its ID for web site, or a deployment slot.", + "description": "Get function information by its ID for web site, or a deployment slot.", + "operationId": "WebApps_GetFunction", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "functionName", + "in": "path", + "description": "Function name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Function information returned.", + "schema": { + "$ref": "#/definitions/FunctionEnvelope" + } + }, + "404": { + "description": "Function with an name of {functionName} is not running." + } + } + }, + "put": { + "tags": [ + "WebApps" + ], + "summary": "Create function for web site, or a deployment slot.", + "description": "Create function for web site, or a deployment slot.", + "operationId": "WebApps_CreateFunction", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "functionName", + "in": "path", + "description": "Function name.", + "required": true, + "type": "string" + }, + { + "name": "function_envelope", + "in": "body", + "description": "Function details.", + "required": true, + "schema": { + "$ref": "#/definitions/FunctionEnvelope" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "201": { + "description": "Function created.", + "schema": { + "$ref": "#/definitions/FunctionEnvelope" + } + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "WebApps" + ], + "summary": "Delete a function for web site, or a deployment slot.", + "description": "Delete a function for web site, or a deployment slot.", + "operationId": "WebApps_DeleteFunction", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "functionName", + "in": "path", + "description": "Function name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "204": { + "description": "Function deleted." + }, + "404": { + "description": "Function does not exist." + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/functions/{functionName}/listsecrets": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Get function secrets for a function in a web site, or a deployment slot.", + "description": "Get function secrets for a function in a web site, or a deployment slot.", + "operationId": "WebApps_ListFunctionSecrets", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "functionName", + "in": "path", + "description": "Function name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Function secrets returned.", + "schema": { + "$ref": "#/definitions/FunctionSecrets" + } + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/hostNameBindings": { "get": { "tags": [ @@ -2732,10 +3280,10 @@ ], "responses": { "200": { - "description": "Succesfully deleted hostname binding" + "description": "Succesfully deleted hostname binding." }, "204": { - "description": "Hostname binding does not exist" + "description": "Hostname binding does not exist." } } } @@ -2761,21 +3309,21 @@ { "name": "name", "in": "path", - "description": "The name of the web app", + "description": "The name of the web app.", "required": true, "type": "string" }, { "name": "namespaceName", "in": "path", - "description": "The namespace for this hybrid connection", + "description": "The namespace for this hybrid connection.", "required": true, "type": "string" }, { "name": "relayName", "in": "path", - "description": "The relay name for this hybrid connection", + "description": "The relay name for this hybrid connection.", "required": true, "type": "string" }, @@ -2820,28 +3368,28 @@ { "name": "name", "in": "path", - "description": "The name of the web app", + "description": "The name of the web app.", "required": true, "type": "string" }, { "name": "namespaceName", "in": "path", - "description": "The namespace for this hybrid connection", + "description": "The namespace for this hybrid connection.", "required": true, "type": "string" }, { "name": "relayName", "in": "path", - "description": "The relay name for this hybrid connection", + "description": "The relay name for this hybrid connection.", "required": true, "type": "string" }, { "name": "connectionEnvelope", "in": "body", - "description": "The details of the hybrid connection", + "description": "The details of the hybrid connection.", "required": true, "schema": { "$ref": "#/definitions/HybridConnection" @@ -2877,21 +3425,21 @@ { "name": "name", "in": "path", - "description": "The name of the web app", + "description": "The name of the web app.", "required": true, "type": "string" }, { "name": "namespaceName", "in": "path", - "description": "The namespace for this hybrid connection", + "description": "The namespace for this hybrid connection.", "required": true, "type": "string" }, { "name": "relayName", "in": "path", - "description": "The relay name for this hybrid connection", + "description": "The relay name for this hybrid connection.", "required": true, "type": "string" }, @@ -2936,28 +3484,28 @@ { "name": "name", "in": "path", - "description": "The name of the web app", + "description": "The name of the web app.", "required": true, "type": "string" }, { "name": "namespaceName", "in": "path", - "description": "The namespace for this hybrid connection", + "description": "The namespace for this hybrid connection.", "required": true, "type": "string" }, { "name": "relayName", "in": "path", - "description": "The relay name for this hybrid connection", + "description": "The relay name for this hybrid connection.", "required": true, "type": "string" }, { "name": "connectionEnvelope", "in": "body", - "description": "The details of the hybrid connection", + "description": "The details of the hybrid connection.", "required": true, "schema": { "$ref": "#/definitions/HybridConnection" @@ -3001,21 +3549,21 @@ { "name": "name", "in": "path", - "description": "The name of the web app", + "description": "The name of the web app.", "required": true, "type": "string" }, { "name": "namespaceName", "in": "path", - "description": "The namespace for this hybrid connection", + "description": "The namespace for this hybrid connection.", "required": true, "type": "string" }, { "name": "relayName", "in": "path", - "description": "The relay name for this hybrid connection", + "description": "The relay name for this hybrid connection.", "required": true, "type": "string" }, @@ -3057,7 +3605,7 @@ { "name": "name", "in": "path", - "description": "The name of the web app", + "description": "The name of the web app.", "required": true, "type": "string" }, @@ -3375,17 +3923,19 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/deployments": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/extensions/MSDeploy": { "get": { "tags": [ "WebApps" ], - "summary": "List deployments for an app, or a deployment slot, or for an instance of a scaled-out app.", - "description": "List deployments for an app, or a deployment slot, or for an instance of a scaled-out app.", - "operationId": "WebApps_ListInstanceDeployments", + "summary": "Get the status of the last MSDeploy operation.", + "description": "Get the status of the last MSDeploy operation.", + "operationId": "WebApps_GetInstanceMsDeployStatus", "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -3394,14 +3944,14 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Name of web app.", "required": true, "type": "string" }, { "name": "instanceId", "in": "path", - "description": "The ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\"", + "description": "ID of web app instance.", "required": true, "type": "string" }, @@ -3416,23 +3966,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/DeploymentCollection" + "$ref": "#/definitions/MSDeployStatus" } } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/deployments/{id}": { - "get": { + }, + "put": { "tags": [ "WebApps" ], - "summary": "Get a deployment by its ID for an app, a specific deployment slot, and/or a specific scaled-out instance.", - "description": "Get a deployment by its ID for an app, a specific deployment slot, and/or a specific scaled-out instance.", - "operationId": "WebApps_GetInstanceDeployment", + "summary": "Invoke the MSDeploy web app extension.", + "description": "Invoke the MSDeploy web app extension.", + "operationId": "WebApps_CreateInstanceMSDeployOperation", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -3446,23 +3996,25 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Name of web app.", "required": true, "type": "string" }, { - "name": "id", + "name": "instanceId", "in": "path", - "description": "Deployment ID.", + "description": "ID of web app instance.", "required": true, "type": "string" }, { - "name": "instanceId", - "in": "path", - "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\"", + "name": "MSDeploy", + "in": "body", + "description": "Details of MSDeploy operation", "required": true, - "type": "string" + "schema": { + "$ref": "#/definitions/MSDeploy" + } }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -3472,26 +4024,27 @@ } ], "responses": { - "200": { - "description": "OK", + "201": { + "description": "Deployment is scheduled.", "schema": { - "$ref": "#/definitions/Deployment" + "$ref": "#/definitions/MSDeployStatus" } + }, + "409": { + "description": "Another deployment is in progress." } - } - }, - "put": { + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/extensions/MSDeploy/log": { + "get": { "tags": [ "WebApps" ], - "summary": "Create a deployment for an app, a specific deployment slot, and/or a specific scaled-out instance.", - "description": "Create a deployment for an app, a specific deployment slot, and/or a specific scaled-out instance.", - "operationId": "WebApps_CreateInstanceDeployment", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Get the MSDeploy Log for the last MSDeploy operation.", + "description": "Get the MSDeploy Log for the last MSDeploy operation.", + "operationId": "WebApps_GetInstanceMSDeployLog", "produces": [ "application/json", "text/json", @@ -3505,33 +4058,17 @@ { "name": "name", "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "path", - "description": "ID of an existing deployment.", + "description": "Name of web app.", "required": true, "type": "string" }, { "name": "instanceId", "in": "path", - "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\"", + "description": "ID of web app instance.", "required": true, "type": "string" }, - { - "name": "deployment", - "in": "body", - "description": "Deployment details.", - "required": true, - "schema": { - "$ref": "#/definitions/Deployment" - } - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -3541,20 +4078,29 @@ ], "responses": { "200": { - "description": "OK", + "description": "MSDeploy log returned.", "schema": { - "$ref": "#/definitions/Deployment" + "$ref": "#/definitions/MSDeployLog" } + }, + "404": { + "description": "MSDeploy log not found." } } - }, - "delete": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes": { + "get": { "tags": [ "WebApps" ], - "summary": "Delete a deployment by its ID for an app, a specific deployment slot, and/or a specific scaled-out instance.", - "description": "Delete a deployment by its ID for an app, a specific deployment slot, and/or a specific scaled-out instance.", - "operationId": "WebApps_DeleteInstanceDeployment", + "summary": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", + "description": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", + "operationId": "WebApps_ListInstanceProcesses", + "produces": [ + "application/json", + "text/json" + ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -3562,21 +4108,14 @@ { "name": "name", "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "path", - "description": "Deployment ID.", + "description": "Site name.", "required": true, "type": "string" }, { "name": "instanceId", "in": "path", - "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\"", + "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", "required": true, "type": "string" }, @@ -3589,22 +4128,28 @@ ], "responses": { "200": { - "description": "Succesfully deleted deployment" + "description": "Process terminated.", + "schema": { + "$ref": "#/definitions/ProcessInfoCollection" + } }, - "204": { - "description": "Deployment does not exist" + "404": { + "description": "Process with the specified ID is not running." } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/extensions/MSDeploy": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}": { "get": { "tags": [ "WebApps" ], - "summary": "Invoke the MSDeploy web app extension as pass-through API", - "description": "Invoke the MSDeploy web app extension as pass-through API", - "operationId": "WebApps_GetInstanceMsDeployStatus", + "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", + "description": "Get process information by its ID for a specific scaled-out instance in a web site.", + "operationId": "WebApps_GetInstanceProcess", "produces": [ "application/json", "text/json", @@ -3618,14 +4163,21 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", "required": true, "type": "string" }, { "name": "instanceId", "in": "path", - "description": "Id of web app instance", + "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", "required": true, "type": "string" }, @@ -3638,31 +4190,23 @@ ], "responses": { "200": { - "description": "OK", + "description": "Process information returned.", "schema": { - "$ref": "#/definitions/MSDeployStatus" + "$ref": "#/definitions/ProcessInfo" } + }, + "404": { + "description": "Process with the specified ID is not running." } } }, - "put": { + "delete": { "tags": [ "WebApps" ], - "summary": "Invoke the MSDeploy web app extension as pass-through API", - "description": "Invoke the MSDeploy web app extension as pass-through API", - "operationId": "WebApps_CreateInstanceMSDeployOperation", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], + "summary": "Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.", + "description": "Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.", + "operationId": "WebApps_DeleteInstanceProcess", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -3670,25 +4214,23 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Site name.", "required": true, "type": "string" }, { - "name": "instanceId", + "name": "processId", "in": "path", - "description": "Id of web app instance", + "description": "PID.", "required": true, "type": "string" }, { - "name": "MSDeploy", - "in": "body", - "description": "Details of MSDeploy operation", + "name": "instanceId", + "in": "path", + "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", "required": true, - "schema": { - "$ref": "#/definitions/MSDeploy" - } + "type": "string" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -3698,33 +4240,23 @@ } ], "responses": { - "201": { - "description": "Deployment is scheduled", - "schema": { - "$ref": "#/definitions/MSDeployStatus" - } + "204": { + "description": "Process terminated." }, - "409": { - "description": "Another deployment is in progress" + "404": { + "description": "Process with the specified ID is not running." } - }, - "x-ms-long-running-operation": true + } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/extensions/MSDeploy/log": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/dump": { "get": { "tags": [ "WebApps" ], - "summary": "Invoke the MSDeploy Log web app extension as pass-through API", - "description": "Invoke the MSDeploy Log web app extension as pass-through API", - "operationId": "WebApps_GetInstanceMSDeployLog", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], + "summary": "Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.", + "description": "Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.", + "operationId": "WebApps_GetInstanceProcessDump", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -3732,14 +4264,21 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", "required": true, "type": "string" }, { "name": "instanceId", "in": "path", - "description": "Id of web app instance", + "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", "required": true, "type": "string" }, @@ -3754,25 +4293,26 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/MSDeployLog" + "type": "file" } + }, + "404": { + "description": "Process with the specified ID is not running." } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/iscloneable": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/modules": { + "get": { "tags": [ "WebApps" ], - "summary": "Shows whether an app can be cloned to another resource group or subscription.", - "description": "Shows whether an app can be cloned to another resource group or subscription.", - "operationId": "WebApps_IsCloneable", + "summary": "List module information for a process by its ID for a specific scaled-out instance in a web site.", + "description": "List module information for a process by its ID for a specific scaled-out instance in a web site.", + "operationId": "WebApps_ListInstanceProcessModules", "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -3781,7 +4321,21 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", "required": true, "type": "string" }, @@ -3794,25 +4348,33 @@ ], "responses": { "200": { - "description": "OK", + "description": "Module information returned.", "schema": { - "$ref": "#/definitions/SiteCloneability" + "$ref": "#/definitions/ProcessModuleInfoCollection" } + }, + "404": { + "description": "Process with the specified ID is not running." } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/metricdefinitions": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/modules/{base_address}": { "get": { "tags": [ "WebApps" ], - "summary": "Gets all metric definitions of an app (or deployment slot, if specified).", - "description": "Gets all metric definitions of an app (or deployment slot, if specified).", - "operationId": "WebApps_ListMetricDefinitions", + "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", + "description": "Get process information by its ID for a specific scaled-out instance in a web site.", + "operationId": "WebApps_GetInstanceProcessModule", "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -3821,7 +4383,34 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" + }, + { + "name": "baseAddress", + "in": "query", + "description": "Module base address.", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", + "required": true, + "type": "string" + }, + { + "name": "base_address", + "in": "path", "required": true, "type": "string" }, @@ -3834,25 +4423,25 @@ ], "responses": { "200": { - "description": "OK", + "description": "Module information returned.", "schema": { - "$ref": "#/definitions/ResourceMetricDefinitionCollection" + "$ref": "#/definitions/ProcessModuleInfo" } + }, + "404": { + "description": "Process with the specified ID is not running, or a module with the specified base_address was not found." } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/metrics": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/threads": { "get": { "tags": [ "WebApps" ], - "summary": "Gets performance metrics of an app (or deployment slot, if specified).", - "description": "Gets performance metrics of an app (or deployment slot, if specified).", - "operationId": "WebApps_ListMetrics", + "summary": "List the threads in a process by its ID for a specific scaled-out instance in a web site.", + "description": "List the threads in a process by its ID for a specific scaled-out instance in a web site.", + "operationId": "WebApps_ListInstanceProcessThreads", "produces": [ "application/json", "text/json" @@ -3864,21 +4453,22 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Site name.", "required": true, "type": "string" }, { - "name": "details", - "in": "query", - "description": "Specify \"true\" to include metric details in the response. It is \"false\" by default.", - "type": "boolean" + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" }, { - "name": "$filter", - "in": "query", - "description": "Return only metrics specified in the filter (using OData syntax). For example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.", - "x-ms-skip-url-encoding": true, + "name": "instanceId", + "in": "path", + "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", + "required": true, "type": "string" }, { @@ -3890,10 +4480,13 @@ ], "responses": { "200": { - "description": "OK", + "description": "Thread information returned.", "schema": { - "$ref": "#/definitions/ResourceMetricCollection" + "$ref": "#/definitions/ProcessThreadInfoCollection" } + }, + "404": { + "description": "Process with the specified ID is not running." } }, "x-ms-pageable": { @@ -3901,19 +4494,14 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migrate": { - "put": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}/processes/{processId}/threads/{threadId}": { + "get": { "tags": [ "WebApps" ], - "summary": "Restores a web app.", - "description": "Restores a web app.", - "operationId": "WebApps_MigrateStorage", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site.", + "description": "Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site.", + "operationId": "WebApps_GetInstanceProcessThread", "produces": [ "application/json", "text/json", @@ -3922,30 +4510,35 @@ ], "parameters": [ { - "name": "subscriptionName", - "in": "query", - "description": "Azure subscription", + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", "required": true, "type": "string" }, { - "$ref": "#/parameters/resourceGroupNameParameter" + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" }, { - "name": "name", + "name": "threadId", "in": "path", - "description": "Name of web app", + "description": "TID.", "required": true, "type": "string" }, { - "name": "migrationOptions", - "in": "body", - "description": "Migration migrationOptions", + "name": "instanceId", + "in": "path", + "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", "required": true, - "schema": { - "$ref": "#/definitions/StorageMigrationOptions" - } + "type": "string" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -3956,21 +4549,270 @@ ], "responses": { "200": { - "description": "OK", + "description": "Thread information returned.", "schema": { - "$ref": "#/definitions/StorageMigrationResponse" + "$ref": "#/definitions/ProcessThreadInfo" } + }, + "404": { + "description": "Either the thread with the specified TID was not found, or the process with the specified PID is not running." } - }, - "x-ms-long-running-operation": true + } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migratemysql": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/iscloneable": { "post": { "tags": [ "WebApps" ], - "summary": "Migrates a local (in-app) MySql database to a remote MySql database.", + "summary": "Shows whether an app can be cloned to another resource group or subscription.", + "description": "Shows whether an app can be cloned to another resource group or subscription.", + "operationId": "WebApps_IsCloneable", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/SiteCloneability" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/listsyncfunctiontriggerstatus": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "This is to allow calling via powershell and ARM template.", + "description": "This is to allow calling via powershell and ARM template.", + "operationId": "WebApps_ListSyncFunctionTriggers", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/FunctionSecrets" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/metricdefinitions": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Gets all metric definitions of an app (or deployment slot, if specified).", + "description": "Gets all metric definitions of an app (or deployment slot, if specified).", + "operationId": "WebApps_ListMetricDefinitions", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ResourceMetricDefinitionCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/metrics": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Gets performance metrics of an app (or deployment slot, if specified).", + "description": "Gets performance metrics of an app (or deployment slot, if specified).", + "operationId": "WebApps_ListMetrics", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "details", + "in": "query", + "description": "Specify \"true\" to include metric details in the response. It is \"false\" by default.", + "type": "boolean" + }, + { + "name": "$filter", + "in": "query", + "description": "Return only metrics specified in the filter (using OData syntax). For example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.", + "x-ms-skip-url-encoding": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/ResourceMetricCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migrate": { + "put": { + "tags": [ + "WebApps" + ], + "summary": "Restores a web app.", + "description": "Restores a web app.", + "operationId": "WebApps_MigrateStorage", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "name": "subscriptionName", + "in": "query", + "description": "Azure subscription.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of web app.", + "required": true, + "type": "string" + }, + { + "name": "migrationOptions", + "in": "body", + "description": "Migration migrationOptions.", + "required": true, + "schema": { + "$ref": "#/definitions/StorageMigrationOptions" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/StorageMigrationResponse" + } + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/migratemysql": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Migrates a local (in-app) MySql database to a remote MySql database.", "description": "Migrates a local (in-app) MySql database to a remote MySql database.", "operationId": "WebApps_MigrateMySql", "consumes": [ @@ -3991,14 +4833,14 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Name of web app.", "required": true, "type": "string" }, { "name": "migrationRequestEnvelope", "in": "body", - "description": "MySql migration options", + "description": "MySql migration options.", "required": true, "schema": { "$ref": "#/definitions/MigrateMySqlRequest" @@ -4043,7 +4885,7 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Name of web app.", "required": true, "type": "string" }, @@ -4105,7 +4947,7 @@ ], "responses": { "200": { - "description": "OK", + "description": "OK.", "schema": { "$ref": "#/definitions/NetworkFeatures" } @@ -4170,7 +5012,7 @@ ], "responses": { "200": { - "description": "OK", + "description": "OK.", "schema": { "type": "string" } @@ -4212,7 +5054,7 @@ ], "responses": { "200": { - "description": "OK", + "description": "OK.", "schema": { "type": "string" } @@ -4272,7 +5114,7 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Name of web app.", "required": true, "type": "string" }, @@ -4324,7 +5166,7 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Name of web app.", "required": true, "type": "string" }, @@ -4535,14 +5377,14 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes": { "get": { "tags": [ "WebApps" ], - "summary": "Get public certificates for an app or a deployment slot.", - "description": "Get public certificates for an app or a deployment slot.", - "operationId": "WebApps_ListPublicCertificates", + "summary": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", + "description": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", + "operationId": "WebApps_ListProcesses", "produces": [ "application/json", "text/json" @@ -4554,7 +5396,7 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Site name.", "required": true, "type": "string" }, @@ -4567,10 +5409,13 @@ ], "responses": { "200": { - "description": "OK", + "description": "Process terminated.", "schema": { - "$ref": "#/definitions/PublicCertificateCollection" + "$ref": "#/definitions/ProcessInfoCollection" } + }, + "404": { + "description": "Process with the specified ID is not running." } }, "x-ms-pageable": { @@ -4578,14 +5423,14 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates/{publicCertificateName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}": { "get": { "tags": [ "WebApps" ], - "summary": "Get the named public certificate for an app (or deployment slot, if specified).", - "description": "Get the named public certificate for an app (or deployment slot, if specified).", - "operationId": "WebApps_GetPublicCertificate", + "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", + "description": "Get process information by its ID for a specific scaled-out instance in a web site.", + "operationId": "WebApps_GetProcess", "produces": [ "application/json", "text/json", @@ -4599,14 +5444,14 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Site name.", "required": true, "type": "string" }, { - "name": "publicCertificateName", + "name": "processId", "in": "path", - "description": "Public CertificateName", + "description": "PID.", "required": true, "type": "string" }, @@ -4619,31 +5464,23 @@ ], "responses": { "200": { - "description": "OK", + "description": "Process information returned.", "schema": { - "$ref": "#/definitions/PublicCertificate" + "$ref": "#/definitions/ProcessInfo" } + }, + "404": { + "description": "Process with the specified ID is not running." } } }, - "put": { + "delete": { "tags": [ "WebApps" ], - "summary": "Creates a hostname binding for an app.", - "description": "Creates a hostname binding for an app.", - "operationId": "WebApps_CreateOrUpdatePublicCertificate", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], + "summary": "Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.", + "description": "Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.", + "operationId": "WebApps_DeleteProcess", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4651,26 +5488,17 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Site name.", "required": true, "type": "string" }, { - "name": "publicCertificateName", + "name": "processId", "in": "path", - "description": "Public certificate name.", + "description": "PID.", "required": true, "type": "string" }, - { - "name": "publicCertificate", - "in": "body", - "description": "Public certificate details. This is the JSON representation of a PublicCertificate object.", - "required": true, - "schema": { - "$ref": "#/definitions/PublicCertificate" - } - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -4679,21 +5507,23 @@ } ], "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PublicCertificate" - } + "204": { + "description": "Process terminated." + }, + "404": { + "description": "Process with the specified ID is not running." } } - }, - "delete": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/dump": { + "get": { "tags": [ "WebApps" ], - "summary": "Deletes a hostname binding for an app.", - "description": "Deletes a hostname binding for an app.", - "operationId": "WebApps_DeletePublicCertificate", + "summary": "Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.", + "description": "Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.", + "operationId": "WebApps_GetProcessDump", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4701,14 +5531,14 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Site name.", "required": true, "type": "string" }, { - "name": "publicCertificateName", + "name": "processId", "in": "path", - "description": "Public Certificate Name.", + "description": "PID.", "required": true, "type": "string" }, @@ -4721,34 +5551,28 @@ ], "responses": { "200": { - "description": "Succesfully deleted hostname binding" + "description": "OK", + "schema": { + "type": "file" + } }, - "204": { - "description": "Hostname binding does not exist" + "404": { + "description": "Process with the specified ID is not running." } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publishxml": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/modules": { + "get": { "tags": [ "WebApps" ], - "summary": "Gets the publishing profile for an app (or deployment slot, if specified).", - "description": "Gets the publishing profile for an app (or deployment slot, if specified).", - "operationId": "WebApps_ListPublishingProfileXmlWithSecrets", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], + "summary": "List module information for a process by its ID for a specific scaled-out instance in a web site.", + "description": "List module information for a process by its ID for a specific scaled-out instance in a web site.", + "operationId": "WebApps_ListProcessModules", "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -4757,18 +5581,16 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Site name.", "required": true, "type": "string" }, { - "name": "publishingProfileOptions", - "in": "body", - "description": "Specifies publishingProfileOptions for publishing profile. For example, use {\"format\": \"FileZilla3\"} to get a FileZilla publishing profile.", + "name": "processId", + "in": "path", + "description": "PID.", "required": true, - "schema": { - "$ref": "#/definitions/CsmPublishingProfileOptions" - } + "type": "string" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -4779,27 +5601,28 @@ ], "responses": { "200": { - "description": "OK", + "description": "Module information returned.", "schema": { - "type": "file" + "$ref": "#/definitions/ProcessModuleInfoCollection" } + }, + "404": { + "description": "Process with the specified ID is not running." } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/recover": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/modules/{base_address}": { + "get": { "tags": [ "WebApps" ], - "summary": "Recovers a deleted web app.", - "description": "Recovers a deleted web app.", - "operationId": "WebApps_Recover", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", + "description": "Get process information by its ID for a specific scaled-out instance in a web site.", + "operationId": "WebApps_GetProcessModule", "produces": [ "application/json", "text/json", @@ -4813,18 +5636,29 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Site name.", "required": true, "type": "string" }, { - "name": "recoveryEntity", - "in": "body", - "description": "Snapshot data used for web app recovery. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API.", + "name": "processId", + "in": "path", + "description": "PID.", "required": true, - "schema": { - "$ref": "#/definitions/SnapshotRecoveryRequest" - } + "type": "string" + }, + { + "name": "baseAddress", + "in": "query", + "description": "Module base address.", + "required": true, + "type": "string" + }, + { + "name": "base_address", + "in": "path", + "required": true, + "type": "string" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -4835,23 +5669,29 @@ ], "responses": { "200": { - "description": "OK", + "description": "Module information returned.", "schema": { - "$ref": "#/definitions/RecoverResponse" + "$ref": "#/definitions/ProcessModuleInfo" } + }, + "404": { + "description": "Process with the specified ID is not running, or a module with the specified base_address was not found." } - }, - "x-ms-long-running-operation": true + } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resetSlotConfig": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/threads": { + "get": { "tags": [ "WebApps" ], - "summary": "Resets the configuration settings of the current slot if they were previously modified by calling the API with POST.", - "description": "Resets the configuration settings of the current slot if they were previously modified by calling the API with POST.", - "operationId": "WebApps_ResetProductionSlotConfig", + "summary": "List the threads in a process by its ID for a specific scaled-out instance in a web site.", + "description": "List the threads in a process by its ID for a specific scaled-out instance in a web site.", + "operationId": "WebApps_ListProcessThreads", + "produces": [ + "application/json", + "text/json" + ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4859,7 +5699,14 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", "required": true, "type": "string" }, @@ -4872,19 +5719,34 @@ ], "responses": { "200": { - "description": "OK" + "description": "Thread information returned.", + "schema": { + "$ref": "#/definitions/ProcessThreadInfoCollection" + } + }, + "404": { + "description": "Process with the specified ID is not running." } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restart": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/processes/{processId}/threads/{threadId}": { + "get": { "tags": [ "WebApps" ], - "summary": "Restarts an app (or deployment slot, if specified).", - "description": "Restarts an app (or deployment slot, if specified).", - "operationId": "WebApps_Restart", + "summary": "Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site.", + "description": "Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site.", + "operationId": "WebApps_GetProcessThread", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -4892,21 +5754,23 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Site name.", "required": true, "type": "string" }, { - "name": "softRestart", - "in": "query", - "description": "Specify true to apply the configuration settings and restarts the app only if necessary. By default, the API always restarts and reprovisions the app.", - "type": "boolean" + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" }, { - "name": "synchronous", - "in": "query", - "description": "Specify true to block until the app is restarted. By default, it is set to false, and the API responds immediately (asynchronous).", - "type": "boolean" + "name": "threadId", + "in": "path", + "description": "TID.", + "required": true, + "type": "string" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -4917,19 +5781,25 @@ ], "responses": { "200": { - "description": "Successfully restarted app." + "description": "Thread information returned.", + "schema": { + "$ref": "#/definitions/ProcessThreadInfo" + } + }, + "404": { + "description": "Either the thread with the specified TID was not found, or the process with the specified PID is not running." } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates": { "get": { "tags": [ "WebApps" ], - "summary": "Gets an app's deployment slots.", - "description": "Gets an app's deployment slots.", - "operationId": "WebApps_ListSlots", + "summary": "Get public certificates for an app or a deployment slot.", + "description": "Get public certificates for an app or a deployment slot.", + "operationId": "WebApps_ListPublicCertificates", "produces": [ "application/json", "text/json" @@ -4956,7 +5826,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/WebAppCollection" + "$ref": "#/definitions/PublicCertificateCollection" } } }, @@ -4965,14 +5835,14 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publicCertificates/{publicCertificateName}": { "get": { "tags": [ "WebApps" ], - "summary": "Gets the details of a web, mobile, or API app.", - "description": "Gets the details of a web, mobile, or API app.", - "operationId": "WebApps_GetSlot", + "summary": "Get the named public certificate for an app (or deployment slot, if specified).", + "description": "Get the named public certificate for an app (or deployment slot, if specified).", + "operationId": "WebApps_GetPublicCertificate", "produces": [ "application/json", "text/json", @@ -4991,9 +5861,9 @@ "type": "string" }, { - "name": "slot", + "name": "publicCertificateName", "in": "path", - "description": "Name of the deployment slot. By default, this API returns the production slot.", + "description": "Public certificate name.", "required": true, "type": "string" }, @@ -5008,7 +5878,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Site" + "$ref": "#/definitions/PublicCertificate" } } } @@ -5017,9 +5887,9 @@ "tags": [ "WebApps" ], - "summary": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", - "description": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", - "operationId": "WebApps_CreateOrUpdateSlot", + "summary": "Creates a hostname binding for an app.", + "description": "Creates a hostname binding for an app.", + "operationId": "WebApps_CreateOrUpdatePublicCertificate", "consumes": [ "application/json", "text/json", @@ -5038,49 +5908,25 @@ { "name": "name", "in": "path", - "description": "Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter.", + "description": "Name of the app.", "required": true, "type": "string" }, { - "name": "siteEnvelope", - "in": "body", - "description": "A JSON representation of the app properties. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/Site" - } - }, - { - "name": "slot", + "name": "publicCertificateName", "in": "path", - "description": "Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot.", + "description": "Public certificate name.", "required": true, "type": "string" }, { - "name": "skipDnsRegistration", - "in": "query", - "description": "If true web app hostname is not registered with DNS on creation. This parameter is\n only used for app creation", - "type": "boolean" - }, - { - "name": "skipCustomDomainVerification", - "in": "query", - "description": "If true, custom (non *.azurewebsites.net) domains associated with web app are not verified.", - "type": "boolean" - }, - { - "name": "forceDnsRegistration", - "in": "query", - "description": "If true, web app hostname is force registered with DNS", - "type": "boolean" - }, - { - "name": "ttlInSeconds", - "in": "query", - "description": "Time to live in seconds for web app's default domain name", - "type": "string" + "name": "publicCertificate", + "in": "body", + "description": "Public certificate details. This is the JSON representation of a PublicCertificate object.", + "required": true, + "schema": { + "$ref": "#/definitions/PublicCertificate" + } }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -5093,25 +5939,18 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Site" - } - }, - "202": { - "description": "Asynchronous operation in progress", - "schema": { - "$ref": "#/definitions/Site" + "$ref": "#/definitions/PublicCertificate" } } - }, - "x-ms-long-running-operation": true + } }, "delete": { "tags": [ "WebApps" ], - "summary": "Deletes a web, mobile, or API app, or one of the deployment slots.", - "description": "Deletes a web, mobile, or API app, or one of the deployment slots.", - "operationId": "WebApps_DeleteSlot", + "summary": "Deletes a hostname binding for an app.", + "description": "Deletes a hostname binding for an app.", + "operationId": "WebApps_DeletePublicCertificate", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5119,35 +5958,17 @@ { "name": "name", "in": "path", - "description": "Name of the app to delete.", + "description": "Name of the app.", "required": true, "type": "string" }, { - "name": "slot", + "name": "publicCertificateName", "in": "path", - "description": "Name of the deployment slot to delete. By default, the API deletes the production slot.", + "description": "Public certificate name.", "required": true, "type": "string" }, - { - "name": "deleteMetrics", - "in": "query", - "description": "If true, web app metrics are also deleted", - "type": "boolean" - }, - { - "name": "deleteEmptyServerFarm", - "in": "query", - "description": "Specify true if the App Service plan will be empty after app deletion and you want to delete the empty App Service plan. By default, the empty App Service plan is not deleted.", - "type": "boolean" - }, - { - "name": "skipDnsRegistration", - "in": "query", - "description": "If true, DNS registration is skipped", - "type": "boolean" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -5157,22 +5978,29 @@ ], "responses": { "200": { - "description": "Succesfully deleted web app" + "description": "Succesfully deleted hostname binding." }, - "404": { - "description": "Web app not found" + "204": { + "description": "Hostname binding does not exist." } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/analyzeCustomHostname": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publishxml": { + "post": { "tags": [ "WebApps" ], - "summary": "Analyze a custom hostname.", - "description": "Analyze a custom hostname.", - "operationId": "WebApps_AnalyzeCustomHostnameSlot", + "summary": "Gets the publishing profile for an app (or deployment slot, if specified).", + "description": "Gets the publishing profile for an app (or deployment slot, if specified).", + "operationId": "WebApps_ListPublishingProfileXmlWithSecrets", + "consumes": [ + "application/json", + "text/json", + "application/xml", + "text/xml", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -5186,22 +6014,18 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Name of the app.", "required": true, "type": "string" }, { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", + "name": "publishingProfileOptions", + "in": "body", + "description": "Specifies publishingProfileOptions for publishing profile. For example, use {\"format\": \"FileZilla3\"} to get a FileZilla publishing profile.", "required": true, - "type": "string" - }, - { - "name": "hostName", - "in": "query", - "description": "Custom hostname", - "type": "string" + "schema": { + "$ref": "#/definitions/CsmPublishingProfileOptions" + } }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -5214,25 +6038,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/CustomHostnameAnalysisResult" + "type": "file" } } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/applySlotConfig": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/recover": { "post": { "tags": [ "WebApps" ], - "summary": "Applies the configuration settings from the target slot onto the current slot.", - "description": "Applies the configuration settings from the target slot onto the current slot.", - "operationId": "WebApps_ApplySlotConfigurationSlot", + "summary": "Recovers a web app to a previous snapshot.", + "description": "Recovers a web app to a previous snapshot.", + "operationId": "WebApps_Recover", "consumes": [ "application/json", "text/json", - "application/xml", - "text/xml", "application/x-www-form-urlencoded" ], "parameters": [ @@ -5242,23 +6064,50 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Name of web app.", "required": true, "type": "string" }, { - "name": "slotSwapEntity", + "name": "recoveryEntity", "in": "body", - "description": "JSON object that contains the target slot name. See example.", + "description": "Snapshot data used for web app recovery. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API.", "required": true, "schema": { - "$ref": "#/definitions/CsmSlotEntity" + "$ref": "#/definitions/SnapshotRecoveryRequest" } }, { - "name": "slot", + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "202": { + "description": "Recovery operation started." + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/resetSlotConfig": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Resets the configuration settings of the current slot if they were previously modified by calling the API with POST.", + "description": "Resets the configuration settings of the current slot if they were previously modified by calling the API with POST.", + "operationId": "WebApps_ResetProductionSlotConfig", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", "in": "path", - "description": "Name of the source slot. If a slot is not specified, the production slot is used as the source slot.", + "description": "Name of the app.", "required": true, "type": "string" }, @@ -5271,30 +6120,19 @@ ], "responses": { "200": { - "description": "OK" + "description": "OK." } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backup": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/restart": { "post": { "tags": [ "WebApps" ], - "summary": "Creates a backup of an app.", - "description": "Creates a backup of an app.", - "operationId": "WebApps_BackupSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], + "summary": "Restarts an app (or deployment slot, if specified).", + "description": "Restarts an app (or deployment slot, if specified).", + "operationId": "WebApps_Restart", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5307,20 +6145,16 @@ "type": "string" }, { - "name": "request", - "in": "body", - "description": "Backup configuration. You can use the JSON response from the POST action as input here.", - "required": true, - "schema": { - "$ref": "#/definitions/BackupRequest" - } + "name": "softRestart", + "in": "query", + "description": "Specify true to apply the configuration settings and restarts the app only if necessary. By default, the API always restarts and reprovisions the app.", + "type": "boolean" }, { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will create a backup for the production slot.", - "required": true, - "type": "string" + "name": "synchronous", + "in": "query", + "description": "Specify true to block until the app is restarted. By default, it is set to false, and the API responds immediately (asynchronous).", + "type": "boolean" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -5331,22 +6165,19 @@ ], "responses": { "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/BackupItem" - } + "description": "Successfully restarted app." } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions": { "get": { "tags": [ "WebApps" ], - "summary": "Gets existing backups of an app.", - "description": "Gets existing backups of an app.", - "operationId": "WebApps_ListBackupsSlot", + "summary": "Get list of siteextensions for a web site, or a deployment slot.", + "description": "Get list of siteextensions for a web site, or a deployment slot.", + "operationId": "WebApps_ListSiteExtensions", "produces": [ "application/json", "text/json" @@ -5358,14 +6189,7 @@ { "name": "name", "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get backups of the production slot.", + "description": "Site name.", "required": true, "type": "string" }, @@ -5378,10 +6202,13 @@ ], "responses": { "200": { - "description": "OK", + "description": "SiteExtension information returned.", "schema": { - "$ref": "#/definitions/BackupItemCollection" + "$ref": "#/definitions/SiteExtensionInfoCollection" } + }, + "404": { + "description": "SiteExtension not found." } }, "x-ms-pageable": { @@ -5389,19 +6216,14 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/discover": { - "put": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/siteextensions/{extensionName}": { + "get": { "tags": [ "WebApps" ], - "summary": "Discovers an existing app backup that can be restored from a blob in Azure storage.", - "description": "Discovers an existing app backup that can be restored from a blob in Azure storage.", - "operationId": "WebApps_DiscoverRestoreSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Get site extension information by its ID for a web site, or a deployment slot.", + "description": "Get site extension information by its ID for a web site, or a deployment slot.", + "operationId": "WebApps_GetSiteExtension", "produces": [ "application/json", "text/json", @@ -5415,23 +6237,20 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Site name.", "required": true, "type": "string" }, { - "name": "request", - "in": "body", - "description": "A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup.", + "name": "siteExtensionId", + "in": "query", + "description": "Site extension name.", "required": true, - "schema": { - "$ref": "#/definitions/RestoreRequest" - } + "type": "string" }, { - "name": "slot", + "name": "extensionName", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will perform discovery for the production slot.", "required": true, "type": "string" }, @@ -5444,22 +6263,23 @@ ], "responses": { "200": { - "description": "OK", + "description": "SiteExtension information returned.", "schema": { - "$ref": "#/definitions/RestoreRequest" + "$ref": "#/definitions/SiteExtensionInfo" } + }, + "404": { + "description": "SiteExtension with an ID of {siteExtensionId} is not running." } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}": { - "get": { + }, + "put": { "tags": [ "WebApps" ], - "summary": "Gets a backup of an app by its ID.", - "description": "Gets a backup of an app by its ID.", - "operationId": "WebApps_GetBackupStatusSlot", + "summary": "Install site extension on a web site, or a deployment slot.", + "description": "Install site extension on a web site, or a deployment slot.", + "operationId": "WebApps_InstallSiteExtension", "produces": [ "application/json", "text/json", @@ -5473,21 +6293,20 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Site name.", "required": true, "type": "string" }, { - "name": "backupId", - "in": "path", - "description": "ID of the backup.", + "name": "siteExtensionId", + "in": "query", + "description": "Site extension name.", "required": true, "type": "string" }, { - "name": "slot", + "name": "extensionName", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get a backup of the production slot.", "required": true, "type": "string" }, @@ -5499,21 +6318,31 @@ } ], "responses": { + "201": { + "description": "Site Extension created.", + "schema": { + "$ref": "#/definitions/SiteExtensionInfo" + } + }, "200": { - "description": "OK", + "description": "Site Extension created.", "schema": { - "$ref": "#/definitions/BackupItem" + "$ref": "#/definitions/SiteExtensionInfo" } + }, + "429": { + "description": "Site Extension is being installed on another request: Rejecting current request." } - } + }, + "x-ms-long-running-operation": true }, "delete": { "tags": [ "WebApps" ], - "summary": "Deletes a backup of an app by its ID.", - "description": "Deletes a backup of an app by its ID.", - "operationId": "WebApps_DeleteBackupSlot", + "summary": "Remove a site extension from a web site, or a deployment slot.", + "description": "Remove a site extension from a web site, or a deployment slot.", + "operationId": "WebApps_DeleteSiteExtension", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5521,21 +6350,20 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Site name.", "required": true, "type": "string" }, { - "name": "backupId", - "in": "path", - "description": "ID of the backup.", + "name": "siteExtensionId", + "in": "query", + "description": "Site extension name.", "required": true, "type": "string" }, { - "name": "slot", + "name": "extensionName", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will delete a backup of the production slot.", "required": true, "type": "string" }, @@ -5547,33 +6375,26 @@ } ], "responses": { - "200": { - "description": "Succesfully deleted web app backup item." + "204": { + "description": "SiteExtension terminated." }, "404": { - "description": "Web app backup item does not exist." + "description": "SiteExtension with an ID of {siteExtensionId} is not running." } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}/list": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots": { + "get": { "tags": [ "WebApps" ], - "summary": "Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body.", - "description": "Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body.", - "operationId": "WebApps_ListBackupStatusSecretsSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Gets an app's deployment slots.", + "description": "Gets an app's deployment slots.", + "operationId": "WebApps_ListSlots", "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -5582,30 +6403,59 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Name of the app.", "required": true, "type": "string" }, { - "name": "backupId", - "in": "path", - "description": "Id of backup", - "required": true, - "type": "string" + "$ref": "#/parameters/subscriptionIdParameter" }, { - "name": "request", - "in": "body", - "description": "Information on backup request", - "required": true, + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/BackupRequest" + "$ref": "#/definitions/WebAppCollection" } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Gets the details of a web, mobile, or API app.", + "description": "Gets the details of a web, mobile, or API app.", + "operationId": "WebApps_GetSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", + "description": "Name of the deployment slot. By default, this API returns the production slot.", "required": true, "type": "string" }, @@ -5620,20 +6470,18 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/BackupItem" + "$ref": "#/definitions/Site" } } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}/restore": { - "post": { + }, + "put": { "tags": [ "WebApps" ], - "summary": "Restores a specific backup to another app (or deployment slot, if specified).", - "description": "Restores a specific backup to another app (or deployment slot, if specified).", - "operationId": "WebApps_RestoreSlot", + "summary": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", + "description": "Creates a new web, mobile, or API app in an existing resource group, or updates an existing app.", + "operationId": "WebApps_CreateOrUpdateSlot", "consumes": [ "application/json", "text/json", @@ -5652,33 +6500,50 @@ { "name": "name", "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "backupId", - "in": "path", - "description": "ID of the backup.", + "description": "Unique name of the app to create or update. To create or update a deployment slot, use the {slot} parameter.", "required": true, "type": "string" }, { - "name": "request", + "name": "siteEnvelope", "in": "body", - "description": "Information on restore request", + "description": "A JSON representation of the app properties. See example.", "required": true, "schema": { - "$ref": "#/definitions/RestoreRequest" + "$ref": "#/definitions/Site" } }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot.", + "description": "Name of the deployment slot to create or update. By default, this API attempts to create or modify the production slot.", "required": true, "type": "string" }, + { + "name": "skipDnsRegistration", + "in": "query", + "description": "If true web app hostname is not registered with DNS on creation. This parameter is\n only used for app creation.", + "type": "boolean" + }, + { + "name": "skipCustomDomainVerification", + "in": "query", + "description": "If true, custom (non *.azurewebsites.net) domains associated with web app are not verified.", + "type": "boolean" + }, + { + "name": "forceDnsRegistration", + "in": "query", + "description": "If true, web app hostname is force registered with DNS.", + "type": "boolean" + }, + { + "name": "ttlInSeconds", + "in": "query", + "description": "Time to live in seconds for web app's default domain name.", + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -5688,27 +6553,27 @@ ], "responses": { "200": { - "description": "OK", + "description": "OK.", "schema": { - "$ref": "#/definitions/RestoreResponse" + "$ref": "#/definitions/Site" + } + }, + "202": { + "description": "Asynchronous operation in progress.", + "schema": { + "$ref": "#/definitions/Site" } } }, "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config": { - "get": { + }, + "delete": { "tags": [ "WebApps" ], - "summary": "List the configurations of an app", - "description": "List the configurations of an app", - "operationId": "WebApps_ListConfigurationsSlot", - "produces": [ - "application/json", - "text/json" - ], + "summary": "Deletes a web, mobile, or API app, or one of the deployment slots.", + "description": "Deletes a web, mobile, or API app, or one of the deployment slots.", + "operationId": "WebApps_DeleteSlot", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -5716,17 +6581,35 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Name of the app to delete.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.", + "description": "Name of the deployment slot to delete. By default, the API deletes the production slot.", "required": true, "type": "string" }, + { + "name": "deleteMetrics", + "in": "query", + "description": "If true, web app metrics are also deleted.", + "type": "boolean" + }, + { + "name": "deleteEmptyServerFarm", + "in": "query", + "description": "Specify true if the App Service plan will be empty after app deletion and you want to delete the empty App Service plan. By default, the empty App Service plan is not deleted.", + "type": "boolean" + }, + { + "name": "skipDnsRegistration", + "in": "query", + "description": "If true, DNS registration is skipped.", + "type": "boolean" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -5736,30 +6619,22 @@ ], "responses": { "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SiteConfigResourceCollection" - } + "description": "Succesfully deleted web app." + }, + "404": { + "description": "Web app not found." } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings": { - "put": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/analyzeCustomHostname": { + "get": { "tags": [ "WebApps" ], - "summary": "Replaces the application settings of an app.", - "description": "Replaces the application settings of an app.", - "operationId": "WebApps_UpdateApplicationSettingsSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Analyze a custom hostname.", + "description": "Analyze a custom hostname.", + "operationId": "WebApps_AnalyzeCustomHostnameSlot", "produces": [ "application/json", "text/json", @@ -5773,26 +6648,23 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Name of web app.", "required": true, "type": "string" }, - { - "name": "appSettings", - "in": "body", - "description": "Application settings of the app.", - "required": true, - "schema": { - "$ref": "#/definitions/StringDictionary" - } - }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will update the application settings for the production slot.", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, + { + "name": "hostName", + "in": "query", + "description": "Custom hostname.", + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -5804,25 +6676,26 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/StringDictionary" + "$ref": "#/definitions/CustomHostnameAnalysisResult" } } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings/list": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/applySlotConfig": { "post": { "tags": [ "WebApps" ], - "summary": "Gets the application settings of an app.", - "description": "Gets the application settings of an app.", - "operationId": "WebApps_ListApplicationSettingsSlot", - "produces": [ + "summary": "Applies the configuration settings from the target slot onto the current slot.", + "description": "Applies the configuration settings from the target slot onto the current slot.", + "operationId": "WebApps_ApplySlotConfigurationSlot", + "consumes": [ "application/json", "text/json", "application/xml", - "text/xml" + "text/xml", + "application/x-www-form-urlencoded" ], "parameters": [ { @@ -5835,10 +6708,19 @@ "required": true, "type": "string" }, + { + "name": "slotSwapEntity", + "in": "body", + "description": "JSON object that contains the target slot name. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/CsmSlotEntity" + } + }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get the application settings for the production slot.", + "description": "Name of the source slot. If a slot is not specified, the production slot is used as the source slot.", "required": true, "type": "string" }, @@ -5851,22 +6733,19 @@ ], "responses": { "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/StringDictionary" - } + "description": "OK." } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettings": { - "put": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backup": { + "post": { "tags": [ "WebApps" ], - "summary": "Updates the Authentication / Authorization settings associated with web app.", - "description": "Updates the Authentication / Authorization settings associated with web app.", - "operationId": "WebApps_UpdateAuthSettingsSlot", + "summary": "Creates a backup of an app.", + "description": "Creates a backup of an app.", + "operationId": "WebApps_BackupSlot", "consumes": [ "application/json", "text/json", @@ -5885,23 +6764,23 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Name of the app.", "required": true, "type": "string" }, { - "name": "siteAuthSettings", + "name": "request", "in": "body", - "description": "Auth settings associated with web app", + "description": "Backup configuration. You can use the JSON response from the POST action as input here.", "required": true, "schema": { - "$ref": "#/definitions/SiteAuthSettings" + "$ref": "#/definitions/BackupRequest" } }, { "name": "slot", "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will create a backup for the production slot.", "required": true, "type": "string" }, @@ -5916,25 +6795,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteAuthSettings" + "$ref": "#/definitions/BackupItem" } } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettings/list": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups": { + "get": { "tags": [ "WebApps" ], - "summary": "Gets the Authentication/Authorization settings of an app.", - "description": "Gets the Authentication/Authorization settings of an app.", - "operationId": "WebApps_GetAuthSettingsSlot", + "summary": "Gets existing backups of an app.", + "description": "Gets existing backups of an app.", + "operationId": "WebApps_ListBackupsSlot", "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -5950,7 +6827,7 @@ { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get the settings for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will get backups of the production slot.", "required": true, "type": "string" }, @@ -5965,20 +6842,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteAuthSettings" + "$ref": "#/definitions/BackupItemCollection" } } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/backup": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/discover": { "put": { "tags": [ "WebApps" ], - "summary": "Updates the backup configuration of an app.", - "description": "Updates the backup configuration of an app.", - "operationId": "WebApps_UpdateBackupConfigurationSlot", + "summary": "Discovers an existing app backup that can be restored from a blob in Azure storage.", + "description": "Discovers an existing app backup that can be restored from a blob in Azure storage.", + "operationId": "WebApps_DiscoverRestoreSlot", "consumes": [ "application/json", "text/json", @@ -6004,16 +6884,16 @@ { "name": "request", "in": "body", - "description": "Edited backup configuration.", + "description": "A RestoreRequest object that includes Azure storage URL and blog name for discovery of backup.", "required": true, "schema": { - "$ref": "#/definitions/BackupRequest" + "$ref": "#/definitions/RestoreRequest" } }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will update the backup configuration for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will perform discovery for the production slot.", "required": true, "type": "string" }, @@ -6028,18 +6908,26 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/BackupRequest" + "$ref": "#/definitions/RestoreRequest" } } } - }, - "delete": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}": { + "get": { "tags": [ "WebApps" ], - "summary": "Deletes the backup configuration of an app.", - "description": "Deletes the backup configuration of an app.", - "operationId": "WebApps_DeleteBackupConfigurationSlot", + "summary": "Gets a backup of an app by its ID.", + "description": "Gets a backup of an app by its ID.", + "operationId": "WebApps_GetBackupStatusSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -6051,10 +6939,17 @@ "required": true, "type": "string" }, + { + "name": "backupId", + "in": "path", + "description": "ID of the backup.", + "required": true, + "type": "string" + }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will delete the backup configuration for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will get a backup of the production slot.", "required": true, "type": "string" }, @@ -6067,25 +6962,20 @@ ], "responses": { "200": { - "description": "Succesfully deleted backup configuration." + "description": "OK", + "schema": { + "$ref": "#/definitions/BackupItem" + } } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/backup/list": { - "post": { + }, + "delete": { "tags": [ "WebApps" ], - "summary": "Gets the backup configuration of an app.", - "description": "Gets the backup configuration of an app.", - "operationId": "WebApps_GetBackupConfigurationSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], + "summary": "Deletes a backup of an app by its ID.", + "description": "Deletes a backup of an app by its ID.", + "operationId": "WebApps_DeleteBackupSlot", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -6097,10 +6987,17 @@ "required": true, "type": "string" }, + { + "name": "backupId", + "in": "path", + "description": "ID of the backup.", + "required": true, + "type": "string" + }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get the backup configuration for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will delete a backup of the production slot.", "required": true, "type": "string" }, @@ -6113,22 +7010,22 @@ ], "responses": { "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/BackupRequest" - } + "description": "Succesfully deleted web app backup item." + }, + "404": { + "description": "Web app backup item does not exist." } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/connectionstrings": { - "put": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}/list": { + "post": { "tags": [ "WebApps" ], - "summary": "Replaces the connection strings of an app.", - "description": "Replaces the connection strings of an app.", - "operationId": "WebApps_UpdateConnectionStringsSlot", + "summary": "Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body.", + "description": "Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body.", + "operationId": "WebApps_ListBackupStatusSecretsSlot", "consumes": [ "application/json", "text/json", @@ -6147,23 +7044,30 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Name of web app.", "required": true, "type": "string" }, { - "name": "connectionStrings", + "name": "backupId", + "in": "path", + "description": "ID of backup.", + "required": true, + "type": "string" + }, + { + "name": "request", "in": "body", - "description": "Connection strings of the app or deployment slot. See example.", + "description": "Information on backup request.", "required": true, "schema": { - "$ref": "#/definitions/ConnectionStringDictionary" + "$ref": "#/definitions/BackupRequest" } }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will update the connection settings for the production slot.", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, @@ -6178,20 +7082,25 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ConnectionStringDictionary" + "$ref": "#/definitions/BackupItem" } } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/connectionstrings/list": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/backups/{backupId}/restore": { "post": { "tags": [ "WebApps" ], - "summary": "Gets the connection strings of an app.", - "description": "Gets the connection strings of an app.", - "operationId": "WebApps_ListConnectionStringsSlot", + "summary": "Restores a specific backup to another app (or deployment slot, if specified).", + "description": "Restores a specific backup to another app (or deployment slot, if specified).", + "operationId": "WebApps_RestoreSlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -6209,10 +7118,26 @@ "required": true, "type": "string" }, + { + "name": "backupId", + "in": "path", + "description": "ID of the backup.", + "required": true, + "type": "string" + }, + { + "name": "request", + "in": "body", + "description": "Information on restore request .", + "required": true, + "schema": { + "$ref": "#/definitions/RestoreRequest" + } + }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get the connection settings for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot.", "required": true, "type": "string" }, @@ -6227,25 +7152,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ConnectionStringDictionary" + "$ref": "#/definitions/RestoreResponse" } } - } + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/logs": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config": { "get": { "tags": [ "WebApps" ], - "summary": "Gets the logging configuration of an app.", - "description": "Gets the logging configuration of an app.", - "operationId": "WebApps_GetDiagnosticLogsConfigurationSlot", + "summary": "List the configurations of an app", + "description": "List the configurations of an app", + "operationId": "WebApps_ListConfigurationsSlot", "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -6261,7 +7185,7 @@ { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get the logging configuration for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.", "required": true, "type": "string" }, @@ -6276,18 +7200,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteLogsConfig" + "$ref": "#/definitions/SiteConfigResourceCollection" } } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } - }, + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings": { "put": { "tags": [ "WebApps" ], - "summary": "Updates the logging configuration of an app.", - "description": "Updates the logging configuration of an app.", - "operationId": "WebApps_UpdateDiagnosticLogsConfigSlot", + "summary": "Replaces the application settings of an app.", + "description": "Replaces the application settings of an app.", + "operationId": "WebApps_UpdateApplicationSettingsSlot", "consumes": [ "application/json", "text/json", @@ -6311,18 +7240,18 @@ "type": "string" }, { - "name": "siteLogsConfig", + "name": "appSettings", "in": "body", - "description": "A SiteLogsConfig JSON object that contains the logging configuration to change in the \"properties\" property.", + "description": "Application settings of the app.", "required": true, "schema": { - "$ref": "#/definitions/SiteLogsConfig" + "$ref": "#/definitions/StringDictionary" } }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will update the logging configuration for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will update the application settings for the production slot.", "required": true, "type": "string" }, @@ -6337,25 +7266,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteLogsConfig" + "$ref": "#/definitions/StringDictionary" } } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/metadata": { - "put": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/appsettings/list": { + "post": { "tags": [ "WebApps" ], - "summary": "Replaces the metadata of an app.", - "description": "Replaces the metadata of an app.", - "operationId": "WebApps_UpdateMetadataSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Gets the application settings of an app.", + "description": "Gets the application settings of an app.", + "operationId": "WebApps_ListApplicationSettingsSlot", "produces": [ "application/json", "text/json", @@ -6373,19 +7297,10 @@ "required": true, "type": "string" }, - { - "name": "metadata", - "in": "body", - "description": "Edited metadata of the app or deployment slot. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/StringDictionary" - } - }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will update the metadata for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the application settings for the production slot.", "required": true, "type": "string" }, @@ -6406,14 +7321,19 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/metadata/list": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettings": { + "put": { "tags": [ "WebApps" ], - "summary": "Gets the metadata of an app.", - "description": "Gets the metadata of an app.", - "operationId": "WebApps_ListMetadataSlot", + "summary": "Updates the Authentication / Authorization settings associated with web app.", + "description": "Updates the Authentication / Authorization settings associated with web app.", + "operationId": "WebApps_UpdateAuthSettingsSlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -6427,14 +7347,23 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Name of web app.", "required": true, "type": "string" }, + { + "name": "siteAuthSettings", + "in": "body", + "description": "Auth settings associated with web app.", + "required": true, + "schema": { + "$ref": "#/definitions/SiteAuthSettings" + } + }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get the metadata for the production slot.", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, @@ -6449,20 +7378,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/StringDictionary" + "$ref": "#/definitions/SiteAuthSettings" } } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/publishingcredentials/list": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettings/list": { "post": { "tags": [ "WebApps" ], - "summary": "Gets the Git/FTP publishing credentials of an app.", - "description": "Gets the Git/FTP publishing credentials of an app.", - "operationId": "WebApps_ListPublishingCredentialsSlot", + "summary": "Gets the Authentication/Authorization settings of an app.", + "description": "Gets the Authentication/Authorization settings of an app.", + "operationId": "WebApps_GetAuthSettingsSlot", "produces": [ "application/json", "text/json", @@ -6483,7 +7412,7 @@ { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get the publishing credentials for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the settings for the production slot.", "required": true, "type": "string" }, @@ -6498,21 +7427,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/User" + "$ref": "#/definitions/SiteAuthSettings" } } - }, - "x-ms-long-running-operation": true + } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/pushsettings": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/backup": { "put": { "tags": [ "WebApps" ], - "summary": "Updates the Push settings associated with web app.", - "description": "Updates the Push settings associated with web app.", - "operationId": "WebApps_UpdateSitePushSettingsSlot", + "summary": "Updates the backup configuration of an app.", + "description": "Updates the backup configuration of an app.", + "operationId": "WebApps_UpdateBackupConfigurationSlot", "consumes": [ "application/json", "text/json", @@ -6531,23 +7459,23 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Name of the app.", "required": true, "type": "string" }, { - "name": "pushSettings", + "name": "request", "in": "body", - "description": "Push settings associated with web app", + "description": "Edited backup configuration.", "required": true, "schema": { - "$ref": "#/definitions/PushSettings" + "$ref": "#/definitions/BackupRequest" } }, { "name": "slot", "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will update the backup configuration for the production slot.", "required": true, "type": "string" }, @@ -6562,26 +7490,18 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/PushSettings" + "$ref": "#/definitions/BackupRequest" } } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/pushsettings/list": { - "post": { + }, + "delete": { "tags": [ "WebApps" ], - "summary": "Gets the Push settings associated with web app.", - "description": "Gets the Push settings associated with web app.", - "operationId": "WebApps_ListSitePushSettingsSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], + "summary": "Deletes the backup configuration of an app.", + "description": "Deletes the backup configuration of an app.", + "operationId": "WebApps_DeleteBackupConfigurationSlot", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -6589,14 +7509,14 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Name of the app.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will delete the backup configuration for the production slot.", "required": true, "type": "string" }, @@ -6609,22 +7529,19 @@ ], "responses": { "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PushSettings" - } + "description": "Succesfully deleted backup configuration." } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/backup/list": { + "post": { "tags": [ "WebApps" ], - "summary": "Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.", - "description": "Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.", - "operationId": "WebApps_GetConfigurationSlot", + "summary": "Gets the backup configuration of an app.", + "description": "Gets the backup configuration of an app.", + "operationId": "WebApps_GetBackupConfigurationSlot", "produces": [ "application/json", "text/json", @@ -6645,7 +7562,7 @@ { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the backup configuration for the production slot.", "required": true, "type": "string" }, @@ -6660,18 +7577,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteConfigResource" + "$ref": "#/definitions/BackupRequest" } } } - }, + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/connectionstrings": { "put": { "tags": [ "WebApps" ], - "summary": "Updates the configuration of an app.", - "description": "Updates the configuration of an app.", - "operationId": "WebApps_CreateOrUpdateConfigurationSlot", + "summary": "Replaces the connection strings of an app.", + "description": "Replaces the connection strings of an app.", + "operationId": "WebApps_UpdateConnectionStringsSlot", "consumes": [ "application/json", "text/json", @@ -6695,18 +7614,18 @@ "type": "string" }, { - "name": "siteConfig", + "name": "connectionStrings", "in": "body", - "description": "JSON representation of a SiteConfig object. See example.", + "description": "Connection strings of the app or deployment slot. See example.", "required": true, "schema": { - "$ref": "#/definitions/SiteConfigResource" + "$ref": "#/definitions/ConnectionStringDictionary" } }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will update configuration for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will update the connection settings for the production slot.", "required": true, "type": "string" }, @@ -6721,23 +7640,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteConfigResource" + "$ref": "#/definitions/ConnectionStringDictionary" } } } - }, - "patch": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/connectionstrings/list": { + "post": { "tags": [ "WebApps" ], - "summary": "Updates the configuration of an app.", - "description": "Updates the configuration of an app.", - "operationId": "WebApps_UpdateConfigurationSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Gets the connection strings of an app.", + "description": "Gets the connection strings of an app.", + "operationId": "WebApps_ListConnectionStringsSlot", "produces": [ "application/json", "text/json", @@ -6755,19 +7671,10 @@ "required": true, "type": "string" }, - { - "name": "siteConfig", - "in": "body", - "description": "JSON representation of a SiteConfig object. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/SiteConfigResource" - } - }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will update configuration for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the connection settings for the production slot.", "required": true, "type": "string" }, @@ -6782,20 +7689,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteConfigResource" + "$ref": "#/definitions/ConnectionStringDictionary" } } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/logs": { "get": { "tags": [ "WebApps" ], - "summary": "Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.", - "description": "Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.", - "operationId": "WebApps_ListConfigurationSnapshotInfoSlot", + "summary": "Gets the logging configuration of an app.", + "description": "Gets the logging configuration of an app.", + "operationId": "WebApps_GetDiagnosticLogsConfigurationSlot", "produces": [ "application/json", "text/json", @@ -6816,7 +7723,7 @@ { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the logging configuration for the production slot.", "required": true, "type": "string" }, @@ -6831,23 +7738,23 @@ "200": { "description": "OK", "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/SiteConfigurationSnapshotInfo" - } + "$ref": "#/definitions/SiteLogsConfig" } } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots/{snapshotId}": { - "get": { + }, + "put": { "tags": [ "WebApps" ], - "summary": "Gets a snapshot of the configuration of an app at a previous point in time.", - "description": "Gets a snapshot of the configuration of an app at a previous point in time.", - "operationId": "WebApps_GetConfigurationSnapshotSlot", + "summary": "Updates the logging configuration of an app.", + "description": "Updates the logging configuration of an app.", + "operationId": "WebApps_UpdateDiagnosticLogsConfigSlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -6866,16 +7773,18 @@ "type": "string" }, { - "name": "snapshotId", - "in": "path", - "description": "The ID of the snapshot to read.", + "name": "siteLogsConfig", + "in": "body", + "description": "A SiteLogsConfig JSON object that contains the logging configuration to change in the \"properties\" property.", "required": true, - "type": "string" + "schema": { + "$ref": "#/definitions/SiteLogsConfig" + } }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will update the logging configuration for the production slot.", "required": true, "type": "string" }, @@ -6890,20 +7799,31 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteConfigResource" + "$ref": "#/definitions/SiteLogsConfig" } } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots/{snapshotId}/recover": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/metadata": { + "put": { "tags": [ "WebApps" ], - "summary": "Reverts the configuration of an app to a previous snapshot.", - "description": "Reverts the configuration of an app to a previous snapshot.", - "operationId": "WebApps_RecoverSiteConfigurationSnapshotSlot", + "summary": "Replaces the metadata of an app.", + "description": "Replaces the metadata of an app.", + "operationId": "WebApps_UpdateMetadataSlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -6916,16 +7836,18 @@ "type": "string" }, { - "name": "snapshotId", - "in": "path", - "description": "The ID of the snapshot to read.", + "name": "metadata", + "in": "body", + "description": "Edited metadata of the app or deployment slot. See example.", "required": true, - "type": "string" + "schema": { + "$ref": "#/definitions/StringDictionary" + } }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will update the metadata for the production slot.", "required": true, "type": "string" }, @@ -6937,23 +7859,28 @@ } ], "responses": { - "204": { - "description": "No Content" + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/StringDictionary" + } } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/metadata/list": { + "post": { "tags": [ "WebApps" ], - "summary": "List deployments for an app, or a deployment slot, or for an instance of a scaled-out app.", - "description": "List deployments for an app, or a deployment slot, or for an instance of a scaled-out app.", - "operationId": "WebApps_ListDeploymentsSlot", + "summary": "Gets the metadata of an app.", + "description": "Gets the metadata of an app.", + "operationId": "WebApps_ListMetadataSlot", "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -6969,7 +7896,7 @@ { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the metadata for the production slot.", "required": true, "type": "string" }, @@ -6984,23 +7911,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/DeploymentCollection" + "$ref": "#/definitions/StringDictionary" } } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments/{id}": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/publishingcredentials/list": { + "post": { "tags": [ "WebApps" ], - "summary": "Get a deployment by its ID for an app, a specific deployment slot, and/or a specific scaled-out instance.", - "description": "Get a deployment by its ID for an app, a specific deployment slot, and/or a specific scaled-out instance.", - "operationId": "WebApps_GetDeploymentSlot", + "summary": "Gets the Git/FTP publishing credentials of an app.", + "description": "Gets the Git/FTP publishing credentials of an app.", + "operationId": "WebApps_ListPublishingCredentialsSlot", "produces": [ "application/json", "text/json", @@ -7018,17 +7942,10 @@ "required": true, "type": "string" }, - { - "name": "id", - "in": "path", - "description": "Deployment ID.", - "required": true, - "type": "string" - }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API gets a deployment for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the publishing credentials for the production slot.", "required": true, "type": "string" }, @@ -7043,18 +7960,21 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Deployment" + "$ref": "#/definitions/User" } } - } - }, + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/pushsettings": { "put": { "tags": [ "WebApps" ], - "summary": "Create a deployment for an app, a specific deployment slot, and/or a specific scaled-out instance.", - "description": "Create a deployment for an app, a specific deployment slot, and/or a specific scaled-out instance.", - "operationId": "WebApps_CreateDeploymentSlot", + "summary": "Updates the Push settings associated with web app.", + "description": "Updates the Push settings associated with web app.", + "operationId": "WebApps_UpdateSitePushSettingsSlot", "consumes": [ "application/json", "text/json", @@ -7073,33 +7993,26 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Name of web app.", "required": true, "type": "string" }, { - "name": "id", - "in": "path", - "description": "ID of an existing deployment.", + "name": "pushSettings", + "in": "body", + "description": "Push settings associated with web app.", "required": true, - "type": "string" + "schema": { + "$ref": "#/definitions/PushSettings" + } }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API creates a deployment for the production slot.", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, - { - "name": "deployment", - "in": "body", - "description": "Deployment details.", - "required": true, - "schema": { - "$ref": "#/definitions/Deployment" - } - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -7111,18 +8024,26 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Deployment" + "$ref": "#/definitions/PushSettings" } } } - }, - "delete": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/pushsettings/list": { + "post": { "tags": [ "WebApps" ], - "summary": "Delete a deployment by its ID for an app, a specific deployment slot, and/or a specific scaled-out instance.", - "description": "Delete a deployment by its ID for an app, a specific deployment slot, and/or a specific scaled-out instance.", - "operationId": "WebApps_DeleteDeploymentSlot", + "summary": "Gets the Push settings associated with web app.", + "description": "Gets the Push settings associated with web app.", + "operationId": "WebApps_ListSitePushSettingsSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7130,21 +8051,14 @@ { "name": "name", "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "id", - "in": "path", - "description": "Deployment ID.", + "description": "Name of web app.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, @@ -7157,25 +8071,27 @@ ], "responses": { "200": { - "description": "Succesfully deleted deployment" - }, - "204": { - "description": "Deployment does not exist" + "description": "OK", + "schema": { + "$ref": "#/definitions/PushSettings" + } } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web": { "get": { "tags": [ "WebApps" ], - "summary": "Lists ownership identifiers for domain associated with web app.", - "description": "Lists ownership identifiers for domain associated with web app.", - "operationId": "WebApps_ListDomainOwnershipIdentifiersSlot", + "summary": "Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.", + "description": "Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc.", + "operationId": "WebApps_GetConfigurationSlot", "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -7191,7 +8107,7 @@ { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.", "required": true, "type": "string" }, @@ -7206,23 +8122,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/IdentifierCollection" + "$ref": "#/definitions/SiteConfigResource" } } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}": { - "get": { + }, + "put": { "tags": [ "WebApps" ], - "summary": "Get domain ownership identifier for web app.", - "description": "Get domain ownership identifier for web app.", - "operationId": "WebApps_GetDomainOwnershipIdentifierSlot", + "summary": "Updates the configuration of an app.", + "description": "Updates the configuration of an app.", + "operationId": "WebApps_CreateOrUpdateConfigurationSlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -7241,16 +8157,18 @@ "type": "string" }, { - "name": "domainOwnershipIdentifierName", - "in": "path", - "description": "Name of domain ownership identifier.", + "name": "siteConfig", + "in": "body", + "description": "JSON representation of a SiteConfig object. See example.", "required": true, - "type": "string" + "schema": { + "$ref": "#/definitions/SiteConfigResource" + } }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will update configuration for the production slot.", "required": true, "type": "string" }, @@ -7265,18 +8183,18 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Identifier" + "$ref": "#/definitions/SiteConfigResource" } } } }, - "put": { + "patch": { "tags": [ "WebApps" ], - "summary": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", - "description": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", - "operationId": "WebApps_CreateOrUpdateDomainOwnershipIdentifierSlot", + "summary": "Updates the configuration of an app.", + "description": "Updates the configuration of an app.", + "operationId": "WebApps_UpdateConfigurationSlot", "consumes": [ "application/json", "text/json", @@ -7300,25 +8218,18 @@ "type": "string" }, { - "name": "domainOwnershipIdentifierName", - "in": "path", - "description": "Name of domain ownership identifier.", - "required": true, - "type": "string" - }, - { - "name": "domainOwnershipIdentifier", + "name": "siteConfig", "in": "body", - "description": "A JSON representation of the domain ownership properties.", + "description": "JSON representation of a SiteConfig object. See example.", "required": true, "schema": { - "$ref": "#/definitions/Identifier" + "$ref": "#/definitions/SiteConfigResource" } }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will update configuration for the production slot.", "required": true, "type": "string" }, @@ -7333,18 +8244,26 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Identifier" + "$ref": "#/definitions/SiteConfigResource" } } } - }, - "delete": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots": { + "get": { "tags": [ "WebApps" ], - "summary": "Deletes a domain ownership identifier for a web app.", - "description": "Deletes a domain ownership identifier for a web app.", - "operationId": "WebApps_DeleteDomainOwnershipIdentifierSlot", + "summary": "Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.", + "description": "Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot.", + "operationId": "WebApps_ListConfigurationSnapshotInfoSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7356,17 +8275,10 @@ "required": true, "type": "string" }, - { - "name": "domainOwnershipIdentifierName", - "in": "path", - "description": "Name of domain ownership identifier.", - "required": true, - "type": "string" - }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.", "required": true, "type": "string" }, @@ -7379,25 +8291,25 @@ ], "responses": { "200": { - "description": "Succesfully deleted domain ownership identifier." - }, - "204": { - "description": "Domain ownership identifider does not exist." + "description": "OK", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/SiteConfigurationSnapshotInfo" + } + } } } - }, - "patch": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots/{snapshotId}": { + "get": { "tags": [ "WebApps" ], - "summary": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", - "description": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", - "operationId": "WebApps_UpdateDomainOwnershipIdentifierSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Gets a snapshot of the configuration of an app at a previous point in time.", + "description": "Gets a snapshot of the configuration of an app at a previous point in time.", + "operationId": "WebApps_GetConfigurationSnapshotSlot", "produces": [ "application/json", "text/json", @@ -7416,25 +8328,16 @@ "type": "string" }, { - "name": "domainOwnershipIdentifierName", + "name": "snapshotId", "in": "path", - "description": "Name of domain ownership identifier.", + "description": "The ID of the snapshot to read.", "required": true, "type": "string" }, - { - "name": "domainOwnershipIdentifier", - "in": "body", - "description": "A JSON representation of the domain ownership properties.", - "required": true, - "schema": { - "$ref": "#/definitions/Identifier" - } - }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.", "required": true, "type": "string" }, @@ -7449,26 +8352,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/Identifier" + "$ref": "#/definitions/SiteConfigResource" } } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/MSDeploy": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/web/snapshots/{snapshotId}/recover": { + "post": { "tags": [ "WebApps" ], - "summary": "Invoke the MSDeploy web app extension as pass-through API", - "description": "Invoke the MSDeploy web app extension as pass-through API", - "operationId": "WebApps_GetMSDeployStatusSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], + "summary": "Reverts the configuration of an app to a previous snapshot.", + "description": "Reverts the configuration of an app to a previous snapshot.", + "operationId": "WebApps_RecoverSiteConfigurationSnapshotSlot", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7476,14 +8373,21 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "snapshotId", + "in": "path", + "description": "The ID of the snapshot to read.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will return configuration for the production slot.", "required": true, "type": "string" }, @@ -7495,31 +8399,23 @@ } ], "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/MSDeployStatus" - } + "204": { + "description": "No Content" } } - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs": { + "get": { "tags": [ "WebApps" ], - "summary": "Invoke the MSDeploy web app extension as pass-through API", - "description": "Invoke the MSDeploy web app extension as pass-through API", - "operationId": "WebApps_CreateMSDeployOperationSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "List continuous web jobs for an app, or a deployment slot.", + "description": "List continuous web jobs for an app, or a deployment slot.", + "operationId": "WebApps_ListContinuousWebJobsSlot", "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -7528,26 +8424,17 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Site name.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", "required": true, "type": "string" }, - { - "name": "MSDeploy", - "in": "body", - "description": "Details of MSDeploy operation", - "required": true, - "schema": { - "$ref": "#/definitions/MSDeploy" - } - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -7556,27 +8443,26 @@ } ], "responses": { - "201": { - "description": "Deployment is scheduled", + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/MSDeployStatus" + "$ref": "#/definitions/ContinuousWebJobCollection" } - }, - "409": { - "description": "Another deployment is in progress" } }, - "x-ms-long-running-operation": true + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/MSDeploy/log": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs/{webJobName}": { "get": { "tags": [ "WebApps" ], - "summary": "Invoke the MSDeploy Log web app extension as pass-through API", - "description": "Invoke the MSDeploy Log web app extension as pass-through API", - "operationId": "WebApps_GetMSDeployLogSlot", + "summary": "Gets a continuous web job by its ID for an app, or a deployment slot.", + "description": "Gets a continuous web job by its ID for an app, or a deployment slot.", + "operationId": "WebApps_GetContinuousWebJobSlot", "produces": [ "application/json", "text/json", @@ -7590,63 +8476,27 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Site name.", "required": true, "type": "string" }, { - "name": "slot", - "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", + "name": "webJobId", + "in": "query", + "description": "Web job ID.", "required": true, "type": "string" }, { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/MSDeployLog" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/admin/token": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Fetch a short lived token that can be exchanged for a master key.", - "description": "Fetch a short lived token that can be exchanged for a master key.", - "operationId": "WebApps_GetFunctionsAdminTokenSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", + "name": "slot", "in": "path", - "description": "Name of web app", + "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", "required": true, "type": "string" }, { - "name": "slot", + "name": "webJobName", "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, @@ -7659,26 +8509,23 @@ ], "responses": { "200": { - "description": "OK", + "description": "Found continuous web job.", "schema": { - "type": "string" + "$ref": "#/definitions/ContinuousWebJob" } + }, + "404": { + "description": "Continuous web job does not exist." } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings": { - "get": { + }, + "delete": { "tags": [ "WebApps" ], - "summary": "Get hostname bindings for an app or a deployment slot.", - "description": "Get hostname bindings for an app or a deployment slot.", - "operationId": "WebApps_ListHostNameBindingsSlot", - "produces": [ - "application/json", - "text/json" - ], + "summary": "Delete a continuous web job by its ID for an app, or a deployment slot.", + "description": "Delete a continuous web job by its ID for an app, or a deployment slot.", + "operationId": "WebApps_DeleteContinuousWebJobSlot", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7686,14 +8533,27 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "webJobId", + "in": "query", + "description": "Web job ID.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API gets hostname bindings for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", "required": true, "type": "string" }, @@ -7706,31 +8566,22 @@ ], "responses": { "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/HostNameBindingCollection" - } + "description": "Succesfully deleted continuous web job." + }, + "204": { + "description": "Continuous web job does not exist." } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings/{hostName}": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs/{webJobName}/start": { + "post": { "tags": [ "WebApps" ], - "summary": "Get the named hostname binding for an app (or deployment slot, if specified).", - "description": "Get the named hostname binding for an app (or deployment slot, if specified).", - "operationId": "WebApps_GetHostNameBindingSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], + "summary": "Start a continuous web job for an app, or a deployment slot.", + "description": "Start a continuous web job for an app, or a deployment slot.", + "operationId": "WebApps_StartContinuousWebJobSlot", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7738,21 +8589,27 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "webJobId", + "in": "query", + "description": "Web job ID.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API the named binding for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", "required": true, "type": "string" }, { - "name": "hostName", + "name": "webJobName", "in": "path", - "description": "Hostname in the hostname binding.", "required": true, "type": "string" }, @@ -7765,31 +8622,22 @@ ], "responses": { "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/HostNameBinding" - } + "description": "Found continuous web job." + }, + "404": { + "description": "Continuous web job does not exist." } } - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/continuouswebjobs/{webJobName}/stop": { + "post": { "tags": [ "WebApps" ], - "summary": "Creates a hostname binding for an app.", - "description": "Creates a hostname binding for an app.", - "operationId": "WebApps_CreateOrUpdateHostNameBindingSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], + "summary": "Stop a continuous web job for an app, or a deployment slot.", + "description": "Stop a continuous web job for an app, or a deployment slot.", + "operationId": "WebApps_StopContinuousWebJobSlot", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7797,30 +8645,27 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Site name.", "required": true, "type": "string" }, { - "name": "hostName", - "in": "path", - "description": "Hostname in the hostname binding.", + "name": "webJobId", + "in": "query", + "description": "Web job ID.", "required": true, "type": "string" }, { - "name": "hostNameBinding", - "in": "body", - "description": "Binding details. This is the JSON representation of a HostNameBinding object.", + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", "required": true, - "schema": { - "$ref": "#/definitions/HostNameBinding" - } + "type": "string" }, { - "name": "slot", + "name": "webJobName", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.", "required": true, "type": "string" }, @@ -7833,20 +8678,26 @@ ], "responses": { "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/HostNameBinding" - } + "description": "Found continuous web job." + }, + "404": { + "description": "Continuous web job does not exist." } } - }, - "delete": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments": { + "get": { "tags": [ "WebApps" ], - "summary": "Deletes a hostname binding for an app.", - "description": "Deletes a hostname binding for an app.", - "operationId": "WebApps_DeleteHostNameBindingSlot", + "summary": "List deployments for an app, or a deployment slot.", + "description": "List deployments for an app, or a deployment slot.", + "operationId": "WebApps_ListDeploymentsSlot", + "produces": [ + "application/json", + "text/json" + ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -7861,14 +8712,7 @@ { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.", - "required": true, - "type": "string" - }, - { - "name": "hostName", - "in": "path", - "description": "Hostname in the hostname binding.", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", "required": true, "type": "string" }, @@ -7881,22 +8725,25 @@ ], "responses": { "200": { - "description": "Succesfully deleted hostname binding" - }, - "204": { - "description": "Hostname binding does not exist" + "description": "OK", + "schema": { + "$ref": "#/definitions/DeploymentCollection" + } } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments/{id}": { "get": { "tags": [ "WebApps" ], - "summary": "Retrieves a specific Service Bus Hybrid Connection used by this Web App.", - "description": "Retrieves a specific Service Bus Hybrid Connection used by this Web App.", - "operationId": "WebApps_GetHybridConnectionSlot", + "summary": "Get a deployment by its ID for an app, or a deployment slot.", + "description": "Get a deployment by its ID for an app, or a deployment slot.", + "operationId": "WebApps_GetDeploymentSlot", "produces": [ "application/json", "text/json", @@ -7910,28 +8757,21 @@ { "name": "name", "in": "path", - "description": "The name of the web app", - "required": true, - "type": "string" - }, - { - "name": "namespaceName", - "in": "path", - "description": "The namespace for this hybrid connection", + "description": "Name of the app.", "required": true, "type": "string" }, { - "name": "relayName", + "name": "id", "in": "path", - "description": "The relay name for this hybrid connection", + "description": "Deployment ID.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "The name of the slot for the web app.", + "description": "Name of the deployment slot. If a slot is not specified, the API gets a deployment for the production slot.", "required": true, "type": "string" }, @@ -7946,7 +8786,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HybridConnection" + "$ref": "#/definitions/Deployment" } } } @@ -7955,9 +8795,9 @@ "tags": [ "WebApps" ], - "summary": "Creates a new Hybrid Connection using a Service Bus relay.", - "description": "Creates a new Hybrid Connection using a Service Bus relay.", - "operationId": "WebApps_CreateOrUpdateHybridConnectionSlot", + "summary": "Create a deployment for an app, or a deployment slot.", + "description": "Create a deployment for an app, or a deployment slot.", + "operationId": "WebApps_CreateDeploymentSlot", "consumes": [ "application/json", "text/json", @@ -7976,40 +8816,33 @@ { "name": "name", "in": "path", - "description": "The name of the web app", + "description": "Name of the app.", "required": true, "type": "string" }, { - "name": "namespaceName", + "name": "id", "in": "path", - "description": "The namespace for this hybrid connection", + "description": "ID of an existing deployment.", "required": true, "type": "string" }, { - "name": "relayName", + "name": "slot", "in": "path", - "description": "The relay name for this hybrid connection", + "description": "Name of the deployment slot. If a slot is not specified, the API creates a deployment for the production slot.", "required": true, "type": "string" }, { - "name": "connectionEnvelope", + "name": "deployment", "in": "body", - "description": "The details of the hybrid connection", + "description": "Deployment details.", "required": true, "schema": { - "$ref": "#/definitions/HybridConnection" + "$ref": "#/definitions/Deployment" } }, - { - "name": "slot", - "in": "path", - "description": "The name of the slot for the web app.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8021,7 +8854,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HybridConnection" + "$ref": "#/definitions/Deployment" } } } @@ -8030,9 +8863,9 @@ "tags": [ "WebApps" ], - "summary": "Removes a Hybrid Connection from this site.", - "description": "Removes a Hybrid Connection from this site.", - "operationId": "WebApps_DeleteHybridConnectionSlot", + "summary": "Delete a deployment by its ID for an app, or a deployment slot.", + "description": "Delete a deployment by its ID for an app, or a deployment slot.", + "operationId": "WebApps_DeleteDeploymentSlot", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8040,28 +8873,21 @@ { "name": "name", "in": "path", - "description": "The name of the web app", - "required": true, - "type": "string" - }, - { - "name": "namespaceName", - "in": "path", - "description": "The namespace for this hybrid connection", + "description": "Name of the app.", "required": true, "type": "string" }, { - "name": "relayName", + "name": "id", "in": "path", - "description": "The relay name for this hybrid connection", + "description": "Deployment ID.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "The name of the slot for the web app.", + "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", "required": true, "type": "string" }, @@ -8074,25 +8900,22 @@ ], "responses": { "200": { - "description": "Succesfully deleted hybrid connection." + "description": "Succesfully deleted deployment." }, - "404": { - "description": "Hybrid connection does not exist." + "204": { + "description": "Deployment does not exist." } } - }, - "patch": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/deployments/{id}/log": { + "get": { "tags": [ "WebApps" ], - "summary": "Creates a new Hybrid Connection using a Service Bus relay.", - "description": "Creates a new Hybrid Connection using a Service Bus relay.", - "operationId": "WebApps_UpdateHybridConnectionSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "List deployment log for specific deployment for an app, or a deployment slot.", + "description": "List deployment log for specific deployment for an app, or a deployment slot.", + "operationId": "WebApps_ListDeploymentLogSlot", "produces": [ "application/json", "text/json", @@ -8106,37 +8929,21 @@ { "name": "name", "in": "path", - "description": "The name of the web app", - "required": true, - "type": "string" - }, - { - "name": "namespaceName", - "in": "path", - "description": "The namespace for this hybrid connection", + "description": "Name of the app.", "required": true, "type": "string" }, { - "name": "relayName", + "name": "id", "in": "path", - "description": "The relay name for this hybrid connection", + "description": "The ID of a specific deployment. This is the value of the name property in the JSON response from \"GET /api/sites/{siteName}/deployments\".", "required": true, "type": "string" }, - { - "name": "connectionEnvelope", - "in": "body", - "description": "The details of the hybrid connection", - "required": true, - "schema": { - "$ref": "#/definitions/HybridConnection" - } - }, { "name": "slot", "in": "path", - "description": "The name of the slot for the web app.", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", "required": true, "type": "string" }, @@ -8151,25 +8958,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HybridConnection" + "$ref": "#/definitions/Deployment" } } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}/listKeys": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers": { + "get": { "tags": [ "WebApps" ], - "summary": "Gets the send key name and value for a Hybrid Connection.", - "description": "Gets the send key name and value for a Hybrid Connection.", - "operationId": "WebApps_ListHybridConnectionKeysSlot", + "summary": "Lists ownership identifiers for domain associated with web app.", + "description": "Lists ownership identifiers for domain associated with web app.", + "operationId": "WebApps_ListDomainOwnershipIdentifiersSlot", "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -8178,28 +8983,14 @@ { "name": "name", "in": "path", - "description": "The name of the web app", - "required": true, - "type": "string" - }, - { - "name": "namespaceName", - "in": "path", - "description": "The namespace for this hybrid connection", - "required": true, - "type": "string" - }, - { - "name": "relayName", - "in": "path", - "description": "The relay name for this hybrid connection", + "description": "Name of the app.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "The name of the slot for the web app.", + "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.", "required": true, "type": "string" }, @@ -8214,20 +9005,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HybridConnectionKey" + "$ref": "#/definitions/IdentifierCollection" } } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionRelays": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/domainOwnershipIdentifiers/{domainOwnershipIdentifierName}": { "get": { "tags": [ "WebApps" ], - "summary": "Retrieves all Service Bus Hybrid Connections used by this Web App.", - "description": "Retrieves all Service Bus Hybrid Connections used by this Web App.", - "operationId": "WebApps_ListHybridConnectionsSlot", + "summary": "Get domain ownership identifier for web app.", + "description": "Get domain ownership identifier for web app.", + "operationId": "WebApps_GetDomainOwnershipIdentifierSlot", "produces": [ "application/json", "text/json", @@ -8241,14 +9035,21 @@ { "name": "name", "in": "path", - "description": "The name of the web app", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "domainOwnershipIdentifierName", + "in": "path", + "description": "Name of domain ownership identifier.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "The name of the slot for the web app.", + "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.", "required": true, "type": "string" }, @@ -8263,20 +9064,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/HybridConnection" + "$ref": "#/definitions/Identifier" } } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection": { - "get": { + }, + "put": { "tags": [ "WebApps" ], - "summary": "Gets hybrid connections configured for an app (or deployment slot, if specified).", - "description": "Gets hybrid connections configured for an app (or deployment slot, if specified).", - "operationId": "WebApps_ListRelayServiceConnectionsSlot", + "summary": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", + "description": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", + "operationId": "WebApps_CreateOrUpdateDomainOwnershipIdentifierSlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -8294,10 +9098,26 @@ "required": true, "type": "string" }, + { + "name": "domainOwnershipIdentifierName", + "in": "path", + "description": "Name of domain ownership identifier.", + "required": true, + "type": "string" + }, + { + "name": "domainOwnershipIdentifier", + "in": "body", + "description": "A JSON representation of the domain ownership properties.", + "required": true, + "schema": { + "$ref": "#/definitions/Identifier" + } + }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get hybrid connections for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.", "required": true, "type": "string" }, @@ -8312,26 +9132,18 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/RelayServiceConnectionEntity" + "$ref": "#/definitions/Identifier" } } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection/{entityName}": { - "get": { + }, + "delete": { "tags": [ "WebApps" ], - "summary": "Gets a hybrid connection configuration by its name.", - "description": "Gets a hybrid connection configuration by its name.", - "operationId": "WebApps_GetRelayServiceConnectionSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], + "summary": "Deletes a domain ownership identifier for a web app.", + "description": "Deletes a domain ownership identifier for a web app.", + "operationId": "WebApps_DeleteDomainOwnershipIdentifierSlot", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8344,16 +9156,16 @@ "type": "string" }, { - "name": "entityName", + "name": "domainOwnershipIdentifierName", "in": "path", - "description": "Name of the hybrid connection.", + "description": "Name of domain ownership identifier.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get a hybrid connection for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.", "required": true, "type": "string" }, @@ -8366,20 +9178,20 @@ ], "responses": { "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/RelayServiceConnectionEntity" - } + "description": "Succesfully deleted domain ownership identifier." + }, + "204": { + "description": "Domain ownership identifider does not exist." } } }, - "put": { + "patch": { "tags": [ "WebApps" ], - "summary": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", - "description": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", - "operationId": "WebApps_CreateOrUpdateRelayServiceConnectionSlot", + "summary": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", + "description": "Creates a domain ownership identifier for web app, or updates an existing ownership identifier.", + "operationId": "WebApps_UpdateDomainOwnershipIdentifierSlot", "consumes": [ "application/json", "text/json", @@ -8403,25 +9215,25 @@ "type": "string" }, { - "name": "entityName", + "name": "domainOwnershipIdentifierName", "in": "path", - "description": "Name of the hybrid connection configuration.", + "description": "Name of domain ownership identifier.", "required": true, "type": "string" }, { - "name": "connectionEnvelope", + "name": "domainOwnershipIdentifier", "in": "body", - "description": "Details of the hybrid connection configuration.", + "description": "A JSON representation of the domain ownership properties.", "required": true, "schema": { - "$ref": "#/definitions/RelayServiceConnectionEntity" + "$ref": "#/definitions/Identifier" } }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.", "required": true, "type": "string" }, @@ -8436,18 +9248,26 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/RelayServiceConnectionEntity" + "$ref": "#/definitions/Identifier" } } } - }, - "delete": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/MSDeploy": { + "get": { "tags": [ "WebApps" ], - "summary": "Deletes a relay service connection by its name.", - "description": "Deletes a relay service connection by its name.", - "operationId": "WebApps_DeleteRelayServiceConnectionSlot", + "summary": "Get the status of the last MSDeploy operation.", + "description": "Get the status of the last MSDeploy operation.", + "operationId": "WebApps_GetMSDeployStatusSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8455,21 +9275,14 @@ { "name": "name", "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "entityName", - "in": "path", - "description": "Name of the hybrid connection configuration.", + "description": "Name of web app.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will delete a hybrid connection for the production slot.", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, @@ -8482,20 +9295,20 @@ ], "responses": { "200": { - "description": "Succesfully deleted relay service connection." - }, - "404": { - "description": "Relay service connection does not exist." + "description": "OK", + "schema": { + "$ref": "#/definitions/MSDeployStatus" + } } } }, - "patch": { + "put": { "tags": [ "WebApps" ], - "summary": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", - "description": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", - "operationId": "WebApps_UpdateRelayServiceConnectionSlot", + "summary": "Invoke the MSDeploy web app extension.", + "description": "Invoke the MSDeploy web app extension.", + "operationId": "WebApps_CreateMSDeployOperationSlot", "consumes": [ "application/json", "text/json", @@ -8514,33 +9327,26 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Name of web app.", "required": true, "type": "string" }, { - "name": "entityName", + "name": "slot", "in": "path", - "description": "Name of the hybrid connection configuration.", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, { - "name": "connectionEnvelope", + "name": "MSDeploy", "in": "body", - "description": "Details of the hybrid connection configuration.", + "description": "Details of MSDeploy operation", "required": true, "schema": { - "$ref": "#/definitions/RelayServiceConnectionEntity" + "$ref": "#/definitions/MSDeploy" } }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection for the production slot.", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8549,26 +9355,32 @@ } ], "responses": { - "200": { - "description": "OK", + "201": { + "description": "Deployment is scheduled.", "schema": { - "$ref": "#/definitions/RelayServiceConnectionEntity" + "$ref": "#/definitions/MSDeployStatus" } + }, + "409": { + "description": "Another deployment is in progress." } - } + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/extensions/MSDeploy/log": { "get": { "tags": [ "WebApps" ], - "summary": "Gets all scale-out instances of an app.", - "description": "Gets all scale-out instances of an app.", - "operationId": "WebApps_ListInstanceIdentifiersSlot", + "summary": "Get the MSDeploy Log for the last MSDeploy operation.", + "description": "Get the MSDeploy Log for the last MSDeploy operation.", + "operationId": "WebApps_GetMSDeployLogSlot", "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -8577,14 +9389,14 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Name of web app.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API gets the production slot instances.", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, @@ -8597,25 +9409,25 @@ ], "responses": { "200": { - "description": "OK", + "description": "MSDeploy log returned.", "schema": { - "$ref": "#/definitions/WebAppInstanceCollection" + "$ref": "#/definitions/MSDeployLog" } + }, + "404": { + "description": "MSDeploy log not found." } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/deployments": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions": { "get": { "tags": [ "WebApps" ], - "summary": "List deployments for an app, or a deployment slot, or for an instance of a scaled-out app.", - "description": "List deployments for an app, or a deployment slot, or for an instance of a scaled-out app.", - "operationId": "WebApps_ListInstanceDeploymentsSlot", + "summary": "List the functions for a web site, or a deployment slot.", + "description": "List the functions for a web site, or a deployment slot.", + "operationId": "WebApps_ListInstanceFunctionsSlot", "produces": [ "application/json", "text/json" @@ -8627,21 +9439,14 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Site name.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", - "required": true, - "type": "string" - }, - { - "name": "instanceId", - "in": "path", - "description": "The ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\"", + "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", "required": true, "type": "string" }, @@ -8654,10 +9459,13 @@ ], "responses": { "200": { - "description": "OK", + "description": "Function information returned.", "schema": { - "$ref": "#/definitions/DeploymentCollection" + "$ref": "#/definitions/FunctionEnvelopeCollection" } + }, + "404": { + "description": "Function with an ID of {functionName} is not running." } }, "x-ms-pageable": { @@ -8665,14 +9473,14 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/deployments/{id}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/admin/token": { "get": { "tags": [ "WebApps" ], - "summary": "Get a deployment by its ID for an app, a specific deployment slot, and/or a specific scaled-out instance.", - "description": "Get a deployment by its ID for an app, a specific deployment slot, and/or a specific scaled-out instance.", - "operationId": "WebApps_GetInstanceDeploymentSlot", + "summary": "Fetch a short lived token that can be exchanged for a master key.", + "description": "Fetch a short lived token that can be exchanged for a master key.", + "operationId": "WebApps_GetFunctionsAdminTokenSlot", "produces": [ "application/json", "text/json", @@ -8686,28 +9494,70 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Name of web app.", "required": true, "type": "string" }, { - "name": "id", + "name": "slot", "in": "path", - "description": "Deployment ID.", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, { - "name": "slot", + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "string" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Get function information by its ID for web site, or a deployment slot.", + "description": "Get function information by its ID for web site, or a deployment slot.", + "operationId": "WebApps_GetInstanceFunctionSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API gets a deployment for the production slot.", + "description": "Site name.", "required": true, "type": "string" }, { - "name": "instanceId", + "name": "functionName", "in": "path", - "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\"", + "description": "Function name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", "required": true, "type": "string" }, @@ -8720,10 +9570,13 @@ ], "responses": { "200": { - "description": "OK", + "description": "Function information returned.", "schema": { - "$ref": "#/definitions/Deployment" + "$ref": "#/definitions/FunctionEnvelope" } + }, + "404": { + "description": "Function with an name of {functionName} is not running." } } }, @@ -8731,9 +9584,9 @@ "tags": [ "WebApps" ], - "summary": "Create a deployment for an app, a specific deployment slot, and/or a specific scaled-out instance.", - "description": "Create a deployment for an app, a specific deployment slot, and/or a specific scaled-out instance.", - "operationId": "WebApps_CreateInstanceDeploymentSlot", + "summary": "Create function for web site, or a deployment slot.", + "description": "Create function for web site, or a deployment slot.", + "operationId": "WebApps_CreateInstanceFunctionSlot", "consumes": [ "application/json", "text/json", @@ -8752,38 +9605,31 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Site name.", "required": true, "type": "string" }, { - "name": "id", + "name": "functionName", "in": "path", - "description": "ID of an existing deployment.", + "description": "Function name.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API creates a deployment for the production slot.", - "required": true, - "type": "string" - }, - { - "name": "instanceId", - "in": "path", - "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\"", + "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", "required": true, "type": "string" }, { - "name": "deployment", + "name": "function_envelope", "in": "body", - "description": "Deployment details.", + "description": "Function details.", "required": true, "schema": { - "$ref": "#/definitions/Deployment" + "$ref": "#/definitions/FunctionEnvelope" } }, { @@ -8794,21 +9640,22 @@ } ], "responses": { - "200": { - "description": "OK", + "201": { + "description": "Function created.", "schema": { - "$ref": "#/definitions/Deployment" + "$ref": "#/definitions/FunctionEnvelope" } } - } + }, + "x-ms-long-running-operation": true }, "delete": { "tags": [ "WebApps" ], - "summary": "Delete a deployment by its ID for an app, a specific deployment slot, and/or a specific scaled-out instance.", - "description": "Delete a deployment by its ID for an app, a specific deployment slot, and/or a specific scaled-out instance.", - "operationId": "WebApps_DeleteInstanceDeploymentSlot", + "summary": "Delete a function for web site, or a deployment slot.", + "description": "Delete a function for web site, or a deployment slot.", + "operationId": "WebApps_DeleteInstanceFunctionSlot", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -8816,14 +9663,14 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Site name.", "required": true, "type": "string" }, { - "name": "id", + "name": "functionName", "in": "path", - "description": "Deployment ID.", + "description": "Function name.", "required": true, "type": "string" }, @@ -8834,13 +9681,6 @@ "required": true, "type": "string" }, - { - "name": "instanceId", - "in": "path", - "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\"", - "required": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8849,23 +9689,23 @@ } ], "responses": { - "200": { - "description": "Succesfully deleted deployment" - }, "204": { - "description": "Deployment does not exist" + "description": "Function deleted." + }, + "404": { + "description": "Function does not exist." } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/extensions/MSDeploy": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/functions/{functionName}/listsecrets": { + "post": { "tags": [ "WebApps" ], - "summary": "Invoke the MSDeploy web app extension as pass-through API", - "description": "Invoke the MSDeploy web app extension as pass-through API", - "operationId": "WebApps_GetInstanceMsDeployStatusSlot", + "summary": "Get function secrets for a function in a web site, or a deployment slot.", + "description": "Get function secrets for a function in a web site, or a deployment slot.", + "operationId": "WebApps_ListFunctionSecretsSlot", "produces": [ "application/json", "text/json", @@ -8879,21 +9719,21 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Site name.", "required": true, "type": "string" }, { - "name": "slot", + "name": "functionName", "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", + "description": "Function name.", "required": true, "type": "string" }, { - "name": "instanceId", + "name": "slot", "in": "path", - "description": "Id of web app instance", + "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", "required": true, "type": "string" }, @@ -8906,30 +9746,25 @@ ], "responses": { "200": { - "description": "OK", + "description": "Function secrets returned.", "schema": { - "$ref": "#/definitions/MSDeployStatus" + "$ref": "#/definitions/FunctionSecrets" } } } - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings": { + "get": { "tags": [ "WebApps" ], - "summary": "Invoke the MSDeploy web app extension as pass-through API", - "description": "Invoke the MSDeploy web app extension as pass-through API", - "operationId": "WebApps_CreateInstanceMSDeployOperationSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Get hostname bindings for an app or a deployment slot.", + "description": "Get hostname bindings for an app or a deployment slot.", + "operationId": "WebApps_ListHostNameBindingsSlot", "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -8938,33 +9773,17 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Name of the app.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", - "required": true, - "type": "string" - }, - { - "name": "instanceId", - "in": "path", - "description": "Id of web app instance", + "description": "Name of the deployment slot. If a slot is not specified, the API gets hostname bindings for the production slot.", "required": true, "type": "string" }, - { - "name": "MSDeploy", - "in": "body", - "description": "Details of MSDeploy operation", - "required": true, - "schema": { - "$ref": "#/definitions/MSDeploy" - } - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -8973,27 +9792,26 @@ } ], "responses": { - "201": { - "description": "Deployment is scheduled", + "200": { + "description": "OK", "schema": { - "$ref": "#/definitions/MSDeployStatus" + "$ref": "#/definitions/HostNameBindingCollection" } - }, - "409": { - "description": "Another deployment is in progress" } }, - "x-ms-long-running-operation": true + "x-ms-pageable": { + "nextLinkName": "nextLink" + } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/extensions/MSDeploy/log": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hostNameBindings/{hostName}": { "get": { "tags": [ "WebApps" ], - "summary": "Invoke the MSDeploy Log web app extension as pass-through API", - "description": "Invoke the MSDeploy Log web app extension as pass-through API", - "operationId": "WebApps_GetInstanceMSDeployLogSlot", + "summary": "Get the named hostname binding for an app (or deployment slot, if specified).", + "description": "Get the named hostname binding for an app (or deployment slot, if specified).", + "operationId": "WebApps_GetHostNameBindingSlot", "produces": [ "application/json", "text/json", @@ -9007,21 +9825,21 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Name of the app.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API the named binding for the production slot.", "required": true, "type": "string" }, { - "name": "instanceId", + "name": "hostName", "in": "path", - "description": "Id of web app instance", + "description": "Hostname in the hostname binding.", "required": true, "type": "string" }, @@ -9036,20 +9854,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/MSDeployLog" + "$ref": "#/definitions/HostNameBinding" } } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/iscloneable": { - "post": { + }, + "put": { "tags": [ "WebApps" ], - "summary": "Shows whether an app can be cloned to another resource group or subscription.", - "description": "Shows whether an app can be cloned to another resource group or subscription.", - "operationId": "WebApps_IsCloneableSlot", + "summary": "Creates a hostname binding for an app.", + "description": "Creates a hostname binding for an app.", + "operationId": "WebApps_CreateOrUpdateHostNameBindingSlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -9067,10 +9888,26 @@ "required": true, "type": "string" }, + { + "name": "hostName", + "in": "path", + "description": "Hostname in the hostname binding.", + "required": true, + "type": "string" + }, + { + "name": "hostNameBinding", + "in": "body", + "description": "Binding details. This is the JSON representation of a HostNameBinding object.", + "required": true, + "schema": { + "$ref": "#/definitions/HostNameBinding" + } + }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. By default, this API returns information on the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.", "required": true, "type": "string" }, @@ -9085,24 +9922,18 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteCloneability" + "$ref": "#/definitions/HostNameBinding" } } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/metricdefinitions": { - "get": { + }, + "delete": { "tags": [ "WebApps" ], - "summary": "Gets all metric definitions of an app (or deployment slot, if specified).", - "description": "Gets all metric definitions of an app (or deployment slot, if specified).", - "operationId": "WebApps_ListMetricDefinitionsSlot", - "produces": [ - "application/json", - "text/json" - ], + "summary": "Deletes a hostname binding for an app.", + "description": "Deletes a hostname binding for an app.", + "operationId": "WebApps_DeleteHostNameBindingSlot", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9117,7 +9948,14 @@ { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get metric definitions of the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "hostName", + "in": "path", + "description": "Hostname in the hostname binding.", "required": true, "type": "string" }, @@ -9130,28 +9968,27 @@ ], "responses": { "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/ResourceMetricDefinitionCollection" - } + "description": "Succesfully deleted hostname binding." + }, + "204": { + "description": "Hostname binding does not exist." } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/metrics": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}": { "get": { "tags": [ "WebApps" ], - "summary": "Gets performance metrics of an app (or deployment slot, if specified).", - "description": "Gets performance metrics of an app (or deployment slot, if specified).", - "operationId": "WebApps_ListMetricsSlot", + "summary": "Retrieves a specific Service Bus Hybrid Connection used by this Web App.", + "description": "Retrieves a specific Service Bus Hybrid Connection used by this Web App.", + "operationId": "WebApps_GetHybridConnectionSlot", "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -9160,28 +9997,29 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "The name of the web app.", "required": true, "type": "string" }, { - "name": "slot", + "name": "namespaceName", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get metrics of the production slot.", + "description": "The namespace for this hybrid connection.", "required": true, "type": "string" }, { - "name": "details", - "in": "query", - "description": "Specify \"true\" to include metric details in the response. It is \"false\" by default.", - "type": "boolean" + "name": "relayName", + "in": "path", + "description": "The relay name for this hybrid connection.", + "required": true, + "type": "string" }, { - "name": "$filter", - "in": "query", - "description": "Return only metrics specified in the filter (using OData syntax). For example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.", - "x-ms-skip-url-encoding": true, + "name": "slot", + "in": "path", + "description": "The name of the slot for the web app.", + "required": true, "type": "string" }, { @@ -9195,23 +10033,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/ResourceMetricCollection" + "$ref": "#/definitions/HybridConnection" } } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/migratemysql/status": { - "get": { + }, + "put": { "tags": [ "WebApps" ], - "summary": "Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled", - "description": "Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled", - "operationId": "WebApps_GetMigrateMySqlStatusSlot", + "summary": "Creates a new Hybrid Connection using a Service Bus relay.", + "description": "Creates a new Hybrid Connection using a Service Bus relay.", + "operationId": "WebApps_CreateOrUpdateHybridConnectionSlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -9225,14 +10063,37 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "The name of the web app.", + "required": true, + "type": "string" + }, + { + "name": "namespaceName", + "in": "path", + "description": "The namespace for this hybrid connection.", + "required": true, + "type": "string" + }, + { + "name": "relayName", + "in": "path", + "description": "The relay name for this hybrid connection.", "required": true, "type": "string" }, + { + "name": "connectionEnvelope", + "in": "body", + "description": "The details of the hybrid connection.", + "required": true, + "schema": { + "$ref": "#/definitions/HybridConnection" + } + }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot", + "description": "The name of the slot for the web app.", "required": true, "type": "string" }, @@ -9247,26 +10108,18 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/MigrateMySqlStatus" + "$ref": "#/definitions/HybridConnection" } } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkFeatures/{view}": { - "get": { + }, + "delete": { "tags": [ "WebApps" ], - "summary": "Gets all network features used by the app (or deployment slot, if specified).", - "description": "Gets all network features used by the app (or deployment slot, if specified).", - "operationId": "WebApps_ListNetworkFeaturesSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], + "summary": "Removes a Hybrid Connection from this site.", + "description": "Removes a Hybrid Connection from this site.", + "operationId": "WebApps_DeleteHybridConnectionSlot", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9274,21 +10127,28 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "The name of the web app.", "required": true, "type": "string" }, { - "name": "view", + "name": "namespaceName", "in": "path", - "description": "The type of view. This can either be \"summary\" or \"detailed\".", + "description": "The namespace for this hybrid connection.", + "required": true, + "type": "string" + }, + { + "name": "relayName", + "in": "path", + "description": "The relay name for this hybrid connection.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get network features for the production slot.", + "description": "The name of the slot for the web app.", "required": true, "type": "string" }, @@ -9301,25 +10161,25 @@ ], "responses": { "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/NetworkFeatures" - } + "description": "Succesfully deleted hybrid connection." }, "404": { - "description": "The requested view does not exist." + "description": "Hybrid connection does not exist." } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/start": { - "post": { + }, + "patch": { "tags": [ "WebApps" ], - "summary": "Start capturing network packets for the site.", - "description": "Start capturing network packets for the site.", - "operationId": "WebApps_StartWebSiteNetworkTraceSlot", + "summary": "Creates a new Hybrid Connection using a Service Bus relay.", + "description": "Creates a new Hybrid Connection using a Service Bus relay.", + "operationId": "WebApps_UpdateHybridConnectionSlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -9338,30 +10198,33 @@ "type": "string" }, { - "name": "durationInSeconds", - "in": "query", - "description": "The duration to keep capturing in seconds.", - "type": "integer", - "format": "int32" + "name": "namespaceName", + "in": "path", + "description": "The namespace for this hybrid connection.", + "required": true, + "type": "string" }, { - "name": "slot", + "name": "relayName", "in": "path", - "description": "The name of the slot for this web app.", + "description": "The relay name for this hybrid connection.", "required": true, "type": "string" }, { - "name": "maxFrameLength", - "in": "query", - "description": "The maximum frame length in bytes (Optional).", - "type": "integer", - "format": "int32" + "name": "connectionEnvelope", + "in": "body", + "description": "The details of the hybrid connection.", + "required": true, + "schema": { + "$ref": "#/definitions/HybridConnection" + } }, { - "name": "sasUrl", - "in": "query", - "description": "The Blob URL to store capture file.", + "name": "slot", + "in": "path", + "description": "The name of the slot for the web app.", + "required": true, "type": "string" }, { @@ -9375,20 +10238,20 @@ "200": { "description": "OK", "schema": { - "type": "string" + "$ref": "#/definitions/HybridConnection" } } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/stop": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionNamespaces/{namespaceName}/relays/{relayName}/listKeys": { "post": { "tags": [ "WebApps" ], - "summary": "Stop ongoing capturing network packets for the site.", - "description": "Stop ongoing capturing network packets for the site.", - "operationId": "WebApps_StopWebSiteNetworkTraceSlot", + "summary": "Gets the send key name and value for a Hybrid Connection.", + "description": "Gets the send key name and value for a Hybrid Connection.", + "operationId": "WebApps_ListHybridConnectionKeysSlot", "produces": [ "application/json", "text/json", @@ -9406,10 +10269,24 @@ "required": true, "type": "string" }, + { + "name": "namespaceName", + "in": "path", + "description": "The namespace for this hybrid connection.", + "required": true, + "type": "string" + }, + { + "name": "relayName", + "in": "path", + "description": "The relay name for this hybrid connection.", + "required": true, + "type": "string" + }, { "name": "slot", "in": "path", - "description": "The name of the slot for this web app.", + "description": "The name of the slot for the web app.", "required": true, "type": "string" }, @@ -9424,20 +10301,26 @@ "200": { "description": "OK", "schema": { - "type": "string" + "$ref": "#/definitions/HybridConnectionKey" } } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/newpassword": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridConnectionRelays": { + "get": { "tags": [ "WebApps" ], - "summary": "Generates a new publishing password for an app (or deployment slot, if specified).", - "description": "Generates a new publishing password for an app (or deployment slot, if specified).", - "operationId": "WebApps_GenerateNewSitePublishingPasswordSlot", + "summary": "Retrieves all Service Bus Hybrid Connections used by this Web App.", + "description": "Retrieves all Service Bus Hybrid Connections used by this Web App.", + "operationId": "WebApps_ListHybridConnectionsSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9445,14 +10328,14 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "The name of the web app.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API generate a new publishing password for the production slot.", + "description": "The name of the slot for the web app.", "required": true, "type": "string" }, @@ -9464,23 +10347,28 @@ } ], "responses": { - "204": { - "description": "No Content" + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/HybridConnection" + } } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/perfcounters": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection": { "get": { "tags": [ "WebApps" ], - "summary": "Gets perfmon counters for web app.", - "description": "Gets perfmon counters for web app.", - "operationId": "WebApps_ListPerfMonCountersSlot", + "summary": "Gets hybrid connections configured for an app (or deployment slot, if specified).", + "description": "Gets hybrid connections configured for an app (or deployment slot, if specified).", + "operationId": "WebApps_ListRelayServiceConnectionsSlot", "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -9489,24 +10377,17 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Name of the app.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will get hybrid connections for the production slot.", "required": true, "type": "string" }, - { - "name": "$filter", - "in": "query", - "description": "Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.", - "x-ms-skip-url-encoding": true, - "type": "string" - }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -9518,23 +10399,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/PerfMonCounterCollection" + "$ref": "#/definitions/RelayServiceConnectionEntity" } } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/phplogging": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/hybridconnection/{entityName}": { "get": { "tags": [ "WebApps" ], - "summary": "Gets web app's event logs.", - "description": "Gets web app's event logs.", - "operationId": "WebApps_GetSitePhpErrorLogFlagSlot", + "summary": "Gets a hybrid connection configuration by its name.", + "description": "Gets a hybrid connection configuration by its name.", + "operationId": "WebApps_GetRelayServiceConnectionSlot", "produces": [ "application/json", "text/json", @@ -9548,20 +10426,27 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Name of the app.", "required": true, "type": "string" }, { - "name": "slot", + "name": "entityName", "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", + "description": "Name of the hybrid connection.", "required": true, "type": "string" }, { - "$ref": "#/parameters/subscriptionIdParameter" - }, + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get a hybrid connection for the production slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, { "$ref": "#/parameters/apiVersionParameter" } @@ -9570,20 +10455,23 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SitePhpErrorLogFlag" + "$ref": "#/definitions/RelayServiceConnectionEntity" } } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons": { - "get": { + }, + "put": { "tags": [ "WebApps" ], - "summary": "Gets the premier add-ons of an app.", - "description": "Gets the premier add-ons of an app.", - "operationId": "WebApps_ListPremierAddOnsSlot", + "summary": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", + "description": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", + "operationId": "WebApps_CreateOrUpdateRelayServiceConnectionSlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], "produces": [ "application/json", "text/json", @@ -9601,10 +10489,26 @@ "required": true, "type": "string" }, + { + "name": "entityName", + "in": "path", + "description": "Name of the hybrid connection configuration.", + "required": true, + "type": "string" + }, + { + "name": "connectionEnvelope", + "in": "body", + "description": "Details of the hybrid connection configuration.", + "required": true, + "schema": { + "$ref": "#/definitions/RelayServiceConnectionEntity" + } + }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get the premier add-ons for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection for the production slot.", "required": true, "type": "string" }, @@ -9619,26 +10523,18 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/PremierAddOn" + "$ref": "#/definitions/RelayServiceConnectionEntity" } } } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}": { - "get": { + }, + "delete": { "tags": [ "WebApps" ], - "summary": "Gets a named add-on of an app.", - "description": "Gets a named add-on of an app.", - "operationId": "WebApps_GetPremierAddOnSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], + "summary": "Deletes a relay service connection by its name.", + "description": "Deletes a relay service connection by its name.", + "operationId": "WebApps_DeleteRelayServiceConnectionSlot", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9651,16 +10547,16 @@ "type": "string" }, { - "name": "premierAddOnName", + "name": "entityName", "in": "path", - "description": "Add-on name.", + "description": "Name of the hybrid connection configuration.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get the named add-on for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will delete a hybrid connection for the production slot.", "required": true, "type": "string" }, @@ -9673,20 +10569,20 @@ ], "responses": { "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/PremierAddOn" - } + "description": "Succesfully deleted relay service connection." + }, + "404": { + "description": "Relay service connection does not exist." } } }, - "put": { + "patch": { "tags": [ "WebApps" ], - "summary": "Updates a named add-on of an app.", - "description": "Updates a named add-on of an app.", - "operationId": "WebApps_AddPremierAddOnSlot", + "summary": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", + "description": "Creates a new hybrid connection configuration (PUT), or updates an existing one (PATCH).", + "operationId": "WebApps_UpdateRelayServiceConnectionSlot", "consumes": [ "application/json", "text/json", @@ -9710,25 +10606,25 @@ "type": "string" }, { - "name": "premierAddOnName", + "name": "entityName", "in": "path", - "description": "Add-on name.", + "description": "Name of the hybrid connection configuration.", "required": true, "type": "string" }, { - "name": "premierAddOn", + "name": "connectionEnvelope", "in": "body", - "description": "A JSON representation of the edited premier add-on.", + "description": "Details of the hybrid connection configuration.", "required": true, "schema": { - "$ref": "#/definitions/PremierAddOn" + "$ref": "#/definitions/RelayServiceConnectionEntity" } }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will update the named add-on for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will create or update a hybrid connection for the production slot.", "required": true, "type": "string" }, @@ -9743,65 +10639,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/PremierAddOn" + "$ref": "#/definitions/RelayServiceConnectionEntity" } } } - }, - "delete": { - "tags": [ - "WebApps" - ], - "summary": "Delete a premier add-on from an app.", - "description": "Delete a premier add-on from an app.", - "operationId": "WebApps_DeletePremierAddOnSlot", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "premierAddOnName", - "in": "path", - "description": "Add-on name.", - "required": true, - "type": "string" - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will delete the named add-on for the production slot.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Succesfully deleted premier add-on." - } - } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publicCertificates": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances": { "get": { "tags": [ "WebApps" ], - "summary": "Get public certificates for an app or a deployment slot.", - "description": "Get public certificates for an app or a deployment slot.", - "operationId": "WebApps_ListPublicCertificatesSlot", + "summary": "Gets all scale-out instances of an app.", + "description": "Gets all scale-out instances of an app.", + "operationId": "WebApps_ListInstanceIdentifiersSlot", "produces": [ "application/json", "text/json" @@ -9820,7 +10671,7 @@ { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API gets hostname bindings for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API gets the production slot instances.", "required": true, "type": "string" }, @@ -9835,7 +10686,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/PublicCertificateCollection" + "$ref": "#/definitions/WebAppInstanceCollection" } } }, @@ -9844,14 +10695,14 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publicCertificates/{publicCertificateName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/extensions/MSDeploy": { "get": { "tags": [ "WebApps" ], - "summary": "Get the named public certificate for an app (or deployment slot, if specified).", - "description": "Get the named public certificate for an app (or deployment slot, if specified).", - "operationId": "WebApps_GetPublicCertificateSlot", + "summary": "Get the status of the last MSDeploy operation.", + "description": "Get the status of the last MSDeploy operation.", + "operationId": "WebApps_GetInstanceMsDeployStatusSlot", "produces": [ "application/json", "text/json", @@ -9865,21 +10716,21 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Name of web app.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API the named binding for the production slot.", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, { - "name": "publicCertificateName", + "name": "instanceId", "in": "path", - "description": "Public CertificateName", + "description": "ID of web app instance.", "required": true, "type": "string" }, @@ -9894,7 +10745,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/PublicCertificate" + "$ref": "#/definitions/MSDeployStatus" } } } @@ -9903,9 +10754,9 @@ "tags": [ "WebApps" ], - "summary": "Creates a hostname binding for an app.", - "description": "Creates a hostname binding for an app.", - "operationId": "WebApps_CreateOrUpdatePublicCertificateSlot", + "summary": "Invoke the MSDeploy web app extension.", + "description": "Invoke the MSDeploy web app extension.", + "operationId": "WebApps_CreateInstanceMSDeployOperationSlot", "consumes": [ "application/json", "text/json", @@ -9924,32 +10775,32 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Name of web app.", "required": true, "type": "string" }, { - "name": "publicCertificateName", + "name": "slot", "in": "path", - "description": "Public certificate name.", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, { - "name": "publicCertificate", - "in": "body", - "description": "Public certificate details. This is the JSON representation of a PublicCertificate object.", + "name": "instanceId", + "in": "path", + "description": "ID of web app instance.", "required": true, - "schema": { - "$ref": "#/definitions/PublicCertificate" - } + "type": "string" }, { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.", + "name": "MSDeploy", + "in": "body", + "description": "Details of MSDeploy operation", "required": true, - "type": "string" + "schema": { + "$ref": "#/definitions/MSDeploy" + } }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -9959,21 +10810,33 @@ } ], "responses": { - "200": { - "description": "OK", + "201": { + "description": "Deployment is scheduled.", "schema": { - "$ref": "#/definitions/PublicCertificate" + "$ref": "#/definitions/MSDeployStatus" } + }, + "409": { + "description": "Another deployment is in progress." } - } - }, - "delete": { + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/extensions/MSDeploy/log": { + "get": { "tags": [ "WebApps" ], - "summary": "Deletes a hostname binding for an app.", - "description": "Deletes a hostname binding for an app.", - "operationId": "WebApps_DeletePublicCertificateSlot", + "summary": "Get the MSDeploy Log for the last MSDeploy operation.", + "description": "Get the MSDeploy Log for the last MSDeploy operation.", + "operationId": "WebApps_GetInstanceMSDeployLogSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -9981,21 +10844,21 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Name of web app.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, { - "name": "publicCertificateName", + "name": "instanceId", "in": "path", - "description": "Public Certificate Name.", + "description": "ID of web app instance.", "required": true, "type": "string" }, @@ -10008,34 +10871,28 @@ ], "responses": { "200": { - "description": "Succesfully deleted hostname binding" + "description": "MSDeploy log returned.", + "schema": { + "$ref": "#/definitions/MSDeployLog" + } }, - "204": { - "description": "Hostname binding does not exist" + "404": { + "description": "MSDeploy log not found." } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publishxml": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes": { + "get": { "tags": [ "WebApps" ], - "summary": "Gets the publishing profile for an app (or deployment slot, if specified).", - "description": "Gets the publishing profile for an app (or deployment slot, if specified).", - "operationId": "WebApps_ListPublishingProfileXmlWithSecretsSlot", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], + "summary": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", + "description": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", + "operationId": "WebApps_ListInstanceProcessesSlot", "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -10044,23 +10901,21 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Site name.", "required": true, "type": "string" }, { - "name": "publishingProfileOptions", - "in": "body", - "description": "Specifies publishingProfileOptions for publishing profile. For example, use {\"format\": \"FileZilla3\"} to get a FileZilla publishing profile.", + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", "required": true, - "schema": { - "$ref": "#/definitions/CsmPublishingProfileOptions" - } + "type": "string" }, { - "name": "slot", + "name": "instanceId", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get the publishing profile for the production slot.", + "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", "required": true, "type": "string" }, @@ -10073,27 +10928,28 @@ ], "responses": { "200": { - "description": "OK", + "description": "Process terminated.", "schema": { - "type": "file" + "$ref": "#/definitions/ProcessInfoCollection" } + }, + "404": { + "description": "Process with the specified ID is not running." } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/recover": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}": { + "get": { "tags": [ "WebApps" ], - "summary": "Recovers a deleted web app.", - "description": "Recovers a deleted web app.", - "operationId": "WebApps_RecoverSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", + "description": "Get process information by its ID for a specific scaled-out instance in a web site.", + "operationId": "WebApps_GetInstanceProcessSlot", "produces": [ "application/json", "text/json", @@ -10107,23 +10963,28 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Site name.", "required": true, "type": "string" }, { - "name": "recoveryEntity", - "in": "body", - "description": "Snapshot data used for web app recovery. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API.", + "name": "processId", + "in": "path", + "description": "PID.", "required": true, - "schema": { - "$ref": "#/definitions/SnapshotRecoveryRequest" - } + "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", "required": true, "type": "string" }, @@ -10136,23 +10997,23 @@ ], "responses": { "200": { - "description": "OK", + "description": "Process information returned.", "schema": { - "$ref": "#/definitions/RecoverResponse" + "$ref": "#/definitions/ProcessInfo" } + }, + "404": { + "description": "Process with the specified ID is not running." } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resetSlotConfig": { - "post": { + } + }, + "delete": { "tags": [ "WebApps" ], - "summary": "Resets the configuration settings of the current slot if they were previously modified by calling the API with POST.", - "description": "Resets the configuration settings of the current slot if they were previously modified by calling the API with POST.", - "operationId": "WebApps_ResetSlotConfigurationSlot", + "summary": "Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.", + "description": "Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.", + "operationId": "WebApps_DeleteInstanceProcessSlot", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10160,14 +11021,28 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API resets configuration settings for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", "required": true, "type": "string" }, @@ -10179,20 +11054,23 @@ } ], "responses": { - "200": { - "description": "OK" + "204": { + "description": "Process terminated." + }, + "404": { + "description": "Process with the specified ID is not running." } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restart": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/dump": { + "get": { "tags": [ "WebApps" ], - "summary": "Restarts an app (or deployment slot, if specified).", - "description": "Restarts an app (or deployment slot, if specified).", - "operationId": "WebApps_RestartSlot", + "summary": "Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.", + "description": "Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.", + "operationId": "WebApps_GetInstanceProcessDumpSlot", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10200,28 +11078,30 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Site name.", "required": true, "type": "string" }, { - "name": "slot", + "name": "processId", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will restart the production slot.", + "description": "PID.", "required": true, "type": "string" }, { - "name": "softRestart", - "in": "query", - "description": "Specify true to apply the configuration settings and restarts the app only if necessary. By default, the API always restarts and reprovisions the app.", - "type": "boolean" + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", + "required": true, + "type": "string" }, { - "name": "synchronous", - "in": "query", - "description": "Specify true to block until the app is restarted. By default, it is set to false, and the API responds immediately (asynchronous).", - "type": "boolean" + "name": "instanceId", + "in": "path", + "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", + "required": true, + "type": "string" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -10232,26 +11112,25 @@ ], "responses": { "200": { - "description": "Successfully restarted app." + "description": "OK", + "schema": { + "type": "file" + } + }, + "404": { + "description": "Process with the specified ID is not running." } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/slotsdiffs": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/modules": { + "get": { "tags": [ "WebApps" ], - "summary": "Get the difference in configuration settings between two web app slots.", - "description": "Get the difference in configuration settings between two web app slots.", - "operationId": "WebApps_ListSlotDifferencesSlot", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], + "summary": "List module information for a process by its ID for a specific scaled-out instance in a web site.", + "description": "List module information for a process by its ID for a specific scaled-out instance in a web site.", + "operationId": "WebApps_ListInstanceProcessModulesSlot", "produces": [ "application/json", "text/json" @@ -10263,23 +11142,28 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Site name.", "required": true, "type": "string" }, { - "name": "slotSwapEntity", - "in": "body", - "description": "JSON object that contains the target slot name. See example.", + "name": "processId", + "in": "path", + "description": "PID.", "required": true, - "schema": { - "$ref": "#/definitions/CsmSlotEntity" - } + "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of the source slot. If a slot is not specified, the production slot is used as the source slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", "required": true, "type": "string" }, @@ -10292,10 +11176,13 @@ ], "responses": { "200": { - "description": "OK", + "description": "Module information returned.", "schema": { - "$ref": "#/definitions/SlotDifferenceCollection" + "$ref": "#/definitions/ProcessModuleInfoCollection" } + }, + "404": { + "description": "Process with the specified ID is not running." } }, "x-ms-pageable": { @@ -10303,20 +11190,19 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/slotsswap": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/modules/{base_address}": { + "get": { "tags": [ "WebApps" ], - "summary": "Swaps two deployment slots of an app.", - "description": "Swaps two deployment slots of an app.", - "operationId": "WebApps_SwapSlotSlot", - "consumes": [ + "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", + "description": "Get process information by its ID for a specific scaled-out instance in a web site.", + "operationId": "WebApps_GetInstanceProcessModuleSlot", + "produces": [ "application/json", "text/json", "application/xml", - "text/xml", - "application/x-www-form-urlencoded" + "text/xml" ], "parameters": [ { @@ -10325,23 +11211,41 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Site name.", "required": true, "type": "string" }, { - "name": "slotSwapEntity", - "in": "body", - "description": "JSON object that contains the target slot name. See example.", + "name": "processId", + "in": "path", + "description": "PID.", "required": true, - "schema": { - "$ref": "#/definitions/CsmSlotEntity" - } + "type": "string" + }, + { + "name": "baseAddress", + "in": "query", + "description": "Module base address.", + "required": true, + "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of the source slot. If a slot is not specified, the production slot is used as the source slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", + "required": true, + "type": "string" + }, + { + "name": "base_address", + "in": "path", "required": true, "type": "string" }, @@ -10354,23 +11258,25 @@ ], "responses": { "200": { - "description": "OK" + "description": "Module information returned.", + "schema": { + "$ref": "#/definitions/ProcessModuleInfo" + } }, - "202": { - "description": "Operation is in progress" + "404": { + "description": "Process with the specified ID is not running, or a module with the specified base_address was not found." } - }, - "x-ms-long-running-operation": true + } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/snapshots": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/threads": { "get": { "tags": [ "WebApps" ], - "summary": "Returns all Snapshots to the user.", - "description": "Returns all Snapshots to the user.", - "operationId": "WebApps_ListSnapshotsSlot", + "summary": "List the threads in a process by its ID for a specific scaled-out instance in a web site.", + "description": "List the threads in a process by its ID for a specific scaled-out instance in a web site.", + "operationId": "WebApps_ListInstanceProcessThreadsSlot", "produces": [ "application/json", "text/json" @@ -10382,14 +11288,28 @@ { "name": "name", "in": "path", - "description": "Website Name", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Website Slot", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", "required": true, "type": "string" }, @@ -10402,10 +11322,13 @@ ], "responses": { "200": { - "description": "OK", + "description": "Thread information returned.", "schema": { - "$ref": "#/definitions/SnapshotCollection" + "$ref": "#/definitions/ProcessThreadInfoCollection" } + }, + "404": { + "description": "Process with the specified ID is not running." } }, "x-ms-pageable": { @@ -10413,14 +11336,14 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sourcecontrols/web": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}/processes/{processId}/threads/{threadId}": { "get": { "tags": [ "WebApps" ], - "summary": "Gets the source control configuration of an app.", - "description": "Gets the source control configuration of an app.", - "operationId": "WebApps_GetSourceControlSlot", + "summary": "Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site.", + "description": "Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site.", + "operationId": "WebApps_GetInstanceProcessThreadSlot", "produces": [ "application/json", "text/json", @@ -10434,14 +11357,35 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" + }, + { + "name": "threadId", + "in": "path", + "description": "TID.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get the source control configuration for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "instanceId", + "in": "path", + "description": "ID of a specific scaled-out instance. This is the value of the name property in the JSON response from \"GET api/sites/{siteName}/instances\".", "required": true, "type": "string" }, @@ -10454,25 +11398,25 @@ ], "responses": { "200": { - "description": "OK", + "description": "Thread information returned.", "schema": { - "$ref": "#/definitions/SiteSourceControl" + "$ref": "#/definitions/ProcessThreadInfo" } + }, + "404": { + "description": "Either the thread with the specified TID was not found, or the process with the specified PID is not running." } } - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/iscloneable": { + "post": { "tags": [ "WebApps" ], - "summary": "Updates the source control configuration of an app.", - "description": "Updates the source control configuration of an app.", - "operationId": "WebApps_CreateOrUpdateSourceControlSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Shows whether an app can be cloned to another resource group or subscription.", + "description": "Shows whether an app can be cloned to another resource group or subscription.", + "operationId": "WebApps_IsCloneableSlot", "produces": [ "application/json", "text/json", @@ -10490,19 +11434,10 @@ "required": true, "type": "string" }, - { - "name": "siteSourceControl", - "in": "body", - "description": "JSON representation of a SiteSourceControl object. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/SiteSourceControl" - } - }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will update the source control configuration for the production slot.", + "description": "Name of the deployment slot. By default, this API returns information on the production slot.", "required": true, "type": "string" }, @@ -10515,27 +11450,28 @@ ], "responses": { "200": { - "description": "Succesfully created or updated source control for web app.", + "description": "OK.", "schema": { - "$ref": "#/definitions/SiteSourceControl" - } - }, - "201": { - "description": "Create or update source control for web app in progress.", - "schema": { - "$ref": "#/definitions/SiteSourceControl" + "$ref": "#/definitions/SiteCloneability" } } - }, - "x-ms-long-running-operation": true - }, - "delete": { + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/listsyncfunctiontriggerstatus": { + "post": { "tags": [ "WebApps" ], - "summary": "Deletes the source control configuration of an app.", - "description": "Deletes the source control configuration of an app.", - "operationId": "WebApps_DeleteSourceControlSlot", + "summary": "This is to allow calling via powershell and ARM template.", + "description": "This is to allow calling via powershell and ARM template.", + "operationId": "WebApps_ListSyncFunctionTriggersSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10550,7 +11486,7 @@ { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will delete the source control configuration for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot.", "required": true, "type": "string" }, @@ -10563,25 +11499,26 @@ ], "responses": { "200": { - "description": "Succesfully deleted source control for web app." - }, - "202": { - "description": "Source control delete operation in progress." - }, - "404": { - "description": "Source control does not exist." + "description": "OK", + "schema": { + "$ref": "#/definitions/FunctionSecrets" + } } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/start": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/metricdefinitions": { + "get": { "tags": [ "WebApps" ], - "summary": "Starts an app (or deployment slot, if specified).", - "description": "Starts an app (or deployment slot, if specified).", - "operationId": "WebApps_StartSlot", + "summary": "Gets all metric definitions of an app (or deployment slot, if specified).", + "description": "Gets all metric definitions of an app (or deployment slot, if specified).", + "operationId": "WebApps_ListMetricDefinitionsSlot", + "produces": [ + "application/json", + "text/json" + ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10596,7 +11533,7 @@ { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will start the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will get metric definitions of the production slot.", "required": true, "type": "string" }, @@ -10609,19 +11546,29 @@ ], "responses": { "200": { - "description": "Successfully started app." + "description": "OK", + "schema": { + "$ref": "#/definitions/ResourceMetricDefinitionCollection" + } } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/stop": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/metrics": { + "get": { "tags": [ "WebApps" ], - "summary": "Stops an app (or deployment slot, if specified).", - "description": "Stops an app (or deployment slot, if specified).", - "operationId": "WebApps_StopSlot", + "summary": "Gets performance metrics of an app (or deployment slot, if specified).", + "description": "Gets performance metrics of an app (or deployment slot, if specified).", + "operationId": "WebApps_ListMetricsSlot", + "produces": [ + "application/json", + "text/json" + ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10636,10 +11583,23 @@ { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will stop the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will get metrics of the production slot.", "required": true, "type": "string" }, + { + "name": "details", + "in": "query", + "description": "Specify \"true\" to include metric details in the response. It is \"false\" by default.", + "type": "boolean" + }, + { + "name": "$filter", + "in": "query", + "description": "Return only metrics specified in the filter (using OData syntax). For example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.", + "x-ms-skip-url-encoding": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -10649,19 +11609,31 @@ ], "responses": { "200": { - "description": "Successfully stopped app." + "description": "OK", + "schema": { + "$ref": "#/definitions/ResourceMetricCollection" + } } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sync": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/migratemysql/status": { + "get": { "tags": [ "WebApps" ], - "summary": "Sync web app repository.", - "description": "Sync web app repository.", - "operationId": "WebApps_SyncRepositorySlot", + "summary": "Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled", + "description": "Returns the status of MySql in app migration, if one is active, and whether or not MySql in app is enabled", + "operationId": "WebApps_GetMigrateMySqlStatusSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10669,14 +11641,14 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Name of web app.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of web app slot. If not specified then will default to production slot.", + "description": "Name of the deployment slot.", "required": true, "type": "string" }, @@ -10689,19 +11661,28 @@ ], "responses": { "200": { - "description": "Successfully sync sourcecontrol." + "description": "OK", + "schema": { + "$ref": "#/definitions/MigrateMySqlStatus" + } } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/syncfunctiontriggers": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkFeatures/{view}": { + "get": { "tags": [ "WebApps" ], - "summary": "Syncs function trigger metadata to the scale controller", - "description": "Syncs function trigger metadata to the scale controller", - "operationId": "WebApps_SyncFunctionTriggersSlot", + "summary": "Gets all network features used by the app (or deployment slot, if specified).", + "description": "Gets all network features used by the app (or deployment slot, if specified).", + "operationId": "WebApps_ListNetworkFeaturesSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10713,10 +11694,17 @@ "required": true, "type": "string" }, + { + "name": "view", + "in": "path", + "description": "The type of view. This can either be \"summary\" or \"detailed\".", + "required": true, + "type": "string" + }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will get network features for the production slot.", "required": true, "type": "string" }, @@ -10728,23 +11716,31 @@ } ], "responses": { - "204": { - "description": "No Content" + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/NetworkFeatures" + } + }, + "404": { + "description": "The requested view does not exist." } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/usages": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/start": { + "post": { "tags": [ "WebApps" ], - "summary": "Gets the quota usage information of an app (or deployment slot, if specified).", - "description": "Gets the quota usage information of an app (or deployment slot, if specified).", - "operationId": "WebApps_ListUsagesSlot", + "summary": "Start capturing network packets for the site.", + "description": "Start capturing network packets for the site.", + "operationId": "WebApps_StartWebSiteNetworkTraceSlot", "produces": [ "application/json", - "text/json" + "text/json", + "application/xml", + "text/xml" ], "parameters": [ { @@ -10753,22 +11749,35 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "The name of the web app.", "required": true, "type": "string" }, + { + "name": "durationInSeconds", + "in": "query", + "description": "The duration to keep capturing in seconds.", + "type": "integer", + "format": "int32" + }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get quota information of the production slot.", + "description": "The name of the slot for this web app.", "required": true, "type": "string" }, { - "name": "$filter", + "name": "maxFrameLength", "in": "query", - "description": "Return only information specified in the filter (using OData syntax). For example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.", - "x-ms-skip-url-encoding": true, + "description": "The maximum frame length in bytes (Optional).", + "type": "integer", + "format": "int32" + }, + { + "name": "sasUrl", + "in": "query", + "description": "The Blob URL to store capture file.", "type": "string" }, { @@ -10780,25 +11789,22 @@ ], "responses": { "200": { - "description": "OK", + "description": "OK.", "schema": { - "$ref": "#/definitions/CsmUsageQuotaCollection" + "type": "string" } } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/networkTrace/stop": { + "post": { "tags": [ "WebApps" ], - "summary": "Gets the virtual networks the app (or deployment slot) is connected to.", - "description": "Gets the virtual networks the app (or deployment slot) is connected to.", - "operationId": "WebApps_ListVnetConnectionsSlot", + "summary": "Stop ongoing capturing network packets for the site.", + "description": "Stop ongoing capturing network packets for the site.", + "operationId": "WebApps_StopWebSiteNetworkTraceSlot", "produces": [ "application/json", "text/json", @@ -10812,14 +11818,14 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "The name of the web app.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get virtual network connections for the production slot.", + "description": "The name of the slot for this web app.", "required": true, "type": "string" }, @@ -10832,31 +11838,22 @@ ], "responses": { "200": { - "description": "OK", + "description": "OK.", "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/VnetInfo" - } + "type": "string" } } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/newpassword": { + "post": { "tags": [ "WebApps" ], - "summary": "Gets a virtual network the app (or deployment slot) is connected to by name.", - "description": "Gets a virtual network the app (or deployment slot) is connected to by name.", - "operationId": "WebApps_GetVnetConnectionSlot", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], + "summary": "Generates a new publishing password for an app (or deployment slot, if specified).", + "description": "Generates a new publishing password for an app (or deployment slot, if specified).", + "operationId": "WebApps_GenerateNewSitePublishingPasswordSlot", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10868,17 +11865,10 @@ "required": true, "type": "string" }, - { - "name": "vnetName", - "in": "path", - "description": "Name of the virtual network.", - "required": true, - "type": "string" - }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get the named virtual network for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API generate a new publishing password for the production slot.", "required": true, "type": "string" }, @@ -10890,31 +11880,23 @@ } ], "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/VnetInfo" - } - } + "204": { + "description": "No Content" + } } - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/perfcounters": { + "get": { "tags": [ "WebApps" ], - "summary": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", - "description": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", - "operationId": "WebApps_CreateOrUpdateVnetConnectionSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Gets perfmon counters for web app.", + "description": "Gets perfmon counters for web app.", + "operationId": "WebApps_ListPerfMonCountersSlot", "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -10923,31 +11905,22 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Name of web app.", "required": true, "type": "string" }, { - "name": "vnetName", + "name": "slot", "in": "path", - "description": "Name of an existing Virtual Network.", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, { - "name": "connectionEnvelope", - "in": "body", - "description": "Properties of the Virtual Network connection. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/VnetInfo" - } - }, - { - "name": "slot", - "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will add or update connections for the production slot.", - "required": true, + "name": "$filter", + "in": "query", + "description": "Return only usages/metrics specified in the filter. Filter conforms to odata syntax. Example: $filter=(startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.", + "x-ms-skip-url-encoding": true, "type": "string" }, { @@ -10961,18 +11934,29 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetInfo" + "$ref": "#/definitions/PerfMonCounterCollection" } } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } - }, - "delete": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/phplogging": { + "get": { "tags": [ "WebApps" ], - "summary": "Deletes a connection from an app (or deployment slot to a named virtual network.", - "description": "Deletes a connection from an app (or deployment slot to a named virtual network.", - "operationId": "WebApps_DeleteVnetConnectionSlot", + "summary": "Gets web app's event logs.", + "description": "Gets web app's event logs.", + "operationId": "WebApps_GetSitePhpErrorLogFlagSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -10980,21 +11964,14 @@ { "name": "name", "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "name": "vnetName", - "in": "path", - "description": "Name of the virtual network.", + "description": "Name of web app.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will delete the connection for the production slot.", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, @@ -11007,25 +11984,22 @@ ], "responses": { "200": { - "description": "Succesfully deleted virtual network." - }, - "404": { - "description": "Virtual network does not exist." + "description": "OK", + "schema": { + "$ref": "#/definitions/SitePhpErrorLogFlag" + } } } - }, - "patch": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons": { + "get": { "tags": [ "WebApps" ], - "summary": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", - "description": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", - "operationId": "WebApps_UpdateVnetConnectionSlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "Gets the premier add-ons of an app.", + "description": "Gets the premier add-ons of an app.", + "operationId": "WebApps_ListPremierAddOnsSlot", "produces": [ "application/json", "text/json", @@ -11043,26 +12017,10 @@ "required": true, "type": "string" }, - { - "name": "vnetName", - "in": "path", - "description": "Name of an existing Virtual Network.", - "required": true, - "type": "string" - }, - { - "name": "connectionEnvelope", - "in": "body", - "description": "Properties of the Virtual Network connection. See example.", - "required": true, - "schema": { - "$ref": "#/definitions/VnetInfo" - } - }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will add or update connections for the production slot.", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the premier add-ons for the production slot.", "required": true, "type": "string" }, @@ -11077,20 +12035,20 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetInfo" + "$ref": "#/definitions/PremierAddOn" } } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/premieraddons/{premierAddOnName}": { "get": { "tags": [ "WebApps" ], - "summary": "Gets an app's Virtual Network gateway.", - "description": "Gets an app's Virtual Network gateway.", - "operationId": "WebApps_GetVnetConnectionGatewaySlot", + "summary": "Gets a named add-on of an app.", + "description": "Gets a named add-on of an app.", + "operationId": "WebApps_GetPremierAddOnSlot", "produces": [ "application/json", "text/json", @@ -11109,23 +12067,16 @@ "type": "string" }, { - "name": "vnetName", - "in": "path", - "description": "Name of the Virtual Network.", - "required": true, - "type": "string" - }, - { - "name": "gatewayName", + "name": "premierAddOnName", "in": "path", - "description": "Name of the gateway. Currently, the only supported string is \"primary\".", + "description": "Add-on name.", "required": true, "type": "string" }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will get a gateway for the production slot's Virtual Network.", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the named add-on for the production slot.", "required": true, "type": "string" }, @@ -11140,11 +12091,8 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetGateway" + "$ref": "#/definitions/PremierAddOn" } - }, - "404": { - "description": "Named gateway does not exist. Only the \"primary\" gateway is supported currently." } } }, @@ -11152,9 +12100,9 @@ "tags": [ "WebApps" ], - "summary": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", - "description": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", - "operationId": "WebApps_CreateOrUpdateVnetConnectionGatewaySlot", + "summary": "Updates a named add-on of an app.", + "description": "Updates a named add-on of an app.", + "operationId": "WebApps_AddPremierAddOnSlot", "consumes": [ "application/json", "text/json", @@ -11178,32 +12126,25 @@ "type": "string" }, { - "name": "vnetName", - "in": "path", - "description": "Name of the Virtual Network.", - "required": true, - "type": "string" - }, - { - "name": "gatewayName", + "name": "premierAddOnName", "in": "path", - "description": "Name of the gateway. Currently, the only supported string is \"primary\".", + "description": "Add-on name.", "required": true, "type": "string" }, { - "name": "connectionEnvelope", + "name": "premierAddOn", "in": "body", - "description": "The properties to update this gateway with.", + "description": "A JSON representation of the edited premier add-on.", "required": true, "schema": { - "$ref": "#/definitions/VnetGateway" + "$ref": "#/definitions/PremierAddOn" } }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will add or update a gateway for the production slot's Virtual Network.", + "description": "Name of the deployment slot. If a slot is not specified, the API will update the named add-on for the production slot.", "required": true, "type": "string" }, @@ -11218,29 +12159,18 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetGateway" + "$ref": "#/definitions/PremierAddOn" } } } }, - "patch": { + "delete": { "tags": [ "WebApps" ], - "summary": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", - "description": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", - "operationId": "WebApps_UpdateVnetConnectionGatewaySlot", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], + "summary": "Delete a premier add-on from an app.", + "description": "Delete a premier add-on from an app.", + "operationId": "WebApps_DeletePremierAddOnSlot", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11253,32 +12183,16 @@ "type": "string" }, { - "name": "vnetName", - "in": "path", - "description": "Name of the Virtual Network.", - "required": true, - "type": "string" - }, - { - "name": "gatewayName", + "name": "premierAddOnName", "in": "path", - "description": "Name of the gateway. Currently, the only supported string is \"primary\".", + "description": "Add-on name.", "required": true, "type": "string" }, - { - "name": "connectionEnvelope", - "in": "body", - "description": "The properties to update this gateway with.", - "required": true, - "schema": { - "$ref": "#/definitions/VnetGateway" - } - }, { "name": "slot", "in": "path", - "description": "Name of the deployment slot. If a slot is not specified, the API will add or update a gateway for the production slot's Virtual Network.", + "description": "Name of the deployment slot. If a slot is not specified, the API will delete the named add-on for the production slot.", "required": true, "type": "string" }, @@ -11291,29 +12205,19 @@ ], "responses": { "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/VnetGateway" - } + "description": "Succesfully deleted premier add-on." } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slotsdiffs": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes": { + "get": { "tags": [ "WebApps" ], - "summary": "Get the difference in configuration settings between two web app slots.", - "description": "Get the difference in configuration settings between two web app slots.", - "operationId": "WebApps_ListSlotDifferencesFromProduction", - "consumes": [ - "application/json", - "text/json", - "application/xml", - "text/xml", - "application/x-www-form-urlencoded" - ], + "summary": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", + "description": "Get list of processes for a web site, or a deployment slot, or for a specific scaled-out instance in a web site.", + "operationId": "WebApps_ListProcessesSlot", "produces": [ "application/json", "text/json" @@ -11325,18 +12229,16 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Site name.", "required": true, "type": "string" }, { - "name": "slotSwapEntity", - "in": "body", - "description": "JSON object that contains the target slot name. See example.", + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", "required": true, - "schema": { - "$ref": "#/definitions/CsmSlotEntity" - } + "type": "string" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -11347,10 +12249,13 @@ ], "responses": { "200": { - "description": "OK", + "description": "Process terminated.", "schema": { - "$ref": "#/definitions/SlotDifferenceCollection" + "$ref": "#/definitions/ProcessInfoCollection" } + }, + "404": { + "description": "Process with the specified ID is not running." } }, "x-ms-pageable": { @@ -11358,20 +12263,19 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slotsswap": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}": { + "get": { "tags": [ "WebApps" ], - "summary": "Swaps two deployment slots of an app.", - "description": "Swaps two deployment slots of an app.", - "operationId": "WebApps_SwapSlotWithProduction", - "consumes": [ + "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", + "description": "Get process information by its ID for a specific scaled-out instance in a web site.", + "operationId": "WebApps_GetProcessSlot", + "produces": [ "application/json", "text/json", "application/xml", - "text/xml", - "application/x-www-form-urlencoded" + "text/xml" ], "parameters": [ { @@ -11380,18 +12284,23 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Site name.", "required": true, "type": "string" }, { - "name": "slotSwapEntity", - "in": "body", - "description": "JSON object that contains the target slot name. See example.", + "name": "processId", + "in": "path", + "description": "PID.", "required": true, - "schema": { - "$ref": "#/definitions/CsmSlotEntity" - } + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", + "required": true, + "type": "string" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -11402,27 +12311,23 @@ ], "responses": { "200": { - "description": "OK" + "description": "Process information returned.", + "schema": { + "$ref": "#/definitions/ProcessInfo" + } }, - "202": { - "description": "Operation is in progress" + "404": { + "description": "Process with the specified ID is not running." } - }, - "x-ms-long-running-operation": true - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/snapshots": { - "get": { + } + }, + "delete": { "tags": [ "WebApps" ], - "summary": "Returns all Snapshots to the user.", - "description": "Returns all Snapshots to the user.", - "operationId": "WebApps_ListSnapshots", - "produces": [ - "application/json", - "text/json" - ], + "summary": "Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.", + "description": "Terminate a process by its ID for a web site, or a deployment slot, or specific scaled-out instance in a web site.", + "operationId": "WebApps_DeleteProcessSlot", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11430,7 +12335,21 @@ { "name": "name", "in": "path", - "description": "Website Name", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", "required": true, "type": "string" }, @@ -11442,32 +12361,23 @@ } ], "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/SnapshotCollection" - } + "204": { + "description": "Process terminated." + }, + "404": { + "description": "Process with the specified ID is not running." } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/dump": { "get": { "tags": [ "WebApps" ], - "summary": "Gets the source control configuration of an app.", - "description": "Gets the source control configuration of an app.", - "operationId": "WebApps_GetSourceControl", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], + "summary": "Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.", + "description": "Get a memory dump of a process by its ID for a specific scaled-out instance in a web site.", + "operationId": "WebApps_GetProcessDumpSlot", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11475,7 +12385,21 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", "required": true, "type": "string" }, @@ -11490,28 +12414,26 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/SiteSourceControl" + "type": "file" } + }, + "404": { + "description": "Process with the specified ID is not running." } } - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/modules": { + "get": { "tags": [ "WebApps" ], - "summary": "Updates the source control configuration of an app.", - "description": "Updates the source control configuration of an app.", - "operationId": "WebApps_CreateOrUpdateSourceControl", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], + "summary": "List module information for a process by its ID for a specific scaled-out instance in a web site.", + "description": "List module information for a process by its ID for a specific scaled-out instance in a web site.", + "operationId": "WebApps_ListProcessModulesSlot", "produces": [ "application/json", - "text/json", - "application/xml", - "text/xml" + "text/json" ], "parameters": [ { @@ -11520,18 +12442,23 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Site name.", "required": true, "type": "string" }, { - "name": "siteSourceControl", - "in": "body", - "description": "JSON representation of a SiteSourceControl object. See example.", + "name": "processId", + "in": "path", + "description": "PID.", "required": true, - "schema": { - "$ref": "#/definitions/SiteSourceControl" - } + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", + "required": true, + "type": "string" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -11542,27 +12469,34 @@ ], "responses": { "200": { - "description": "Succesfully created or updated source control for web app.", + "description": "Module information returned.", "schema": { - "$ref": "#/definitions/SiteSourceControl" + "$ref": "#/definitions/ProcessModuleInfoCollection" } }, - "201": { - "description": "Create or update source control for web app in progress.", - "schema": { - "$ref": "#/definitions/SiteSourceControl" - } + "404": { + "description": "Process with the specified ID is not running." } }, - "x-ms-long-running-operation": true - }, - "delete": { + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/modules/{base_address}": { + "get": { "tags": [ "WebApps" ], - "summary": "Deletes the source control configuration of an app.", - "description": "Deletes the source control configuration of an app.", - "operationId": "WebApps_DeleteSourceControl", + "summary": "Get process information by its ID for a specific scaled-out instance in a web site.", + "description": "Get process information by its ID for a specific scaled-out instance in a web site.", + "operationId": "WebApps_GetProcessModuleSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11570,46 +12504,34 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Site name.", "required": true, "type": "string" }, { - "$ref": "#/parameters/subscriptionIdParameter" + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" }, { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "Succesfully deleted source control for web app." - }, - "202": { - "description": "Source control delete operation in progress." + "name": "baseAddress", + "in": "query", + "description": "Module base address.", + "required": true, + "type": "string" }, - "404": { - "description": "Source control does not exist." - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/start": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Starts an app (or deployment slot, if specified).", - "description": "Starts an app (or deployment slot, if specified).", - "operationId": "WebApps_Start", - "parameters": [ { - "$ref": "#/parameters/resourceGroupNameParameter" + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", + "required": true, + "type": "string" }, { - "name": "name", + "name": "base_address", "in": "path", - "description": "Name of the app.", "required": true, "type": "string" }, @@ -11622,19 +12544,29 @@ ], "responses": { "200": { - "description": "Successfully started app." + "description": "Module information returned.", + "schema": { + "$ref": "#/definitions/ProcessModuleInfo" + } + }, + "404": { + "description": "Process with the specified ID is not running, or a module with the specified base_address was not found." } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/stop": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/threads": { + "get": { "tags": [ "WebApps" ], - "summary": "Stops an app (or deployment slot, if specified).", - "description": "Stops an app (or deployment slot, if specified).", - "operationId": "WebApps_Stop", + "summary": "List the threads in a process by its ID for a specific scaled-out instance in a web site.", + "description": "List the threads in a process by its ID for a specific scaled-out instance in a web site.", + "operationId": "WebApps_ListProcessThreadsSlot", + "produces": [ + "application/json", + "text/json" + ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11642,7 +12574,21 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", "required": true, "type": "string" }, @@ -11655,19 +12601,34 @@ ], "responses": { "200": { - "description": "Successfully stopped app." + "description": "Thread information returned.", + "schema": { + "$ref": "#/definitions/ProcessThreadInfoCollection" + } + }, + "404": { + "description": "Process with the specified ID is not running." } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sync": { - "post": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/processes/{processId}/threads/{threadId}": { + "get": { "tags": [ "WebApps" ], - "summary": "Sync web app repository.", - "description": "Sync web app repository.", - "operationId": "WebApps_SyncRepository", + "summary": "Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site.", + "description": "Get thread information by Thread ID for a specific process, in a specific scaled-out instance in a web site.", + "operationId": "WebApps_GetProcessThreadSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11675,7 +12636,28 @@ { "name": "name", "in": "path", - "description": "Name of web app", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "processId", + "in": "path", + "description": "PID.", + "required": true, + "type": "string" + }, + { + "name": "threadId", + "in": "path", + "description": "TID.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", "required": true, "type": "string" }, @@ -11688,52 +12670,25 @@ ], "responses": { "200": { - "description": "Successfully sync sourcecontrol." - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/syncfunctiontriggers": { - "post": { - "tags": [ - "WebApps" - ], - "summary": "Syncs function trigger metadata to the scale controller", - "description": "Syncs function trigger metadata to the scale controller", - "operationId": "WebApps_SyncFunctionTriggers", - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", - "in": "path", - "description": "Name of the app.", - "required": true, - "type": "string" - }, - { - "$ref": "#/parameters/subscriptionIdParameter" + "description": "Thread information returned.", + "schema": { + "$ref": "#/definitions/ProcessThreadInfo" + } }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "204": { - "description": "No Content" + "404": { + "description": "Either the thread with the specified TID was not found, or the process with the specified PID is not running." } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/usages": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publicCertificates": { "get": { "tags": [ "WebApps" ], - "summary": "Gets the quota usage information of an app (or deployment slot, if specified).", - "description": "Gets the quota usage information of an app (or deployment slot, if specified).", - "operationId": "WebApps_ListUsages", + "summary": "Get public certificates for an app or a deployment slot.", + "description": "Get public certificates for an app or a deployment slot.", + "operationId": "WebApps_ListPublicCertificatesSlot", "produces": [ "application/json", "text/json" @@ -11750,10 +12705,10 @@ "type": "string" }, { - "name": "$filter", - "in": "query", - "description": "Return only information specified in the filter (using OData syntax). For example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.", - "x-ms-skip-url-encoding": true, + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API gets hostname bindings for the production slot.", + "required": true, "type": "string" }, { @@ -11767,7 +12722,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/CsmUsageQuotaCollection" + "$ref": "#/definitions/PublicCertificateCollection" } } }, @@ -11776,14 +12731,14 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publicCertificates/{publicCertificateName}": { "get": { "tags": [ "WebApps" ], - "summary": "Gets the virtual networks the app (or deployment slot) is connected to.", - "description": "Gets the virtual networks the app (or deployment slot) is connected to.", - "operationId": "WebApps_ListVnetConnections", + "summary": "Get the named public certificate for an app (or deployment slot, if specified).", + "description": "Get the named public certificate for an app (or deployment slot, if specified).", + "operationId": "WebApps_GetPublicCertificateSlot", "produces": [ "application/json", "text/json", @@ -11802,54 +12757,16 @@ "type": "string" }, { - "$ref": "#/parameters/subscriptionIdParameter" - }, - { - "$ref": "#/parameters/apiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK", - "schema": { - "type": "array", - "items": { - "$ref": "#/definitions/VnetInfo" - } - } - } - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}": { - "get": { - "tags": [ - "WebApps" - ], - "summary": "Gets a virtual network the app (or deployment slot) is connected to by name.", - "description": "Gets a virtual network the app (or deployment slot) is connected to by name.", - "operationId": "WebApps_GetVnetConnection", - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], - "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, - { - "name": "name", + "name": "slot", "in": "path", - "description": "Name of the app.", + "description": "Name of the deployment slot. If a slot is not specified, the API the named binding for the production slot.", "required": true, "type": "string" }, { - "name": "vnetName", + "name": "publicCertificateName", "in": "path", - "description": "Name of the virtual network.", + "description": "Public certificate name.", "required": true, "type": "string" }, @@ -11864,7 +12781,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetInfo" + "$ref": "#/definitions/PublicCertificate" } } } @@ -11873,9 +12790,9 @@ "tags": [ "WebApps" ], - "summary": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", - "description": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", - "operationId": "WebApps_CreateOrUpdateVnetConnection", + "summary": "Creates a hostname binding for an app.", + "description": "Creates a hostname binding for an app.", + "operationId": "WebApps_CreateOrUpdatePublicCertificateSlot", "consumes": [ "application/json", "text/json", @@ -11899,21 +12816,28 @@ "type": "string" }, { - "name": "vnetName", + "name": "publicCertificateName", "in": "path", - "description": "Name of an existing Virtual Network.", + "description": "Public certificate name.", "required": true, "type": "string" }, { - "name": "connectionEnvelope", + "name": "publicCertificate", "in": "body", - "description": "Properties of the Virtual Network connection. See example.", + "description": "Public certificate details. This is the JSON representation of a PublicCertificate object.", "required": true, "schema": { - "$ref": "#/definitions/VnetInfo" + "$ref": "#/definitions/PublicCertificate" } }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -11925,7 +12849,7 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetInfo" + "$ref": "#/definitions/PublicCertificate" } } } @@ -11934,9 +12858,9 @@ "tags": [ "WebApps" ], - "summary": "Deletes a connection from an app (or deployment slot to a named virtual network.", - "description": "Deletes a connection from an app (or deployment slot to a named virtual network.", - "operationId": "WebApps_DeleteVnetConnection", + "summary": "Deletes a hostname binding for an app.", + "description": "Deletes a hostname binding for an app.", + "operationId": "WebApps_DeletePublicCertificateSlot", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -11949,9 +12873,16 @@ "type": "string" }, { - "name": "vnetName", + "name": "slot", "in": "path", - "description": "Name of the virtual network.", + "description": "Name of the deployment slot. If a slot is not specified, the API will delete the binding for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "publicCertificateName", + "in": "path", + "description": "Public certificate name.", "required": true, "type": "string" }, @@ -11964,23 +12895,27 @@ ], "responses": { "200": { - "description": "Succesfully deleted virtual network." + "description": "Succesfully deleted hostname binding." }, - "404": { - "description": "Virtual network does not exist." + "204": { + "description": "Hostname binding does not exist." } } - }, - "patch": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/publishxml": { + "post": { "tags": [ "WebApps" ], - "summary": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", - "description": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", - "operationId": "WebApps_UpdateVnetConnection", + "summary": "Gets the publishing profile for an app (or deployment slot, if specified).", + "description": "Gets the publishing profile for an app (or deployment slot, if specified).", + "operationId": "WebApps_ListPublishingProfileXmlWithSecretsSlot", "consumes": [ "application/json", "text/json", + "application/xml", + "text/xml", "application/x-www-form-urlencoded" ], "produces": [ @@ -12001,21 +12936,21 @@ "type": "string" }, { - "name": "vnetName", - "in": "path", - "description": "Name of an existing Virtual Network.", - "required": true, - "type": "string" - }, - { - "name": "connectionEnvelope", + "name": "publishingProfileOptions", "in": "body", - "description": "Properties of the Virtual Network connection. See example.", + "description": "Specifies publishingProfileOptions for publishing profile. For example, use {\"format\": \"FileZilla3\"} to get a FileZilla publishing profile.", "required": true, "schema": { - "$ref": "#/definitions/VnetInfo" + "$ref": "#/definitions/CsmPublishingProfileOptions" } }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the publishing profile for the production slot.", + "required": true, + "type": "string" + }, { "$ref": "#/parameters/subscriptionIdParameter" }, @@ -12027,25 +12962,24 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/VnetInfo" + "type": "file" } } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}": { - "get": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/recover": { + "post": { "tags": [ "WebApps" ], - "summary": "Gets an app's Virtual Network gateway.", - "description": "Gets an app's Virtual Network gateway.", - "operationId": "WebApps_GetVnetConnectionGateway", - "produces": [ + "summary": "Recovers a web app to a previous snapshot.", + "description": "Recovers a web app to a previous snapshot.", + "operationId": "WebApps_RecoverSlot", + "consumes": [ "application/json", "text/json", - "application/xml", - "text/xml" + "application/x-www-form-urlencoded" ], "parameters": [ { @@ -12054,21 +12988,23 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Name of web app.", "required": true, "type": "string" }, { - "name": "vnetName", - "in": "path", - "description": "Name of the Virtual Network.", + "name": "recoveryEntity", + "in": "body", + "description": "Snapshot data used for web app recovery. Snapshot information can be obtained by calling GetDeletedSites or GetSiteSnapshots API.", "required": true, - "type": "string" + "schema": { + "$ref": "#/definitions/SnapshotRecoveryRequest" + } }, { - "name": "gatewayName", + "name": "slot", "in": "path", - "description": "Name of the gateway. Currently, the only supported string is \"primary\".", + "description": "Name of web app slot. If not specified then will default to production slot.", "required": true, "type": "string" }, @@ -12080,35 +13016,21 @@ } ], "responses": { - "200": { - "description": "OK", - "schema": { - "$ref": "#/definitions/VnetGateway" - } - }, - "404": { - "description": "Named gateway does not exist. Only the \"primary\" gateway is supported currently." + "202": { + "description": "Recovery operation started." } - } - }, - "put": { + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/resetSlotConfig": { + "post": { "tags": [ "WebApps" ], - "summary": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", - "description": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", - "operationId": "WebApps_CreateOrUpdateVnetConnectionGateway", - "consumes": [ - "application/json", - "text/json", - "application/x-www-form-urlencoded" - ], - "produces": [ - "application/json", - "text/json", - "application/xml", - "text/xml" - ], + "summary": "Resets the configuration settings of the current slot if they were previously modified by calling the API with POST.", + "description": "Resets the configuration settings of the current slot if they were previously modified by calling the API with POST.", + "operationId": "WebApps_ResetSlotConfigurationSlot", "parameters": [ { "$ref": "#/parameters/resourceGroupNameParameter" @@ -12121,27 +13043,63 @@ "type": "string" }, { - "name": "vnetName", + "name": "slot", "in": "path", - "description": "Name of the Virtual Network.", + "description": "Name of the deployment slot. If a slot is not specified, the API resets configuration settings for the production slot.", "required": true, "type": "string" }, { - "name": "gatewayName", + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK." + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/restart": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Restarts an app (or deployment slot, if specified).", + "description": "Restarts an app (or deployment slot, if specified).", + "operationId": "WebApps_RestartSlot", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", "in": "path", - "description": "Name of the gateway. Currently, the only supported string is \"primary\".", + "description": "Name of the app.", "required": true, "type": "string" }, { - "name": "connectionEnvelope", - "in": "body", - "description": "The properties to update this gateway with.", + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will restart the production slot.", "required": true, - "schema": { - "$ref": "#/definitions/VnetGateway" - } + "type": "string" + }, + { + "name": "softRestart", + "in": "query", + "description": "Specify true to apply the configuration settings and restarts the app only if necessary. By default, the API always restarts and reprovisions the app.", + "type": "boolean" + }, + { + "name": "synchronous", + "in": "query", + "description": "Specify true to block until the app is restarted. By default, it is set to false, and the API responds immediately (asynchronous).", + "type": "boolean" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -12152,25 +13110,135 @@ ], "responses": { "200": { - "description": "OK", + "description": "Successfully restarted app." + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/siteextensions": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Get list of siteextensions for a web site, or a deployment slot.", + "description": "Get list of siteextensions for a web site, or a deployment slot.", + "operationId": "WebApps_ListSiteExtensionsSlot", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "SiteExtension information returned.", "schema": { - "$ref": "#/definitions/VnetGateway" + "$ref": "#/definitions/SiteExtensionInfoCollection" } + }, + "404": { + "description": "SiteExtension not found." } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } - }, - "patch": { + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/siteextensions/{extensionName}": { + "get": { "tags": [ "WebApps" ], - "summary": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", - "description": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", - "operationId": "WebApps_UpdateVnetConnectionGateway", - "consumes": [ + "summary": "Get site extension information by its ID for a web site, or a deployment slot.", + "description": "Get site extension information by its ID for a web site, or a deployment slot.", + "operationId": "WebApps_GetSiteExtensionSlot", + "produces": [ "application/json", "text/json", - "application/x-www-form-urlencoded" + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "siteExtensionId", + "in": "query", + "description": "Site extension name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "extensionName", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "SiteExtension information returned.", + "schema": { + "$ref": "#/definitions/SiteExtensionInfo" + } + }, + "404": { + "description": "SiteExtension with an ID of {siteExtensionId} is not running." + } + } + }, + "put": { + "tags": [ + "WebApps" ], + "summary": "Install site extension on a web site, or a deployment slot.", + "description": "Install site extension on a web site, or a deployment slot.", + "operationId": "WebApps_InstallSiteExtensionSlot", "produces": [ "application/json", "text/json", @@ -12184,32 +13252,29 @@ { "name": "name", "in": "path", - "description": "Name of the app.", + "description": "Site name.", "required": true, "type": "string" }, { - "name": "vnetName", - "in": "path", - "description": "Name of the Virtual Network.", + "name": "siteExtensionId", + "in": "query", + "description": "Site extension name.", "required": true, "type": "string" }, { - "name": "gatewayName", + "name": "slot", "in": "path", - "description": "Name of the gateway. Currently, the only supported string is \"primary\".", + "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", "required": true, "type": "string" }, { - "name": "connectionEnvelope", - "in": "body", - "description": "The properties to update this gateway with.", + "name": "extensionName", + "in": "path", "required": true, - "schema": { - "$ref": "#/definitions/VnetGateway" - } + "type": "string" }, { "$ref": "#/parameters/subscriptionIdParameter" @@ -12219,41 +13284,2978 @@ } ], "responses": { + "201": { + "description": "Site Extension created.", + "schema": { + "$ref": "#/definitions/SiteExtensionInfo" + } + }, "200": { - "description": "OK", + "description": "Site Extension created.", "schema": { - "$ref": "#/definitions/VnetGateway" + "$ref": "#/definitions/SiteExtensionInfo" } + }, + "429": { + "description": "Site Extension is being installed on another request: Rejecting current request." + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "WebApps" + ], + "summary": "Remove a site extension from a web site, or a deployment slot.", + "description": "Remove a site extension from a web site, or a deployment slot.", + "operationId": "WebApps_DeleteSiteExtensionSlot", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "siteExtensionId", + "in": "query", + "description": "Site extension name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "extensionName", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "204": { + "description": "SiteExtension terminated." + }, + "404": { + "description": "SiteExtension with an ID of {siteExtensionId} is not running." } - } - } - } - }, - "definitions": { - "ApiDefinitionInfo": { - "description": "Information about the formal API definition for the app.", - "type": "object", - "properties": { - "url": { - "description": "The URL of the API definition.", - "type": "string" } } }, - "ApplicationLogsConfig": { - "description": "Application logs configuration.", - "type": "object", - "properties": { - "fileSystem": { - "$ref": "#/definitions/FileSystemApplicationLogsConfig", - "description": "Application logs to file system configuration." - }, - "azureTableStorage": { - "$ref": "#/definitions/AzureTableStorageApplicationLogsConfig", - "description": "Application logs to azure table storage configuration." - }, - "azureBlobStorage": { - "$ref": "#/definitions/AzureBlobStorageApplicationLogsConfig", + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/slotsdiffs": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Get the difference in configuration settings between two web app slots.", + "description": "Get the difference in configuration settings between two web app slots.", + "operationId": "WebApps_ListSlotDifferencesSlot", + "consumes": [ + "application/json", + "text/json", + "application/xml", + "text/xml", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slotSwapEntity", + "in": "body", + "description": "JSON object that contains the target slot name. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/CsmSlotEntity" + } + }, + { + "name": "slot", + "in": "path", + "description": "Name of the source slot. If a slot is not specified, the production slot is used as the source slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SlotDifferenceCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/slotsswap": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Swaps two deployment slots of an app.", + "description": "Swaps two deployment slots of an app.", + "operationId": "WebApps_SwapSlotSlot", + "consumes": [ + "application/json", + "text/json", + "application/xml", + "text/xml", + "application/x-www-form-urlencoded" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slotSwapEntity", + "in": "body", + "description": "JSON object that contains the target slot name. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/CsmSlotEntity" + } + }, + { + "name": "slot", + "in": "path", + "description": "Name of the source slot. If a slot is not specified, the production slot is used as the source slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK." + }, + "202": { + "description": "Operation is in progress." + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/snapshots": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Returns all Snapshots to the user.", + "description": "Returns all Snapshots to the user.", + "operationId": "WebApps_ListSnapshotsSlot", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Website Name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Website Slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SnapshotCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sourcecontrols/web": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Gets the source control configuration of an app.", + "description": "Gets the source control configuration of an app.", + "operationId": "WebApps_GetSourceControlSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the source control configuration for the production slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + } + } + }, + "put": { + "tags": [ + "WebApps" + ], + "summary": "Updates the source control configuration of an app.", + "description": "Updates the source control configuration of an app.", + "operationId": "WebApps_CreateOrUpdateSourceControlSlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "siteSourceControl", + "in": "body", + "description": "JSON representation of a SiteSourceControl object. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will update the source control configuration for the production slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Succesfully created or updated source control for web app.", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + }, + "201": { + "description": "Create or update source control for web app in progress.", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "WebApps" + ], + "summary": "Deletes the source control configuration of an app.", + "description": "Deletes the source control configuration of an app.", + "operationId": "WebApps_DeleteSourceControlSlot", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will delete the source control configuration for the production slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Succesfully deleted source control for web app." + }, + "202": { + "description": "Source control delete operation in progress." + }, + "404": { + "description": "Source control does not exist." + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/start": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Starts an app (or deployment slot, if specified).", + "description": "Starts an app (or deployment slot, if specified).", + "operationId": "WebApps_StartSlot", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will start the production slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully started app." + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/stop": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Stops an app (or deployment slot, if specified).", + "description": "Stops an app (or deployment slot, if specified).", + "operationId": "WebApps_StopSlot", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will stop the production slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully stopped app." + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/sync": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Sync web app repository.", + "description": "Sync web app repository.", + "operationId": "WebApps_SyncRepositorySlot", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of web app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of web app slot. If not specified then will default to production slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully sync sourcecontrol." + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/syncfunctiontriggers": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Syncs function trigger metadata to the scale controller", + "description": "Syncs function trigger metadata to the scale controller", + "operationId": "WebApps_SyncFunctionTriggersSlot", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will restore a backup of the production slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "List triggered web jobs for an app, or a deployment slot.", + "description": "List triggered web jobs for an app, or a deployment slot.", + "operationId": "WebApps_ListTriggeredWebJobsSlot", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/TriggeredWebJobCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs/{webJobName}": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Gets a triggered web job by its ID for an app, or a deployment slot.", + "description": "Gets a triggered web job by its ID for an app, or a deployment slot.", + "operationId": "WebApps_GetTriggeredWebJobSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "webJobId", + "in": "query", + "description": "Web job ID.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Found continuous web job.", + "schema": { + "$ref": "#/definitions/TriggeredWebJob" + } + }, + "404": { + "description": "Triggered web job does not exist." + } + } + }, + "delete": { + "tags": [ + "WebApps" + ], + "summary": "Delete a triggered web job by its ID for an app, or a deployment slot.", + "description": "Delete a triggered web job by its ID for an app, or a deployment slot.", + "operationId": "WebApps_DeleteTriggeredWebJobSlot", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "webJobId", + "in": "query", + "description": "Web job ID.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Succesfully deleted continuous web job." + }, + "204": { + "description": "Triggered web job does not exist." + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs/{webJobName}/history": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "List a triggered web job's history for an app, or a deployment slot.", + "description": "List a triggered web job's history for an app, or a deployment slot.", + "operationId": "WebApps_ListTriggeredWebJobHistorySlot", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "webJobId", + "in": "query", + "description": "Web job ID.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Found continuous web job.", + "schema": { + "$ref": "#/definitions/TriggeredJobHistoryCollection" + } + }, + "404": { + "description": "Triggered web job does not exist." + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs/{webJobName}/history/{id}": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Gets a triggered web job's history by its ID for an app, , or a deployment slot.", + "description": "Gets a triggered web job's history by its ID for an app, , or a deployment slot.", + "operationId": "WebApps_GetTriggeredWebJobHistorySlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "webJobId", + "in": "query", + "description": "Web job ID.", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "History ID.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Found continuous web job.", + "schema": { + "$ref": "#/definitions/TriggeredJobHistory" + } + }, + "404": { + "description": "Triggered web job does not exist." + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/triggeredwebjobs/{webJobName}/run": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Run a triggered web job for an app, or a deployment slot.", + "description": "Run a triggered web job for an app, or a deployment slot.", + "operationId": "WebApps_RunTriggeredWebJobSlot", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "webJobId", + "in": "query", + "description": "Web job ID.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Found continuous web job." + }, + "404": { + "description": "Triggered web job does not exist." + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/usages": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Gets the quota usage information of an app (or deployment slot, if specified).", + "description": "Gets the quota usage information of an app (or deployment slot, if specified).", + "operationId": "WebApps_ListUsagesSlot", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get quota information of the production slot.", + "required": true, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "Return only information specified in the filter (using OData syntax). For example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.", + "x-ms-skip-url-encoding": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CsmUsageQuotaCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Gets the virtual networks the app (or deployment slot) is connected to.", + "description": "Gets the virtual networks the app (or deployment slot) is connected to.", + "operationId": "WebApps_ListVnetConnectionsSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get virtual network connections for the production slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/VnetInfo" + } + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Gets a virtual network the app (or deployment slot) is connected to by name.", + "description": "Gets a virtual network the app (or deployment slot) is connected to by name.", + "operationId": "WebApps_GetVnetConnectionSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of the virtual network.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get the named virtual network for the production slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VnetInfo" + } + } + } + }, + "put": { + "tags": [ + "WebApps" + ], + "summary": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", + "description": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", + "operationId": "WebApps_CreateOrUpdateVnetConnectionSlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of an existing Virtual Network.", + "required": true, + "type": "string" + }, + { + "name": "connectionEnvelope", + "in": "body", + "description": "Properties of the Virtual Network connection. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/VnetInfo" + } + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will add or update connections for the production slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VnetInfo" + } + } + } + }, + "delete": { + "tags": [ + "WebApps" + ], + "summary": "Deletes a connection from an app (or deployment slot to a named virtual network.", + "description": "Deletes a connection from an app (or deployment slot to a named virtual network.", + "operationId": "WebApps_DeleteVnetConnectionSlot", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of the virtual network.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will delete the connection for the production slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Succesfully deleted virtual network." + }, + "404": { + "description": "Virtual network does not exist." + } + } + }, + "patch": { + "tags": [ + "WebApps" + ], + "summary": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", + "description": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", + "operationId": "WebApps_UpdateVnetConnectionSlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of an existing Virtual Network.", + "required": true, + "type": "string" + }, + { + "name": "connectionEnvelope", + "in": "body", + "description": "Properties of the Virtual Network connection. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/VnetInfo" + } + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will add or update connections for the production slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VnetInfo" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Gets an app's Virtual Network gateway.", + "description": "Gets an app's Virtual Network gateway.", + "operationId": "WebApps_GetVnetConnectionGatewaySlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of the Virtual Network.", + "required": true, + "type": "string" + }, + { + "name": "gatewayName", + "in": "path", + "description": "Name of the gateway. Currently, the only supported string is \"primary\".", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will get a gateway for the production slot's Virtual Network.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/VnetGateway" + } + }, + "404": { + "description": "Named gateway does not exist. Only the \"primary\" gateway is supported currently." + } + } + }, + "put": { + "tags": [ + "WebApps" + ], + "summary": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", + "description": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", + "operationId": "WebApps_CreateOrUpdateVnetConnectionGatewaySlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of the Virtual Network.", + "required": true, + "type": "string" + }, + { + "name": "gatewayName", + "in": "path", + "description": "Name of the gateway. Currently, the only supported string is \"primary\".", + "required": true, + "type": "string" + }, + { + "name": "connectionEnvelope", + "in": "body", + "description": "The properties to update this gateway with.", + "required": true, + "schema": { + "$ref": "#/definitions/VnetGateway" + } + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will add or update a gateway for the production slot's Virtual Network.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VnetGateway" + } + } + } + }, + "patch": { + "tags": [ + "WebApps" + ], + "summary": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", + "description": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", + "operationId": "WebApps_UpdateVnetConnectionGatewaySlot", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of the Virtual Network.", + "required": true, + "type": "string" + }, + { + "name": "gatewayName", + "in": "path", + "description": "Name of the gateway. Currently, the only supported string is \"primary\".", + "required": true, + "type": "string" + }, + { + "name": "connectionEnvelope", + "in": "body", + "description": "The properties to update this gateway with.", + "required": true, + "schema": { + "$ref": "#/definitions/VnetGateway" + } + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API will add or update a gateway for the production slot's Virtual Network.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VnetGateway" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/webjobs": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "List webjobs for an app, or a deployment slot.", + "description": "List webjobs for an app, or a deployment slot.", + "operationId": "WebApps_ListWebJobsSlot", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WebJobCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/webjobs/{webJobName}": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Get webjob information for an app, or a deployment slot.", + "description": "Get webjob information for an app, or a deployment slot.", + "operationId": "WebApps_GetWebJobSlot", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "description": "Name of the web job.", + "required": true, + "type": "string" + }, + { + "name": "slot", + "in": "path", + "description": "Name of the deployment slot. If a slot is not specified, the API returns deployments for the production slot.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WebJob" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slotsdiffs": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Get the difference in configuration settings between two web app slots.", + "description": "Get the difference in configuration settings between two web app slots.", + "operationId": "WebApps_ListSlotDifferencesFromProduction", + "consumes": [ + "application/json", + "text/json", + "application/xml", + "text/xml", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slotSwapEntity", + "in": "body", + "description": "JSON object that contains the target slot name. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/CsmSlotEntity" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SlotDifferenceCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slotsswap": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Swaps two deployment slots of an app.", + "description": "Swaps two deployment slots of an app.", + "operationId": "WebApps_SwapSlotWithProduction", + "consumes": [ + "application/json", + "text/json", + "application/xml", + "text/xml", + "application/x-www-form-urlencoded" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "slotSwapEntity", + "in": "body", + "description": "JSON object that contains the target slot name. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/CsmSlotEntity" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK." + }, + "202": { + "description": "Operation is in progress." + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/snapshots": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Returns all Snapshots to the user.", + "description": "Returns all Snapshots to the user.", + "operationId": "WebApps_ListSnapshots", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Website Name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SnapshotCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sourcecontrols/web": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Gets the source control configuration of an app.", + "description": "Gets the source control configuration of an app.", + "operationId": "WebApps_GetSourceControl", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + } + } + }, + "put": { + "tags": [ + "WebApps" + ], + "summary": "Updates the source control configuration of an app.", + "description": "Updates the source control configuration of an app.", + "operationId": "WebApps_CreateOrUpdateSourceControl", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "siteSourceControl", + "in": "body", + "description": "JSON representation of a SiteSourceControl object. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Succesfully created or updated source control for web app.", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + }, + "201": { + "description": "Create or update source control for web app in progress.", + "schema": { + "$ref": "#/definitions/SiteSourceControl" + } + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "WebApps" + ], + "summary": "Deletes the source control configuration of an app.", + "description": "Deletes the source control configuration of an app.", + "operationId": "WebApps_DeleteSourceControl", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Succesfully deleted source control for web app." + }, + "202": { + "description": "Source control delete operation in progress." + }, + "404": { + "description": "Source control does not exist." + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/start": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Starts an app (or deployment slot, if specified).", + "description": "Starts an app (or deployment slot, if specified).", + "operationId": "WebApps_Start", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully started app." + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/stop": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Stops an app (or deployment slot, if specified).", + "description": "Stops an app (or deployment slot, if specified).", + "operationId": "WebApps_Stop", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully stopped app." + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/sync": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Sync web app repository.", + "description": "Sync web app repository.", + "operationId": "WebApps_SyncRepository", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of web app.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Successfully sync sourcecontrol." + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/syncfunctiontriggers": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Syncs function trigger metadata to the scale controller", + "description": "Syncs function trigger metadata to the scale controller", + "operationId": "WebApps_SyncFunctionTriggers", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "204": { + "description": "No Content" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "List triggered web jobs for an app, or a deployment slot.", + "description": "List triggered web jobs for an app, or a deployment slot.", + "operationId": "WebApps_ListTriggeredWebJobs", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/TriggeredWebJobCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs/{webJobName}": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Gets a triggered web job by its ID for an app, or a deployment slot.", + "description": "Gets a triggered web job by its ID for an app, or a deployment slot.", + "operationId": "WebApps_GetTriggeredWebJob", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "webJobId", + "in": "query", + "description": "Web job ID.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Found continuous web job.", + "schema": { + "$ref": "#/definitions/TriggeredWebJob" + } + }, + "404": { + "description": "Triggered web job does not exist." + } + } + }, + "delete": { + "tags": [ + "WebApps" + ], + "summary": "Delete a triggered web job by its ID for an app, or a deployment slot.", + "description": "Delete a triggered web job by its ID for an app, or a deployment slot.", + "operationId": "WebApps_DeleteTriggeredWebJob", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "webJobId", + "in": "query", + "description": "Web job ID.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Succesfully deleted continuous web job." + }, + "204": { + "description": "Triggered web job does not exist." + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs/{webJobName}/history": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "List a triggered web job's history for an app, or a deployment slot.", + "description": "List a triggered web job's history for an app, or a deployment slot.", + "operationId": "WebApps_ListTriggeredWebJobHistory", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "webJobId", + "in": "query", + "description": "Web job ID.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Found continuous web job.", + "schema": { + "$ref": "#/definitions/TriggeredJobHistoryCollection" + } + }, + "404": { + "description": "Triggered web job does not exist." + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs/{webJobName}/history/{id}": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Gets a triggered web job's history by its ID for an app, , or a deployment slot.", + "description": "Gets a triggered web job's history by its ID for an app, , or a deployment slot.", + "operationId": "WebApps_GetTriggeredWebJobHistory", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "webJobId", + "in": "query", + "description": "Web job ID.", + "required": true, + "type": "string" + }, + { + "name": "id", + "in": "path", + "description": "History ID.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Found continuous web job.", + "schema": { + "$ref": "#/definitions/TriggeredJobHistory" + } + }, + "404": { + "description": "Triggered web job does not exist." + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/triggeredwebjobs/{webJobName}/run": { + "post": { + "tags": [ + "WebApps" + ], + "summary": "Run a triggered web job for an app, or a deployment slot.", + "description": "Run a triggered web job for an app, or a deployment slot.", + "operationId": "WebApps_RunTriggeredWebJob", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "webJobId", + "in": "query", + "description": "Web job ID.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Found continuous web job." + }, + "404": { + "description": "Triggered web job does not exist." + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/usages": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Gets the quota usage information of an app (or deployment slot, if specified).", + "description": "Gets the quota usage information of an app (or deployment slot, if specified).", + "operationId": "WebApps_ListUsages", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "$filter", + "in": "query", + "description": "Return only information specified in the filter (using OData syntax). For example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq '2014-01-01T00:00:00Z' and endTime eq '2014-12-31T23:59:59Z' and timeGrain eq duration'[Hour|Minute|Day]'.", + "x-ms-skip-url-encoding": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/CsmUsageQuotaCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Gets the virtual networks the app (or deployment slot) is connected to.", + "description": "Gets the virtual networks the app (or deployment slot) is connected to.", + "operationId": "WebApps_ListVnetConnections", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/VnetInfo" + } + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Gets a virtual network the app (or deployment slot) is connected to by name.", + "description": "Gets a virtual network the app (or deployment slot) is connected to by name.", + "operationId": "WebApps_GetVnetConnection", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of the virtual network.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VnetInfo" + } + } + } + }, + "put": { + "tags": [ + "WebApps" + ], + "summary": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", + "description": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", + "operationId": "WebApps_CreateOrUpdateVnetConnection", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of an existing Virtual Network.", + "required": true, + "type": "string" + }, + { + "name": "connectionEnvelope", + "in": "body", + "description": "Properties of the Virtual Network connection. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/VnetInfo" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VnetInfo" + } + } + } + }, + "delete": { + "tags": [ + "WebApps" + ], + "summary": "Deletes a connection from an app (or deployment slot to a named virtual network.", + "description": "Deletes a connection from an app (or deployment slot to a named virtual network.", + "operationId": "WebApps_DeleteVnetConnection", + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of the virtual network.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Succesfully deleted virtual network." + }, + "404": { + "description": "Virtual network does not exist." + } + } + }, + "patch": { + "tags": [ + "WebApps" + ], + "summary": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", + "description": "Adds a Virtual Network connection to an app or slot (PUT) or updates the connection properties (PATCH).", + "operationId": "WebApps_UpdateVnetConnection", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of an existing Virtual Network.", + "required": true, + "type": "string" + }, + { + "name": "connectionEnvelope", + "in": "body", + "description": "Properties of the Virtual Network connection. See example.", + "required": true, + "schema": { + "$ref": "#/definitions/VnetInfo" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VnetInfo" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/virtualNetworkConnections/{vnetName}/gateways/{gatewayName}": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Gets an app's Virtual Network gateway.", + "description": "Gets an app's Virtual Network gateway.", + "operationId": "WebApps_GetVnetConnectionGateway", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of the Virtual Network.", + "required": true, + "type": "string" + }, + { + "name": "gatewayName", + "in": "path", + "description": "Name of the gateway. Currently, the only supported string is \"primary\".", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/VnetGateway" + } + }, + "404": { + "description": "Named gateway does not exist. Only the \"primary\" gateway is supported currently." + } + } + }, + "put": { + "tags": [ + "WebApps" + ], + "summary": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", + "description": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", + "operationId": "WebApps_CreateOrUpdateVnetConnectionGateway", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of the Virtual Network.", + "required": true, + "type": "string" + }, + { + "name": "gatewayName", + "in": "path", + "description": "Name of the gateway. Currently, the only supported string is \"primary\".", + "required": true, + "type": "string" + }, + { + "name": "connectionEnvelope", + "in": "body", + "description": "The properties to update this gateway with.", + "required": true, + "schema": { + "$ref": "#/definitions/VnetGateway" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VnetGateway" + } + } + } + }, + "patch": { + "tags": [ + "WebApps" + ], + "summary": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", + "description": "Adds a gateway to a connected Virtual Network (PUT) or updates it (PATCH).", + "operationId": "WebApps_UpdateVnetConnectionGateway", + "consumes": [ + "application/json", + "text/json", + "application/x-www-form-urlencoded" + ], + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Name of the app.", + "required": true, + "type": "string" + }, + { + "name": "vnetName", + "in": "path", + "description": "Name of the Virtual Network.", + "required": true, + "type": "string" + }, + { + "name": "gatewayName", + "in": "path", + "description": "Name of the gateway. Currently, the only supported string is \"primary\".", + "required": true, + "type": "string" + }, + { + "name": "connectionEnvelope", + "in": "body", + "description": "The properties to update this gateway with.", + "required": true, + "schema": { + "$ref": "#/definitions/VnetGateway" + } + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/VnetGateway" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/webjobs": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "List webjobs for an app, or a deployment slot.", + "description": "List webjobs for an app, or a deployment slot.", + "operationId": "WebApps_ListWebJobs", + "produces": [ + "application/json", + "text/json" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WebJobCollection" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/webjobs/{webJobName}": { + "get": { + "tags": [ + "WebApps" + ], + "summary": "Get webjob information for an app, or a deployment slot.", + "description": "Get webjob information for an app, or a deployment slot.", + "operationId": "WebApps_GetWebJob", + "produces": [ + "application/json", + "text/json", + "application/xml", + "text/xml" + ], + "parameters": [ + { + "$ref": "#/parameters/resourceGroupNameParameter" + }, + { + "name": "name", + "in": "path", + "description": "Site name.", + "required": true, + "type": "string" + }, + { + "name": "webJobName", + "in": "path", + "description": "Name of the web job.", + "required": true, + "type": "string" + }, + { + "$ref": "#/parameters/subscriptionIdParameter" + }, + { + "$ref": "#/parameters/apiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/WebJob" + } + } + } + } + } + }, + "definitions": { + "ApiDefinitionInfo": { + "description": "Information about the formal API definition for the app.", + "type": "object", + "properties": { + "url": { + "description": "The URL of the API definition.", + "type": "string" + } + } + }, + "ApplicationLogsConfig": { + "description": "Application logs configuration.", + "type": "object", + "properties": { + "fileSystem": { + "$ref": "#/definitions/FileSystemApplicationLogsConfig", + "description": "Application logs to file system configuration." + }, + "azureTableStorage": { + "$ref": "#/definitions/AzureTableStorageApplicationLogsConfig", + "description": "Application logs to azure table storage configuration." + }, + "azureBlobStorage": { + "$ref": "#/definitions/AzureBlobStorageApplicationLogsConfig", "description": "Application logs to blob storage configuration." } } @@ -12806,6 +16808,107 @@ } } }, + "ContinuousWebJob": { + "description": "Continuous Web Job Information.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "ContinuousWebJob resource specific properties", + "properties": { + "status": { + "description": "Job status.", + "enum": [ + "Initializing", + "Starting", + "Running", + "PendingRestart", + "Stopped" + ], + "type": "string", + "x-ms-enum": { + "name": "ContinuousWebJobStatus", + "modelAsString": false + } + }, + "detailedStatus": { + "description": "Detailed status.", + "type": "string" + }, + "logUrl": { + "description": "Log URL.", + "type": "string" + }, + "name": { + "description": "Job name. Used as job identifier in ARM resource URI.", + "type": "string", + "readOnly": true + }, + "runCommand": { + "description": "Run command.", + "type": "string" + }, + "url": { + "description": "Job URL.", + "type": "string" + }, + "extraInfoUrl": { + "description": "Extra Info URL.", + "type": "string" + }, + "jobType": { + "description": "Job type.", + "enum": [ + "Continuous", + "Triggered" + ], + "type": "string", + "x-ms-enum": { + "name": "WebJobType", + "modelAsString": false + } + }, + "error": { + "description": "Error information.", + "type": "string" + }, + "usingSdk": { + "description": "Using SDK?", + "type": "boolean" + }, + "settings": { + "description": "Job settings.", + "type": "object" + } + }, + "x-ms-client-flatten": true + } + } + }, + "ContinuousWebJobCollection": { + "description": "Collection of Kudu continuous web job information elements.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/ContinuousWebJob" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, "CorsSettings": { "description": "Cross-Origin Resource Sharing (CORS) settings for the app.", "type": "object", @@ -13221,6 +17324,113 @@ } } }, + "FunctionEnvelope": { + "description": "Web Job Information.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "FunctionEnvelope resource specific properties", + "properties": { + "name": { + "description": "Function name.", + "type": "string", + "readOnly": true + }, + "functionAppId": { + "description": "Function App ID.", + "type": "string", + "readOnly": true + }, + "scriptRootPathHref": { + "description": "Script root path URI.", + "type": "string" + }, + "scriptHref": { + "description": "Script URI.", + "type": "string" + }, + "configHref": { + "description": "Config URI.", + "type": "string" + }, + "secretsFileHref": { + "description": "Secrets file URI.", + "type": "string" + }, + "href": { + "description": "Function URI.", + "type": "string" + }, + "config": { + "description": "Config information.", + "type": "object" + }, + "files": { + "description": "File list.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "testData": { + "description": "Test data used when testing via the Azure Portal.", + "type": "string" + } + }, + "x-ms-client-flatten": true + } + } + }, + "FunctionEnvelopeCollection": { + "description": "Collection of Kudu function information elements.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/FunctionEnvelope" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "FunctionSecrets": { + "description": "Function secrets.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "FunctionSecrets resource specific properties", + "properties": { + "key": { + "description": "Secret key.", + "type": "string" + }, + "triggerUrl": { + "description": "Trigger URL.", + "type": "string" + } + }, + "x-ms-client-flatten": true + } + } + }, "HandlerMapping": { "description": "The IIS handler mappings used to define which handler processes HTTP requests with certain extension. \n For example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.", "type": "object", @@ -13679,11 +17889,11 @@ } }, "skipAppData": { - "description": "Controls whether the MSDeploy operation skips the AppData directory. If set to true, the existing AppData directory on the destination will not be deleted and overwritten.", + "description": "Controls whether the MSDeploy operation skips the App_Data directory.\n If set to true, the existing App_Data directory on the destination\n will not be deleted, and any App_Data directory in the source will be ignored.\n Setting is false by default.", "type": "boolean" }, "appOffline": { - "description": "Sets the AppOffline rule while the MSDeploy operation executes.", + "description": "Sets the AppOffline rule while the MSDeploy operation executes.\n Setting is false by default.", "type": "boolean" } } @@ -13864,37 +18074,282 @@ "modelAsString": false } }, - "operationId": { - "description": "Operation ID for the migration task.", - "type": "string", - "readOnly": true + "operationId": { + "description": "Operation ID for the migration task.", + "type": "string", + "readOnly": true + }, + "localMySqlEnabled": { + "description": "True if the web app has in app MySql enabled", + "type": "boolean", + "readOnly": true + } + }, + "x-ms-client-flatten": true + } + } + }, + "NameValuePair": { + "description": "Name value pair.", + "type": "object", + "properties": { + "name": { + "description": "Pair name.", + "type": "string" + }, + "value": { + "description": "Pair value.", + "type": "string" + } + } + }, + "NetworkFeatures": { + "description": "Full view of network features for an app (presently VNET integration and Hybrid Connections).", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "NetworkFeatures resource specific properties", + "properties": { + "virtualNetworkName": { + "description": "The Virtual Network name.", + "type": "string", + "readOnly": true + }, + "virtualNetworkConnection": { + "$ref": "#/definitions/VnetInfo", + "description": "The Virtual Network summary view.", + "readOnly": true + }, + "hybridConnections": { + "description": "The Hybrid Connections summary view.", + "type": "array", + "items": { + "$ref": "#/definitions/RelayServiceConnectionEntity" + }, + "readOnly": true + }, + "hybridConnectionsV2": { + "description": "The Hybrid Connection V2 (Service Bus) view.", + "type": "array", + "items": { + "$ref": "#/definitions/HybridConnection" + }, + "readOnly": true + } + }, + "x-ms-client-flatten": true + } + } + }, + "Operation": { + "description": "Operation.", + "type": "object", + "properties": { + "id": { + "description": "Operation ID.", + "type": "string" + }, + "name": { + "description": "Operation name.", + "type": "string" + }, + "status": { + "description": "The current status of the operation.", + "enum": [ + "InProgress", + "Failed", + "Succeeded", + "TimedOut", + "Created" + ], + "type": "string", + "x-ms-enum": { + "name": "OperationStatus", + "modelAsString": false + } + }, + "errors": { + "description": "Any errors associate with the operation.", + "type": "array", + "items": { + "$ref": "#/definitions/ErrorEntity" + } + }, + "createdTime": { + "format": "date-time", + "description": "Time when operation has started.", + "type": "string" + }, + "modifiedTime": { + "format": "date-time", + "description": "Time when operation has been updated.", + "type": "string" + }, + "expirationTime": { + "format": "date-time", + "description": "Time when operation will expire.", + "type": "string" + }, + "geoMasterOperationId": { + "description": "Applicable only for stamp operation ids.", + "type": "string" + } + } + }, + "PerfMonCounterCollection": { + "description": "Collection of performance monitor counters.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/PerfMonResponse" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "PerfMonResponse": { + "description": "Performance monitor API response.", + "type": "object", + "properties": { + "code": { + "description": "The response code.", + "type": "string" + }, + "message": { + "description": "The message.", + "type": "string" + }, + "data": { + "$ref": "#/definitions/PerfMonSet", + "description": "The performance monitor counters." + } + } + }, + "PerfMonSample": { + "description": "Performance monitor sample in a set.", + "type": "object", + "properties": { + "time": { + "format": "date-time", + "description": "Point in time for which counter was measured.", + "type": "string" + }, + "instanceName": { + "description": "Name of the server on which the measurement is made.", + "type": "string" + }, + "value": { + "format": "double", + "description": "Value of counter at a certain time.", + "type": "number" + }, + "coreCount": { + "format": "int32", + "description": "Core Count of worker. Not a data member", + "type": "integer" + } + } + }, + "PerfMonSet": { + "description": "Metric information.", + "type": "object", + "properties": { + "name": { + "description": "Unique key name of the counter.", + "type": "string" + }, + "startTime": { + "format": "date-time", + "description": "Start time of the period.", + "type": "string" + }, + "endTime": { + "format": "date-time", + "description": "End time of the period.", + "type": "string" + }, + "timeGrain": { + "description": "Presented time grain.", + "type": "string" + }, + "values": { + "description": "Collection of workers that are active during this time.", + "type": "array", + "items": { + "$ref": "#/definitions/PerfMonSample" + } + } + } + }, + "PremierAddOn": { + "description": "Premier add-on.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "properties": { + "properties": { + "description": "PremierAddOn resource specific properties", + "properties": { + "sku": { + "description": "SKU.", + "type": "string" + }, + "product": { + "description": "Product.", + "type": "string" + }, + "vendor": { + "description": "Vendor.", + "type": "string" + }, + "name": { + "description": "Name.", + "type": "string", + "x-ms-client-name": "PremierAddOnName" + }, + "location": { + "description": "Location.", + "type": "string" + }, + "tags": { + "description": "Tags.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "marketplacePublisher": { + "description": "Marketplace publisher.", + "type": "string" }, - "localMySqlEnabled": { - "description": "True if the web app has in app MySql enabled", - "type": "boolean", - "readOnly": true + "marketplaceOffer": { + "description": "Marketplace offer.", + "type": "string" } }, "x-ms-client-flatten": true } } }, - "NameValuePair": { - "description": "Name value pair.", - "type": "object", - "properties": { - "name": { - "description": "Pair name.", - "type": "string" - }, - "value": { - "description": "Pair value.", - "type": "string" - } - } - }, - "NetworkFeatures": { - "description": "Full view of network features for an app (presently VNET integration and Hybrid Connections).", + "ProcessInfo": { + "description": "Process Information.", "type": "object", "allOf": [ { @@ -13903,96 +18358,194 @@ ], "properties": { "properties": { - "description": "NetworkFeatures resource specific properties", + "description": "ProcessInfo resource specific properties", "properties": { - "virtualNetworkName": { - "description": "The Virtual Network name.", - "type": "string", - "readOnly": true + "id": { + "format": "int32", + "description": "ARM Identifier for deployment.", + "type": "integer", + "x-ms-mutability": [ + "create", + "read" + ] }, - "virtualNetworkConnection": { - "$ref": "#/definitions/VnetInfo", - "description": "The Virtual Network summary view.", - "readOnly": true + "name": { + "description": "Deployment name.", + "type": "string" }, - "hybridConnections": { - "description": "The Hybrid Connections summary view.", + "href": { + "description": "HRef URI.", + "type": "string" + }, + "miniDump": { + "description": "Minidump URI.", + "type": "string" + }, + "isProfileRunning": { + "description": "Is profile running?", + "type": "boolean" + }, + "isIisProfileRunning": { + "description": "Is the IIS Profile running?", + "type": "boolean" + }, + "iisProfileTimeoutInSeconds": { + "format": "double", + "description": "IIS Profile timeout (seconds).", + "type": "number" + }, + "parent": { + "description": "Parent process.", + "type": "string" + }, + "children": { + "description": "Child process list.", "type": "array", "items": { - "$ref": "#/definitions/RelayServiceConnectionEntity" - }, - "readOnly": true + "type": "string" + } }, - "hybridConnectionsV2": { - "description": "The Hybrid Connection V2 (Service Bus) view.", + "threads": { + "description": "Thread list.", "type": "array", "items": { - "$ref": "#/definitions/HybridConnection" - }, - "readOnly": true + "$ref": "#/definitions/ProcessThreadInfo" + } + }, + "openFileHandles": { + "description": "List of open files.", + "type": "array", + "items": { + "type": "string" + } + }, + "modules": { + "description": "List of modules.", + "type": "array", + "items": { + "$ref": "#/definitions/ProcessModuleInfo" + } + }, + "fileName": { + "description": "File name of this process.", + "type": "string" + }, + "commandLine": { + "description": "Command line.", + "type": "string" + }, + "userName": { + "description": "User name.", + "type": "string" + }, + "handleCount": { + "format": "int32", + "description": "Handle count.", + "type": "integer" + }, + "moduleCount": { + "format": "int32", + "description": "Module count.", + "type": "integer" + }, + "threadCount": { + "format": "int32", + "description": "Thread count.", + "type": "integer" + }, + "startTime": { + "format": "date-time", + "description": "Start time.", + "type": "string" + }, + "totalProcessorTime": { + "description": "Total CPU time.", + "type": "string" + }, + "userProcessorTime": { + "description": "User CPU time.", + "type": "string" + }, + "privilegedProcessorTime": { + "description": "Privileged CPU time.", + "type": "string" + }, + "workingSet64": { + "format": "int64", + "description": "Working set.", + "type": "integer" + }, + "peakWorkingSet64": { + "format": "int64", + "description": "Peak working set.", + "type": "integer" + }, + "privateMemorySize64": { + "format": "int64", + "description": "Private memory size.", + "type": "integer" + }, + "virtualMemorySize64": { + "format": "int64", + "description": "Virtual memory size.", + "type": "integer" + }, + "peakVirtualMemorySize64": { + "format": "int64", + "description": "Peak virtual memory usage.", + "type": "integer" + }, + "pagedSystemMemorySize64": { + "format": "int64", + "description": "Paged system memory.", + "type": "integer" + }, + "nonpagedSystemMemorySize64": { + "format": "int64", + "description": "Non-paged system memory.", + "type": "integer" + }, + "pagedMemorySize64": { + "format": "int64", + "description": "Paged memory.", + "type": "integer" + }, + "peakPagedMemorySize64": { + "format": "int64", + "description": "Peak paged memory.", + "type": "integer" + }, + "timeStamp": { + "format": "date-time", + "description": "Time stamp.", + "type": "string" + }, + "environmentVariables": { + "description": "List of environment variables.", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "isScmSite": { + "description": "Is this the SCM site?", + "type": "boolean" + }, + "isWebJob": { + "description": "Is this a Web Job?", + "type": "boolean" + }, + "description": { + "description": "Description of process.", + "type": "string" } }, "x-ms-client-flatten": true } } }, - "Operation": { - "description": "Operation.", - "type": "object", - "properties": { - "id": { - "description": "Operation ID.", - "type": "string" - }, - "name": { - "description": "Operation name.", - "type": "string" - }, - "status": { - "description": "The current status of the operation.", - "enum": [ - "InProgress", - "Failed", - "Succeeded", - "TimedOut", - "Created" - ], - "type": "string", - "x-ms-enum": { - "name": "OperationStatus", - "modelAsString": false - } - }, - "errors": { - "description": "Any errors associate with the operation.", - "type": "array", - "items": { - "$ref": "#/definitions/ErrorEntity" - } - }, - "createdTime": { - "format": "date-time", - "description": "Time when operation has started.", - "type": "string" - }, - "modifiedTime": { - "format": "date-time", - "description": "Time when operation has been updated.", - "type": "string" - }, - "expirationTime": { - "format": "date-time", - "description": "Time when operation will expire.", - "type": "string" - }, - "geoMasterOperationId": { - "description": "Applicable only for stamp operation ids.", - "type": "string" - } - } - }, - "PerfMonCounterCollection": { - "description": "Collection of performance monitor counters.", + "ProcessInfoCollection": { + "description": "Collection of Kudu process information elements.", "required": [ "value" ], @@ -14002,7 +18555,7 @@ "description": "Collection of resources.", "type": "array", "items": { - "$ref": "#/definitions/PerfMonResponse" + "$ref": "#/definitions/ProcessInfo" } }, "nextLink": { @@ -14011,126 +18564,154 @@ } } }, - "PerfMonResponse": { - "description": "Performance monitor API response.", + "ProcessModuleInfo": { + "description": "Process Module Information.", "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], "properties": { - "code": { - "description": "The response code.", - "type": "string" - }, - "message": { - "description": "The message.", - "type": "string" - }, - "data": { - "$ref": "#/definitions/PerfMonSet", - "description": "The performance monitor counters." + "properties": { + "description": "ProcessModuleInfo resource specific properties", + "properties": { + "baseAddress": { + "description": "Base address. Used as module identifier in ARM resource URI.", + "type": "string" + }, + "fileName": { + "description": "File name.", + "type": "string" + }, + "href": { + "description": "HRef URI.", + "type": "string" + }, + "filePath": { + "description": "File path.", + "type": "string" + }, + "moduleMemorySize": { + "format": "int32", + "description": "Module memory size.", + "type": "integer" + }, + "fileVersion": { + "description": "File version.", + "type": "string" + }, + "fileDescription": { + "description": "File description.", + "type": "string" + }, + "product": { + "description": "Product name.", + "type": "string" + }, + "productVersion": { + "description": "Product version.", + "type": "string" + }, + "isDebug": { + "description": "Is debug?", + "type": "boolean" + }, + "language": { + "description": "Module language (locale).", + "type": "string" + } + }, + "x-ms-client-flatten": true } } }, - "PerfMonSample": { - "description": "Performance monitor sample in a set.", + "ProcessModuleInfoCollection": { + "description": "Collection of Kudu thread information elements.", + "required": [ + "value" + ], "type": "object", "properties": { - "time": { - "format": "date-time", - "description": "Point in time for which counter was measured.", - "type": "string" - }, - "instanceName": { - "description": "Name of the server on which the measurement is made.", - "type": "string" - }, "value": { - "format": "double", - "description": "Value of counter at a certain time.", - "type": "number" - }, - "coreCount": { - "format": "int32", - "description": "Core Count of worker. Not a data member", - "type": "integer" - } - } - }, - "PerfMonSet": { - "description": "Metric information.", - "type": "object", - "properties": { - "name": { - "description": "Unique key name of the counter.", - "type": "string" - }, - "startTime": { - "format": "date-time", - "description": "Start time of the period.", - "type": "string" - }, - "endTime": { - "format": "date-time", - "description": "End time of the period.", - "type": "string" - }, - "timeGrain": { - "description": "Presented time grain.", - "type": "string" - }, - "values": { - "description": "Collection of workers that are active during this time.", + "description": "Collection of resources.", "type": "array", "items": { - "$ref": "#/definitions/PerfMonSample" + "$ref": "#/definitions/ProcessModuleInfo" } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" } } }, - "PremierAddOn": { - "description": "Premier add-on.", + "ProcessThreadInfo": { + "description": "Process Thread Information.", "type": "object", "allOf": [ { - "$ref": "#/definitions/Resource" + "$ref": "#/definitions/ProxyOnlyResource" } ], "properties": { "properties": { - "description": "PremierAddOn resource specific properties", + "description": "ProcessThreadInfo resource specific properties", "properties": { - "sku": { - "description": "SKU.", + "id": { + "format": "int32", + "description": "ARM Identifier for deployment.", + "type": "integer" + }, + "href": { + "description": "HRef URI.", "type": "string" }, - "product": { - "description": "Product.", + "process": { + "description": "Process URI.", "type": "string" }, - "vendor": { - "description": "Vendor.", + "startAddress": { + "description": "Start address.", "type": "string" }, - "name": { - "description": "Name.", - "type": "string", - "x-ms-client-name": "PremierAddOnName" + "currentPriority": { + "format": "int32", + "description": "Current thread priority.", + "type": "integer" }, - "location": { - "description": "Location.", + "priorityLevel": { + "description": "Thread priority level.", "type": "string" }, - "tags": { - "description": "Tags.", - "type": "object", - "additionalProperties": { - "type": "string" - } + "basePriority": { + "format": "int32", + "description": "Base priority.", + "type": "integer" }, - "marketplacePublisher": { - "description": "Marketplace publisher.", + "startTime": { + "format": "date-time", + "description": "Start time.", "type": "string" }, - "marketplaceOffer": { - "description": "Marketplace offer.", + "totalProcessorTime": { + "description": "Total processor time.", + "type": "string" + }, + "userProcessorTime": { + "description": "User processor time.", + "type": "string" + }, + "priviledgedProcessorTime": { + "description": "Priviledged processor time.", + "type": "string" + }, + "state": { + "description": "Thread state.", + "type": "string" + }, + "waitReason": { + "description": "Wait reason.", "type": "string" } }, @@ -14138,6 +18719,26 @@ } } }, + "ProcessThreadInfoCollection": { + "description": "Collection of Kudu thread information elements.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/ProcessThreadInfo" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, "ProxyOnlyResource": { "description": "Azure proxy only resource. This resource is not tracked by Azure Resource Manager.", "properties": { @@ -14301,28 +18902,6 @@ } } }, - "RecoverResponse": { - "description": "Response for an app recovery request.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "properties": { - "properties": { - "description": "RecoverResponse resource specific properties", - "properties": { - "operationId": { - "description": "ID of the recovery operation. Can be used to check the status of the corresponding operation.", - "type": "string", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, "RelayServiceConnectionEntity": { "description": "Hybrid Connection for an App Service app.", "type": "object", @@ -14716,6 +19295,10 @@ "default": false, "type": "boolean" }, + "appServicePlan": { + "description": "Specify app service plan that will own restored site.", + "type": "string" + }, "operationType": { "description": "Operation type.", "default": "Default", @@ -14937,6 +19520,13 @@ "create" ] }, + "snapshotInfo": { + "$ref": "#/definitions/SnapshotRecoveryRequest", + "description": "If specified during app creation, the app is created from a previous snapshot.", + "x-ms-mutability": [ + "create" + ] + }, "resourceGroup": { "description": "Name of the resource group the app belongs to. Read-only.", "type": "string", @@ -15422,8 +20012,168 @@ } } }, - "SiteConfigResourceCollection": { - "description": "Collection of site configurations.", + "SiteConfigResourceCollection": { + "description": "Collection of site configurations.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/SiteConfigResource" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "SiteConfigurationSnapshotInfo": { + "description": "A snapshot of a web app configuration.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "SiteConfigurationSnapshotInfo resource specific properties", + "properties": { + "time": { + "format": "date-time", + "description": "The time the snapshot was taken.", + "type": "string", + "readOnly": true + }, + "id": { + "format": "int32", + "description": "The id of the snapshot", + "type": "integer", + "readOnly": true + } + }, + "x-ms-client-flatten": true + } + } + }, + "SiteExtensionInfo": { + "description": "Site Extension Information.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "SiteExtensionInfo resource specific properties", + "properties": { + "id": { + "description": "Site extension ID.", + "type": "string" + }, + "title": { + "description": "Site extension title.", + "type": "string" + }, + "type": { + "description": "Site extension type.", + "enum": [ + "Gallery", + "WebRoot" + ], + "type": "string", + "x-ms-enum": { + "name": "SiteExtensionType", + "modelAsString": false + } + }, + "summary": { + "description": "Summary description.", + "type": "string" + }, + "description": { + "description": "Detailed description.", + "type": "string" + }, + "version": { + "description": "Version information.", + "type": "string" + }, + "extensionUrl": { + "description": "Extension URL.", + "type": "string" + }, + "projectUrl": { + "description": "Project URL.", + "type": "string" + }, + "iconUrl": { + "description": "Icon URL.", + "type": "string" + }, + "licenseUrl": { + "description": "License URL.", + "type": "string" + }, + "feedUrl": { + "description": "Feed URL.", + "type": "string" + }, + "authors": { + "description": "List of authors.", + "type": "array", + "items": { + "type": "string" + } + }, + "installationArgs": { + "description": "Installer command line parameters.", + "type": "string" + }, + "publishedDateTime": { + "format": "date-time", + "description": "Published timestamp.", + "type": "string" + }, + "downloadCount": { + "format": "int32", + "description": "Count of downloads.", + "type": "integer" + }, + "localIsLatestVersion": { + "description": "true if the local version is the latest version; false otherwise.", + "type": "boolean" + }, + "localPath": { + "description": "Local path.", + "type": "string" + }, + "installedDateTime": { + "format": "date-time", + "description": "Installed timestamp.", + "type": "string" + }, + "provisioningState": { + "description": "Provisioning state.", + "type": "string" + }, + "comment": { + "description": "Site Extension comment.", + "type": "string" + } + }, + "x-ms-client-flatten": true + } + } + }, + "SiteExtensionInfoCollection": { + "description": "Collection of Kudu site extension information elements.", "required": [ "value" ], @@ -15433,7 +20183,7 @@ "description": "Collection of resources.", "type": "array", "items": { - "$ref": "#/definitions/SiteConfigResource" + "$ref": "#/definitions/SiteExtensionInfo" } }, "nextLink": { @@ -15442,35 +20192,6 @@ } } }, - "SiteConfigurationSnapshotInfo": { - "description": "A snapshot of a web app configuration.", - "type": "object", - "allOf": [ - { - "$ref": "#/definitions/ProxyOnlyResource" - } - ], - "properties": { - "properties": { - "description": "SiteConfigurationSnapshotInfo resource specific properties", - "properties": { - "time": { - "format": "date-time", - "description": "The time the snapshot was taken.", - "type": "string", - "readOnly": true - }, - "id": { - "format": "int32", - "description": "The id of the snapshot", - "type": "integer", - "readOnly": true - } - }, - "x-ms-client-flatten": true - } - } - }, "SiteInstance": { "description": "Instance of an app.", "type": "object", @@ -15820,7 +20541,6 @@ "description": "Snapshot resource specific properties", "properties": { "time": { - "format": "date-time", "description": "The time the snapshot was taken.", "type": "string", "readOnly": true @@ -15866,8 +20586,7 @@ ], "properties": { "snapshotTime": { - "format": "date-time", - "description": "Point in time in which the app recovery should be attempted.", + "description": "Point in time in which the app recovery should be attempted, formatted as a DateTime string.", "type": "string" }, "recoveryTarget": { @@ -15875,11 +20594,15 @@ "description": "Specifies the web app that snapshot contents will be written to." }, "overwrite": { - "description": "true if the recovery operation can overwrite source app; otherwise, false.", + "description": "If true the recovery operation can overwrite source app; otherwise, false.", "type": "boolean" }, "recoverConfiguration": { - "description": "Site configuration, in addition to content, will be reverted if this is true.", + "description": "If true, site configuration, in addition to content, will be reverted.", + "type": "boolean" + }, + "ignoreConflictingHostNames": { + "description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\n This setting is only necessary when RecoverConfiguration is enabled.", "type": "boolean" } }, @@ -16023,6 +20746,217 @@ } } }, + "TriggeredJobHistory": { + "description": "Triggered Web Job History. List of Triggered Web Job Run Information elements.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "TriggeredJobHistory resource specific properties", + "properties": { + "triggeredJobRuns": { + "description": "List of triggered web job runs.", + "type": "array", + "items": { + "$ref": "#/definitions/TriggeredJobRun" + } + } + }, + "x-ms-client-flatten": true + } + } + }, + "TriggeredJobHistoryCollection": { + "description": "Collection of Kudu continuous web job information elements.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/TriggeredJobHistory" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, + "TriggeredJobRun": { + "description": "Triggered Web Job Run Information.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "TriggeredJobRun resource specific properties", + "properties": { + "id": { + "description": "Job ID.", + "type": "string", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "name": { + "description": "Job name.", + "type": "string", + "readOnly": true + }, + "status": { + "description": "Job status.", + "enum": [ + "Success", + "Failed", + "Error" + ], + "type": "string", + "x-ms-enum": { + "name": "TriggeredWebJobStatus", + "modelAsString": false + } + }, + "startTime": { + "format": "date-time", + "description": "Start time.", + "type": "string" + }, + "endTime": { + "format": "date-time", + "description": "End time.", + "type": "string" + }, + "duration": { + "description": "Job duration.", + "type": "string" + }, + "outputUrl": { + "description": "Output URL.", + "type": "string" + }, + "errorUrl": { + "description": "Error URL.", + "type": "string" + }, + "url": { + "description": "Job URL.", + "type": "string" + }, + "jobName": { + "description": "Job name.", + "type": "string" + }, + "trigger": { + "description": "Job trigger.", + "type": "string" + } + }, + "x-ms-client-flatten": true + } + } + }, + "TriggeredWebJob": { + "description": "Triggered Web Job Information.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "TriggeredWebJob resource specific properties", + "properties": { + "latestRun": { + "$ref": "#/definitions/TriggeredJobRun", + "description": "Latest job run information." + }, + "historyUrl": { + "description": "History URL.", + "type": "string" + }, + "schedulerLogsUrl": { + "description": "Scheduler Logs URL.", + "type": "string" + }, + "name": { + "description": "Job name. Used as job identifier in ARM resource URI.", + "type": "string", + "readOnly": true + }, + "runCommand": { + "description": "Run command.", + "type": "string" + }, + "url": { + "description": "Job URL.", + "type": "string" + }, + "extraInfoUrl": { + "description": "Extra Info URL.", + "type": "string" + }, + "jobType": { + "description": "Job type.", + "enum": [ + "Continuous", + "Triggered" + ], + "type": "string", + "x-ms-enum": { + "name": "WebJobType", + "modelAsString": false + } + }, + "error": { + "description": "Error information.", + "type": "string" + }, + "usingSdk": { + "description": "Using SDK?", + "type": "boolean" + }, + "settings": { + "description": "Job settings.", + "type": "object" + } + }, + "x-ms-client-flatten": true + } + } + }, + "TriggeredWebJobCollection": { + "description": "Collection of Kudu continuous web job information elements.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/TriggeredWebJob" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } + }, "User": { "description": "User crendentials used for publishing activity.", "type": "object", @@ -16275,6 +21209,84 @@ "type": "string" } } + }, + "WebJob": { + "description": "Web Job Information.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "WebJob resource specific properties", + "properties": { + "name": { + "description": "Job name. Used as job identifier in ARM resource URI.", + "type": "string", + "readOnly": true + }, + "runCommand": { + "description": "Run command.", + "type": "string" + }, + "url": { + "description": "Job URL.", + "type": "string" + }, + "extraInfoUrl": { + "description": "Extra Info URL.", + "type": "string" + }, + "jobType": { + "description": "Job type.", + "enum": [ + "Continuous", + "Triggered" + ], + "type": "string", + "x-ms-enum": { + "name": "WebJobType", + "modelAsString": false + } + }, + "error": { + "description": "Error information.", + "type": "string" + }, + "usingSdk": { + "description": "Using SDK?", + "type": "boolean" + }, + "settings": { + "description": "Job settings.", + "type": "object" + } + }, + "x-ms-client-flatten": true + } + } + }, + "WebJobCollection": { + "description": "Collection of Kudu web job information elements.", + "required": [ + "value" + ], + "type": "object", + "properties": { + "value": { + "description": "Collection of resources.", + "type": "array", + "items": { + "$ref": "#/definitions/WebJob" + } + }, + "nextLink": { + "description": "Link to next page of resources.", + "type": "string" + } + } } }, "parameters": { diff --git a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json index c24107d6da69..436fcbd326f2 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServiceEnvironments.json @@ -3450,6 +3450,13 @@ "create" ] }, + "snapshotInfo": { + "$ref": "#/definitions/SnapshotRecoveryRequest", + "description": "If specified during app creation, the app is created from a previous snapshot.", + "x-ms-mutability": [ + "create" + ] + }, "resourceGroup": { "description": "Name of the resource group the app belongs to. Read-only.", "type": "string", @@ -3911,6 +3918,60 @@ } } }, + "SnapshotRecoveryRequest": { + "description": "Details about app recovery operation.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "SnapshotRecoveryRequest resource specific properties", + "required": [ + "overwrite" + ], + "properties": { + "snapshotTime": { + "description": "Point in time in which the app recovery should be attempted, formatted as a DateTime string.", + "type": "string" + }, + "recoveryTarget": { + "$ref": "#/definitions/SnapshotRecoveryTarget", + "description": "Specifies the web app that snapshot contents will be written to." + }, + "overwrite": { + "description": "If true the recovery operation can overwrite source app; otherwise, false.", + "type": "boolean" + }, + "recoverConfiguration": { + "description": "If true, site configuration, in addition to content, will be reverted.", + "type": "boolean" + }, + "ignoreConflictingHostNames": { + "description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\n This setting is only necessary when RecoverConfiguration is enabled.", + "type": "boolean" + } + }, + "x-ms-client-flatten": true + } + } + }, + "SnapshotRecoveryTarget": { + "description": "Specifies the web app that snapshot contents will be written to.", + "type": "object", + "properties": { + "location": { + "description": "Geographical location of the target web app, e.g. SouthEastAsia, SouthCentralUS", + "type": "string" + }, + "id": { + "description": "ARM resource ID of the target app. \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", + "type": "string" + } + } + }, "StampCapacity": { "description": "Stamp capacity information.", "type": "object", diff --git a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json index bcec1ee56a75..769aca948319 100644 --- a/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json +++ b/specification/web/resource-manager/Microsoft.Web/2016-09-01/AppServicePlans.json @@ -2576,6 +2576,13 @@ "create" ] }, + "snapshotInfo": { + "$ref": "#/definitions/SnapshotRecoveryRequest", + "description": "If specified during app creation, the app is created from a previous snapshot.", + "x-ms-mutability": [ + "create" + ] + }, "resourceGroup": { "description": "Name of the resource group the app belongs to. Read-only.", "type": "string", @@ -2999,6 +3006,60 @@ } } }, + "SnapshotRecoveryRequest": { + "description": "Details about app recovery operation.", + "type": "object", + "allOf": [ + { + "$ref": "#/definitions/ProxyOnlyResource" + } + ], + "properties": { + "properties": { + "description": "SnapshotRecoveryRequest resource specific properties", + "required": [ + "overwrite" + ], + "properties": { + "snapshotTime": { + "description": "Point in time in which the app recovery should be attempted, formatted as a DateTime string.", + "type": "string" + }, + "recoveryTarget": { + "$ref": "#/definitions/SnapshotRecoveryTarget", + "description": "Specifies the web app that snapshot contents will be written to." + }, + "overwrite": { + "description": "If true the recovery operation can overwrite source app; otherwise, false.", + "type": "boolean" + }, + "recoverConfiguration": { + "description": "If true, site configuration, in addition to content, will be reverted.", + "type": "boolean" + }, + "ignoreConflictingHostNames": { + "description": "If true, custom hostname conflicts will be ignored when recovering to a target web app.\n This setting is only necessary when RecoverConfiguration is enabled.", + "type": "boolean" + } + }, + "x-ms-client-flatten": true + } + } + }, + "SnapshotRecoveryTarget": { + "description": "Specifies the web app that snapshot contents will be written to.", + "type": "object", + "properties": { + "location": { + "description": "Geographical location of the target web app, e.g. SouthEastAsia, SouthCentralUS", + "type": "string" + }, + "id": { + "description": "ARM resource ID of the target app. \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and \n /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.", + "type": "string" + } + } + }, "StatusCodesBasedTrigger": { "description": "Trigger based on status code.", "type": "object",