Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.HealthcareApis to add ve…
Browse files Browse the repository at this point in the history
…rsion stable/2023-02-28 (#22837)

* Adds base for updating Microsoft.HealthcareApis from version stable/2022-12-01 to version 2023-02-28

* Updates readme

* Updates API version in new specs and examples

* Adding "crossTenantCmkApplicationId" property with a new API version and new examples for data sovereign regions.

* Fixing some issues based on automatic validator feedback.

* Removed extra space causing model validation failures.

* Added Azure App ID validation regex for crossTenantCmkApplicationId string property.
  • Loading branch information
staladay authored Mar 22, 2023
1 parent d42de0c commit d0ad574
Show file tree
Hide file tree
Showing 51 changed files with 7,352 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parameters": {
"api-version": "2023-02-28",
"subscriptionId": "subid",
"checkNameAvailabilityInputs": {
"type": "Microsoft.HealthcareApis/services",
"name": "serviceName"
}
},
"responses": {
"200": {
"body": {
"nameAvailable": false,
"reason": "AlreadyExists",
"message": "Service name is not available."
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"parameters": {
"api-version": "2023-02-28",
"subscriptionId": "subid",
"locationName": "westus",
"operationResultId": "exampleid"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/subid/providers/Microsoft.HealthcareApis/locations/westus/operationresults/exampleid",
"name": "servicename",
"status": "Requested",
"startTime": "2019-01-21T06:03:30.2716301Z",
"endTime": "2019-01-21T06:04:12.3413202Z",
"properties": {}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
{
"parameters": {
"api-version": "2023-02-28"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "Microsoft.HealthcareApis/services/read",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/services/write",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/services/delete",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/locations/operationresults/read",
"display": {
"provider": "Microsoft.HealthcareApis",
"resource": "operationresults",
"operation": "read",
"description": "Get the status of an asynchronous operation"
},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/read",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/write",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/delete",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/dicomservices/read",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/dicomservices/write",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/dicomservices/delete",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/iotconnectors/read",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/iotconnectors/write",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/iotconnectors/delete",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/fhirservices/read",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/fhirservices/write",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/workspaces/fhirservices/delete",
"display": {},
"origin": "user,system"
},
{
"name": "Microsoft.HealthcareApis/checkNameAvailability/post",
"display": {},
"origin": "user"
},
{
"name": "Microsoft.HealthcareApis/Operations/read",
"display": {
"provider": "Microsoft.HealthcareApis",
"resource": "operations",
"operation": "read",
"description": "Get the list of operations supported by this Resource Provider."
},
"origin": "user,system"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "testRG",
"workspaceName": "workspace1",
"dicomServiceName": "blue",
"api-version": "2023-02-28",
"dicomservice": {
"location": "westus",
"properties": {}
}
},
"responses": {
"200": {
"body": {
"name": "blue",
"id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/blue",
"location": "westus",
"type": "Microsoft.HealthcareApis/workspaces/dicomservices",
"properties": {
"authenticationConfiguration": {
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
"audiences": [
"https://azurehealthcareapis.com/",
"https://azurehealthcareapis.com"
]
},
"corsConfiguration": {
"origins": [
"*"
],
"headers": [
"*"
],
"methods": [
"DELETE",
"GET",
"OPTIONS",
"PATCH",
"POST",
"PUT"
],
"maxAge": 1440,
"allowCredentials": false
},
"provisioningState": "Succeeded",
"serviceUrl": null,
"eventState": "Disabled"
}
}
},
"201": {
"body": {
"name": "blue",
"id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/blue",
"location": "westus",
"type": "Microsoft.HealthcareApis/workspaces/dicomservices",
"properties": {
"authenticationConfiguration": {
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
"audiences": [
"https://azurehealthcareapis.com/",
"https://azurehealthcareapis.com"
]
},
"provisioningState": "Creating",
"serviceUrl": null,
"eventState": "Disabled"
}
}
},
"202": {
"body": {
"name": "blue",
"id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/blue",
"location": "westus",
"type": "Microsoft.HealthcareApis/workspaces/dicomservices",
"properties": {
"authenticationConfiguration": {
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
"audiences": [
"https://azurehealthcareapis.com/",
"https://azurehealthcareapis.com"
]
},
"provisioningState": "Accepted",
"serviceUrl": null,
"eventState": "Disabled"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "testRG",
"workspaceName": "workspace1",
"dicomServiceName": "blue",
"api-version": "2023-02-28"
},
"responses": {
"200": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/locations/westus/operationresults/f7eb8g4f1ncj3jgk6bg8jlqf8?api-version=2023-02-28"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "testRG",
"workspaceName": "workspace1",
"dicomServiceName": "blue",
"api-version": "2023-02-28"
},
"responses": {
"200": {
"body": {
"name": "blue",
"id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/blue",
"type": "Microsoft.HealthcareApis/workspaces/dicomservices",
"properties": {
"authenticationConfiguration": {
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
"audiences": [
"https://azurehealthcareapis.com/",
"https://azurehealthcareapis.com"
]
},
"corsConfiguration": {
"origins": [
"*"
],
"headers": [
"*"
],
"methods": [
"DELETE",
"GET",
"OPTIONS",
"PATCH",
"POST",
"PUT"
],
"maxAge": 1440,
"allowCredentials": false
},
"provisioningState": "Succeeded",
"serviceUrl": "https://workspace1-blue.dicom.azurehealthcareapis.com",
"eventState": "Disabled"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "testRG",
"workspaceName": "workspace1",
"api-version": "2023-02-28"
},
"responses": {
"200": {
"body": {
"nextLink": "string",
"value": [
{
"name": "blue",
"id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/blue",
"type": "Microsoft.HealthcareApis/workspaces/dicomservices",
"properties": {
"authenticationConfiguration": {
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
"audiences": [
"https://azurehealthcareapis.com/",
"https://azurehealthcareapis.com"
]
},
"corsConfiguration": {
"origins": [
"*"
],
"headers": [
"*"
],
"methods": [
"DELETE",
"GET",
"OPTIONS",
"PATCH",
"POST",
"PUT"
],
"maxAge": 1440,
"allowCredentials": false
},
"provisioningState": "Succeeded",
"serviceUrl": "https://workspace1-blue.dicom.azurehealthcareapis.com",
"eventState": "Disabled"
}
},
{
"name": "red",
"id": "/subscriptions/subid/resourceGroups/testRG/providers/Microsoft.HealthcareApis/workspaces/workspace1/dicomservices/red",
"type": "Microsoft.HealthcareApis/workspaces/dicomservices",
"properties": {
"authenticationConfiguration": {
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
"audiences": [
"https://azurehealthcareapis.com/",
"https://azurehealthcareapis.com"
]
},
"provisioningState": "Succeeded",
"serviceUrl": "https://workspace1-red.dicom.azurehealthcareapis.com",
"eventState": "Disabled"
}
}
]
}
}
}
}
Loading

0 comments on commit d0ad574

Please sign in to comment.