Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[Hub Generated] Review request for Microsoft.HealthcareApis to add version preview/2018-08-20-preview #6244

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,22 @@
{
"objectId": "5b307da8-43d4-492b-8b66-b0294ade872f"
}
]
],
"cosmosDbConfiguration": {
"offerThroughput": 1000
},
"authenticationConfiguration": {
"authority": "https://login.microsoftonline.com/common",
"audience": "https://azurehealthcareapis.com",
"smartProxyEnabled": true
},
"corsConfiguration": {
"origins": ["*"],
"headers": ["*"],
"methods": ["DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"],
"maxAge": 1440,
"allowCredentials": false
}
}
}
},
Expand All @@ -42,6 +57,18 @@
],
"cosmosDbConfiguration": {
"offerThroughput": 1000
},
"authenticationConfiguration": {
"authority": "https://login.microsoftonline.com/common",
"audience": "https://azurehealthcareapis.com",
"smartProxyEnabled": true
},
"corsConfiguration": {
"origins": ["*"],
"headers": ["*"],
"methods": ["DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"],
"maxAge": 1440,
"allowCredentials": false
}
}
}
Expand All @@ -67,6 +94,18 @@
],
"cosmosDbConfiguration": {
"offerThroughput": 1000
},
"authenticationConfiguration": {
"authority": "https://login.microsoftonline.com/common",
"audience": "https://azurehealthcareapis.com",
"smartProxyEnabled": true
},
"corsConfiguration": {
"origins": ["*"],
"headers": ["*"],
"methods": ["DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"],
"maxAge": 1440,
"allowCredentials": false
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,18 @@
],
"cosmosDbConfiguration": {
"offerThroughput": 1000
},
"authenticationConfiguration": {
"authority": "https://login.microsoftonline.com/common",
"audience": "https://azurehealthcareapis.com",
"smartProxyEnabled": true
},
"corsConfiguration": {
"origins": ["*"],
"headers": ["*"],
"methods": ["DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"],
"maxAge": 1440,
"allowCredentials": false
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,18 @@
],
"cosmosDbConfiguration": {
"offerThroughput": 1000
},
"authenticationConfiguration": {
"authority": "https://login.microsoftonline.com/common",
"audience": "https://azurehealthcareapis.com",
"smartProxyEnabled": true
},
"corsConfiguration": {
"origins": ["*"],
"headers": ["*"],
"methods": ["DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"],
"maxAge": 1440,
"allowCredentials": false
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@
],
"cosmosDbConfiguration": {
"offerThroughput": 1000
},
"authenticationConfiguration": {
"authority": "https://login.microsoftonline.com/common",
"audience": "https://azurehealthcareapis.com",
"smartProxyEnabled": true
},
"corsConfiguration": {
"origins": ["*"],
"headers": ["*"],
"methods": ["DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"],
"maxAge": 1440,
"allowCredentials": false
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,18 @@
],
"cosmosDbConfiguration": {
"offerThroughput": 1000
},
"authenticationConfiguration": {
"authority": "https://login.microsoftonline.com/common",
"audience": "https://azurehealthcareapis.com",
"smartProxyEnabled": true
},
"corsConfiguration": {
"origins": ["*"],
"headers": ["*"],
"methods": ["DELETE", "GET", "OPTIONS", "PATCH", "POST", "PUT"],
"maxAge": 1440,
"allowCredentials": false
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -392,52 +392,6 @@
"deprecated": false
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/moveResources": {
"post": {
"tags": [
"Proxy"
],
"description": "Moves resources to another subscription and/or resource group.",
"operationId": "Services_MoveResources",
"x-ms-examples": {
"ServiceList": {
"$ref": "./examples/MoveResourcesPost.json"
YazanMSFT marked this conversation as resolved.
Show resolved Hide resolved
}
},
"parameters": [
{
"$ref": "#/parameters/api-version"
},
{
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/resourceGroupName"
},
{
"name": "moveResourcesInputs",
"in": "body",
"description": "Set the move resource structure to the name of the service instance to check.",
"required": true,
"schema": {
"$ref": "#/definitions/MoveResourcesParameters"
}
}
],
"responses": {
"202": {
"description": "Accepted - Move request accepted; the operation will complete asynchronously."
},
"default": {
"description": "DefaultErrorResponse",
"schema": {
"$ref": "#/definitions/ErrorDetails"
}
}
},
"deprecated": false
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/locations/{locationName}/operationresults/{operationResultId}": {
"get": {
"tags": [
Expand Down Expand Up @@ -486,55 +440,6 @@
},
"deprecated": false
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/locations/{locationName}/moveResourcesStatus/{operationResultId}": {
"get": {
"tags": [
"Resource"
],
"description": "Get the operation result for a long running move operation.",
"operationId": "MoveResourcesStatus_Get",
"x-ms-examples": {
"OperationResultsGet": {
"$ref": "./examples/OperationResultsGet.json"
}
},
"parameters": [
{
"$ref": "#/parameters/api-version"
},
{
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/locationName"
},
{
"$ref": "#/parameters/operationResultId"
}
],
"responses": {
"200": {
"description": "The body contains all of the properties of the operation result.",
"schema": {
"$ref": "#/definitions/OperationResultsDescription"
}
},
"404": {
"description": "No operation result was found matching operationResultId.",
"schema": {
"$ref": "#/definitions/ErrorDetails"
}
},
"default": {
"description": "Default error response",
"schema": {
"$ref": "#/definitions/ErrorDetails"
}
}
},
"deprecated": false
}
}
},
"definitions": {
Expand Down Expand Up @@ -569,6 +474,14 @@
"cosmosDbConfiguration": {
"$ref": "#/definitions/ServiceCosmosDbConfigurationInfo",
"description": "The settings for the Cosmos DB database backing the service."
},
"authenticationConfiguration": {
"$ref": "#/definitions/ServiceAuthenticationConfigurationInfo",
"description": "The authentication configuration for the service instance."
},
"corsConfiguration": {
"$ref": "#/definitions/ServiceCorsConfigurationInfo",
"description": "The settings for the CORS configuration of the service instance."
}
},
"required": [
Expand Down Expand Up @@ -603,10 +516,88 @@
"offerThroughput": {
"type": "integer",
"description": "The provisioned throughput for the backing database.",
"readOnly": false,
"minimum": 400,
"maximum": 10000
}
}
},
"ServiceAuthenticationConfigurationInfo": {
"description": "Authentication configuration information",
"type": "object",
"properties": {
"authority": {
"type": "string",
"description": "The authority url for the service",
"readOnly": false
},
"audience": {
"type": "string",
"description": "The audience url for the service",
"readOnly": false
},
"smartProxyEnabled": {
"type": "boolean",
"description": "If the SMART on FHIR proxy is enabled",
"readOnly": false
}
}
},
"ServiceCorsConfigurationInfo": {
"description": "The settings for the CORS configuration of the service instance.",
"type": "object",
"properties": {
"origins": {
"type": "array",
"description": "The origins to be allowed via CORS.",
"readOnly": false,
"items": {
"$ref": "#/definitions/ServiceCorsConfigurationOriginEntry"
}
},
"headers": {
"type": "array",
"description": "The headers to be allowed via CORS.",
"readOnly": false,
"items": {
"$ref": "#/definitions/ServiceCorsConfigurationHeaderEntry"
}
},
"methods": {
"type": "array",
"description": "The methods to be allowed via CORS.",
"readOnly": false,
"items": {
"$ref": "#/definitions/ServiceCorsConfigurationMethodEntry"
}
},
"maxAge": {
"type": "integer",
"description": "The max age to be allowed via CORS.",
"readOnly": false,
"minimum": 0,
"maximum": 99999
},
"allowCredentials": {
"type": "boolean",
"description": "If credentials are allowed via CORS.",
"readOnly": false
}
}
},
"ServiceCorsConfigurationOriginEntry": {
"description": "An origin for CORS.",
"type": "string",
"pattern": "^(?:(?:(?:[hH][tT][tT][pP](?:[sS]|))\\:\\/\\/(?:[a-zA-Z0-9-]+[.]?)+(?:\\:[0-9]{1,5})?|[*]))$"
},
"ServiceCorsConfigurationHeaderEntry": {
"description": "A header for CORS.",
"type": "string"
},
"ServiceCorsConfigurationMethodEntry": {
"description": "A method for CORS.",
"type": "string"
},
"ServicesDescription": {
"description": "The description of the service.",
"type": "object",
Expand Down Expand Up @@ -851,34 +842,6 @@
}
}
},
"MoveResourcesParameters": {
"description": "Input values.",
"type": "object",
"properties": {
"targetSubscriptionId": {
"description": "The target subscription to move resources to.",
"type": "string"
},
"targetResourceGroupName": {
"description": "The target resource group to move resources to.",
"type": "string"
},
"resourceIdsToMove": {
"description": "The list of resources to move.",
"type": "array",
"minItems": 1,
"maxItems": 250,
"items": {
"type": "string"
}
}
},
"required": [
"targetSubscriptionId",
"targetResourceGroupName",
"resourceIdsToMove"
]
},
"OperationResultsDescription": {
"description": "The properties indicating the operation result of an operation on a service.",
"type": "object",
Expand Down
Loading