diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/PrivateLinkResourceGet.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/PrivateLinkResourceGet.json new file mode 100644 index 000000000000..fedfd451bf75 --- /dev/null +++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/PrivateLinkResourceGet.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2023-12-01", + "subscriptionId": "subid", + "resourceGroupName": "rgname", + "resourceName": "service1", + "groupName": "fhir" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HealthcareApis/services/service1/privateLinkResources/fhir", + "name": "fhir", + "type": "Microsoft.HealthcareApis/services/privateLinkResources", + "properties": { + "groupId": "fhir", + "requiredMembers": [ + "fhir" + ], + "requiredZoneNames": [ + "privatelink.azurehealthcareapis.com" + ] + } + } + } + } +} diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/PrivateLinkResourcesListByService.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/PrivateLinkResourcesListByService.json new file mode 100644 index 000000000000..d410c9bbdf90 --- /dev/null +++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/PrivateLinkResourcesListByService.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2023-12-01", + "subscriptionId": "subid", + "resourceGroupName": "rgname", + "resourceName": "service1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HealthcareApis/services/service1/privateLinkResources/fhir", + "name": "fhir", + "type": "Microsoft.HealthcareApis/services/privateLinkResources", + "properties": { + "groupId": "fhir", + "requiredMembers": [ + "fhir" + ], + "requiredZoneNames": [ + "privatelink.azurehealthcareapis.com" + ] + } + } + ] + } + } + } +} diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceCreate.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceCreate.json new file mode 100644 index 000000000000..cfb849278f27 --- /dev/null +++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceCreate.json @@ -0,0 +1,177 @@ +{ + "parameters": { + "resourceName": "service1", + "resourceGroupName": "rg1", + "api-version": "2023-12-01", + "subscriptionId": "subid", + "serviceDescription": { + "location": "westus2", + "tags": {}, + "kind": "fhir-R4", + "properties": { + "accessPolicies": [ + { + "objectId": "c487e7d1-3210-41a3-8ccc-e9372b78da47" + }, + { + "objectId": "5b307da8-43d4-492b-8b66-b0294ade872f" + } + ], + "cosmosDbConfiguration": { + "offerThroughput": 1000, + "keyVaultKeyUri": "https://my-vault.vault.azure.net/keys/my-key" + }, + "authenticationConfiguration": { + "authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc", + "audience": "https://azurehealthcareapis.com", + "smartProxyEnabled": true + }, + "corsConfiguration": { + "origins": [ + "*" + ], + "headers": [ + "*" + ], + "methods": [ + "DELETE", + "GET", + "OPTIONS", + "PATCH", + "POST", + "PUT" + ], + "maxAge": 1440, + "allowCredentials": false + }, + "exportConfiguration": { + "storageAccountName": "existingStorageAccount" + }, + "privateEndpointConnections": [], + "publicNetworkAccess": "Disabled" + }, + "identity": { + "type": "SystemAssigned" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HealthcareApis/services/service1", + "name": "service1", + "location": "West US 2", + "type": "Microsoft.HealthcareApis/services", + "kind": "fhir-R4", + "etag": "etagvalue", + "tags": {}, + "properties": { + "provisioningState": "Creating", + "accessPolicies": [ + { + "objectId": "c487e7d1-3210-41a3-8ccc-e9372b78da47" + }, + { + "objectId": "5b307da8-43d4-492b-8b66-b0294ade872f" + } + ], + "cosmosDbConfiguration": { + "offerThroughput": 1000, + "keyVaultKeyUri": "https://my-vault.vault.azure.net/keys/my-key" + }, + "authenticationConfiguration": { + "authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc", + "audience": "https://azurehealthcareapis.com", + "smartProxyEnabled": true + }, + "corsConfiguration": { + "origins": [ + "*" + ], + "headers": [ + "*" + ], + "methods": [ + "DELETE", + "GET", + "OPTIONS", + "PATCH", + "POST", + "PUT" + ], + "maxAge": 1440, + "allowCredentials": false + }, + "exportConfiguration": { + "storageAccountName": "existingStorageAccount" + }, + "privateEndpointConnections": [], + "publicNetworkAccess": "Disabled" + }, + "identity": { + "principalId": "03fe6ae0-952c-4e4b-954b-cc0364dd252e", + "tenantId": "72f988bf-86f1-41af-91ab-2d8cd011db47", + "type": "SystemAssigned" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HealthcareApis/services/service1", + "name": "service1", + "location": "West US 2", + "type": "Microsoft.HealthcareApis/services", + "kind": "fhir-R4", + "etag": "etagvalue", + "tags": {}, + "properties": { + "provisioningState": "Creating", + "accessPolicies": [ + { + "objectId": "c487e7d1-3210-41a3-8ccc-e9372b78da47" + }, + { + "objectId": "5b307da8-43d4-492b-8b66-b0294ade872f" + } + ], + "cosmosDbConfiguration": { + "offerThroughput": 1000 + }, + "authenticationConfiguration": { + "authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc", + "audience": "https://azurehealthcareapis.com", + "smartProxyEnabled": true + }, + "corsConfiguration": { + "origins": [ + "*" + ], + "headers": [ + "*" + ], + "methods": [ + "DELETE", + "GET", + "OPTIONS", + "PATCH", + "POST", + "PUT" + ], + "maxAge": 1440, + "allowCredentials": false + }, + "exportConfiguration": { + "storageAccountName": "existingStorageAccount" + }, + "privateEndpointConnections": [], + "publicNetworkAccess": "Disabled" + }, + "identity": { + "principalId": "03fe6ae0-952c-4e4b-954b-cc0364dd252e", + "tenantId": "72f988bf-86f1-41af-91ab-2d8cd011db47", + "type": "SystemAssigned" + } + } + } + } +} diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceCreateInDataSovereignRegionWithCmkEnabled.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceCreateInDataSovereignRegionWithCmkEnabled.json new file mode 100644 index 000000000000..06de863b474d --- /dev/null +++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceCreateInDataSovereignRegionWithCmkEnabled.json @@ -0,0 +1,179 @@ +{ + "parameters": { + "resourceName": "service1", + "resourceGroupName": "rg1", + "api-version": "2023-12-01", + "subscriptionId": "subid", + "serviceDescription": { + "location": "Southeast Asia", + "tags": {}, + "kind": "fhir-R4", + "properties": { + "accessPolicies": [ + { + "objectId": "c487e7d1-3210-41a3-8ccc-e9372b78da47" + }, + { + "objectId": "5b307da8-43d4-492b-8b66-b0294ade872f" + } + ], + "cosmosDbConfiguration": { + "offerThroughput": 1000, + "keyVaultKeyUri": "https://my-vault.vault.azure.net/keys/my-key", + "crossTenantCmkApplicationId": "de3fbeef-8c3a-428e-8b9f-4d229c8a85f4" + }, + "authenticationConfiguration": { + "authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc", + "audience": "https://azurehealthcareapis.com", + "smartProxyEnabled": true + }, + "corsConfiguration": { + "origins": [ + "*" + ], + "headers": [ + "*" + ], + "methods": [ + "DELETE", + "GET", + "OPTIONS", + "PATCH", + "POST", + "PUT" + ], + "maxAge": 1440, + "allowCredentials": false + }, + "exportConfiguration": { + "storageAccountName": "existingStorageAccount" + }, + "privateEndpointConnections": [], + "publicNetworkAccess": "Disabled" + }, + "identity": { + "type": "SystemAssigned" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HealthcareApis/services/service1", + "name": "service1", + "location": "West US 2", + "type": "Microsoft.HealthcareApis/services", + "kind": "fhir-R4", + "etag": "etagvalue", + "tags": {}, + "properties": { + "provisioningState": "Creating", + "accessPolicies": [ + { + "objectId": "c487e7d1-3210-41a3-8ccc-e9372b78da47" + }, + { + "objectId": "5b307da8-43d4-492b-8b66-b0294ade872f" + } + ], + "cosmosDbConfiguration": { + "offerThroughput": 1000, + "keyVaultKeyUri": "https://my-vault.vault.azure.net/keys/my-key", + "crossTenantCmkApplicationId": "de3fbeef-8c3a-428e-8b9f-4d229c8a85f4" + }, + "authenticationConfiguration": { + "authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc", + "audience": "https://azurehealthcareapis.com", + "smartProxyEnabled": true + }, + "corsConfiguration": { + "origins": [ + "*" + ], + "headers": [ + "*" + ], + "methods": [ + "DELETE", + "GET", + "OPTIONS", + "PATCH", + "POST", + "PUT" + ], + "maxAge": 1440, + "allowCredentials": false + }, + "exportConfiguration": { + "storageAccountName": "existingStorageAccount" + }, + "privateEndpointConnections": [], + "publicNetworkAccess": "Disabled" + }, + "identity": { + "principalId": "03fe6ae0-952c-4e4b-954b-cc0364dd252e", + "tenantId": "72f988bf-86f1-41af-91ab-2d8cd011db47", + "type": "SystemAssigned" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HealthcareApis/services/service1", + "name": "service1", + "location": "West US 2", + "type": "Microsoft.HealthcareApis/services", + "kind": "fhir-R4", + "etag": "etagvalue", + "tags": {}, + "properties": { + "provisioningState": "Creating", + "accessPolicies": [ + { + "objectId": "c487e7d1-3210-41a3-8ccc-e9372b78da47" + }, + { + "objectId": "5b307da8-43d4-492b-8b66-b0294ade872f" + } + ], + "cosmosDbConfiguration": { + "offerThroughput": 1000 + }, + "authenticationConfiguration": { + "authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc", + "audience": "https://azurehealthcareapis.com", + "smartProxyEnabled": true + }, + "corsConfiguration": { + "origins": [ + "*" + ], + "headers": [ + "*" + ], + "methods": [ + "DELETE", + "GET", + "OPTIONS", + "PATCH", + "POST", + "PUT" + ], + "maxAge": 1440, + "allowCredentials": false + }, + "exportConfiguration": { + "storageAccountName": "existingStorageAccount" + }, + "privateEndpointConnections": [], + "publicNetworkAccess": "Disabled" + }, + "identity": { + "principalId": "03fe6ae0-952c-4e4b-954b-cc0364dd252e", + "tenantId": "72f988bf-86f1-41af-91ab-2d8cd011db47", + "type": "SystemAssigned" + } + } + } + } +} diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceCreateMinimum.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceCreateMinimum.json new file mode 100644 index 000000000000..b20c236dbdd2 --- /dev/null +++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceCreateMinimum.json @@ -0,0 +1,95 @@ +{ + "parameters": { + "resourceName": "service2", + "resourceGroupName": "rg1", + "api-version": "2023-12-01", + "subscriptionId": "subid", + "serviceDescription": { + "location": "westus2", + "tags": {}, + "kind": "fhir-R4", + "properties": { + "accessPolicies": [ + { + "objectId": "c487e7d1-3210-41a3-8ccc-e9372b78da47" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HealthcareApis/services/service2", + "name": "service2", + "type": "Microsoft.HealthcareApis/services", + "etag": "etagvalue", + "location": "westus2", + "kind": "fhir-R4", + "tags": {}, + "properties": { + "accessPolicies": [ + { + "objectId": "c487e7d1-3210-41a3-8ccc-e9372b78da47" + } + ], + "cosmosDbConfiguration": { + "offerThroughput": 1000 + }, + "authenticationConfiguration": { + "authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc", + "audience": "https://azurehealthcareapis.com", + "smartProxyEnabled": false + }, + "corsConfiguration": { + "origins": [], + "headers": [], + "methods": [], + "maxAge": null, + "allowCredentials": false + }, + "provisioningState": "Creating", + "privateEndpointConnections": [], + "publicNetworkAccess": "Disabled" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HealthcareApis/services/service2", + "name": "service2", + "type": "Microsoft.HealthcareApis/services", + "etag": "etagvalue", + "location": "westus2", + "kind": "fhir-R4", + "tags": {}, + "properties": { + "accessPolicies": [ + { + "objectId": "c487e7d1-3210-41a3-8ccc-e9372b78da47" + } + ], + "cosmosDbConfiguration": { + "offerThroughput": 1000, + "keyVaultKeyUri": null + }, + "authenticationConfiguration": { + "authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc", + "audience": "https://azurehealthcareapis.com", + "smartProxyEnabled": false + }, + "corsConfiguration": { + "origins": [], + "headers": [], + "methods": [], + "maxAge": null, + "allowCredentials": false + }, + "provisioningState": "Creating", + "privateEndpointConnections": [], + "publicNetworkAccess": "Disabled" + } + } + } + } +} diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceCreatePrivateEndpointConnection.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceCreatePrivateEndpointConnection.json new file mode 100644 index 000000000000..f3f7c0b3106a --- /dev/null +++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceCreatePrivateEndpointConnection.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2023-12-01", + "subscriptionId": "subid", + "resourceGroupName": "rgname", + "resourceName": "service1", + "privateEndpointConnectionName": "myConnection", + "properties": { + "properties": { + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved" + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HealthcareApis/services/service1/privateEndpointConnections/myConnection", + "name": "myConnection", + "type": "Microsoft.HealthcareApis/services/privateEndpointConnections", + "properties": { + "provisioningState": "Succeeded", + "privateEndpoint": { + "id": "/subscriptions/c80fb759-c965-4c6a-9110-9b2b2d038882/resourceGroups/myResourceGroup/providers/Microsoft.Network/privateEndpoints/peexample01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + } + } +} diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceDelete.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceDelete.json new file mode 100644 index 000000000000..a229952801fc --- /dev/null +++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceDelete.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "resourceName": "service1", + "resourceGroupName": "rg1", + "api-version": "2023-12-01", + "subscriptionId": "subid" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/locations/westus/operationresults/f7eb8g4f1ncj3jgk6bg8jlqf8?api-version=2023-12-01" + } + }, + "204": {} + } +} diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceDeletePrivateEndpointConnection.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceDeletePrivateEndpointConnection.json new file mode 100644 index 000000000000..863ab5e0ab58 --- /dev/null +++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceDeletePrivateEndpointConnection.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2023-12-01", + "subscriptionId": "subid", + "resourceGroupName": "rgname", + "resourceName": "service1", + "privateEndpointConnectionName": "myConnection" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/locations/westus/operationresults/f7eb8g4f1ncj3jgk6bg8jlqf8?api-version=2023-12-01" + } + }, + "204": {} + } +} diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceGet.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceGet.json new file mode 100644 index 000000000000..e29082504d77 --- /dev/null +++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceGet.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "resourceName": "service1", + "resourceGroupName": "rg1", + "api-version": "2023-12-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HealthcareApis/services/service1", + "name": "service1", + "location": "West US", + "type": "Microsoft.HealthcareApis/services", + "kind": "fhir-R4", + "etag": "etagvalue", + "tags": {}, + "properties": { + "provisioningState": "Creating", + "accessPolicies": [ + { + "objectId": "c487e7d1-3210-41a3-8ccc-e9372b78da47" + }, + { + "objectId": "5b307da8-43d4-492b-8b66-b0294ade872f" + } + ], + "cosmosDbConfiguration": { + "offerThroughput": 1000, + "keyVaultKeyUri": "https://my-vault.vault.azure.net/keys/my-key" + }, + "authenticationConfiguration": { + "authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc", + "audience": "https://azurehealthcareapis.com", + "smartProxyEnabled": true + }, + "corsConfiguration": { + "origins": [ + "*" + ], + "headers": [ + "*" + ], + "methods": [ + "DELETE", + "GET", + "OPTIONS", + "PATCH", + "POST", + "PUT" + ], + "maxAge": 1440, + "allowCredentials": false + }, + "privateEndpointConnections": [], + "publicNetworkAccess": "Disabled" + } + } + } + } +} diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceGetInDataSovereignRegionWithCmkEnabled.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceGetInDataSovereignRegionWithCmkEnabled.json new file mode 100644 index 000000000000..6500da0b9a40 --- /dev/null +++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceGetInDataSovereignRegionWithCmkEnabled.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "resourceName": "service1", + "resourceGroupName": "rg1", + "api-version": "2023-12-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HealthcareApis/services/service1", + "name": "service1", + "location": "Southeast Asia", + "type": "Microsoft.HealthcareApis/services", + "kind": "fhir-R4", + "etag": "etagvalue", + "tags": {}, + "properties": { + "provisioningState": "Creating", + "accessPolicies": [ + { + "objectId": "c487e7d1-3210-41a3-8ccc-e9372b78da47" + }, + { + "objectId": "5b307da8-43d4-492b-8b66-b0294ade872f" + } + ], + "cosmosDbConfiguration": { + "offerThroughput": 1000, + "keyVaultKeyUri": "https://my-vault.vault.azure.net/keys/my-key", + "crossTenantCmkApplicationId": null + }, + "authenticationConfiguration": { + "authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc", + "audience": "https://azurehealthcareapis.com", + "smartProxyEnabled": true + }, + "corsConfiguration": { + "origins": [ + "*" + ], + "headers": [ + "*" + ], + "methods": [ + "DELETE", + "GET", + "OPTIONS", + "PATCH", + "POST", + "PUT" + ], + "maxAge": 1440, + "allowCredentials": false + }, + "privateEndpointConnections": [], + "publicNetworkAccess": "Disabled" + } + } + } + } +} diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceGetPrivateEndpointConnection.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceGetPrivateEndpointConnection.json new file mode 100644 index 000000000000..9b69aae08d27 --- /dev/null +++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceGetPrivateEndpointConnection.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2023-12-01", + "subscriptionId": "subid", + "resourceGroupName": "rgname", + "resourceName": "service1", + "privateEndpointConnectionName": "myConnection" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HealthcareApis/services/service1/privateEndpointConnections/myConnection", + "name": "myConnection", + "type": "Microsoft.HealthcareApis/services/privateEndpointConnections", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/peexample01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + } + } +} diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceList.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceList.json new file mode 100644 index 000000000000..8c815e18cde7 --- /dev/null +++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceList.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2023-12-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HealthcareApis/services/service1", + "name": "service1", + "location": "West US", + "type": "Microsoft.HealthcareApis/services", + "kind": "fhir-R4", + "etag": "etag", + "tags": {}, + "properties": { + "provisioningState": "Creating", + "accessPolicies": [ + { + "objectId": "c487e7d1-3210-41a3-8ccc-e9372b78da47" + }, + { + "objectId": "5b307da8-43d4-492b-8b66-b0294ade872f" + } + ], + "cosmosDbConfiguration": { + "offerThroughput": 1000, + "keyVaultKeyUri": "https://my-vault.vault.azure.net/keys/my-key" + }, + "authenticationConfiguration": { + "authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc", + "audience": "https://azurehealthcareapis.com", + "smartProxyEnabled": true + }, + "corsConfiguration": { + "origins": [ + "*" + ], + "headers": [ + "*" + ], + "methods": [ + "DELETE", + "GET", + "OPTIONS", + "PATCH", + "POST", + "PUT" + ], + "maxAge": 1440, + "allowCredentials": false + }, + "privateEndpointConnections": [], + "publicNetworkAccess": "Disabled" + } + } + ], + "nextLink": "https://host/subscriptions/subid/providers/Microsoft.HealthcareApis/services?api-version=2018-08-20-preview&%24skipToken=e30%3d" + } + } + } +} diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceListByResourceGroup.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceListByResourceGroup.json new file mode 100644 index 000000000000..972e6c495bac --- /dev/null +++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceListByResourceGroup.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2023-12-01", + "subscriptionId": "subid", + "resourceGroupName": "rgname" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HealthcareApis/services/dddb8dcb-effb-4290-bb47-ce1e8440c729", + "name": "service1", + "location": "westus", + "type": "Microsoft.HealthcareApis/services", + "kind": "fhir-R4", + "tags": {}, + "etag": "etagvalue", + "properties": { + "provisioningState": "Creating", + "accessPolicies": [ + { + "objectId": "c487e7d1-3210-41a3-8ccc-e9372b78da47" + }, + { + "objectId": "5b307da8-43d4-492b-8b66-b0294ade872f" + } + ], + "cosmosDbConfiguration": { + "offerThroughput": 1000, + "keyVaultKeyUri": "https://my-vault.vault.azure.net/keys/my-key" + }, + "authenticationConfiguration": { + "authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc", + "audience": "https://azurehealthcareapis.com", + "smartProxyEnabled": true + }, + "corsConfiguration": { + "origins": [ + "*" + ], + "headers": [ + "*" + ], + "methods": [ + "DELETE", + "GET", + "OPTIONS", + "PATCH", + "POST", + "PUT" + ], + "maxAge": 1440, + "allowCredentials": false + }, + "privateEndpointConnections": [], + "publicNetworkAccess": "Disabled" + } + } + ], + "nextLink": "https://host/subscriptions/subid/resourceGroups/rgname/providers/Microsoft.HealthcareApis/services?api-version=2018-08-20-preview&%24skipToken=e30%3d" + } + } + } +} diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceListPrivateEndpointConnections.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceListPrivateEndpointConnections.json new file mode 100644 index 000000000000..dcfc4d4eb7f4 --- /dev/null +++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServiceListPrivateEndpointConnections.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2023-12-01", + "subscriptionId": "subid", + "resourceGroupName": "rgname", + "resourceName": "service1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HealthcareApis/services/service1/privateEndpointConnections/myConnection", + "name": "myConnection", + "type": "Microsoft.HealthcareApis/services/privateEndpointConnections", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/peexample01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + } + } + ] + } + } + } +} diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServicePatch.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServicePatch.json new file mode 100644 index 000000000000..c140087e606c --- /dev/null +++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/examples/legacy/ServicePatch.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "resourceName": "service1", + "resourceGroupName": "rg1", + "api-version": "2023-12-01", + "subscriptionId": "subid", + "servicePatchDescription": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HealthcareApis/services/service1", + "name": "service1", + "location": "West US", + "type": "Microsoft.HealthcareApis/services", + "kind": "fhir-R4", + "etag": "etagvalue", + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "properties": { + "provisioningState": "Creating", + "accessPolicies": [ + { + "objectId": "c487e7d1-3210-41a3-8ccc-e9372b78da47" + }, + { + "objectId": "5b307da8-43d4-492b-8b66-b0294ade872f" + } + ], + "cosmosDbConfiguration": { + "offerThroughput": 1000, + "keyVaultKeyUri": "https://my-vault.vault.azure.net/keys/my-key" + }, + "authenticationConfiguration": { + "authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc", + "audience": "https://azurehealthcareapis.com", + "smartProxyEnabled": true + }, + "corsConfiguration": { + "origins": [ + "*" + ], + "headers": [ + "*" + ], + "methods": [ + "DELETE", + "GET", + "OPTIONS", + "PATCH", + "POST", + "PUT" + ], + "maxAge": 1440, + "allowCredentials": false + }, + "privateEndpointConnections": [], + "publicNetworkAccess": "Disabled" + } + } + } + } +} diff --git a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/healthcare-apis.json b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/healthcare-apis.json index 9e5a538315da..75794720c665 100644 --- a/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/healthcare-apis.json +++ b/specification/healthcareapis/resource-manager/Microsoft.HealthcareApis/stable/2023-12-01/healthcare-apis.json @@ -34,100 +34,19 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/checkNameAvailability": { - "post": { - "tags": [ - "Proxy" - ], - "description": "Check if a service instance name is available.", - "operationId": "Services_CheckNameAvailability", - "x-ms-examples": { - "Check name availability": { - "$ref": "./examples/CheckNameAvailabilityPost.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "name": "checkNameAvailabilityInputs", - "in": "body", - "description": "Set the name parameter in the CheckNameAvailabilityParameters structure to the name of the service instance to check.", - "required": true, - "schema": { - "$ref": "#/definitions/CheckNameAvailabilityParameters" - } - } - ], - "responses": { - "200": { - "description": "This is a synchronous operation. The body contains a JSON-serialized response that specifies whether the service name is available. If the name is not available, the body contains the reason.", - "schema": { - "$ref": "#/definitions/ServicesNameAvailabilityInfo" - } - }, - "default": { - "description": "DefaultErrorResponse", - "schema": { - "$ref": "#/definitions/ErrorDetails" - } - } - } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/workspaces": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}": { "get": { "tags": [ - "Workspaces" + "Resource" ], - "description": "Lists all the available workspaces under the specified subscription.", - "operationId": "Workspaces_ListBySubscription", + "description": "Get the metadata of a service instance.", + "operationId": "Services_Get", "x-ms-examples": { - "Get workspaces by subscription": { - "$ref": "./examples/workspaces/Workspaces_ListBySubscription.json" - } - }, - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the workspaces in the subscription.", - "schema": { - "$ref": "#/definitions/WorkspaceList" - } + "Get metadata": { + "$ref": "./examples/legacy/ServiceGet.json" }, - "default": { - "description": "Error response describing why the operation failed", - "schema": { - "$ref": "#/definitions/ErrorDetails" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces": { - "get": { - "tags": [ - "Workspaces" - ], - "description": "Lists all the available workspaces under the specified resource group.", - "operationId": "Workspaces_ListByResourceGroup", - "x-ms-examples": { - "Get workspaces by resource group": { - "$ref": "./examples/workspaces/Workspaces_ListByResourceGroup.json" + "Get metadata for CMK enabled service in data sovereign region": { + "$ref": "./examples/legacy/ServiceGetInDataSovereignRegionWithCmkEnabled.json" } }, "parameters": [ @@ -139,62 +58,20 @@ }, { "$ref": "#/parameters/resourceGroupName" - } - ], - "responses": { - "200": { - "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the workspaces in the resource group.", - "schema": { - "$ref": "#/definitions/WorkspaceList" - } - }, - "default": { - "description": "Error response describing why the operation failed", - "schema": { - "$ref": "#/definitions/ErrorDetails" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}": { - "get": { - "tags": [ - "Workspaces" - ], - "description": "Gets the properties of the specified workspace.", - "operationId": "Workspaces_Get", - "x-ms-examples": { - "Get workspace": { - "$ref": "./examples/workspaces/Workspaces_Get.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/workspaceName" + "$ref": "#/parameters/resourceName" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "The body contains all of the properties of the service instance.", "schema": { - "$ref": "#/definitions/Workspace" + "$ref": "#/definitions/ServicesDescription" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "Default error response", "schema": { "$ref": "#/definitions/ErrorDetails" } @@ -203,20 +80,23 @@ }, "put": { "tags": [ - "Workspaces" + "Resource" ], - "description": "Creates or updates a workspace resource with the specified parameters.", - "operationId": "Workspaces_CreateOrUpdate", - "x-ms-long-running-operation": true, + "description": "Create or update the metadata of a service instance.", + "operationId": "Services_CreateOrUpdate", "x-ms-examples": { - "Create or update a workspace": { - "$ref": "./examples/workspaces/Workspaces_Create.json" + "Create or Update a service with all parameters": { + "$ref": "./examples/legacy/ServiceCreate.json" + }, + "Create or Update a service with minimum parameters": { + "$ref": "./examples/legacy/ServiceCreateMinimum.json" + }, + "Create or Update a service with all parameters and CMK enabled in a data sovereign region": { + "$ref": "./examples/legacy/ServiceCreateInDataSovereignRegionWithCmkEnabled.json" } }, + "x-ms-long-running-operation": true, "parameters": [ - { - "$ref": "#/parameters/resourceGroupName" - }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, @@ -224,39 +104,36 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/workspaceName" + "$ref": "#/parameters/resourceGroupName" }, { - "name": "workspace", - "description": "The parameters for creating or updating a healthcare workspace.", + "$ref": "#/parameters/resourceName" + }, + { + "name": "serviceDescription", "in": "body", + "description": "The service instance metadata.", "required": true, "schema": { - "$ref": "#/definitions/Workspace" + "$ref": "#/definitions/ServicesDescription" } } ], "responses": { "200": { - "description": "Updated - Put request accepted and an existing resource is updated.", + "description": "Updated - Put request accepted and an existing resource is being updated; the operation will complete asynchronously.", "schema": { - "$ref": "#/definitions/Workspace" + "$ref": "#/definitions/ServicesDescription" } }, "201": { - "description": "Created - Put request accepted and an existing resource is being created asynchronously.", - "schema": { - "$ref": "#/definitions/Workspace" - } - }, - "202": { - "description": "Accepted - Put request accepted and an existing resource is being updated asynchronously.", + "description": "Created - Put request accepted and a new resource was created; the operation will complete asynchronously.", "schema": { - "$ref": "#/definitions/Workspace" + "$ref": "#/definitions/ServicesDescription" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "DefaultErrorResponse", "schema": { "$ref": "#/definitions/ErrorDetails" } @@ -265,20 +142,17 @@ }, "patch": { "tags": [ - "Workspaces" + "Resource" ], - "description": "Patch workspace details.", - "operationId": "Workspaces_Update", - "x-ms-long-running-operation": true, + "description": "Update the metadata of a service instance.", + "operationId": "Services_Update", "x-ms-examples": { - "Update a workspace": { - "$ref": "./examples/workspaces/Workspaces_Patch.json" + "Patch service": { + "$ref": "./examples/legacy/ServicePatch.json" } }, + "x-ms-long-running-operation": true, "parameters": [ - { - "$ref": "#/parameters/resourceGroupName" - }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, @@ -286,33 +160,30 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/workspaceName" + "$ref": "#/parameters/resourceGroupName" }, { - "name": "workspacePatchResource", - "description": "The parameters for updating a specified workspace.", + "$ref": "#/parameters/resourceName" + }, + { + "name": "servicePatchDescription", "in": "body", + "description": "The service instance metadata and security metadata.", "required": true, "schema": { - "$ref": "#/definitions/WorkspacePatchResource" + "$ref": "#/definitions/ServicesPatchDescription" } } ], "responses": { "200": { - "description": "Updated - Patch request accepted and an existing resource is updated.", - "schema": { - "$ref": "#/definitions/Workspace" - } - }, - "202": { - "description": "Accepted - Patch request accepted and an existing resource is being updated asynchronously.", + "description": "The tags for the resource were updated successfully.", "schema": { - "$ref": "#/definitions/Workspace" + "$ref": "#/definitions/ServicesDescription" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "DefaultErrorResponse", "schema": { "$ref": "#/definitions/ErrorDetails" } @@ -321,16 +192,16 @@ }, "delete": { "tags": [ - "Workspaces" + "Resource" ], - "description": "Deletes a specified workspace.", - "operationId": "Workspaces_Delete", - "x-ms-long-running-operation": true, + "description": "Delete a service instance.", + "operationId": "Services_Delete", "x-ms-examples": { - "Delete a workspace": { - "$ref": "./examples/workspaces/Workspaces_Delete.json" + "Delete service": { + "$ref": "./examples/legacy/ServiceDelete.json" } }, + "x-ms-long-running-operation": true, "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -342,89 +213,80 @@ "$ref": "#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/workspaceName" + "$ref": "#/parameters/resourceName" } ], "responses": { - "200": { - "description": "Resource deleted." - }, "202": { - "description": "Delete request accepted; the operation will complete asynchronously." + "description": "Accepted - Delete request accepted; the operation will complete asynchronously." }, "204": { "description": "The resource does not exist." }, "default": { - "description": "Error response describing why the operation failed", + "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/Error" + "$ref": "#/definitions/ErrorDetails" } } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/dicomservices": { + "/subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/services": { "get": { "tags": [ - "DicomServices" + "Collection" ], - "description": "Lists all DICOM Services for the given workspace", - "operationId": "DicomServices_ListByWorkspace", + "description": "Get all the service instances in a subscription.", + "operationId": "Services_List", "x-ms-examples": { - "List dicomservices": { - "$ref": "./examples/dicomservices/DicomServices_List.json" + "List all services in subscription": { + "$ref": "./examples/legacy/ServiceList.json" } }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, "parameters": [ - { - "$ref": "#/parameters/resourceGroupName" - }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "#/parameters/workspaceName" } ], "responses": { "200": { - "description": "List of DICOM Services.", + "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the service instances in the subscription.", "schema": { - "$ref": "#/definitions/DicomServiceCollection" + "$ref": "#/definitions/ServicesDescriptionListResult" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "DefaultErrorResponse", "schema": { "$ref": "#/definitions/ErrorDetails" } } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/dicomservices/{dicomServiceName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services": { "get": { "tags": [ - "DicomServices" + "Collection" ], - "description": "Gets the properties of the specified DICOM Service.", - "operationId": "DicomServices_Get", + "description": "Get all the service instances in a resource group.", + "operationId": "Services_ListByResourceGroup", "x-ms-examples": { - "Get a dicomservice": { - "$ref": "./examples/dicomservices/DicomServices_Get.json" + "List all services in resource group": { + "$ref": "./examples/legacy/ServiceListByResourceGroup.json" } }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, "parameters": [ - { - "$ref": "#/parameters/resourceGroupName" - }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, @@ -432,43 +294,38 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/workspaceName" - }, - { - "$ref": "#/parameters/dicomServiceName" + "$ref": "#/parameters/resourceGroupName" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the service instances in the resource group.", "schema": { - "$ref": "#/definitions/DicomService" + "$ref": "#/definitions/ServicesDescriptionListResult" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "DefaultErrorResponse", "schema": { "$ref": "#/definitions/ErrorDetails" } } } - }, - "put": { - "tags": [ - "DicomServices" + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/checkNameAvailability": { + "post": { + "tags": [ + "Proxy" ], - "description": "Creates or updates a DICOM Service resource with the specified parameters.", - "operationId": "DicomServices_CreateOrUpdate", - "x-ms-long-running-operation": true, + "description": "Check if a service instance name is available.", + "operationId": "Services_CheckNameAvailability", "x-ms-examples": { - "Create or update a Dicom Service": { - "$ref": "./examples/dicomservices/DicomServices_Create.json" + "Check name availability": { + "$ref": "./examples/CheckNameAvailabilityPost.json" } }, "parameters": [ - { - "$ref": "#/parameters/resourceGroupName" - }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, @@ -476,123 +333,180 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/workspaceName" - }, - { - "$ref": "#/parameters/dicomServiceName" - }, - { - "name": "dicomservice", - "description": "The parameters for creating or updating a Dicom Service resource.", + "name": "checkNameAvailabilityInputs", "in": "body", + "description": "Set the name parameter in the CheckNameAvailabilityParameters structure to the name of the service instance to check.", "required": true, "schema": { - "$ref": "#/definitions/DicomService" + "$ref": "#/definitions/CheckNameAvailabilityParameters" } } ], "responses": { "200": { - "description": "Updated - Put request accepted and an existing resource is updated.", + "description": "This is a synchronous operation. The body contains a JSON-serialized response that specifies whether the service name is available. If the name is not available, the body contains the reason.", "schema": { - "$ref": "#/definitions/DicomService" + "$ref": "#/definitions/ServicesNameAvailabilityInfo" } }, - "201": { - "description": "Created - Put request accepted and an existing resource is being created asynchronously.", + "default": { + "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/DicomService" + "$ref": "#/definitions/ErrorDetails" } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}/privateEndpointConnections": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_ListByService", + "description": "Lists all private endpoint connections for a service.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, - "202": { - "description": "Accepted - Put request accepted and an existing resource is being updated asynchronously.", + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/DicomService" + "$ref": "#/definitions/PrivateEndpointConnectionListResultDescription" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "DefaultErrorResponse", "schema": { "$ref": "#/definitions/ErrorDetails" } } - } - }, - "patch": { - "tags": [ - "DicomServices" - ], - "description": "Patch DICOM Service details.", - "operationId": "DicomServices_Update", - "x-ms-long-running-operation": true, + }, "x-ms-examples": { - "Update a dicomservice": { - "$ref": "./examples/dicomservices/DicomServices_Patch.json" + "PrivateEndpointConnection_List": { + "$ref": "./examples/legacy/ServiceListPrivateEndpointConnections.json" } }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_Get", + "description": "Gets the specified private endpoint connection associated with the service.", "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, { "$ref": "#/parameters/resourceGroupName" }, + { + "$ref": "#/parameters/resourceName" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, + { + "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionDescription" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnection_GetConnection": { + "$ref": "./examples/legacy/ServiceGetPrivateEndpointConnection.json" + } + } + }, + "put": { + "tags": [ + "PrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "description": "Update the state of the specified private endpoint connection associated with the service.", + "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/dicomServiceName" + "$ref": "#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/workspaceName" + "$ref": "#/parameters/resourceName" }, { - "name": "dicomservicePatchResource", - "description": "The parameters for updating a Dicom Service.", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" + }, + { + "name": "properties", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/DicomServicePatchResource" - } + "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnection" + }, + "description": "The private endpoint connection properties." } ], "responses": { "200": { - "description": "Updated - Patch request accepted and an existing resource is updated.", - "schema": { - "$ref": "#/definitions/DicomService" - } - }, - "202": { - "description": "Accepted - Patch request accepted and an existing resource is being updated asynchronously.", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/DicomService" + "$ref": "#/definitions/PrivateEndpointConnectionDescription" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "DefaultErrorResponse", "schema": { "$ref": "#/definitions/ErrorDetails" } } - } + }, + "x-ms-examples": { + "PrivateEndpointConnection_CreateOrUpdate": { + "$ref": "./examples/legacy/ServiceCreatePrivateEndpointConnection.json" + } + }, + "x-ms-long-running-operation": true }, "delete": { "tags": [ - "DicomServices" + "PrivateEndpointConnections" ], - "description": "Deletes a DICOM Service.", - "operationId": "DicomServices_Delete", - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Delete a dicomservice": { - "$ref": "./examples/dicomservices/DicomServices_Delete.json" - } - }, + "description": "Deletes a private endpoint connection.", + "operationId": "PrivateEndpointConnections_Delete", "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" - }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, @@ -600,130 +514,222 @@ "$ref": "#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/dicomServiceName" + "$ref": "#/parameters/resourceName" }, { - "$ref": "#/parameters/workspaceName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" } ], "responses": { "200": { - "description": "Resource deleted." + "description": "The request was successful; the request was well-formed and received properly." }, "202": { - "description": "Delete request accepted; the operation will complete asynchronously." + "description": "The request was successful; the operation will complete asynchronously." }, "204": { - "description": "The resource does not exist." + "description": "No Content - The private endpoint connection does not exist." }, "default": { - "description": "Error response describing why the operation failed", + "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/Error" + "$ref": "#/definitions/ErrorDetails" } } - } + }, + "x-ms-examples": { + "PrivateEndpointConnections_Delete": { + "$ref": "./examples/legacy/ServiceDeletePrivateEndpointConnection.json" + } + }, + "x-ms-long-running-operation": true } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/iotconnectors": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}/privateLinkResources": { "get": { "tags": [ - "IotConnectors" + "PrivateLinkResources" ], - "description": "Lists all IoT Connectors for the given workspace", - "operationId": "IotConnectors_ListByWorkspace", - "x-ms-examples": { - "List iotconnectors": { - "$ref": "./examples/iotconnectors/iotconnector_List.json" - } - }, + "operationId": "PrivateLinkResources_ListByService", + "description": "Gets the private link resources that need to be created for a service.", "parameters": [ { - "$ref": "#/parameters/resourceGroupName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "#/parameters/resourceGroupName" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "#/parameters/resourceName" }, { - "$ref": "#/parameters/workspaceName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { - "description": "List of IoT Connectors.", + "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/IotConnectorCollection" + "$ref": "#/definitions/PrivateLinkResourceListResultDescription" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "DefaultErrorResponse", "schema": { "$ref": "#/definitions/ErrorDetails" } } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" + "x-ms-examples": { + "PrivateLinkResources_ListGroupIds": { + "$ref": "./examples/legacy/PrivateLinkResourcesListByService.json" + } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/iotconnectors/{iotConnectorName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}/privateLinkResources/{groupName}": { "get": { "tags": [ - "IotConnectors" + "PrivateLinkResources" ], - "description": "Gets the properties of the specified IoT Connector.", - "operationId": "IotConnectors_Get", - "x-ms-examples": { - "Get an IoT Connector": { - "$ref": "./examples/iotconnectors/iotconnector_Get.json" - } - }, + "operationId": "PrivateLinkResources_Get", + "description": "Gets a private link resource that need to be created for a service.", "parameters": [ { - "$ref": "#/parameters/resourceGroupName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "#/parameters/resourceGroupName" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "#/parameters/resourceName" }, { - "$ref": "#/parameters/workspaceName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/iotConnectorName" + "name": "groupName", + "in": "path", + "description": "The name of the private link resource group.", + "required": true, + "type": "string" } ], "responses": { "200": { "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/IotConnector" + "$ref": "#/definitions/PrivateLinkResourceDescription" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "DefaultErrorResponse", "schema": { "$ref": "#/definitions/ErrorDetails" } } + }, + "x-ms-examples": { + "PrivateLinkResources_Get": { + "$ref": "./examples/legacy/PrivateLinkResourceGet.json" + } } - }, - "put": { + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/workspaces": { + "get": { "tags": [ - "IotConnectors" + "Workspaces" ], - "description": "Creates or updates an IoT Connector resource with the specified parameters.", - "operationId": "IotConnectors_CreateOrUpdate", - "x-ms-long-running-operation": true, - "x-ms-examples": { - "Create an IoT Connector": { - "$ref": "./examples/iotconnectors/iotconnector_Create.json" + "description": "Lists all the available workspaces under the specified subscription.", + "operationId": "Workspaces_ListBySubscription", + "x-ms-examples": { + "Get workspaces by subscription": { + "$ref": "./examples/workspaces/Workspaces_ListBySubscription.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the workspaces in the subscription.", + "schema": { + "$ref": "#/definitions/WorkspaceList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces": { + "get": { + "tags": [ + "Workspaces" + ], + "description": "Lists all the available workspaces under the specified resource group.", + "operationId": "Workspaces_ListByResourceGroup", + "x-ms-examples": { + "Get workspaces by resource group": { + "$ref": "./examples/workspaces/Workspaces_ListByResourceGroup.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupName" + } + ], + "responses": { + "200": { + "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the workspaces in the resource group.", + "schema": { + "$ref": "#/definitions/WorkspaceList" + } + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}": { + "get": { + "tags": [ + "Workspaces" + ], + "description": "Gets the properties of the specified workspace.", + "operationId": "Workspaces_Get", + "x-ms-examples": { + "Get workspace": { + "$ref": "./examples/workspaces/Workspaces_Get.json" } }, "parameters": [ @@ -738,17 +744,55 @@ }, { "$ref": "#/parameters/workspaceName" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/Workspace" + } }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + } + }, + "put": { + "tags": [ + "Workspaces" + ], + "description": "Creates or updates a workspace resource with the specified parameters.", + "operationId": "Workspaces_CreateOrUpdate", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create or update a workspace": { + "$ref": "./examples/workspaces/Workspaces_Create.json" + } + }, + "parameters": [ { - "$ref": "#/parameters/iotConnectorName" + "$ref": "#/parameters/resourceGroupName" }, { - "name": "iotConnector", - "description": "The parameters for creating or updating an IoT Connectors resource.", + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/workspaceName" + }, + { + "name": "workspace", + "description": "The parameters for creating or updating a healthcare workspace.", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/IotConnector" + "$ref": "#/definitions/Workspace" } } ], @@ -756,23 +800,23 @@ "200": { "description": "Updated - Put request accepted and an existing resource is updated.", "schema": { - "$ref": "#/definitions/IotConnector" + "$ref": "#/definitions/Workspace" } }, "201": { "description": "Created - Put request accepted and an existing resource is being created asynchronously.", "schema": { - "$ref": "#/definitions/IotConnector" + "$ref": "#/definitions/Workspace" } }, "202": { "description": "Accepted - Put request accepted and an existing resource is being updated asynchronously.", "schema": { - "$ref": "#/definitions/IotConnector" + "$ref": "#/definitions/Workspace" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "Error response describing why the operation failed", "schema": { "$ref": "#/definitions/ErrorDetails" } @@ -781,14 +825,14 @@ }, "patch": { "tags": [ - "IotConnectors" + "Workspaces" ], - "description": "Patch an IoT Connector.", - "operationId": "IotConnectors_Update", + "description": "Patch workspace details.", + "operationId": "Workspaces_Update", "x-ms-long-running-operation": true, "x-ms-examples": { - "Patch an IoT Connector": { - "$ref": "./examples/iotconnectors/iotconnector_Patch.json" + "Update a workspace": { + "$ref": "./examples/workspaces/Workspaces_Patch.json" } }, "parameters": [ @@ -801,19 +845,16 @@ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, - { - "$ref": "#/parameters/iotConnectorName" - }, { "$ref": "#/parameters/workspaceName" }, { - "name": "iotConnectorPatchResource", - "description": "The parameters for updating an IoT Connector.", + "name": "workspacePatchResource", + "description": "The parameters for updating a specified workspace.", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/IotConnectorPatchResource" + "$ref": "#/definitions/WorkspacePatchResource" } } ], @@ -821,17 +862,17 @@ "200": { "description": "Updated - Patch request accepted and an existing resource is updated.", "schema": { - "$ref": "#/definitions/IotConnector" + "$ref": "#/definitions/Workspace" } }, "202": { "description": "Accepted - Patch request accepted and an existing resource is being updated asynchronously.", "schema": { - "$ref": "#/definitions/IotConnector" + "$ref": "#/definitions/Workspace" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "Error response describing why the operation failed", "schema": { "$ref": "#/definitions/ErrorDetails" } @@ -840,14 +881,14 @@ }, "delete": { "tags": [ - "IotConnectors" + "Workspaces" ], - "description": "Deletes an IoT Connector.", - "operationId": "IotConnectors_Delete", + "description": "Deletes a specified workspace.", + "operationId": "Workspaces_Delete", "x-ms-long-running-operation": true, "x-ms-examples": { - "Delete an IoT Connector": { - "$ref": "./examples/iotconnectors/iotconnector_Delete.json" + "Delete a workspace": { + "$ref": "./examples/workspaces/Workspaces_Delete.json" } }, "parameters": [ @@ -860,9 +901,6 @@ { "$ref": "#/parameters/resourceGroupName" }, - { - "$ref": "#/parameters/iotConnectorName" - }, { "$ref": "#/parameters/workspaceName" } @@ -878,7 +916,7 @@ "description": "The resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "Error response describing why the operation failed", "schema": { "$ref": "#/definitions/Error" } @@ -886,16 +924,16 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/iotconnectors/{iotConnectorName}/fhirdestinations": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/dicomservices": { "get": { "tags": [ - "IotConnectors" + "DicomServices" ], - "description": "Lists all FHIR destinations for the given IoT Connector", - "operationId": "FhirDestinations_ListByIotConnector", + "description": "Lists all DICOM Services for the given workspace", + "operationId": "DicomServices_ListByWorkspace", "x-ms-examples": { - "List IoT Connectors": { - "$ref": "./examples/iotconnectors/iotconnector_fhirdestination_List.json" + "List dicomservices": { + "$ref": "./examples/dicomservices/DicomServices_List.json" } }, "parameters": [ @@ -910,16 +948,13 @@ }, { "$ref": "#/parameters/workspaceName" - }, - { - "$ref": "#/parameters/iotConnectorName" } ], "responses": { "200": { - "description": "List of IoT Connector FHIR destinations.", + "description": "List of DICOM Services.", "schema": { - "$ref": "#/definitions/IotFhirDestinationCollection" + "$ref": "#/definitions/DicomServiceCollection" } }, "default": { @@ -934,16 +969,16 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/iotconnectors/{iotConnectorName}/fhirdestinations/{fhirDestinationName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/dicomservices/{dicomServiceName}": { "get": { "tags": [ - "IotConnectors" + "DicomServices" ], - "description": "Gets the properties of the specified Iot Connector FHIR destination.", - "operationId": "IotConnectorFhirDestination_Get", + "description": "Gets the properties of the specified DICOM Service.", + "operationId": "DicomServices_Get", "x-ms-examples": { - "Get an IoT Connector destination": { - "$ref": "./examples/iotconnectors/iotconnector_fhirdestination_Get.json" + "Get a dicomservice": { + "$ref": "./examples/dicomservices/DicomServices_Get.json" } }, "parameters": [ @@ -960,21 +995,18 @@ "$ref": "#/parameters/workspaceName" }, { - "$ref": "#/parameters/iotConnectorName" - }, - { - "$ref": "#/parameters/fhirDestinationName" + "$ref": "#/parameters/dicomServiceName" } ], "responses": { "200": { "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/IotFhirDestination" + "$ref": "#/definitions/DicomService" } }, "default": { - "description": "Error response describing why the operation failed.", + "description": "Error response describing why the operation failed", "schema": { "$ref": "#/definitions/ErrorDetails" } @@ -983,14 +1015,14 @@ }, "put": { "tags": [ - "IotConnectors" + "DicomServices" ], - "description": "Creates or updates an IoT Connector FHIR destination resource with the specified parameters.", - "operationId": "IotConnectorFhirDestination_CreateOrUpdate", + "description": "Creates or updates a DICOM Service resource with the specified parameters.", + "operationId": "DicomServices_CreateOrUpdate", "x-ms-long-running-operation": true, "x-ms-examples": { - "Create or update an Iot Connector FHIR destination": { - "$ref": "./examples/iotconnectors/iotconnector_fhirdestination_Create.json" + "Create or update a Dicom Service": { + "$ref": "./examples/dicomservices/DicomServices_Create.json" } }, "parameters": [ @@ -1007,18 +1039,15 @@ "$ref": "#/parameters/workspaceName" }, { - "$ref": "#/parameters/iotConnectorName" - }, - { - "$ref": "#/parameters/fhirDestinationName" + "$ref": "#/parameters/dicomServiceName" }, { - "name": "iotFhirDestination", - "description": "The parameters for creating or updating an IoT Connector FHIR destination resource.", + "name": "dicomservice", + "description": "The parameters for creating or updating a Dicom Service resource.", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/IotFhirDestination" + "$ref": "#/definitions/DicomService" } } ], @@ -1026,19 +1055,19 @@ "200": { "description": "Updated - Put request accepted and an existing resource is updated.", "schema": { - "$ref": "#/definitions/IotFhirDestination" + "$ref": "#/definitions/DicomService" } }, "201": { "description": "Created - Put request accepted and an existing resource is being created asynchronously.", "schema": { - "$ref": "#/definitions/IotFhirDestination" + "$ref": "#/definitions/DicomService" } }, "202": { "description": "Accepted - Put request accepted and an existing resource is being updated asynchronously.", "schema": { - "$ref": "#/definitions/IotFhirDestination" + "$ref": "#/definitions/DicomService" } }, "default": { @@ -1049,19 +1078,22 @@ } } }, - "delete": { + "patch": { "tags": [ - "IotConnectors" + "DicomServices" ], - "description": "Deletes an IoT Connector FHIR destination.", - "operationId": "IotConnectorFhirDestination_Delete", - "x-ms-long-running-operation": true, + "description": "Patch DICOM Service details.", + "operationId": "DicomServices_Update", + "x-ms-long-running-operation": true, "x-ms-examples": { - "Delete an IoT Connector destination": { - "$ref": "./examples/iotconnectors/iotconnector_fhirdestination_Delete.json" + "Update a dicomservice": { + "$ref": "./examples/dicomservices/DicomServices_Patch.json" } }, "parameters": [ + { + "$ref": "#/parameters/resourceGroupName" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, @@ -1069,16 +1101,69 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "#/parameters/dicomServiceName" }, { "$ref": "#/parameters/workspaceName" }, { - "$ref": "#/parameters/iotConnectorName" + "name": "dicomservicePatchResource", + "description": "The parameters for updating a Dicom Service.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/DicomServicePatchResource" + } + } + ], + "responses": { + "200": { + "description": "Updated - Patch request accepted and an existing resource is updated.", + "schema": { + "$ref": "#/definitions/DicomService" + } + }, + "202": { + "description": "Accepted - Patch request accepted and an existing resource is being updated asynchronously.", + "schema": { + "$ref": "#/definitions/DicomService" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + } + }, + "delete": { + "tags": [ + "DicomServices" + ], + "description": "Deletes a DICOM Service.", + "operationId": "DicomServices_Delete", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a dicomservice": { + "$ref": "./examples/dicomservices/DicomServices_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/fhirDestinationName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/dicomServiceName" + }, + { + "$ref": "#/parameters/workspaceName" } ], "responses": { @@ -1092,7 +1177,7 @@ "description": "The resource does not exist." }, "default": { - "description": "Error response describing why the operation failed.", + "description": "Error response describing why the operation failed", "schema": { "$ref": "#/definitions/Error" } @@ -1100,16 +1185,16 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/fhirservices": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/iotconnectors": { "get": { "tags": [ - "FhirServices" + "IotConnectors" ], - "description": "Lists all FHIR Services for the given workspace", - "operationId": "FhirServices_ListByWorkspace", + "description": "Lists all IoT Connectors for the given workspace", + "operationId": "IotConnectors_ListByWorkspace", "x-ms-examples": { - "List fhirservices": { - "$ref": "./examples/fhirservices/FhirServices_List.json" + "List iotconnectors": { + "$ref": "./examples/iotconnectors/iotconnector_List.json" } }, "parameters": [ @@ -1128,9 +1213,9 @@ ], "responses": { "200": { - "description": "List of FHIR Services.", + "description": "List of IoT Connectors.", "schema": { - "$ref": "#/definitions/FhirServiceCollection" + "$ref": "#/definitions/IotConnectorCollection" } }, "default": { @@ -1145,16 +1230,16 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/fhirservices/{fhirServiceName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/iotconnectors/{iotConnectorName}": { "get": { "tags": [ - "FhirServices" + "IotConnectors" ], - "description": "Gets the properties of the specified FHIR Service.", - "operationId": "FhirServices_Get", + "description": "Gets the properties of the specified IoT Connector.", + "operationId": "IotConnectors_Get", "x-ms-examples": { - "Get a Fhir Service": { - "$ref": "./examples/fhirservices/FhirServices_Get.json" + "Get an IoT Connector": { + "$ref": "./examples/iotconnectors/iotconnector_Get.json" } }, "parameters": [ @@ -1171,18 +1256,18 @@ "$ref": "#/parameters/workspaceName" }, { - "$ref": "#/parameters/fhirServiceName" + "$ref": "#/parameters/iotConnectorName" } ], "responses": { "200": { "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/FhirService" + "$ref": "#/definitions/IotConnector" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "Error response describing why the operation failed.", "schema": { "$ref": "#/definitions/ErrorDetails" } @@ -1191,14 +1276,14 @@ }, "put": { "tags": [ - "FhirServices" + "IotConnectors" ], - "description": "Creates or updates a FHIR Service resource with the specified parameters.", - "operationId": "FhirServices_CreateOrUpdate", + "description": "Creates or updates an IoT Connector resource with the specified parameters.", + "operationId": "IotConnectors_CreateOrUpdate", "x-ms-long-running-operation": true, "x-ms-examples": { - "Create or update a Fhir Service": { - "$ref": "./examples/fhirservices/FhirServices_Create.json" + "Create an IoT Connector": { + "$ref": "./examples/iotconnectors/iotconnector_Create.json" } }, "parameters": [ @@ -1215,15 +1300,15 @@ "$ref": "#/parameters/workspaceName" }, { - "$ref": "#/parameters/fhirServiceName" + "$ref": "#/parameters/iotConnectorName" }, { - "name": "fhirservice", - "description": "The parameters for creating or updating a Fhir Service resource.", + "name": "iotConnector", + "description": "The parameters for creating or updating an IoT Connectors resource.", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/FhirService" + "$ref": "#/definitions/IotConnector" } } ], @@ -1231,23 +1316,23 @@ "200": { "description": "Updated - Put request accepted and an existing resource is updated.", "schema": { - "$ref": "#/definitions/FhirService" + "$ref": "#/definitions/IotConnector" } }, "201": { "description": "Created - Put request accepted and an existing resource is being created asynchronously.", "schema": { - "$ref": "#/definitions/FhirService" + "$ref": "#/definitions/IotConnector" } }, "202": { "description": "Accepted - Put request accepted and an existing resource is being updated asynchronously.", "schema": { - "$ref": "#/definitions/FhirService" + "$ref": "#/definitions/IotConnector" } }, "default": { - "description": "Error response describing why the operation failed", + "description": "Error response describing why the operation failed.", "schema": { "$ref": "#/definitions/ErrorDetails" } @@ -1256,14 +1341,14 @@ }, "patch": { "tags": [ - "FhirServices" + "IotConnectors" ], - "description": "Patch FHIR Service details.", - "operationId": "FhirServices_Update", + "description": "Patch an IoT Connector.", + "operationId": "IotConnectors_Update", "x-ms-long-running-operation": true, "x-ms-examples": { - "Update a Fhir Service": { - "$ref": "./examples/fhirservices/FhirServices_Patch.json" + "Patch an IoT Connector": { + "$ref": "./examples/iotconnectors/iotconnector_Patch.json" } }, "parameters": [ @@ -1277,18 +1362,18 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/fhirServiceName" + "$ref": "#/parameters/iotConnectorName" }, { "$ref": "#/parameters/workspaceName" }, { - "name": "fhirservicePatchResource", - "description": "The parameters for updating a Fhir Service.", + "name": "iotConnectorPatchResource", + "description": "The parameters for updating an IoT Connector.", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/FhirServicePatchResource" + "$ref": "#/definitions/IotConnectorPatchResource" } } ], @@ -1296,13 +1381,13 @@ "200": { "description": "Updated - Patch request accepted and an existing resource is updated.", "schema": { - "$ref": "#/definitions/FhirService" + "$ref": "#/definitions/IotConnector" } }, "202": { "description": "Accepted - Patch request accepted and an existing resource is being updated asynchronously.", "schema": { - "$ref": "#/definitions/FhirService" + "$ref": "#/definitions/IotConnector" } }, "default": { @@ -1315,14 +1400,14 @@ }, "delete": { "tags": [ - "FhirServices" + "IotConnectors" ], - "description": "Deletes a FHIR Service.", - "operationId": "FhirServices_Delete", + "description": "Deletes an IoT Connector.", + "operationId": "IotConnectors_Delete", "x-ms-long-running-operation": true, "x-ms-examples": { - "Delete a Fhir Service": { - "$ref": "./examples/fhirservices/FhirServices_Delete.json" + "Delete an IoT Connector": { + "$ref": "./examples/iotconnectors/iotconnector_Delete.json" } }, "parameters": [ @@ -1336,7 +1421,7 @@ "$ref": "#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/fhirServiceName" + "$ref": "#/parameters/iotConnectorName" }, { "$ref": "#/parameters/workspaceName" @@ -1353,7 +1438,7 @@ "description": "The resource does not exist." }, "default": { - "description": "Error response describing why the operation failed", + "description": "Error response describing why the operation failed.", "schema": { "$ref": "#/definitions/Error" } @@ -1361,14 +1446,22 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/privateEndpointConnections": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/iotconnectors/{iotConnectorName}/fhirdestinations": { "get": { "tags": [ - "WorkspacePrivateEndpointConnections" + "IotConnectors" ], - "operationId": "WorkspacePrivateEndpointConnections_ListByWorkspace", - "description": "Lists all private endpoint connections for a workspace.", + "description": "Lists all FHIR destinations for the given IoT Connector", + "operationId": "FhirDestinations_ListByIotConnector", + "x-ms-examples": { + "List IoT Connectors": { + "$ref": "./examples/iotconnectors/iotconnector_fhirdestination_List.json" + } + }, "parameters": [ + { + "$ref": "#/parameters/resourceGroupName" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, @@ -1376,44 +1469,47 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "#/parameters/workspaceName" }, { - "$ref": "#/parameters/workspaceName" + "$ref": "#/parameters/iotConnectorName" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "List of IoT Connector FHIR destinations.", "schema": { - "$ref": "#/definitions/PrivateEndpointConnectionListResultDescription" + "$ref": "#/definitions/IotFhirDestinationCollection" } }, "default": { - "description": "DefaultErrorResponse", + "description": "Error response describing why the operation failed", "schema": { "$ref": "#/definitions/ErrorDetails" } } }, - "x-ms-examples": { - "WorkspacePrivateEndpointConnection_List": { - "$ref": "./examples/privatelink/WorkspaceListPrivateEndpointConnections.json" - } - }, "x-ms-pageable": { - "nextLinkName": null + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/iotconnectors/{iotConnectorName}/fhirdestinations/{fhirDestinationName}": { "get": { "tags": [ - "WorkspacePrivateEndpointConnections" + "IotConnectors" ], - "operationId": "WorkspacePrivateEndpointConnections_Get", - "description": "Gets the specified private endpoint connection associated with the workspace.", + "description": "Gets the properties of the specified Iot Connector FHIR destination.", + "operationId": "IotConnectorFhirDestination_Get", + "x-ms-examples": { + "Get an IoT Connector destination": { + "$ref": "./examples/iotconnectors/iotconnector_fhirdestination_Get.json" + } + }, "parameters": [ + { + "$ref": "#/parameters/resourceGroupName" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, @@ -1421,42 +1517,46 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "#/parameters/workspaceName" }, { - "$ref": "#/parameters/workspaceName" + "$ref": "#/parameters/iotConnectorName" }, { - "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" + "$ref": "#/parameters/fhirDestinationName" } ], "responses": { "200": { "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/PrivateEndpointConnectionDescription" + "$ref": "#/definitions/IotFhirDestination" } }, "default": { - "description": "DefaultErrorResponse", + "description": "Error response describing why the operation failed.", "schema": { "$ref": "#/definitions/ErrorDetails" } } - }, - "x-ms-examples": { - "WorkspacePrivateEndpointConnection_GetConnection": { - "$ref": "./examples/privatelink/WorkspaceGetPrivateEndpointConnection.json" - } } }, "put": { "tags": [ - "WorkspacePrivateEndpointConnections" + "IotConnectors" ], - "operationId": "WorkspacePrivateEndpointConnections_CreateOrUpdate", - "description": "Update the state of the specified private endpoint connection associated with the workspace.", + "description": "Creates or updates an IoT Connector FHIR destination resource with the specified parameters.", + "operationId": "IotConnectorFhirDestination_CreateOrUpdate", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Create or update an Iot Connector FHIR destination": { + "$ref": "./examples/iotconnectors/iotconnector_fhirdestination_Create.json" + } + }, "parameters": [ + { + "$ref": "#/parameters/resourceGroupName" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, @@ -1464,51 +1564,63 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "#/parameters/workspaceName" }, { - "$ref": "#/parameters/workspaceName" + "$ref": "#/parameters/iotConnectorName" }, { - "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" + "$ref": "#/parameters/fhirDestinationName" }, { - "name": "properties", + "name": "iotFhirDestination", + "description": "The parameters for creating or updating an IoT Connector FHIR destination resource.", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/PrivateEndpointConnectionDescription" - }, - "description": "The private endpoint connection properties." + "$ref": "#/definitions/IotFhirDestination" + } } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Updated - Put request accepted and an existing resource is updated.", "schema": { - "$ref": "#/definitions/PrivateEndpointConnectionDescription" + "$ref": "#/definitions/IotFhirDestination" + } + }, + "201": { + "description": "Created - Put request accepted and an existing resource is being created asynchronously.", + "schema": { + "$ref": "#/definitions/IotFhirDestination" + } + }, + "202": { + "description": "Accepted - Put request accepted and an existing resource is being updated asynchronously.", + "schema": { + "$ref": "#/definitions/IotFhirDestination" } }, "default": { - "description": "DefaultErrorResponse", + "description": "Error response describing why the operation failed.", "schema": { "$ref": "#/definitions/ErrorDetails" } } - }, - "x-ms-examples": { - "WorkspacePrivateEndpointConnection_CreateOrUpdate": { - "$ref": "./examples/privatelink/WorkspaceCreatePrivateEndpointConnection.json" - } - }, - "x-ms-long-running-operation": true + } }, "delete": { "tags": [ - "WorkspacePrivateEndpointConnections" + "IotConnectors" ], - "description": "Deletes a private endpoint connection.", - "operationId": "WorkspacePrivateEndpointConnections_Delete", + "description": "Deletes an IoT Connector FHIR destination.", + "operationId": "IotConnectorFhirDestination_Delete", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete an IoT Connector destination": { + "$ref": "./examples/iotconnectors/iotconnector_fhirdestination_Delete.json" + } + }, "parameters": [ { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" @@ -1523,50 +1635,52 @@ "$ref": "#/parameters/workspaceName" }, { - "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" + "$ref": "#/parameters/iotConnectorName" + }, + { + "$ref": "#/parameters/fhirDestinationName" } ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly." + "description": "Resource deleted." }, "202": { - "description": "The request was successful; the operation will complete asynchronously." + "description": "Delete request accepted; the operation will complete asynchronously." }, "204": { - "description": "No Content - The private endpoint connection does not exist." + "description": "The resource does not exist." }, "default": { - "description": "DefaultErrorResponse", + "description": "Error response describing why the operation failed.", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "#/definitions/Error" } } - }, - "x-ms-examples": { - "WorkspacePrivateEndpointConnections_Delete": { - "$ref": "./examples/privatelink/WorkspaceDeletePrivateEndpointConnection.json" - } - }, - "x-ms-long-running-operation": true + } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/privateLinkResources": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/fhirservices": { "get": { "tags": [ - "WorkspacePrivateLinkResources" + "FhirServices" ], - "operationId": "WorkspacePrivateLinkResources_ListByWorkspace", - "description": "Gets the private link resources that need to be created for a workspace.", + "description": "Lists all FHIR Services for the given workspace", + "operationId": "FhirServices_ListByWorkspace", + "x-ms-examples": { + "List fhirservices": { + "$ref": "./examples/fhirservices/FhirServices_List.json" + } + }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "#/parameters/resourceGroupName" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/workspaceName" @@ -1574,126 +1688,148 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "List of FHIR Services.", "schema": { - "$ref": "#/definitions/PrivateLinkResourceListResultDescription" + "$ref": "#/definitions/FhirServiceCollection" } }, "default": { - "description": "DefaultErrorResponse", + "description": "Error response describing why the operation failed", "schema": { "$ref": "#/definitions/ErrorDetails" } } }, - "x-ms-examples": { - "WorkspacePrivateLinkResources_ListGroupIds": { - "$ref": "./examples/privatelink/PrivateLinkResourcesListByWorkspace.json" - } - }, "x-ms-pageable": { - "nextLinkName": null + "nextLinkName": "nextLink" } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/privateLinkResources/{groupName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/fhirservices/{fhirServiceName}": { "get": { "tags": [ - "WorkspacePrivateLinkResources" + "FhirServices" ], - "operationId": "WorkspacePrivateLinkResources_Get", - "description": "Gets a private link resource that need to be created for a workspace.", + "description": "Gets the properties of the specified FHIR Service.", + "operationId": "FhirServices_Get", + "x-ms-examples": { + "Get a Fhir Service": { + "$ref": "./examples/fhirservices/FhirServices_Get.json" + } + }, "parameters": [ { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + "$ref": "#/parameters/resourceGroupName" }, { - "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { "$ref": "#/parameters/workspaceName" }, { - "name": "groupName", - "in": "path", - "description": "The name of the private link resource group.", - "required": true, - "type": "string" + "$ref": "#/parameters/fhirServiceName" } ], "responses": { "200": { "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/PrivateLinkResourceDescription" + "$ref": "#/definitions/FhirService" } }, "default": { - "description": "DefaultErrorResponse", + "description": "Error response describing why the operation failed", "schema": { "$ref": "#/definitions/ErrorDetails" } } - }, - "x-ms-examples": { - "WorkspacePrivateLinkResources_Get": { - "$ref": "./examples/privatelink/WorkspacePrivateLinkResourceGet.json" - } } - } - }, - "/providers/Microsoft.HealthcareApis/operations": { - "get": { + }, + "put": { "tags": [ - "Proxy" + "FhirServices" ], - "description": "Lists all of the available operations supported by Microsoft Healthcare resource provider.", - "operationId": "Operations_List", + "description": "Creates or updates a FHIR Service resource with the specified parameters.", + "operationId": "FhirServices_CreateOrUpdate", + "x-ms-long-running-operation": true, "x-ms-examples": { - "List operations": { - "$ref": "./examples/OperationsList.json" + "Create or update a Fhir Service": { + "$ref": "./examples/fhirservices/FhirServices_Create.json" } }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "parameters": [ + { + "$ref": "#/parameters/resourceGroupName" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/workspaceName" + }, + { + "$ref": "#/parameters/fhirServiceName" + }, + { + "name": "fhirservice", + "description": "The parameters for creating or updating a Fhir Service resource.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/FhirService" + } } ], "responses": { "200": { - "description": "OK. The request has succeeded.", + "description": "Updated - Put request accepted and an existing resource is updated.", "schema": { - "$ref": "#/definitions/ListOperations" + "$ref": "#/definitions/FhirService" + } + }, + "201": { + "description": "Created - Put request accepted and an existing resource is being created asynchronously.", + "schema": { + "$ref": "#/definitions/FhirService" + } + }, + "202": { + "description": "Accepted - Put request accepted and an existing resource is being updated asynchronously.", + "schema": { + "$ref": "#/definitions/FhirService" } }, "default": { - "description": "DefaultErrorResponse", + "description": "Error response describing why the operation failed", "schema": { "$ref": "#/definitions/ErrorDetails" } } } - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/locations/{locationName}/operationresults/{operationResultId}": { - "get": { + }, + "patch": { "tags": [ - "Proxy" + "FhirServices" ], - "description": "Get the operation result for a long running operation.", - "operationId": "OperationResults_Get", + "description": "Patch FHIR Service details.", + "operationId": "FhirServices_Update", + "x-ms-long-running-operation": true, "x-ms-examples": { - "Get operation result": { - "$ref": "./examples/OperationResultsGet.json" + "Update a Fhir Service": { + "$ref": "./examples/fhirservices/FhirServices_Patch.json" } }, "parameters": [ + { + "$ref": "#/parameters/resourceGroupName" + }, { "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" }, @@ -1701,30 +1837,848 @@ "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" }, { - "$ref": "#/parameters/locationName" + "$ref": "#/parameters/fhirServiceName" }, { - "$ref": "#/parameters/operationResultId" + "$ref": "#/parameters/workspaceName" + }, + { + "name": "fhirservicePatchResource", + "description": "The parameters for updating a Fhir Service.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/FhirServicePatchResource" + } } ], "responses": { "200": { - "description": "The body contains all of the properties of the operation result.", + "description": "Updated - Patch request accepted and an existing resource is updated.", "schema": { - "$ref": "#/definitions/OperationResultsDescription" + "$ref": "#/definitions/FhirService" + } + }, + "202": { + "description": "Accepted - Patch request accepted and an existing resource is being updated asynchronously.", + "schema": { + "$ref": "#/definitions/FhirService" } }, "default": { - "description": "Default error response", + "description": "Error response describing why the operation failed.", "schema": { "$ref": "#/definitions/ErrorDetails" } } } - } - } - }, - "definitions": { + }, + "delete": { + "tags": [ + "FhirServices" + ], + "description": "Deletes a FHIR Service.", + "operationId": "FhirServices_Delete", + "x-ms-long-running-operation": true, + "x-ms-examples": { + "Delete a Fhir Service": { + "$ref": "./examples/fhirservices/FhirServices_Delete.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/fhirServiceName" + }, + { + "$ref": "#/parameters/workspaceName" + } + ], + "responses": { + "200": { + "description": "Resource deleted." + }, + "202": { + "description": "Delete request accepted; the operation will complete asynchronously." + }, + "204": { + "description": "The resource does not exist." + }, + "default": { + "description": "Error response describing why the operation failed", + "schema": { + "$ref": "#/definitions/Error" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/privateEndpointConnections": { + "get": { + "tags": [ + "WorkspacePrivateEndpointConnections" + ], + "operationId": "WorkspacePrivateEndpointConnections_ListByWorkspace", + "description": "Lists all private endpoint connections for a workspace.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/workspaceName" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionListResultDescription" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-examples": { + "WorkspacePrivateEndpointConnection_List": { + "$ref": "./examples/privatelink/WorkspaceListPrivateEndpointConnections.json" + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "tags": [ + "WorkspacePrivateEndpointConnections" + ], + "operationId": "WorkspacePrivateEndpointConnections_Get", + "description": "Gets the specified private endpoint connection associated with the workspace.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/workspaceName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionDescription" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-examples": { + "WorkspacePrivateEndpointConnection_GetConnection": { + "$ref": "./examples/privatelink/WorkspaceGetPrivateEndpointConnection.json" + } + } + }, + "put": { + "tags": [ + "WorkspacePrivateEndpointConnections" + ], + "operationId": "WorkspacePrivateEndpointConnections_CreateOrUpdate", + "description": "Update the state of the specified private endpoint connection associated with the workspace.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/workspaceName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" + }, + { + "name": "properties", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionDescription" + }, + "description": "The private endpoint connection properties." + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionDescription" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-examples": { + "WorkspacePrivateEndpointConnection_CreateOrUpdate": { + "$ref": "./examples/privatelink/WorkspaceCreatePrivateEndpointConnection.json" + } + }, + "x-ms-long-running-operation": true + }, + "delete": { + "tags": [ + "WorkspacePrivateEndpointConnections" + ], + "description": "Deletes a private endpoint connection.", + "operationId": "WorkspacePrivateEndpointConnections_Delete", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/workspaceName" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly." + }, + "202": { + "description": "The request was successful; the operation will complete asynchronously." + }, + "204": { + "description": "No Content - The private endpoint connection does not exist." + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-examples": { + "WorkspacePrivateEndpointConnections_Delete": { + "$ref": "./examples/privatelink/WorkspaceDeletePrivateEndpointConnection.json" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/privateLinkResources": { + "get": { + "tags": [ + "WorkspacePrivateLinkResources" + ], + "operationId": "WorkspacePrivateLinkResources_ListByWorkspace", + "description": "Gets the private link resources that need to be created for a workspace.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/workspaceName" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/PrivateLinkResourceListResultDescription" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-examples": { + "WorkspacePrivateLinkResources_ListGroupIds": { + "$ref": "./examples/privatelink/PrivateLinkResourcesListByWorkspace.json" + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/workspaces/{workspaceName}/privateLinkResources/{groupName}": { + "get": { + "tags": [ + "WorkspacePrivateLinkResources" + ], + "operationId": "WorkspacePrivateLinkResources_Get", + "description": "Gets a private link resource that need to be created for a workspace.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/workspaceName" + }, + { + "name": "groupName", + "in": "path", + "description": "The name of the private link resource group.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/PrivateLinkResourceDescription" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-examples": { + "WorkspacePrivateLinkResources_Get": { + "$ref": "./examples/privatelink/WorkspacePrivateLinkResourceGet.json" + } + } + } + }, + "/providers/Microsoft.HealthcareApis/operations": { + "get": { + "tags": [ + "Proxy" + ], + "description": "Lists all of the available operations supported by Microsoft Healthcare resource provider.", + "operationId": "Operations_List", + "x-ms-examples": { + "List operations": { + "$ref": "./examples/OperationsList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/ListOperations" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/locations/{locationName}/operationresults/{operationResultId}": { + "get": { + "tags": [ + "Proxy" + ], + "description": "Get the operation result for a long running operation.", + "operationId": "OperationResults_Get", + "x-ms-examples": { + "Get operation result": { + "$ref": "./examples/OperationResultsGet.json" + } + }, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v3/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "#/parameters/locationName" + }, + { + "$ref": "#/parameters/operationResultId" + } + ], + "responses": { + "200": { + "description": "The body contains all of the properties of the operation result.", + "schema": { + "$ref": "#/definitions/OperationResultsDescription" + } + }, + "default": { + "description": "Default error response", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + } + } + } + }, + "definitions": { + "ServicesProperties": { + "description": "The properties of a service instance.", + "type": "object", + "properties": { + "provisioningState": { + "description": "The provisioning state.", + "$ref": "#/definitions/ProvisioningState" + }, + "accessPolicies": { + "$ref": "#/definitions/ServiceAccessPoliciesInfo", + "description": "The access policies of the service instance." + }, + "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." + }, + "exportConfiguration": { + "$ref": "#/definitions/ServiceExportConfigurationInfo", + "description": "The settings for the export operation of the service instance." + }, + "privateEndpointConnections": { + "description": "The list of private endpoint connections that are set up for this resource.", + "type": "array", + "items": { + "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnection" + } + }, + "publicNetworkAccess": { + "description": "Control permission for data plane traffic coming from public networks while private endpoint is enabled.", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "PublicNetworkAccess", + "modelAsString": true + } + }, + "acrConfiguration": { + "$ref": "#/definitions/ServiceAcrConfigurationInfo", + "description": "The azure container registry settings used for convert data operation of the service instance." + }, + "importConfiguration": { + "$ref": "#/definitions/ServiceImportConfigurationInfo", + "description": "The settings for the import operation of the service instance." + } + } + }, + "ServiceAccessPoliciesInfo": { + "description": "The access policies of the service instance.", + "type": "array", + "items": { + "$ref": "#/definitions/ServiceAccessPolicyEntry" + }, + "x-ms-identifiers": [ + "objectId" + ] + }, + "ServiceAccessPolicyEntry": { + "description": "An access policy entry.", + "properties": { + "objectId": { + "description": "An Azure AD object ID (User or Apps) that is allowed access to the FHIR service.", + "type": "string", + "pattern": "^(([0-9A-Fa-f]{8}[-]?(?:[0-9A-Fa-f]{4}[-]?){3}[0-9A-Fa-f]{12}){1})+$" + } + }, + "required": [ + "objectId" + ] + }, + "ServiceCosmosDbConfigurationInfo": { + "description": "The settings for the Cosmos DB database backing the service.", + "type": "object", + "properties": { + "offerThroughput": { + "type": "integer", + "description": "The provisioned throughput for the backing database.", + "readOnly": false, + "minimum": 400 + }, + "keyVaultKeyUri": { + "type": "string", + "description": "The URI of the customer-managed key for the backing database.", + "readOnly": false + }, + "crossTenantCmkApplicationId": { + "type": "string", + "pattern": "^(([0-9A-Fa-f]{8}[-]?(?:[0-9A-Fa-f]{4}[-]?){3}[0-9A-Fa-f]{12}){1})+$", + "description": "The multi-tenant application id used to enable CMK access for services in a data sovereign region.", + "readOnly": false + } + } + }, + "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 + } + } + }, + "ServiceExportConfigurationInfo": { + "description": "Export operation configuration information", + "type": "object", + "properties": { + "storageAccountName": { + "type": "string", + "description": "The name of the default export storage account.", + "readOnly": false + } + } + }, + "ServiceImportConfigurationInfo": { + "description": "Import operation configuration information", + "type": "object", + "properties": { + "integrationDataStore": { + "type": "string", + "description": "The name of the default integration storage account.", + "readOnly": false + }, + "initialImportMode": { + "type": "boolean", + "description": "If the FHIR service is in InitialImportMode.", + "readOnly": false + }, + "enabled": { + "type": "boolean", + "description": "If the import operation is enabled.", + "readOnly": false + } + } + }, + "ServiceAcrConfigurationInfo": { + "description": "Azure container registry configuration information", + "type": "object", + "properties": { + "loginServers": { + "type": "array", + "description": "The list of the ACR login servers.", + "readOnly": false, + "items": { + "type": "string" + } + }, + "ociArtifacts": { + "type": "array", + "description": "The list of Open Container Initiative (OCI) artifacts.", + "readOnly": false, + "items": { + "$ref": "#/definitions/ServiceOciArtifactEntry" + }, + "x-ms-identifiers": [] + } + } + }, + "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", + "properties": { + "properties": { + "x-ms-client-flatten": false, + "description": "The common properties of a service.", + "$ref": "#/definitions/ServicesProperties" + }, + "systemData": { + "description": "Metadata pertaining to creation and last modification of the resource.", + "$ref": "#/definitions/systemData" + } + }, + "allOf": [ + { + "$ref": "#/definitions/ServicesResource" + } + ] + }, + "ServicesPatchDescription": { + "description": "The description of the service.", + "type": "object", + "properties": { + "tags": { + "description": "Instance tags", + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/ServicesPropertiesUpdateParameters", + "description": "The properties for updating a service instance.", + "x-ms-client-flatten": true + } + } + }, + "ServicesResource": { + "description": "The common properties of a service.", + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The resource identifier." + }, + "name": { + "readOnly": true, + "type": "string", + "description": "The resource name.", + "pattern": "^[a-z0-9][a-z0-9-]{1,21}[a-z0-9]$" + }, + "type": { + "readOnly": true, + "type": "string", + "description": "The resource type." + }, + "kind": { + "readOnly": false, + "type": "string", + "description": "The kind of the service.", + "enum": [ + "fhir", + "fhir-Stu3", + "fhir-R4" + ], + "x-ms-enum": { + "name": "kind", + "modelAsString": false + } + }, + "location": { + "type": "string", + "description": "The resource location.", + "x-ms-mutability": [ + "create", + "read" + ] + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "The resource tags." + }, + "etag": { + "description": "An etag associated with the resource, used for optimistic concurrency when editing it.", + "type": "string" + }, + "identity": { + "type": "object", + "description": "Setting indicating whether the service has a managed identity associated with it.", + "properties": { + "principalId": { + "readOnly": true, + "type": "string", + "description": "The principal ID of the resource identity." + }, + "tenantId": { + "readOnly": true, + "type": "string", + "description": "The tenant ID of the resource." + }, + "type": { + "description": "Type of identity being specified, currently SystemAssigned and None are allowed.", + "type": "string", + "enum": [ + "SystemAssigned", + "None" + ], + "x-ms-enum": { + "name": "ManagedServiceIdentityType", + "modelAsString": true + } + } + } + } + }, + "x-ms-azure-resource": true, + "required": [ + "location", + "kind" + ] + }, + "ServicesDescriptionListResult": { + "description": "A list of service description objects with a next link.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link used to get the next page of service description objects.", + "type": "string" + }, + "value": { + "description": "A list of service description objects.", + "type": "array", + "items": { + "$ref": "#/definitions/ServicesDescription" + } + } + } + }, + "ServicesPropertiesUpdateParameters": { + "description": "The properties for updating a service instance.", + "type": "object", + "properties": { + "publicNetworkAccess": { + "description": "Control permission for data plane traffic coming from public networks while private endpoint is enabled.", + "enum": [ + "Enabled", + "Disabled" + ], + "type": "string", + "x-ms-enum": { + "name": "PublicNetworkAccess", + "modelAsString": true + } + } + } + }, "CheckNameAvailabilityParameters": { "description": "Input values.", "type": "object", @@ -2989,7 +3943,7 @@ }, "SmartDataActions": { "type": "string", - "description": "The Data Actions that can be enabled for a SMART Identity Provider Application.", + "description": "The Data Actions that can be enabled for a Smart Identity Provider Application.", "enum": [ "Read", "Write",