From 0d044f63c0af05020c2e5c6a35fad34e2b3f5e2d Mon Sep 17 00:00:00 2001 From: Sonal Verma Date: Wed, 3 Feb 2021 16:18:57 +0530 Subject: [PATCH 01/27] add new RP Microsoft.SecurityAndCompliance --- .../examples/CheckNameAvailabilityPost.json | 19 + .../examples/OperationResultsGet.json | 19 + .../2021-01-11/examples/OperationsList.json | 53 + .../examples/PrivateLinkResourceGet.json | 35 + .../PrivateLinkResourcesListByService.json | 30 + .../2021-01-11/examples/ServiceCreate.json | 193 +++ .../examples/ServiceCreateMinimum.json | 111 ++ ...erviceCreatePrivateEndpointConnection.json | 71 + .../2021-01-11/examples/ServiceDelete.json | 13 + ...erviceDeletePrivateEndpointConnection.json | 14 + .../2021-01-11/examples/ServiceGet.json | 69 + .../ServiceGetPrivateEndpointConnection.json | 36 + .../2021-01-11/examples/ServiceList.json | 64 + .../examples/ServiceListByResourceGroup.json | 65 + ...ServiceListPrivateEndpointConnections.json | 31 + .../2021-01-11/examples/ServicePatch.json | 140 ++ .../2021-01-11/securityandcompliance.json | 1500 +++++++++++++++++ .../readme.azureresourceschema.md | 24 + .../resource-manager/readme.go.md | 26 + .../resource-manager/readme.md | 124 ++ .../resource-manager/readme.nodejs.md | 14 + .../resource-manager/readme.python.md | 27 + .../resource-manager/readme.typescript.md | 13 + 23 files changed, 2691 insertions(+) create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/CheckNameAvailabilityPost.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/OperationResultsGet.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/OperationsList.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/PrivateLinkResourceGet.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/PrivateLinkResourcesListByService.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceCreate.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceCreateMinimum.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceCreatePrivateEndpointConnection.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceDelete.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceDeletePrivateEndpointConnection.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceGet.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceGetPrivateEndpointConnection.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceList.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceListByResourceGroup.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceListPrivateEndpointConnections.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServicePatch.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/securityandcompliance.json create mode 100644 specification/securityandcompliance/resource-manager/readme.azureresourceschema.md create mode 100644 specification/securityandcompliance/resource-manager/readme.go.md create mode 100644 specification/securityandcompliance/resource-manager/readme.md create mode 100644 specification/securityandcompliance/resource-manager/readme.nodejs.md create mode 100644 specification/securityandcompliance/resource-manager/readme.python.md create mode 100644 specification/securityandcompliance/resource-manager/readme.typescript.md diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/CheckNameAvailabilityPost.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/CheckNameAvailabilityPost.json new file mode 100644 index 000000000000..8380a55def44 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/CheckNameAvailabilityPost.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "checkNameAvailabilityInputs": { + "type": "Microsoft.SecurityAndCompliance/services", + "name": "serviceName" + } + }, + "responses": { + "200": { + "body": { + "nameAvailable": false, + "reason": "AlreadyExists", + "message": "Service name is not available." + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/OperationResultsGet.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/OperationResultsGet.json new file mode 100644 index 000000000000..791d0c639fb0 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/OperationResultsGet.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "locationName": "westus", + "operationResultId": "exampleid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/providers/Microsoft.SecurityAndCompliance/locations/westus/operationresults/exampleid", + "name": "servicename", + "status": "Requested", + "startTime": "2020-01-11T06:03:30.2716301Z", + "properties": {} + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/OperationsList.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/OperationsList.json new file mode 100644 index 000000000000..8b2eb6c6b2af --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/OperationsList.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2021-01-11" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.SecurityAndCompliance/services/read", + "display": {}, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/services/write", + "display": {}, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/services/delete", + "display": {}, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/locations/operationresults/read", + "display": { + "provider": "Microsoft.SecurityAndCompliance", + "resource": "operationresults", + "operation": "read", + "description": "Get the status of an asynchronous operation" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/checkNameAvailability/post", + "display": {}, + "origin": "user" + }, + { + "name": "Microsoft.SecurityAndCompliance/Operations/read", + "display": { + "provider": "Microsoft.SecurityAndCompliance", + "resource": "operations", + "operation": "read", + "description": "Get the list of operations supported by this Resource Provider." + }, + "origin": "user,system" + } + ] + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/PrivateLinkResourceGet.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/PrivateLinkResourceGet.json new file mode 100644 index 000000000000..dc6a8ee12900 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/PrivateLinkResourceGet.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "resourceGroupName": "rgname", + "resourceName": "service1", + "groupName": "fhir" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/service1/privateLinkResources/fhir", + "name": "fhir", + "type": "Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/privateLinkResources", + "properties": { + "groupId": "fhir", + "requiredMembers": [ + "fhir" + ], + "requiredZoneNames": [ + "privatelink.security.microsoft.com" + ] + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/PrivateLinkResourcesListByService.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/PrivateLinkResourcesListByService.json new file mode 100644 index 000000000000..8a1c37c31eb9 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/PrivateLinkResourcesListByService.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "resourceGroupName": "rgname", + "resourceName": "service1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/service1/privateLinkResources/fhir", + "name": "fhir", + "type": "Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/privateLinkResources", + "properties": { + "groupId": "fhir", + "requiredMembers": [ + "fhir" + ], + "requiredZoneNames": [ + "privatelink.compliance.microsoft.com" + ] + } + } + ] + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceCreate.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceCreate.json new file mode 100644 index 000000000000..4017fab27219 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceCreate.json @@ -0,0 +1,193 @@ +{ + "parameters": { + "resourceName": "service1", + "resourceGroupName": "rg1", + "api-version": "2021-01-11", + "subscriptionId": "subid", + "privateLinkServicesForSCCDescription": { + "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.SecurityAndCompliance/privatelinkservicesforSCC/service1", + "name": "service1", + "location": "West US 2", + "type": "Microsoft.SecurityAndCompliance/privatelinkservicesforSCC", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + }, + "identity": { + "principalId": "03fe6ae0-952c-4e4b-954b-cc0364dd252e", + "tenantId": "72f988bf-86f1-41af-91ab-2d8cd011db47", + "type": "SystemAssigned" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/service1", + "name": "service1", + "location": "West US 2", + "type": "Microsoft.SecurityAndCompliance/privatelinkservicesforSCC", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + }, + "identity": { + "principalId": "03fe6ae0-952c-4e4b-954b-cc0364dd252e", + "tenantId": "72f988bf-86f1-41af-91ab-2d8cd011db47", + "type": "SystemAssigned" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceCreateMinimum.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceCreateMinimum.json new file mode 100644 index 000000000000..43bb3c47feb5 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceCreateMinimum.json @@ -0,0 +1,111 @@ +{ + "parameters": { + "resourceName": "service2", + "resourceGroupName": "rg1", + "api-version": "2021-01-11", + "subscriptionId": "subid", + "privateLinkServicesForSCCDescription": { + "location": "westus2", + "tags": {}, + "kind": "fhir-R4", + "properties": { + "accessPolicies": [ + { + "objectId": "c487e7d1-3210-41a3-8ccc-e9372b78da47" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/service2", + "name": "service2", + "type": "Microsoft.SecurityAndCompliance/privatelinkservicesforSCC", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/service2", + "name": "service2", + "type": "Microsoft.SecurityAndCompliance/privatelinkservicesforSCC", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceCreatePrivateEndpointConnection.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceCreatePrivateEndpointConnection.json new file mode 100644 index 000000000000..088ef141f66a --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceCreatePrivateEndpointConnection.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "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.SecurityAndCompliance/privatelinkservicesforSCC/service1/privateEndpointConnections/myConnection", + "name": "myConnection", + "type": "Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/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" + } + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/service1/privateEndpointConnections/myConnection", + "name": "myConnection", + "type": "Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/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" + } + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceDelete.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceDelete.json new file mode 100644 index 000000000000..d1d6c8d10c1b --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "resourceName": "service1", + "resourceGroupName": "rg1", + "api-version": "2021-01-11", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceDeletePrivateEndpointConnection.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceDeletePrivateEndpointConnection.json new file mode 100644 index 000000000000..93028a6f9165 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceDeletePrivateEndpointConnection.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "resourceGroupName": "rgname", + "resourceName": "service1", + "privateEndpointConnectionName": "myConnection" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceGet.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceGet.json new file mode 100644 index 000000000000..84ce8aaabe38 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceGet.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "resourceName": "service1", + "resourceGroupName": "rg1", + "api-version": "2021-01-11", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/service1", + "name": "service1", + "location": "West US", + "type": "Microsoft.SecurityAndCompliance/privatelinkservicesforSCC", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceGetPrivateEndpointConnection.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceGetPrivateEndpointConnection.json new file mode 100644 index 000000000000..2cb0b90310f2 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceGetPrivateEndpointConnection.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "resourceGroupName": "rgname", + "resourceName": "service1", + "privateEndpointConnectionName": "myConnection" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/service1/privateEndpointConnections/myConnection", + "name": "myConnection", + "type": "Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/privateEndpointConnections", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/peexample01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceList.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceList.json new file mode 100644 index 000000000000..854d6ecf159f --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceList.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/service1", + "name": "service1", + "location": "West US", + "type": "Microsoft.SecurityAndCompliance/privatelinkservicesforSCC", + "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.SecurityAndCompliance/services?api-version=2018-08-20-preview&%24skipToken=e30%3d" + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceListByResourceGroup.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceListByResourceGroup.json new file mode 100644 index 000000000000..9a1b723982ff --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceListByResourceGroup.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "resourceGroupName": "rgname" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/dddb8dcb-effb-4290-bb47-ce1e8440c729", + "name": "service1", + "location": "westus", + "type": "Microsoft.SecurityAndCompliance/privatelinkservicesforSCC", + "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.SecurityAndCompliance/services?api-version=2018-08-20-preview&%24skipToken=e30%3d" + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceListPrivateEndpointConnections.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceListPrivateEndpointConnections.json new file mode 100644 index 000000000000..7b1f64cc28c6 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceListPrivateEndpointConnections.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "resourceGroupName": "rgname", + "resourceName": "service1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/service1/privateEndpointConnections/myConnection", + "name": "myConnection", + "type": "Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/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/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServicePatch.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServicePatch.json new file mode 100644 index 000000000000..c9b96e45ef95 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServicePatch.json @@ -0,0 +1,140 @@ +{ + "parameters": { + "resourceName": "service1", + "resourceGroupName": "rg1", + "api-version": "2021-01-11", + "subscriptionId": "subid", + "servicePatchDescription": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/service1", + "name": "service1", + "location": "West US", + "type": "Microsoft.SecurityAndCompliance/privatelinkservicesforSCC", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + }, + "202": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/service1", + "name": "service1", + "location": "West US", + "type": "Microsoft.SecurityAndCompliance/privatelinkservicesforSCC", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/securityandcompliance.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/securityandcompliance.json new file mode 100644 index 000000000000..ff69705f07dc --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/securityandcompliance.json @@ -0,0 +1,1500 @@ +{ + "swagger": "2.0", + "info": { + "version": "2021-01-11", + "title": "SecurityAndComplianceAPIs", + "description": "Use this API to manage Microsoft SecurityAndCompliance services in your Azure subscription." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCC/{resourceName}": { + "get": { + "tags": [ + "Resource" + ], + "description": "Get the metadata of a privateLinkServicesForSCC resource.", + "operationId": "privateLinkServicesForSCC_Get", + "x-ms-examples": { + "Get metadata": { + "$ref": "./examples/ServiceGet.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + } + ], + "responses": { + "200": { + "description": "The body contains all of the properties of the privateLinkServicesForSCC instance.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForSCCDescription" + } + }, + "default": { + "description": "Default error response", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + }, + "put": { + "tags": [ + "Resource" + ], + "description": "Create or update the metadata of a privateLinkServicesForSCC instance.", + "operationId": "privateLinkServicesForSCC_CreateOrUpdate", + "x-ms-examples": { + "Create or Update a service with all parameters": { + "$ref": "./examples/ServiceCreate.json" + }, + "Create or Update a service with minimum parameters": { + "$ref": "./examples/ServiceCreateMinimum.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "name": "privateLinkServicesForSCCDescription", + "in": "body", + "description": "The service instance metadata.", + "required": true, + "schema": { + "$ref": "#/definitions/privateLinkServicesForSCCDescription" + } + } + ], + "responses": { + "200": { + "description": "Updated - Put request accepted and an existing resource is being updated; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForSCCDescription" + } + }, + "201": { + "description": "Created - Put request accepted and a new resource was created; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForSCCDescription" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + }, + "patch": { + "tags": [ + "Resource" + ], + "description": "Update the metadata of a privateLinkServicesForSCC instance.", + "operationId": "privateLinkServicesForSCC_Update", + "x-ms-examples": { + "Patch service": { + "$ref": "./examples/ServicePatch.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "name": "servicePatchDescription", + "in": "body", + "description": "The service instance metadata and security metadata.", + "required": true, + "schema": { + "$ref": "#/definitions/ServicesPatchDescription" + } + } + ], + "responses": { + "200": { + "description": "The tags for the resource were updated successfully.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForSCCDescription" + } + }, + "202": { + "description": "The tags for the resource were updated successfully.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForSCCDescription" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + }, + "delete": { + "tags": [ + "Resource" + ], + "description": "Delete a service instance.", + "operationId": "Services_Delete", + "x-ms-examples": { + "Delete service": { + "$ref": "./examples/ServiceDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + } + ], + "responses": { + "200": { + "description": "Accepted - Delete request accepted; the operation will complete." + }, + "202": { + "description": "Accepted - Delete request accepted; the operation will complete asynchronously." + }, + "204": { + "description": "The resource does not exist." + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCC": { + "get": { + "tags": [ + "Collection" + ], + "description": "Get all the privateLinkServicesForSCC instances in a subscription.", + "operationId": "privateLinkServicesForSCC_List", + "x-ms-examples": { + "List all services in subscription": { + "$ref": "./examples/ServiceList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + } + ], + "responses": { + "200": { + "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForSCC instances in the subscription.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForSCCDescriptionListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCC": { + "get": { + "tags": [ + "Collection" + ], + "description": "Get all the service instances in a resource group.", + "operationId": "privateLinkServicesForSCC_ListByResourceGroup", + "x-ms-examples": { + "List all services in resource group": { + "$ref": "./examples/ServiceListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + } + ], + "responses": { + "200": { + "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForSCC instances in the resource group.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForSCCDescriptionListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + } + }, + "/providers/Microsoft.SecurityAndCompliance/operations": { + "get": { + "tags": [ + "Proxy" + ], + "description": "Lists all of the available SecurityAndCompliance REST API operations.", + "operationId": "Operations_List", + "x-ms-examples": { + "List operations": { + "$ref": "./examples/OperationsList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/checkNameAvailability": { + "post": { + "tags": [ + "Proxy" + ], + "description": "Check if a service instance name is available.", + "operationId": "privateLinkServicesForSCC_CheckNameAvailability", + "x-ms-examples": { + "Check name availability": { + "$ref": "./examples/CheckNameAvailabilityPost.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "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" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/locations/{locationName}/operationresults/{operationResultId}": { + "get": { + "tags": [ + "Resource" + ], + "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": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/locationName" + }, + { + "$ref": "#/parameters/operationResultId" + } + ], + "responses": { + "200": { + "description": "The body contains all of the properties of the operation result.", + "schema": { + "$ref": "#/definitions/OperationResultsDescription" + } + }, + "default": { + "description": "Default error response", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCC/{resourceName}/privateEndpointConnections": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_ListByService", + "description": "Lists all private endpoint connections for a service.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnectionListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnection_List": { + "$ref": "./examples/ServiceListPrivateEndpointConnections.json" + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCC/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_Get", + "description": "Gets the specified private endpoint connection associated with the service.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/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/PrivateEndpointConnection" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnection_GetConnection": { + "$ref": "./examples/ServiceGetPrivateEndpointConnection.json" + } + } + }, + "put": { + "tags": [ + "PrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "description": "Update the state of the specified private endpoint connection associated with the service.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" + }, + { + "name": "properties", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "description": "The private endpoint connection properties." + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "201": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnection_CreateOrUpdate": { + "$ref": "./examples/ServiceCreatePrivateEndpointConnection.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "delete": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Deletes a private endpoint connection.", + "operationId": "PrivateEndpointConnections_Delete", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/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." + }, + "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": { + "PrivateEndpointConnections_Delete": { + "$ref": "./examples/ServiceDeletePrivateEndpointConnection.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCC/{resourceName}/privateLinkResources": { + "get": { + "tags": [ + "PrivateLinkResources" + ], + "operationId": "PrivateLinkResources_ListByService", + "description": "Gets the private link resources that need to be created for a service.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/PrivateLinkResourceListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-examples": { + "PrivateLinkResources_ListGroupIds": { + "$ref": "./examples/PrivateLinkResourcesListByService.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCC/{resourceName}/privateLinkResources/{groupName}": { + "get": { + "tags": [ + "PrivateLinkResources" + ], + "operationId": "PrivateLinkResources_Get", + "description": "Gets a private link resource that need to be created for a service.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "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/PrivateLinkResource" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-examples": { + "PrivateLinkResources_Get": { + "$ref": "./examples/PrivateLinkResourceGet.json" + } + } + } + } + }, + "definitions": { + "ServicesProperties": { + "description": "The properties of a service instance.", + "type": "object", + "properties": { + "provisioningState": { + "description": "The provisioning state.", + "enum": [ + "Deleting", + "Succeeded", + "Creating", + "Accepted", + "Verifying", + "Updating", + "Failed", + "Canceled", + "Deprovisioned" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "provisioningState", + "modelAsString": true + } + }, + "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 + } + } + } + }, + "ServiceAccessPoliciesInfo": { + "description": "The access policies of the service instance.", + "type": "array", + "items": { + "$ref": "#/definitions/ServiceAccessPolicyEntry" + } + }, + "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", + "format": "int64", + "description": "The provisioned throughput for the backing database.", + "readOnly": false, + "minimum": 400, + "maximum": 10000 + }, + "keyVaultKeyUri": { + "type": "string", + "description": "The URI of the customer-managed key for the backing database.", + "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", + "format": "int64", + "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 + } + } + }, + "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" + }, + "privateLinkServicesForSCCDescription": { + "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" + } + }, + "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." + }, + "systemData": { + "description": "Required property for system data", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + }, + "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" + ] + }, + "ErrorDetails": { + "description": "Error details.", + "type": "object", + "properties": { + "error": { + "description": "Object containing error details.", + "$ref": "#/definitions/ErrorDetailsInternal" + } + } + }, + "ErrorDetailsInternal": { + "description": "Error details.", + "type": "object", + "properties": { + "code": { + "description": "The error code.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "The error message.", + "type": "string", + "readOnly": true + }, + "target": { + "description": "The target of the particular error.", + "type": "string", + "readOnly": true + } + } + }, + "privateLinkServicesForSCCDescriptionListResult": { + "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", + "readOnly": true + }, + "value": { + "description": "A list of service description objects.", + "type": "array", + "items": { + "$ref": "#/definitions/privateLinkServicesForSCCDescription" + } + } + } + }, + "PrivateLinkResource": { + "properties": { + "systemData": { + "description": "Required property for system data", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + }, + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "Resource properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + } + ], + "description": "A private link resource" + }, + "PrivateLinkResourceProperties": { + "properties": { + "groupId": { + "description": "The private link resource group id.", + "type": "string", + "readOnly": true + }, + "requiredMembers": { + "description": "The private link resource required member names.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "requiredZoneNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The private link resource Private link DNS zone name." + } + }, + "description": "Properties of a private link resource." + }, + "PrivateLinkResourceListResult": { + "properties": { + "value": { + "type": "array", + "description": "Array of private link resources", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + } + } + }, + "description": "A list of private link resources" + }, + "PrivateEndpoint": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The ARM identifier for Private Endpoint" + } + }, + "description": "The Private Endpoint resource." + }, + "PrivateEndpointConnection": { + "properties": { + "systemData": { + "description": "Required property for system data", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + }, + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "x-ms-client-flatten": true, + "description": "Resource properties." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "description": "The Private Endpoint Connection resource." + }, + "PrivateEndpointConnectionProperties": { + "properties": { + "privateEndpoint": { + "$ref": "#/definitions/PrivateEndpoint", + "description": "The resource of private end point." + }, + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/PrivateLinkServiceConnectionState", + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "provisioningState": { + "$ref": "#/definitions/PrivateEndpointConnectionProvisioningState", + "description": "The provisioning state of the private endpoint connection resource." + } + }, + "required": [ + "privateLinkServiceConnectionState" + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "PrivateLinkServiceConnectionState": { + "properties": { + "status": { + "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", + "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." + }, + "description": { + "type": "string", + "description": "The reason for approval/rejection of the connection." + }, + "actionsRequired": { + "type": "string", + "description": "A message indicating if changes on the service provider require any updates on the consumer." + } + }, + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "PrivateEndpointServiceConnectionStatus": { + "type": "string", + "description": "The private endpoint connection status.", + "enum": [ + "Pending", + "Approved", + "Rejected" + ], + "x-ms-enum": { + "name": "PrivateEndpointServiceConnectionStatus", + "modelAsString": true + } + }, + "PrivateEndpointConnectionProvisioningState": { + "type": "string", + "readOnly": true, + "description": "The current provisioning state.", + "enum": [ + "Succeeded", + "Creating", + "Deleting", + "Failed" + ], + "x-ms-enum": { + "name": "PrivateEndpointConnectionProvisioningState", + "modelAsString": true + } + }, + "OperationListResult": { + "description": "A list of service operations. It contains a list of operations and a URL link to get the next set of results.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link used to get the next page of service description objects.", + "type": "string", + "readOnly": true + }, + "value": { + "description": "A list of service operations supported by the Microsoft.SecurityAndCompliance resource provider.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Operation" + } + } + } + }, + "Operation": { + "description": "Service REST API operation.", + "type": "object", + "properties": { + "name": { + "readOnly": true, + "type": "string", + "description": "Operation name: {provider}/{resource}/{read | write | action | delete}" + }, + "isDataAction": { + "readOnly": true, + "description": "Indicates whether the operation is a data action", + "type": "boolean" + }, + "origin": { + "readOnly": true, + "type": "string", + "description": "Default value is 'user,system'." + }, + "display": { + "readOnly": true, + "description": "The information displayed about the operation.", + "$ref": "#/definitions/OperationDisplay" + } + } + }, + "OperationDisplay": { + "description": "The object that represents the operation.", + "type": "object", + "properties": { + "provider": { + "readOnly": true, + "type": "string", + "description": "Service provider: Microsoft.SecurityAndCompliance" + }, + "resource": { + "readOnly": true, + "type": "string", + "description": "Resource Type: Services" + }, + "operation": { + "readOnly": true, + "type": "string", + "description": "Name of the operation" + }, + "description": { + "readOnly": true, + "type": "string", + "description": "Friendly description for the operation," + } + } + }, + "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", + "properties": { + "name": { + "description": "The name of the service instance to check.", + "type": "string" + }, + "type": { + "description": "The fully qualified resource type which includes provider namespace.", + "type": "string" + } + }, + "required": [ + "name", + "type" + ] + }, + "ServicesNameAvailabilityInfo": { + "description": "The properties indicating whether a given service name is available.", + "type": "object", + "properties": { + "nameAvailable": { + "description": "The value which indicates whether the provided name is available.", + "type": "boolean", + "readOnly": true + }, + "reason": { + "description": "The reason for unavailability.", + "enum": [ + "Invalid", + "AlreadyExists" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ServiceNameUnavailabilityReason", + "modelAsString": false + } + }, + "message": { + "description": "The detailed reason message.", + "type": "string" + } + } + }, + "OperationResultsDescription": { + "description": "The properties indicating the operation result of an operation on a service.", + "type": "object", + "properties": { + "id": { + "description": "The ID of the operation returned.", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "The name of the operation result.", + "readOnly": true, + "type": "string" + }, + "status": { + "description": "The status of the operation being performed.", + "enum": [ + "Canceled", + "Succeeded", + "Failed", + "Requested", + "Running" + ], + "readOnly": true, + "type": "string", + "x-ms-enum": { + "name": "OperationResultStatus", + "modelAsString": true + } + }, + "startTime": { + "description": "The time that the operation was started.", + "readOnly": true, + "type": "string" + }, + "properties": { + "x-ms-client-flatten": false, + "description": "Additional properties of the operation result." + } + } + } + }, + "parameters": { + "subscriptionId": { + "name": "subscriptionId", + "in": "path", + "description": "The subscription identifier.", + "required": true, + "type": "string" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." + }, + "resourceGroupName": { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group that contains the service instance.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + "resourceName": { + "name": "resourceName", + "in": "path", + "description": "The name of the service instance.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "minLength": 3, + "maxLength": 24 + }, + "locationName": { + "name": "locationName", + "in": "path", + "description": "The location of the operation.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "operationResultId": { + "name": "operationResultId", + "in": "path", + "description": "The ID of the operation result to get.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/securityandcompliance/resource-manager/readme.azureresourceschema.md b/specification/securityandcompliance/resource-manager/readme.azureresourceschema.md new file mode 100644 index 000000000000..642183581732 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/readme.azureresourceschema.md @@ -0,0 +1,24 @@ +## AzureResourceSchema + +These settings apply only when `--azureresourceschema` is specified on the command line. + +### AzureResourceSchema multi-api + +``` yaml $(azureresourceschema) && $(multiapi) +batch: + - tag: schema-securityandcompliance-2021-01-11 + +``` + +Please also specify `--azureresourceschema-folder=`. + +### Tag: schema-securityandcompliance-2021-01-11 and azureresourceschema + +``` yaml $(tag) == 'schema-securityandcompliance-2021-01-11' && $(azureresourceschema) +output-folder: $(azureresourceschema-folder)/schemas + +# all the input files in this apiVersion +input-file: + - Microsoft.SecurityAndCompliance/stable/2021-01-11/securityandcompliance.json + +``` diff --git a/specification/securityandcompliance/resource-manager/readme.go.md b/specification/securityandcompliance/resource-manager/readme.go.md new file mode 100644 index 000000000000..d51f2e0d9c97 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/readme.go.md @@ -0,0 +1,26 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +``` yaml $(go) +go: + license-header: MICROSOFT_APACHE_NO_VERSION + clear-output-folder: true + namespace: securityandcompliance +``` + +### Go multi-api + +``` yaml $(go) && $(multiapi) +batch: + - tag: package-2021-01-11 +``` + +### Tag: package-2021-01-11 and go + +These settings apply only when `--tag=package-2021-01-11 --go` is specified on the command line. +Please also specify `--go-sdk-folder=`. + +``` yaml $(tag)=='package-2021-01-11' && $(go) +output-folder: $(go-sdk-folder)/services/$(namespace)/mgmt/2021-01-11/$(namespace) +``` \ No newline at end of file diff --git a/specification/securityandcompliance/resource-manager/readme.md b/specification/securityandcompliance/resource-manager/readme.md new file mode 100644 index 000000000000..7d9e7a2debbb --- /dev/null +++ b/specification/securityandcompliance/resource-manager/readme.md @@ -0,0 +1,124 @@ +# SecurityAndCompliance + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for SecurityAndCompliance. + + + +--- +## Getting Started +To build the SDK for SecurityAndCompliance, simply [Install AutoRest](https://aka.ms/autorest/install) and in this folder, run: + +> `autorest` + +To see additional help and options, run: + +> `autorest --help` +--- + +## Configuration + + + +### Basic Information +These are the global settings for the SecurityAndCompliance API. + +``` yaml +openapi-type: arm +tag: package-2021-01-11 +``` + + +### Tag: package-2021-01-11 + +These settings apply only when `--tag=package-2021-01-11` is specified on the command line. + +``` yaml $(tag) == 'package-2021-01-11' +input-file: +- Microsoft.SecurityAndCompliance/stable/2021-01-11/securityandcompliance.json +``` + +--- +# Code Generation + + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +``` yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-net + - repo: azure-sdk-for-go + - repo: azure-sdk-for-js + - repo: azure-sdk-for-node + - repo: azure-sdk-for-python + - repo: azure-resource-manager-schemas + after_scripts: + - node sdkauto_afterscript.js securityandcompliance/resource-manager +``` + +## C# + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +``` yaml $(csharp) +csharp: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + namespace: Microsoft.Azure.Management.SecurityAndCompliance + output-folder: $(csharp-sdks-folder)/securityandcompliance/Microsoft.Azure.Management.SecurityAndCompliance/src/Generated + clear-output-folder: true +``` + +## Go + +See configuration in [readme.go.md](./readme.go.md) + +## Java + +These settings apply only when `--java` is specified on the command line. +Please also specify `--azure-libraries-for-java-folder=`. + +``` yaml $(java) +azure-arm: true +fluent: true +namespace: com.microsoft.azure.management.securityandcompliance +license-header: MICROSOFT_MIT_NO_CODEGEN +payload-flattening-threshold: 1 +output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-securityandcompliance +``` + +### Java multi-api + +``` yaml $(java) && $(multiapi) +batch: + - tag: package-2021-01-11 +``` + +### Tag: package-2021-01-11 and java + +These settings apply only when `--tag=package-2021-01-11 --java` is specified on the command line. +Please also specify `--azure-libraries-for-java=`. + +``` yaml $(tag) == 'package-2021-01-11' && $(java) && $(multiapi) +java: + namespace: com.microsoft.azure.management.securityandcompliance.v2021_01_11 + output-folder: $(azure-libraries-for-java-folder)/sdk/securityandcompliance/mgmt-v2021_01_11 +regenerate-manager: true +generate-interface: true +``` + +## Python + +See configuration in [readme.python.md](./readme.python.md) + + + +## AzureResourceSchema + +See configuration in [readme.azureresourceschema.md](./readme.azureresourceschema.md) + diff --git a/specification/securityandcompliance/resource-manager/readme.nodejs.md b/specification/securityandcompliance/resource-manager/readme.nodejs.md new file mode 100644 index 000000000000..8b5dd3edb64d --- /dev/null +++ b/specification/securityandcompliance/resource-manager/readme.nodejs.md @@ -0,0 +1,14 @@ +## Node.js + +These settings apply only when `--nodejs` is specified on the command line. +Please also specify `--node-sdks-folder=`. + +``` yaml $(nodejs) +nodejs: + azure-arm: true + package-name: azure-arm-securityandcompliance + output-folder: $(node-sdks-folder)/lib/services/securityandcomplianceManagement + generate-license-txt: true + generate-package-json: true + generate-readme-md: true +``` diff --git a/specification/securityandcompliance/resource-manager/readme.python.md b/specification/securityandcompliance/resource-manager/readme.python.md new file mode 100644 index 000000000000..316b58db6c3d --- /dev/null +++ b/specification/securityandcompliance/resource-manager/readme.python.md @@ -0,0 +1,27 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. +Use `--python-mode=update` if you already have a setup.py and just want to update the code itself. + +``` yaml $(python) +python-mode: create +python: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 2 + namespace: azure.mgmt.securityandcompliance + package-name: azure-mgmt-securityandcompliance + package-version: 2.0.0 + clear-output-folder: true +``` +``` yaml $(python) && $(python-mode) == 'update' +python: + no-namespace-folders: true + output-folder: $(python-sdks-folder)/securityandcompliance/azure-mgmt-securityandcompliance/azure/mgmt/securityandcompliance +``` +``` yaml $(python) && $(python-mode) == 'create' +python: + basic-setup-py: true + output-folder: $(python-sdks-folder)/securityandcompliance/azure-mgmt-securityandcompliance +``` diff --git a/specification/securityandcompliance/resource-manager/readme.typescript.md b/specification/securityandcompliance/resource-manager/readme.typescript.md new file mode 100644 index 000000000000..e66625eb1cd0 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/readme.typescript.md @@ -0,0 +1,13 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +``` yaml $(typescript) +typescript: + azure-arm: true + package-name: "@azure/arm-securityandcompliance" + output-folder: "$(typescript-sdks-folder)/sdk/securityandcompliance/arm-securityandcompliance" + clear-output-folder: true + generate-metadata: true +``` From b8242babea9f4cecd60830355d7b625881042bbb Mon Sep 17 00:00:00 2001 From: Sonal Verma Date: Thu, 4 Feb 2021 18:13:32 +0530 Subject: [PATCH 02/27] add resource types for security compliance auditing EDM Powershell --- ...ianceCenterCheckNameAvailabilityPost.json} | 0 ... ComplianceCenterOperationResultsGet.json} | 0 ...on => ComplianceCenterOperationsList.json} | 0 ...omplianceCenterPrivateLinkResourceGet.json | 35 + ...nterPrivateLinkResourcesListByService.json | 30 + .../ComplianceCenterServiceCreate.json | 193 +++ .../ComplianceCenterServiceCreateMinimum.json | 111 ++ ...erviceCreatePrivateEndpointConnection.json | 71 + ...son => ComplianceCenterServiceDelete.json} | 0 ...rviceDeletePrivateEndpointConnection.json} | 0 .../examples/ComplianceCenterServiceGet.json | 69 + ...erServiceGetPrivateEndpointConnection.json | 36 + .../examples/ComplianceCenterServiceList.json | 64 + ...ianceCenterServiceListByResourceGroup.json | 65 + ...ServiceListPrivateEndpointConnections.json | 31 + .../ComplianceCenterServicePatch.json | 140 ++ .../EdmUploadCheckNameAvailabilityPost.json | 19 + .../EdmUploadOperationResultsGet.json | 19 + .../examples/EdmUploadOperationsList.json | 53 + .../EdmUploadPrivateLinkResourceGet.json | 35 + ...loadPrivateLinkResourcesListByService.json | 30 + .../examples/EdmUploadServiceCreate.json | 193 +++ .../EdmUploadServiceCreateMinimum.json | 111 ++ ...erviceCreatePrivateEndpointConnection.json | 71 + .../examples/EdmUploadServiceDelete.json | 13 + ...erviceDeletePrivateEndpointConnection.json | 14 + .../examples/EdmUploadServiceGet.json | 69 + ...adServiceGetPrivateEndpointConnection.json | 36 + .../examples/EdmUploadServiceList.json | 64 + .../EdmUploadServiceListByResourceGroup.json | 65 + ...ServiceListPrivateEndpointConnections.json | 31 + .../examples/EdmUploadServicePatch.json | 140 ++ ...anagementAPICheckNameAvailabilityPost.json | 19 + .../ManagementAPIOperationResultsGet.json | 19 + .../examples/ManagementAPIOperationsList.json | 53 + .../ManagementAPIPrivateLinkResourceGet.json | 35 + ...tAPIPrivateLinkResourcesListByService.json | 30 + .../examples/ManagementAPIServiceCreate.json | 193 +++ .../ManagementAPIServiceCreateMinimum.json | 111 ++ ...erviceCreatePrivateEndpointConnection.json | 71 + .../examples/ManagementAPIServiceDelete.json | 13 + ...erviceDeletePrivateEndpointConnection.json | 14 + .../examples/ManagementAPIServiceGet.json | 69 + ...PIServiceGetPrivateEndpointConnection.json | 36 + .../examples/ManagementAPIServiceList.json | 64 + ...nagementAPIServiceListByResourceGroup.json | 65 + ...ServiceListPrivateEndpointConnections.json | 31 + .../examples/ManagementAPIServicePatch.json | 140 ++ ...CCPowershellCheckNameAvailabilityPost.json | 19 + .../SCCPowershellOperationResultsGet.json | 19 + .../examples/SCCPowershellOperationsList.json | 53 + .../SCCPowershellPrivateLinkResourceGet.json | 35 + ...hellPrivateLinkResourcesListByService.json | 30 + .../examples/SCCPowershellServiceCreate.json | 193 +++ .../SCCPowershellServiceCreateMinimum.json | 111 ++ ...erviceCreatePrivateEndpointConnection.json | 71 + .../examples/SCCPowershellServiceDelete.json | 13 + ...erviceDeletePrivateEndpointConnection.json | 14 + .../examples/SCCPowershellServiceGet.json | 69 + ...llServiceGetPrivateEndpointConnection.json | 36 + .../examples/SCCPowershellServiceList.json | 64 + ...CPowershellServiceListByResourceGroup.json | 65 + ...ServiceListPrivateEndpointConnections.json | 31 + .../examples/SCCPowershellServicePatch.json | 140 ++ ...curityCenterCheckNameAvailabilityPost.json | 19 + .../SecurityCenterOperationResultsGet.json | 19 + .../SecurityCenterOperationsList.json | 53 + ...SecurityCenterPrivateLinkResourceGet.json} | 4 +- ...terPrivateLinkResourcesListByService.json} | 4 +- ....json => SecurityCenterServiceCreate.json} | 10 +- ...> SecurityCenterServiceCreateMinimum.json} | 10 +- ...rviceCreatePrivateEndpointConnection.json} | 8 +- .../examples/SecurityCenterServiceDelete.json | 13 + ...erviceDeletePrivateEndpointConnection.json | 14 + ...Get.json => SecurityCenterServiceGet.json} | 4 +- ...rServiceGetPrivateEndpointConnection.json} | 4 +- ...st.json => SecurityCenterServiceList.json} | 4 +- ...rityCenterServiceListByResourceGroup.json} | 4 +- ...erviceListPrivateEndpointConnections.json} | 4 +- ...h.json => SecurityCenterServicePatch.json} | 8 +- ...eLinkServicesForExactDataMatchUpload.json} | 96 +- ...teLinkServicesForM365ComplianceCenter.json | 1500 +++++++++++++++++ ...vateLinkServicesForM365SecurityCenter.json | 1500 +++++++++++++++++ ...icesForOffice365ManagementActivityAPI.json | 1500 +++++++++++++++++ ...SecurityandComplianceCenterPowershell.json | 1500 +++++++++++++++++ 85 files changed, 9932 insertions(+), 80 deletions(-) rename specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/{CheckNameAvailabilityPost.json => ComplianceCenterCheckNameAvailabilityPost.json} (100%) rename specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/{OperationResultsGet.json => ComplianceCenterOperationResultsGet.json} (100%) rename specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/{OperationsList.json => ComplianceCenterOperationsList.json} (100%) create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterPrivateLinkResourceGet.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterPrivateLinkResourcesListByService.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceCreate.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceCreateMinimum.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceCreatePrivateEndpointConnection.json rename specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/{ServiceDelete.json => ComplianceCenterServiceDelete.json} (100%) rename specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/{ServiceDeletePrivateEndpointConnection.json => ComplianceCenterServiceDeletePrivateEndpointConnection.json} (100%) create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceGet.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceGetPrivateEndpointConnection.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceList.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceListByResourceGroup.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceListPrivateEndpointConnections.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServicePatch.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadCheckNameAvailabilityPost.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadOperationResultsGet.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadOperationsList.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadPrivateLinkResourceGet.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadPrivateLinkResourcesListByService.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceCreate.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceCreateMinimum.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceCreatePrivateEndpointConnection.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceDelete.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceDeletePrivateEndpointConnection.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceGet.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceGetPrivateEndpointConnection.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceList.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceListByResourceGroup.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceListPrivateEndpointConnections.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServicePatch.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPICheckNameAvailabilityPost.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIOperationResultsGet.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIOperationsList.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIPrivateLinkResourceGet.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIPrivateLinkResourcesListByService.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceCreate.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceCreateMinimum.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceCreatePrivateEndpointConnection.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceDelete.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceDeletePrivateEndpointConnection.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceGet.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceGetPrivateEndpointConnection.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceList.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceListByResourceGroup.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceListPrivateEndpointConnections.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServicePatch.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellCheckNameAvailabilityPost.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellOperationResultsGet.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellOperationsList.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellPrivateLinkResourceGet.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellPrivateLinkResourcesListByService.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceCreate.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceCreateMinimum.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceCreatePrivateEndpointConnection.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceDelete.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceDeletePrivateEndpointConnection.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceGet.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceGetPrivateEndpointConnection.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceList.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceListByResourceGroup.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceListPrivateEndpointConnections.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServicePatch.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterCheckNameAvailabilityPost.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterOperationResultsGet.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterOperationsList.json rename specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/{PrivateLinkResourceGet.json => SecurityCenterPrivateLinkResourceGet.json} (78%) rename specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/{PrivateLinkResourcesListByService.json => SecurityCenterPrivateLinkResourcesListByService.json} (72%) rename specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/{ServiceCreate.json => SecurityCenterServiceCreate.json} (93%) rename specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/{ServiceCreateMinimum.json => SecurityCenterServiceCreateMinimum.json} (88%) rename specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/{ServiceCreatePrivateEndpointConnection.json => SecurityCenterServiceCreatePrivateEndpointConnection.json} (81%) create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceDelete.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceDeletePrivateEndpointConnection.json rename specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/{ServiceGet.json => SecurityCenterServiceGet.json} (91%) rename specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/{ServiceGetPrivateEndpointConnection.json => SecurityCenterServiceGetPrivateEndpointConnection.json} (80%) rename specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/{ServiceList.json => SecurityCenterServiceList.json} (91%) rename specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/{ServiceListByResourceGroup.json => SecurityCenterServiceListByResourceGroup.json} (90%) rename specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/{ServiceListPrivateEndpointConnections.json => SecurityCenterServiceListPrivateEndpointConnections.json} (75%) rename specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/{ServicePatch.json => SecurityCenterServicePatch.json} (91%) rename specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/{securityandcompliance.json => privateLinkServicesForExactDataMatchUpload.json} (92%) create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForOffice365ManagementActivityAPI.json create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSecurityandComplianceCenterPowershell.json diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/CheckNameAvailabilityPost.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterCheckNameAvailabilityPost.json similarity index 100% rename from specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/CheckNameAvailabilityPost.json rename to specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterCheckNameAvailabilityPost.json diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/OperationResultsGet.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterOperationResultsGet.json similarity index 100% rename from specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/OperationResultsGet.json rename to specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterOperationResultsGet.json diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/OperationsList.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterOperationsList.json similarity index 100% rename from specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/OperationsList.json rename to specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterOperationsList.json diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterPrivateLinkResourceGet.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterPrivateLinkResourceGet.json new file mode 100644 index 000000000000..78ee68288188 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterPrivateLinkResourceGet.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "resourceGroupName": "rgname", + "resourceName": "service1", + "groupName": "fhir" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/service1/privateLinkResources/fhir", + "name": "fhir", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/privateLinkResources", + "properties": { + "groupId": "fhir", + "requiredMembers": [ + "fhir" + ], + "requiredZoneNames": [ + "privatelink.security.microsoft.com" + ] + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterPrivateLinkResourcesListByService.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterPrivateLinkResourcesListByService.json new file mode 100644 index 000000000000..e262947f20c9 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterPrivateLinkResourcesListByService.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "resourceGroupName": "rgname", + "resourceName": "service1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/service1/privateLinkResources/fhir", + "name": "fhir", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/privateLinkResources", + "properties": { + "groupId": "fhir", + "requiredMembers": [ + "fhir" + ], + "requiredZoneNames": [ + "privatelink.compliance.microsoft.com" + ] + } + } + ] + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceCreate.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceCreate.json new file mode 100644 index 000000000000..0d2041d0f146 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceCreate.json @@ -0,0 +1,193 @@ +{ + "parameters": { + "resourceName": "service1", + "resourceGroupName": "rg1", + "api-version": "2021-01-11", + "subscriptionId": "subid", + "privateLinkServicesForM365ComplianceCenterDescription": { + "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.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/service1", + "name": "service1", + "location": "West US 2", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + }, + "identity": { + "principalId": "03fe6ae0-952c-4e4b-954b-cc0364dd252e", + "tenantId": "72f988bf-86f1-41af-91ab-2d8cd011db47", + "type": "SystemAssigned" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/service1", + "name": "service1", + "location": "West US 2", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + }, + "identity": { + "principalId": "03fe6ae0-952c-4e4b-954b-cc0364dd252e", + "tenantId": "72f988bf-86f1-41af-91ab-2d8cd011db47", + "type": "SystemAssigned" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceCreateMinimum.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceCreateMinimum.json new file mode 100644 index 000000000000..a3db8cac9c60 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceCreateMinimum.json @@ -0,0 +1,111 @@ +{ + "parameters": { + "resourceName": "service2", + "resourceGroupName": "rg1", + "api-version": "2021-01-11", + "subscriptionId": "subid", + "privateLinkServicesForM365ComplianceCenterDescription": { + "location": "westus2", + "tags": {}, + "kind": "fhir-R4", + "properties": { + "accessPolicies": [ + { + "objectId": "c487e7d1-3210-41a3-8ccc-e9372b78da47" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/service2", + "name": "service2", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/service2", + "name": "service2", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceCreatePrivateEndpointConnection.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceCreatePrivateEndpointConnection.json new file mode 100644 index 000000000000..e8b6df7f5470 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceCreatePrivateEndpointConnection.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "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.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/service1/privateEndpointConnections/myConnection", + "name": "myConnection", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/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" + } + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/service1/privateEndpointConnections/myConnection", + "name": "myConnection", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/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" + } + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceDelete.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceDelete.json similarity index 100% rename from specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceDelete.json rename to specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceDelete.json diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceDeletePrivateEndpointConnection.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceDeletePrivateEndpointConnection.json similarity index 100% rename from specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceDeletePrivateEndpointConnection.json rename to specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceDeletePrivateEndpointConnection.json diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceGet.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceGet.json new file mode 100644 index 000000000000..d9d6a35b1ad7 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceGet.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "resourceName": "service1", + "resourceGroupName": "rg1", + "api-version": "2021-01-11", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/service1", + "name": "service1", + "location": "West US", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceGetPrivateEndpointConnection.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceGetPrivateEndpointConnection.json new file mode 100644 index 000000000000..79d5e8674d20 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceGetPrivateEndpointConnection.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "resourceGroupName": "rgname", + "resourceName": "service1", + "privateEndpointConnectionName": "myConnection" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/service1/privateEndpointConnections/myConnection", + "name": "myConnection", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/privateEndpointConnections", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/peexample01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceList.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceList.json new file mode 100644 index 000000000000..792c22738a5b --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceList.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/service1", + "name": "service1", + "location": "West US", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter", + "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.SecurityAndCompliance/services?api-version=2018-08-20-preview&%24skipToken=e30%3d" + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceListByResourceGroup.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceListByResourceGroup.json new file mode 100644 index 000000000000..44d065aefcfb --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceListByResourceGroup.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "resourceGroupName": "rgname" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/dddb8dcb-effb-4290-bb47-ce1e8440c729", + "name": "service1", + "location": "westus", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter", + "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.SecurityAndCompliance/services?api-version=2018-08-20-preview&%24skipToken=e30%3d" + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceListPrivateEndpointConnections.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceListPrivateEndpointConnections.json new file mode 100644 index 000000000000..7d4877efb124 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceListPrivateEndpointConnections.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "resourceGroupName": "rgname", + "resourceName": "service1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/service1/privateEndpointConnections/myConnection", + "name": "myConnection", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/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/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServicePatch.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServicePatch.json new file mode 100644 index 000000000000..2296ffa3d5a1 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServicePatch.json @@ -0,0 +1,140 @@ +{ + "parameters": { + "resourceName": "service1", + "resourceGroupName": "rg1", + "api-version": "2021-01-11", + "subscriptionId": "subid", + "servicePatchDescription": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/service1", + "name": "service1", + "location": "West US", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + }, + "202": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/service1", + "name": "service1", + "location": "West US", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadCheckNameAvailabilityPost.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadCheckNameAvailabilityPost.json new file mode 100644 index 000000000000..8380a55def44 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadCheckNameAvailabilityPost.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "checkNameAvailabilityInputs": { + "type": "Microsoft.SecurityAndCompliance/services", + "name": "serviceName" + } + }, + "responses": { + "200": { + "body": { + "nameAvailable": false, + "reason": "AlreadyExists", + "message": "Service name is not available." + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadOperationResultsGet.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadOperationResultsGet.json new file mode 100644 index 000000000000..791d0c639fb0 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadOperationResultsGet.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "locationName": "westus", + "operationResultId": "exampleid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/providers/Microsoft.SecurityAndCompliance/locations/westus/operationresults/exampleid", + "name": "servicename", + "status": "Requested", + "startTime": "2020-01-11T06:03:30.2716301Z", + "properties": {} + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadOperationsList.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadOperationsList.json new file mode 100644 index 000000000000..8b2eb6c6b2af --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadOperationsList.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2021-01-11" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.SecurityAndCompliance/services/read", + "display": {}, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/services/write", + "display": {}, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/services/delete", + "display": {}, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/locations/operationresults/read", + "display": { + "provider": "Microsoft.SecurityAndCompliance", + "resource": "operationresults", + "operation": "read", + "description": "Get the status of an asynchronous operation" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/checkNameAvailability/post", + "display": {}, + "origin": "user" + }, + { + "name": "Microsoft.SecurityAndCompliance/Operations/read", + "display": { + "provider": "Microsoft.SecurityAndCompliance", + "resource": "operations", + "operation": "read", + "description": "Get the list of operations supported by this Resource Provider." + }, + "origin": "user,system" + } + ] + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadPrivateLinkResourceGet.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadPrivateLinkResourceGet.json new file mode 100644 index 000000000000..85c655701266 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadPrivateLinkResourceGet.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "resourceGroupName": "rgname", + "resourceName": "service1", + "groupName": "fhir" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/service1/privateLinkResources/fhir", + "name": "fhir", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/privateLinkResources", + "properties": { + "groupId": "fhir", + "requiredMembers": [ + "fhir" + ], + "requiredZoneNames": [ + "privatelink.security.microsoft.com" + ] + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadPrivateLinkResourcesListByService.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadPrivateLinkResourcesListByService.json new file mode 100644 index 000000000000..31e264aa3a49 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadPrivateLinkResourcesListByService.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "resourceGroupName": "rgname", + "resourceName": "service1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/service1/privateLinkResources/fhir", + "name": "fhir", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/privateLinkResources", + "properties": { + "groupId": "fhir", + "requiredMembers": [ + "fhir" + ], + "requiredZoneNames": [ + "privatelink.compliance.microsoft.com" + ] + } + } + ] + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceCreate.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceCreate.json new file mode 100644 index 000000000000..2f383fa382cc --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceCreate.json @@ -0,0 +1,193 @@ +{ + "parameters": { + "resourceName": "service1", + "resourceGroupName": "rg1", + "api-version": "2021-01-11", + "subscriptionId": "subid", + "privateLinkServicesForExactDataMatchUploadDescription": { + "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.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/service1", + "name": "service1", + "location": "West US 2", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + }, + "identity": { + "principalId": "03fe6ae0-952c-4e4b-954b-cc0364dd252e", + "tenantId": "72f988bf-86f1-41af-91ab-2d8cd011db47", + "type": "SystemAssigned" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/service1", + "name": "service1", + "location": "West US 2", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + }, + "identity": { + "principalId": "03fe6ae0-952c-4e4b-954b-cc0364dd252e", + "tenantId": "72f988bf-86f1-41af-91ab-2d8cd011db47", + "type": "SystemAssigned" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceCreateMinimum.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceCreateMinimum.json new file mode 100644 index 000000000000..4c5a211169ef --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceCreateMinimum.json @@ -0,0 +1,111 @@ +{ + "parameters": { + "resourceName": "service2", + "resourceGroupName": "rg1", + "api-version": "2021-01-11", + "subscriptionId": "subid", + "privateLinkServicesForExactDataMatchUploadDescription": { + "location": "westus2", + "tags": {}, + "kind": "fhir-R4", + "properties": { + "accessPolicies": [ + { + "objectId": "c487e7d1-3210-41a3-8ccc-e9372b78da47" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/service2", + "name": "service2", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/service2", + "name": "service2", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceCreatePrivateEndpointConnection.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceCreatePrivateEndpointConnection.json new file mode 100644 index 000000000000..36dfd08857b0 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceCreatePrivateEndpointConnection.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "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.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/service1/privateEndpointConnections/myConnection", + "name": "myConnection", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/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" + } + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/service1/privateEndpointConnections/myConnection", + "name": "myConnection", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/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" + } + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceDelete.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceDelete.json new file mode 100644 index 000000000000..d1d6c8d10c1b --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "resourceName": "service1", + "resourceGroupName": "rg1", + "api-version": "2021-01-11", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceDeletePrivateEndpointConnection.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceDeletePrivateEndpointConnection.json new file mode 100644 index 000000000000..93028a6f9165 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceDeletePrivateEndpointConnection.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "resourceGroupName": "rgname", + "resourceName": "service1", + "privateEndpointConnectionName": "myConnection" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceGet.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceGet.json new file mode 100644 index 000000000000..2b3601a15a98 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceGet.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "resourceName": "service1", + "resourceGroupName": "rg1", + "api-version": "2021-01-11", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/service1", + "name": "service1", + "location": "West US", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceGetPrivateEndpointConnection.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceGetPrivateEndpointConnection.json new file mode 100644 index 000000000000..fdce75b5a9fb --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceGetPrivateEndpointConnection.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "resourceGroupName": "rgname", + "resourceName": "service1", + "privateEndpointConnectionName": "myConnection" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/service1/privateEndpointConnections/myConnection", + "name": "myConnection", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/privateEndpointConnections", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/peexample01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceList.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceList.json new file mode 100644 index 000000000000..78cc33c41f73 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceList.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/service1", + "name": "service1", + "location": "West US", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload", + "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.SecurityAndCompliance/services?api-version=2018-08-20-preview&%24skipToken=e30%3d" + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceListByResourceGroup.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceListByResourceGroup.json new file mode 100644 index 000000000000..81cc2bff75bc --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceListByResourceGroup.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "resourceGroupName": "rgname" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/dddb8dcb-effb-4290-bb47-ce1e8440c729", + "name": "service1", + "location": "westus", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload", + "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.SecurityAndCompliance/services?api-version=2018-08-20-preview&%24skipToken=e30%3d" + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceListPrivateEndpointConnections.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceListPrivateEndpointConnections.json new file mode 100644 index 000000000000..1dc5911ff11f --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceListPrivateEndpointConnections.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "resourceGroupName": "rgname", + "resourceName": "service1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/service1/privateEndpointConnections/myConnection", + "name": "myConnection", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/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/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServicePatch.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServicePatch.json new file mode 100644 index 000000000000..1ca769b9a01d --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServicePatch.json @@ -0,0 +1,140 @@ +{ + "parameters": { + "resourceName": "service1", + "resourceGroupName": "rg1", + "api-version": "2021-01-11", + "subscriptionId": "subid", + "servicePatchDescription": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/service1", + "name": "service1", + "location": "West US", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + }, + "202": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/service1", + "name": "service1", + "location": "West US", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPICheckNameAvailabilityPost.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPICheckNameAvailabilityPost.json new file mode 100644 index 000000000000..8380a55def44 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPICheckNameAvailabilityPost.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "checkNameAvailabilityInputs": { + "type": "Microsoft.SecurityAndCompliance/services", + "name": "serviceName" + } + }, + "responses": { + "200": { + "body": { + "nameAvailable": false, + "reason": "AlreadyExists", + "message": "Service name is not available." + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIOperationResultsGet.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIOperationResultsGet.json new file mode 100644 index 000000000000..791d0c639fb0 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIOperationResultsGet.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "locationName": "westus", + "operationResultId": "exampleid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/providers/Microsoft.SecurityAndCompliance/locations/westus/operationresults/exampleid", + "name": "servicename", + "status": "Requested", + "startTime": "2020-01-11T06:03:30.2716301Z", + "properties": {} + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIOperationsList.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIOperationsList.json new file mode 100644 index 000000000000..8b2eb6c6b2af --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIOperationsList.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2021-01-11" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.SecurityAndCompliance/services/read", + "display": {}, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/services/write", + "display": {}, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/services/delete", + "display": {}, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/locations/operationresults/read", + "display": { + "provider": "Microsoft.SecurityAndCompliance", + "resource": "operationresults", + "operation": "read", + "description": "Get the status of an asynchronous operation" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/checkNameAvailability/post", + "display": {}, + "origin": "user" + }, + { + "name": "Microsoft.SecurityAndCompliance/Operations/read", + "display": { + "provider": "Microsoft.SecurityAndCompliance", + "resource": "operations", + "operation": "read", + "description": "Get the list of operations supported by this Resource Provider." + }, + "origin": "user,system" + } + ] + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIPrivateLinkResourceGet.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIPrivateLinkResourceGet.json new file mode 100644 index 000000000000..35f3087f665f --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIPrivateLinkResourceGet.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "resourceGroupName": "rgname", + "resourceName": "service1", + "groupName": "fhir" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/service1/privateLinkResources/fhir", + "name": "fhir", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/privateLinkResources", + "properties": { + "groupId": "fhir", + "requiredMembers": [ + "fhir" + ], + "requiredZoneNames": [ + "privatelink.security.microsoft.com" + ] + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIPrivateLinkResourcesListByService.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIPrivateLinkResourcesListByService.json new file mode 100644 index 000000000000..1c3f85e9a7be --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIPrivateLinkResourcesListByService.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "resourceGroupName": "rgname", + "resourceName": "service1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/service1/privateLinkResources/fhir", + "name": "fhir", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/privateLinkResources", + "properties": { + "groupId": "fhir", + "requiredMembers": [ + "fhir" + ], + "requiredZoneNames": [ + "privatelink.compliance.microsoft.com" + ] + } + } + ] + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceCreate.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceCreate.json new file mode 100644 index 000000000000..feb1e6ddd2ac --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceCreate.json @@ -0,0 +1,193 @@ +{ + "parameters": { + "resourceName": "service1", + "resourceGroupName": "rg1", + "api-version": "2021-01-11", + "subscriptionId": "subid", + "privateLinkServicesForOffice365ManagementActivityAPIDescription": { + "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.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/service1", + "name": "service1", + "location": "West US 2", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + }, + "identity": { + "principalId": "03fe6ae0-952c-4e4b-954b-cc0364dd252e", + "tenantId": "72f988bf-86f1-41af-91ab-2d8cd011db47", + "type": "SystemAssigned" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/service1", + "name": "service1", + "location": "West US 2", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + }, + "identity": { + "principalId": "03fe6ae0-952c-4e4b-954b-cc0364dd252e", + "tenantId": "72f988bf-86f1-41af-91ab-2d8cd011db47", + "type": "SystemAssigned" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceCreateMinimum.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceCreateMinimum.json new file mode 100644 index 000000000000..6b17fceec4ac --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceCreateMinimum.json @@ -0,0 +1,111 @@ +{ + "parameters": { + "resourceName": "service2", + "resourceGroupName": "rg1", + "api-version": "2021-01-11", + "subscriptionId": "subid", + "privateLinkServicesForOffice365ManagementActivityAPIDescription": { + "location": "westus2", + "tags": {}, + "kind": "fhir-R4", + "properties": { + "accessPolicies": [ + { + "objectId": "c487e7d1-3210-41a3-8ccc-e9372b78da47" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/service2", + "name": "service2", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/service2", + "name": "service2", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceCreatePrivateEndpointConnection.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceCreatePrivateEndpointConnection.json new file mode 100644 index 000000000000..ebfaf11e1d50 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceCreatePrivateEndpointConnection.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "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.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/service1/privateEndpointConnections/myConnection", + "name": "myConnection", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/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" + } + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/service1/privateEndpointConnections/myConnection", + "name": "myConnection", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/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" + } + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceDelete.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceDelete.json new file mode 100644 index 000000000000..d1d6c8d10c1b --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "resourceName": "service1", + "resourceGroupName": "rg1", + "api-version": "2021-01-11", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceDeletePrivateEndpointConnection.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceDeletePrivateEndpointConnection.json new file mode 100644 index 000000000000..93028a6f9165 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceDeletePrivateEndpointConnection.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "resourceGroupName": "rgname", + "resourceName": "service1", + "privateEndpointConnectionName": "myConnection" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceGet.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceGet.json new file mode 100644 index 000000000000..809f7bbe4f52 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceGet.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "resourceName": "service1", + "resourceGroupName": "rg1", + "api-version": "2021-01-11", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/service1", + "name": "service1", + "location": "West US", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceGetPrivateEndpointConnection.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceGetPrivateEndpointConnection.json new file mode 100644 index 000000000000..34ba2a83048f --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceGetPrivateEndpointConnection.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "resourceGroupName": "rgname", + "resourceName": "service1", + "privateEndpointConnectionName": "myConnection" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/service1/privateEndpointConnections/myConnection", + "name": "myConnection", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/privateEndpointConnections", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/peexample01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceList.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceList.json new file mode 100644 index 000000000000..965a1c2298c5 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceList.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/service1", + "name": "service1", + "location": "West US", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI", + "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.SecurityAndCompliance/services?api-version=2018-08-20-preview&%24skipToken=e30%3d" + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceListByResourceGroup.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceListByResourceGroup.json new file mode 100644 index 000000000000..eb8053ec6ca5 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceListByResourceGroup.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "resourceGroupName": "rgname" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/dddb8dcb-effb-4290-bb47-ce1e8440c729", + "name": "service1", + "location": "westus", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI", + "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.SecurityAndCompliance/services?api-version=2018-08-20-preview&%24skipToken=e30%3d" + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceListPrivateEndpointConnections.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceListPrivateEndpointConnections.json new file mode 100644 index 000000000000..4be0ac2bda6a --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceListPrivateEndpointConnections.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "resourceGroupName": "rgname", + "resourceName": "service1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/service1/privateEndpointConnections/myConnection", + "name": "myConnection", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/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/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServicePatch.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServicePatch.json new file mode 100644 index 000000000000..bc4a1c401ec6 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServicePatch.json @@ -0,0 +1,140 @@ +{ + "parameters": { + "resourceName": "service1", + "resourceGroupName": "rg1", + "api-version": "2021-01-11", + "subscriptionId": "subid", + "servicePatchDescription": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/service1", + "name": "service1", + "location": "West US", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + }, + "202": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/service1", + "name": "service1", + "location": "West US", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellCheckNameAvailabilityPost.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellCheckNameAvailabilityPost.json new file mode 100644 index 000000000000..8380a55def44 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellCheckNameAvailabilityPost.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "checkNameAvailabilityInputs": { + "type": "Microsoft.SecurityAndCompliance/services", + "name": "serviceName" + } + }, + "responses": { + "200": { + "body": { + "nameAvailable": false, + "reason": "AlreadyExists", + "message": "Service name is not available." + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellOperationResultsGet.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellOperationResultsGet.json new file mode 100644 index 000000000000..791d0c639fb0 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellOperationResultsGet.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "locationName": "westus", + "operationResultId": "exampleid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/providers/Microsoft.SecurityAndCompliance/locations/westus/operationresults/exampleid", + "name": "servicename", + "status": "Requested", + "startTime": "2020-01-11T06:03:30.2716301Z", + "properties": {} + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellOperationsList.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellOperationsList.json new file mode 100644 index 000000000000..8b2eb6c6b2af --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellOperationsList.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2021-01-11" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.SecurityAndCompliance/services/read", + "display": {}, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/services/write", + "display": {}, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/services/delete", + "display": {}, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/locations/operationresults/read", + "display": { + "provider": "Microsoft.SecurityAndCompliance", + "resource": "operationresults", + "operation": "read", + "description": "Get the status of an asynchronous operation" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/checkNameAvailability/post", + "display": {}, + "origin": "user" + }, + { + "name": "Microsoft.SecurityAndCompliance/Operations/read", + "display": { + "provider": "Microsoft.SecurityAndCompliance", + "resource": "operations", + "operation": "read", + "description": "Get the list of operations supported by this Resource Provider." + }, + "origin": "user,system" + } + ] + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellPrivateLinkResourceGet.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellPrivateLinkResourceGet.json new file mode 100644 index 000000000000..5d29d9fa3b35 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellPrivateLinkResourceGet.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "resourceGroupName": "rgname", + "resourceName": "service1", + "groupName": "fhir" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/service1/privateLinkResources/fhir", + "name": "fhir", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/privateLinkResources", + "properties": { + "groupId": "fhir", + "requiredMembers": [ + "fhir" + ], + "requiredZoneNames": [ + "privatelink.security.microsoft.com" + ] + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellPrivateLinkResourcesListByService.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellPrivateLinkResourcesListByService.json new file mode 100644 index 000000000000..796bd79f0b1f --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellPrivateLinkResourcesListByService.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "resourceGroupName": "rgname", + "resourceName": "service1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/service1/privateLinkResources/fhir", + "name": "fhir", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/privateLinkResources", + "properties": { + "groupId": "fhir", + "requiredMembers": [ + "fhir" + ], + "requiredZoneNames": [ + "privatelink.compliance.microsoft.com" + ] + } + } + ] + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceCreate.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceCreate.json new file mode 100644 index 000000000000..237f5ef6c5d1 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceCreate.json @@ -0,0 +1,193 @@ +{ + "parameters": { + "resourceName": "service1", + "resourceGroupName": "rg1", + "api-version": "2021-01-11", + "subscriptionId": "subid", + "privateLinkServicesForSecurityandComplianceCenterPowershellDescription": { + "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.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/service1", + "name": "service1", + "location": "West US 2", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + }, + "identity": { + "principalId": "03fe6ae0-952c-4e4b-954b-cc0364dd252e", + "tenantId": "72f988bf-86f1-41af-91ab-2d8cd011db47", + "type": "SystemAssigned" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/service1", + "name": "service1", + "location": "West US 2", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + }, + "identity": { + "principalId": "03fe6ae0-952c-4e4b-954b-cc0364dd252e", + "tenantId": "72f988bf-86f1-41af-91ab-2d8cd011db47", + "type": "SystemAssigned" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceCreateMinimum.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceCreateMinimum.json new file mode 100644 index 000000000000..e791c58a762a --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceCreateMinimum.json @@ -0,0 +1,111 @@ +{ + "parameters": { + "resourceName": "service2", + "resourceGroupName": "rg1", + "api-version": "2021-01-11", + "subscriptionId": "subid", + "privateLinkServicesForSecurityandComplianceCenterPowershellDescription": { + "location": "westus2", + "tags": {}, + "kind": "fhir-R4", + "properties": { + "accessPolicies": [ + { + "objectId": "c487e7d1-3210-41a3-8ccc-e9372b78da47" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/service2", + "name": "service2", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/service2", + "name": "service2", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceCreatePrivateEndpointConnection.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceCreatePrivateEndpointConnection.json new file mode 100644 index 000000000000..2c3d1d70756b --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceCreatePrivateEndpointConnection.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "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.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/service1/privateEndpointConnections/myConnection", + "name": "myConnection", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/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" + } + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + }, + "201": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/service1/privateEndpointConnections/myConnection", + "name": "myConnection", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/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" + } + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceDelete.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceDelete.json new file mode 100644 index 000000000000..d1d6c8d10c1b --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "resourceName": "service1", + "resourceGroupName": "rg1", + "api-version": "2021-01-11", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceDeletePrivateEndpointConnection.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceDeletePrivateEndpointConnection.json new file mode 100644 index 000000000000..93028a6f9165 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceDeletePrivateEndpointConnection.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "resourceGroupName": "rgname", + "resourceName": "service1", + "privateEndpointConnectionName": "myConnection" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceGet.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceGet.json new file mode 100644 index 000000000000..15260a78449b --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceGet.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "resourceName": "service1", + "resourceGroupName": "rg1", + "api-version": "2021-01-11", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/service1", + "name": "service1", + "location": "West US", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceGetPrivateEndpointConnection.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceGetPrivateEndpointConnection.json new file mode 100644 index 000000000000..c271ff0cd42d --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceGetPrivateEndpointConnection.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "resourceGroupName": "rgname", + "resourceName": "service1", + "privateEndpointConnectionName": "myConnection" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/service1/privateEndpointConnections/myConnection", + "name": "myConnection", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/privateEndpointConnections", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/peexample01" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "Auto-Approved", + "actionsRequired": "None" + } + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceList.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceList.json new file mode 100644 index 000000000000..7acb593dbd4d --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceList.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/service1", + "name": "service1", + "location": "West US", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell", + "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.SecurityAndCompliance/services?api-version=2018-08-20-preview&%24skipToken=e30%3d" + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceListByResourceGroup.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceListByResourceGroup.json new file mode 100644 index 000000000000..0b0100d30dc2 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceListByResourceGroup.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "resourceGroupName": "rgname" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/dddb8dcb-effb-4290-bb47-ce1e8440c729", + "name": "service1", + "location": "westus", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell", + "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.SecurityAndCompliance/services?api-version=2018-08-20-preview&%24skipToken=e30%3d" + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceListPrivateEndpointConnections.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceListPrivateEndpointConnections.json new file mode 100644 index 000000000000..2cc3c25224de --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceListPrivateEndpointConnections.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "resourceGroupName": "rgname", + "resourceName": "service1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/service1/privateEndpointConnections/myConnection", + "name": "myConnection", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/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/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServicePatch.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServicePatch.json new file mode 100644 index 000000000000..b7947f0767f9 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServicePatch.json @@ -0,0 +1,140 @@ +{ + "parameters": { + "resourceName": "service1", + "resourceGroupName": "rg1", + "api-version": "2021-01-11", + "subscriptionId": "subid", + "servicePatchDescription": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/service1", + "name": "service1", + "location": "West US", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + }, + "202": { + "body": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/service1", + "name": "service1", + "location": "West US", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell", + "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" + }, + "systemData": { + "createdBy": "sove", + "createdByType": "User", + "createdAt": "2021-01-11T13:30:28.958Z", + "lastModifiedBy": "sove", + "lastModifiedByType": "User", + "lastModifiedAt": "2021-01-11T13:30:28.958Z" + } + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterCheckNameAvailabilityPost.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterCheckNameAvailabilityPost.json new file mode 100644 index 000000000000..8380a55def44 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterCheckNameAvailabilityPost.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "checkNameAvailabilityInputs": { + "type": "Microsoft.SecurityAndCompliance/services", + "name": "serviceName" + } + }, + "responses": { + "200": { + "body": { + "nameAvailable": false, + "reason": "AlreadyExists", + "message": "Service name is not available." + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterOperationResultsGet.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterOperationResultsGet.json new file mode 100644 index 000000000000..791d0c639fb0 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterOperationResultsGet.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "locationName": "westus", + "operationResultId": "exampleid" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/providers/Microsoft.SecurityAndCompliance/locations/westus/operationresults/exampleid", + "name": "servicename", + "status": "Requested", + "startTime": "2020-01-11T06:03:30.2716301Z", + "properties": {} + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterOperationsList.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterOperationsList.json new file mode 100644 index 000000000000..8b2eb6c6b2af --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterOperationsList.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2021-01-11" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.SecurityAndCompliance/services/read", + "display": {}, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/services/write", + "display": {}, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/services/delete", + "display": {}, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/locations/operationresults/read", + "display": { + "provider": "Microsoft.SecurityAndCompliance", + "resource": "operationresults", + "operation": "read", + "description": "Get the status of an asynchronous operation" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/checkNameAvailability/post", + "display": {}, + "origin": "user" + }, + { + "name": "Microsoft.SecurityAndCompliance/Operations/read", + "display": { + "provider": "Microsoft.SecurityAndCompliance", + "resource": "operations", + "operation": "read", + "description": "Get the list of operations supported by this Resource Provider." + }, + "origin": "user,system" + } + ] + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/PrivateLinkResourceGet.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterPrivateLinkResourceGet.json similarity index 78% rename from specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/PrivateLinkResourceGet.json rename to specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterPrivateLinkResourceGet.json index dc6a8ee12900..4427af24d3e8 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/PrivateLinkResourceGet.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterPrivateLinkResourceGet.json @@ -9,9 +9,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/service1/privateLinkResources/fhir", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/service1/privateLinkResources/fhir", "name": "fhir", - "type": "Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/privateLinkResources", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/privateLinkResources", "properties": { "groupId": "fhir", "requiredMembers": [ diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/PrivateLinkResourcesListByService.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterPrivateLinkResourcesListByService.json similarity index 72% rename from specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/PrivateLinkResourcesListByService.json rename to specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterPrivateLinkResourcesListByService.json index 8a1c37c31eb9..2652c17c33aa 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/PrivateLinkResourcesListByService.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterPrivateLinkResourcesListByService.json @@ -10,9 +10,9 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/service1/privateLinkResources/fhir", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/service1/privateLinkResources/fhir", "name": "fhir", - "type": "Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/privateLinkResources", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/privateLinkResources", "properties": { "groupId": "fhir", "requiredMembers": [ diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceCreate.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceCreate.json similarity index 93% rename from specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceCreate.json rename to specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceCreate.json index 4017fab27219..792a846f0b4b 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceCreate.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceCreate.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg1", "api-version": "2021-01-11", "subscriptionId": "subid", - "privateLinkServicesForSCCDescription": { + "privateLinkServicesForM365SecurityCenterDescription": { "location": "westus2", "tags": {}, "kind": "fhir-R4", @@ -58,10 +58,10 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/service1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/service1", "name": "service1", "location": "West US 2", - "type": "Microsoft.SecurityAndCompliance/privatelinkservicesforSCC", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter", "kind": "fhir-R4", "etag": "etagvalue", "tags": {}, @@ -125,10 +125,10 @@ }, "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/service1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/service1", "name": "service1", "location": "West US 2", - "type": "Microsoft.SecurityAndCompliance/privatelinkservicesforSCC", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter", "kind": "fhir-R4", "etag": "etagvalue", "tags": {}, diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceCreateMinimum.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceCreateMinimum.json similarity index 88% rename from specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceCreateMinimum.json rename to specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceCreateMinimum.json index 43bb3c47feb5..4fb0a6db91b5 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceCreateMinimum.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceCreateMinimum.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg1", "api-version": "2021-01-11", "subscriptionId": "subid", - "privateLinkServicesForSCCDescription": { + "privateLinkServicesForM365SecurityCenterDescription": { "location": "westus2", "tags": {}, "kind": "fhir-R4", @@ -20,9 +20,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/service2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/service2", "name": "service2", - "type": "Microsoft.SecurityAndCompliance/privatelinkservicesforSCC", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter", "etag": "etagvalue", "location": "westus2", "kind": "fhir-R4", @@ -64,9 +64,9 @@ }, "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/service2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/service2", "name": "service2", - "type": "Microsoft.SecurityAndCompliance/privatelinkservicesforSCC", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter", "etag": "etagvalue", "location": "westus2", "kind": "fhir-R4", diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceCreatePrivateEndpointConnection.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceCreatePrivateEndpointConnection.json similarity index 81% rename from specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceCreatePrivateEndpointConnection.json rename to specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceCreatePrivateEndpointConnection.json index 088ef141f66a..36d34c089026 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceCreatePrivateEndpointConnection.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceCreatePrivateEndpointConnection.json @@ -17,9 +17,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/service1/privateEndpointConnections/myConnection", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/service1/privateEndpointConnections/myConnection", "name": "myConnection", - "type": "Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/privateEndpointConnections", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/privateEndpointConnections", "properties": { "provisioningState": "Succeeded", "privateEndpoint": { @@ -43,9 +43,9 @@ }, "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/service1/privateEndpointConnections/myConnection", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/service1/privateEndpointConnections/myConnection", "name": "myConnection", - "type": "Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/privateEndpointConnections", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/privateEndpointConnections", "properties": { "provisioningState": "Succeeded", "privateEndpoint": { diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceDelete.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceDelete.json new file mode 100644 index 000000000000..d1d6c8d10c1b --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "resourceName": "service1", + "resourceGroupName": "rg1", + "api-version": "2021-01-11", + "subscriptionId": "subid" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceDeletePrivateEndpointConnection.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceDeletePrivateEndpointConnection.json new file mode 100644 index 000000000000..93028a6f9165 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceDeletePrivateEndpointConnection.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2021-01-11", + "subscriptionId": "subid", + "resourceGroupName": "rgname", + "resourceName": "service1", + "privateEndpointConnectionName": "myConnection" + }, + "responses": { + "200": {}, + "202": {}, + "204": {} + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceGet.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceGet.json similarity index 91% rename from specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceGet.json rename to specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceGet.json index 84ce8aaabe38..77e56620388c 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceGet.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceGet.json @@ -8,10 +8,10 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/service1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/service1", "name": "service1", "location": "West US", - "type": "Microsoft.SecurityAndCompliance/privatelinkservicesforSCC", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter", "kind": "fhir-R4", "etag": "etagvalue", "tags": {}, diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceGetPrivateEndpointConnection.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceGetPrivateEndpointConnection.json similarity index 80% rename from specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceGetPrivateEndpointConnection.json rename to specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceGetPrivateEndpointConnection.json index 2cb0b90310f2..f2af7d8303e4 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceGetPrivateEndpointConnection.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceGetPrivateEndpointConnection.json @@ -9,9 +9,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/service1/privateEndpointConnections/myConnection", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/service1/privateEndpointConnections/myConnection", "name": "myConnection", - "type": "Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/privateEndpointConnections", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/privateEndpointConnections", "properties": { "privateEndpoint": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/peexample01" diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceList.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceList.json similarity index 91% rename from specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceList.json rename to specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceList.json index 854d6ecf159f..073391324242 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceList.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceList.json @@ -8,10 +8,10 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/service1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/service1", "name": "service1", "location": "West US", - "type": "Microsoft.SecurityAndCompliance/privatelinkservicesforSCC", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter", "kind": "fhir-R4", "etag": "etag", "tags": {}, diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceListByResourceGroup.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceListByResourceGroup.json similarity index 90% rename from specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceListByResourceGroup.json rename to specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceListByResourceGroup.json index 9a1b723982ff..adb28013ae94 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceListByResourceGroup.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceListByResourceGroup.json @@ -9,10 +9,10 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/dddb8dcb-effb-4290-bb47-ce1e8440c729", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/dddb8dcb-effb-4290-bb47-ce1e8440c729", "name": "service1", "location": "westus", - "type": "Microsoft.SecurityAndCompliance/privatelinkservicesforSCC", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter", "kind": "fhir-R4", "tags": {}, "etag": "etagvalue", diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceListPrivateEndpointConnections.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceListPrivateEndpointConnections.json similarity index 75% rename from specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceListPrivateEndpointConnections.json rename to specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceListPrivateEndpointConnections.json index 7b1f64cc28c6..2bdfd68923da 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServiceListPrivateEndpointConnections.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceListPrivateEndpointConnections.json @@ -10,9 +10,9 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/service1/privateEndpointConnections/myConnection", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/service1/privateEndpointConnections/myConnection", "name": "myConnection", - "type": "Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/privateEndpointConnections", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/privateEndpointConnections", "properties": { "privateEndpoint": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/peexample01" diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServicePatch.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServicePatch.json similarity index 91% rename from specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServicePatch.json rename to specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServicePatch.json index c9b96e45ef95..9e1271979c25 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ServicePatch.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServicePatch.json @@ -14,10 +14,10 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/service1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/service1", "name": "service1", "location": "West US", - "type": "Microsoft.SecurityAndCompliance/privatelinkservicesforSCC", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter", "kind": "fhir-R4", "etag": "etagvalue", "tags": { @@ -76,10 +76,10 @@ }, "202": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privatelinkservicesforSCC/service1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/service1", "name": "service1", "location": "West US", - "type": "Microsoft.SecurityAndCompliance/privatelinkservicesforSCC", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter", "kind": "fhir-R4", "etag": "etagvalue", "tags": { diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/securityandcompliance.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForExactDataMatchUpload.json similarity index 92% rename from specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/securityandcompliance.json rename to specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForExactDataMatchUpload.json index ff69705f07dc..7abeedadd7f6 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/securityandcompliance.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForExactDataMatchUpload.json @@ -34,16 +34,16 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCC/{resourceName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/{resourceName}": { "get": { "tags": [ "Resource" ], - "description": "Get the metadata of a privateLinkServicesForSCC resource.", - "operationId": "privateLinkServicesForSCC_Get", + "description": "Get the metadata of a privateLinkServicesForExactDataMatchUpload resource.", + "operationId": "privateLinkServicesForExactDataMatchUpload_Get", "x-ms-examples": { "Get metadata": { - "$ref": "./examples/ServiceGet.json" + "$ref": "./examples/EdmUploadServiceGet.json" } }, "parameters": [ @@ -62,9 +62,9 @@ ], "responses": { "200": { - "description": "The body contains all of the properties of the privateLinkServicesForSCC instance.", + "description": "The body contains all of the properties of the privateLinkServicesForExactDataMatchUpload instance.", "schema": { - "$ref": "#/definitions/privateLinkServicesForSCCDescription" + "$ref": "#/definitions/privateLinkServicesForExactDataMatchUploadDescription" } }, "default": { @@ -80,14 +80,14 @@ "tags": [ "Resource" ], - "description": "Create or update the metadata of a privateLinkServicesForSCC instance.", - "operationId": "privateLinkServicesForSCC_CreateOrUpdate", + "description": "Create or update the metadata of a privateLinkServicesForExactDataMatchUpload instance.", + "operationId": "privateLinkServicesForExactDataMatchUpload_CreateOrUpdate", "x-ms-examples": { "Create or Update a service with all parameters": { - "$ref": "./examples/ServiceCreate.json" + "$ref": "./examples/EdmUploadServiceCreate.json" }, "Create or Update a service with minimum parameters": { - "$ref": "./examples/ServiceCreateMinimum.json" + "$ref": "./examples/EdmUploadServiceCreateMinimum.json" } }, "x-ms-long-running-operation": true, @@ -108,12 +108,12 @@ "$ref": "#/parameters/resourceName" }, { - "name": "privateLinkServicesForSCCDescription", + "name": "privateLinkServicesForExactDataMatchUploadDescription", "in": "body", "description": "The service instance metadata.", "required": true, "schema": { - "$ref": "#/definitions/privateLinkServicesForSCCDescription" + "$ref": "#/definitions/privateLinkServicesForExactDataMatchUploadDescription" } } ], @@ -121,13 +121,13 @@ "200": { "description": "Updated - Put request accepted and an existing resource is being updated; the operation will complete asynchronously.", "schema": { - "$ref": "#/definitions/privateLinkServicesForSCCDescription" + "$ref": "#/definitions/privateLinkServicesForExactDataMatchUploadDescription" } }, "201": { "description": "Created - Put request accepted and a new resource was created; the operation will complete asynchronously.", "schema": { - "$ref": "#/definitions/privateLinkServicesForSCCDescription" + "$ref": "#/definitions/privateLinkServicesForExactDataMatchUploadDescription" } }, "default": { @@ -143,11 +143,11 @@ "tags": [ "Resource" ], - "description": "Update the metadata of a privateLinkServicesForSCC instance.", - "operationId": "privateLinkServicesForSCC_Update", + "description": "Update the metadata of a privateLinkServicesForExactDataMatchUpload instance.", + "operationId": "privateLinkServicesForExactDataMatchUpload_Update", "x-ms-examples": { "Patch service": { - "$ref": "./examples/ServicePatch.json" + "$ref": "./examples/EdmUploadServicePatch.json" } }, "x-ms-long-running-operation": true, @@ -181,13 +181,13 @@ "200": { "description": "The tags for the resource were updated successfully.", "schema": { - "$ref": "#/definitions/privateLinkServicesForSCCDescription" + "$ref": "#/definitions/privateLinkServicesForExactDataMatchUploadDescription" } }, "202": { "description": "The tags for the resource were updated successfully.", "schema": { - "$ref": "#/definitions/privateLinkServicesForSCCDescription" + "$ref": "#/definitions/privateLinkServicesForExactDataMatchUploadDescription" } }, "default": { @@ -207,7 +207,7 @@ "operationId": "Services_Delete", "x-ms-examples": { "Delete service": { - "$ref": "./examples/ServiceDelete.json" + "$ref": "./examples/EdmUploadServiceDelete.json" } }, "x-ms-long-running-operation": true, @@ -247,16 +247,16 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCC": { + "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload": { "get": { "tags": [ "Collection" ], - "description": "Get all the privateLinkServicesForSCC instances in a subscription.", - "operationId": "privateLinkServicesForSCC_List", + "description": "Get all the privateLinkServicesForExactDataMatchUpload instances in a subscription.", + "operationId": "privateLinkServicesForExactDataMatchUpload_List", "x-ms-examples": { "List all services in subscription": { - "$ref": "./examples/ServiceList.json" + "$ref": "./examples/EdmUploadServiceList.json" } }, "x-ms-pageable": { @@ -272,9 +272,9 @@ ], "responses": { "200": { - "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForSCC instances in the subscription.", + "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForExactDataMatchUpload instances in the subscription.", "schema": { - "$ref": "#/definitions/privateLinkServicesForSCCDescriptionListResult" + "$ref": "#/definitions/privateLinkServicesForExactDataMatchUploadDescriptionListResult" } }, "default": { @@ -287,16 +287,16 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCC": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload": { "get": { "tags": [ "Collection" ], "description": "Get all the service instances in a resource group.", - "operationId": "privateLinkServicesForSCC_ListByResourceGroup", + "operationId": "privateLinkServicesForExactDataMatchUpload_ListByResourceGroup", "x-ms-examples": { "List all services in resource group": { - "$ref": "./examples/ServiceListByResourceGroup.json" + "$ref": "./examples/EdmUploadServiceListByResourceGroup.json" } }, "x-ms-pageable": { @@ -315,9 +315,9 @@ ], "responses": { "200": { - "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForSCC instances in the resource group.", + "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForExactDataMatchUpload instances in the resource group.", "schema": { - "$ref": "#/definitions/privateLinkServicesForSCCDescriptionListResult" + "$ref": "#/definitions/privateLinkServicesForExactDataMatchUploadDescriptionListResult" } }, "default": { @@ -339,7 +339,7 @@ "operationId": "Operations_List", "x-ms-examples": { "List operations": { - "$ref": "./examples/OperationsList.json" + "$ref": "./examples/EdmUploadOperationsList.json" } }, "x-ms-pageable": { @@ -373,10 +373,10 @@ "Proxy" ], "description": "Check if a service instance name is available.", - "operationId": "privateLinkServicesForSCC_CheckNameAvailability", + "operationId": "privateLinkServicesForExactDataMatchUpload_CheckNameAvailability", "x-ms-examples": { "Check name availability": { - "$ref": "./examples/CheckNameAvailabilityPost.json" + "$ref": "./examples/EdmUploadCheckNameAvailabilityPost.json" } }, "parameters": [ @@ -422,7 +422,7 @@ "operationId": "OperationResults_Get", "x-ms-examples": { "Get operation result": { - "$ref": "./examples/OperationResultsGet.json" + "$ref": "./examples/EdmUploadOperationResultsGet.json" } }, "parameters": [ @@ -456,7 +456,7 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCC/{resourceName}/privateEndpointConnections": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/{resourceName}/privateEndpointConnections": { "get": { "tags": [ "PrivateEndpointConnections" @@ -493,7 +493,7 @@ }, "x-ms-examples": { "PrivateEndpointConnection_List": { - "$ref": "./examples/ServiceListPrivateEndpointConnections.json" + "$ref": "./examples/EdmUploadServiceListPrivateEndpointConnections.json" } }, "x-ms-pageable": { @@ -501,7 +501,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCC/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}": { "get": { "tags": [ "PrivateEndpointConnections" @@ -541,7 +541,7 @@ }, "x-ms-examples": { "PrivateEndpointConnection_GetConnection": { - "$ref": "./examples/ServiceGetPrivateEndpointConnection.json" + "$ref": "./examples/EdmUploadServiceGetPrivateEndpointConnection.json" } } }, @@ -599,7 +599,7 @@ }, "x-ms-examples": { "PrivateEndpointConnection_CreateOrUpdate": { - "$ref": "./examples/ServiceCreatePrivateEndpointConnection.json" + "$ref": "./examples/EdmUploadServiceCreatePrivateEndpointConnection.json" } }, "x-ms-long-running-operation": true, @@ -649,7 +649,7 @@ }, "x-ms-examples": { "PrivateEndpointConnections_Delete": { - "$ref": "./examples/ServiceDeletePrivateEndpointConnection.json" + "$ref": "./examples/EdmUploadServiceDeletePrivateEndpointConnection.json" } }, "x-ms-long-running-operation": true, @@ -658,7 +658,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCC/{resourceName}/privateLinkResources": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/{resourceName}/privateLinkResources": { "get": { "tags": [ "PrivateLinkResources" @@ -695,12 +695,12 @@ }, "x-ms-examples": { "PrivateLinkResources_ListGroupIds": { - "$ref": "./examples/PrivateLinkResourcesListByService.json" + "$ref": "./examples/EdmUploadPrivateLinkResourcesListByService.json" } } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCC/{resourceName}/privateLinkResources/{groupName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/{resourceName}/privateLinkResources/{groupName}": { "get": { "tags": [ "PrivateLinkResources" @@ -744,7 +744,7 @@ }, "x-ms-examples": { "PrivateLinkResources_Get": { - "$ref": "./examples/PrivateLinkResourceGet.json" + "$ref": "./examples/EdmUploadPrivateLinkResourceGet.json" } } } @@ -943,7 +943,7 @@ "description": "A method for CORS.", "type": "string" }, - "privateLinkServicesForSCCDescription": { + "privateLinkServicesForExactDataMatchUploadDescription": { "description": "The description of the service.", "type": "object", "properties": { @@ -1099,7 +1099,7 @@ } } }, - "privateLinkServicesForSCCDescriptionListResult": { + "privateLinkServicesForExactDataMatchUploadDescriptionListResult": { "description": "A list of service description objects with a next link.", "type": "object", "properties": { @@ -1112,7 +1112,7 @@ "description": "A list of service description objects.", "type": "array", "items": { - "$ref": "#/definitions/privateLinkServicesForSCCDescription" + "$ref": "#/definitions/privateLinkServicesForExactDataMatchUploadDescription" } } } diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json new file mode 100644 index 000000000000..f69a59fec9bd --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json @@ -0,0 +1,1500 @@ +{ + "swagger": "2.0", + "info": { + "version": "2021-01-11", + "title": "SecurityAndComplianceAPIs", + "description": "Use this API to manage Microsoft SecurityAndCompliance services in your Azure subscription." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/{resourceName}": { + "get": { + "tags": [ + "Resource" + ], + "description": "Get the metadata of a privateLinkServicesForM365ComplianceCenter resource.", + "operationId": "privateLinkServicesForM365ComplianceCenter_Get", + "x-ms-examples": { + "Get metadata": { + "$ref": "./examples/ComplianceCenterServiceGet.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + } + ], + "responses": { + "200": { + "description": "The body contains all of the properties of the privateLinkServicesForM365ComplianceCenter instance.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForM365ComplianceCenterDescription" + } + }, + "default": { + "description": "Default error response", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + }, + "put": { + "tags": [ + "Resource" + ], + "description": "Create or update the metadata of a privateLinkServicesForM365ComplianceCenter instance.", + "operationId": "privateLinkServicesForM365ComplianceCenter_CreateOrUpdate", + "x-ms-examples": { + "Create or Update a service with all parameters": { + "$ref": "./examples/ComplianceCenterServiceCreate.json" + }, + "Create or Update a service with minimum parameters": { + "$ref": "./examples/ComplianceCenterServiceCreateMinimum.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "name": "privateLinkServicesForM365ComplianceCenterDescription", + "in": "body", + "description": "The service instance metadata.", + "required": true, + "schema": { + "$ref": "#/definitions/privateLinkServicesForM365ComplianceCenterDescription" + } + } + ], + "responses": { + "200": { + "description": "Updated - Put request accepted and an existing resource is being updated; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForM365ComplianceCenterDescription" + } + }, + "201": { + "description": "Created - Put request accepted and a new resource was created; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForM365ComplianceCenterDescription" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + }, + "patch": { + "tags": [ + "Resource" + ], + "description": "Update the metadata of a privateLinkServicesForM365ComplianceCenter instance.", + "operationId": "privateLinkServicesForM365ComplianceCenter_Update", + "x-ms-examples": { + "Patch service": { + "$ref": "./examples/ComplianceCenterServicePatch.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "name": "servicePatchDescription", + "in": "body", + "description": "The service instance metadata and security metadata.", + "required": true, + "schema": { + "$ref": "#/definitions/ServicesPatchDescription" + } + } + ], + "responses": { + "200": { + "description": "The tags for the resource were updated successfully.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForM365ComplianceCenterDescription" + } + }, + "202": { + "description": "The tags for the resource were updated successfully.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForM365ComplianceCenterDescription" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + }, + "delete": { + "tags": [ + "Resource" + ], + "description": "Delete a service instance.", + "operationId": "Services_Delete", + "x-ms-examples": { + "Delete service": { + "$ref": "./examples/ComplianceCenterServiceDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + } + ], + "responses": { + "200": { + "description": "Accepted - Delete request accepted; the operation will complete." + }, + "202": { + "description": "Accepted - Delete request accepted; the operation will complete asynchronously." + }, + "204": { + "description": "The resource does not exist." + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter": { + "get": { + "tags": [ + "Collection" + ], + "description": "Get all the privateLinkServicesForM365ComplianceCenter instances in a subscription.", + "operationId": "privateLinkServicesForM365ComplianceCenter_List", + "x-ms-examples": { + "List all services in subscription": { + "$ref": "./examples/ComplianceCenterServiceList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + } + ], + "responses": { + "200": { + "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForM365ComplianceCenter instances in the subscription.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForM365ComplianceCenterDescriptionListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter": { + "get": { + "tags": [ + "Collection" + ], + "description": "Get all the service instances in a resource group.", + "operationId": "privateLinkServicesForM365ComplianceCenter_ListByResourceGroup", + "x-ms-examples": { + "List all services in resource group": { + "$ref": "./examples/ComplianceCenterServiceListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + } + ], + "responses": { + "200": { + "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForM365ComplianceCenter instances in the resource group.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForM365ComplianceCenterDescriptionListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + } + }, + "/providers/Microsoft.SecurityAndCompliance/operations": { + "get": { + "tags": [ + "Proxy" + ], + "description": "Lists all of the available SecurityAndCompliance REST API operations.", + "operationId": "Operations_List", + "x-ms-examples": { + "List operations": { + "$ref": "./examples/ComplianceCenterOperationsList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/checkNameAvailability": { + "post": { + "tags": [ + "Proxy" + ], + "description": "Check if a service instance name is available.", + "operationId": "privateLinkServicesForM365ComplianceCenter_CheckNameAvailability", + "x-ms-examples": { + "Check name availability": { + "$ref": "./examples/ComplianceCenterCheckNameAvailabilityPost.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "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" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/locations/{locationName}/operationresults/{operationResultId}": { + "get": { + "tags": [ + "Resource" + ], + "description": "Get the operation result for a long running operation.", + "operationId": "OperationResults_Get", + "x-ms-examples": { + "Get operation result": { + "$ref": "./examples/ComplianceCenterOperationResultsGet.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/locationName" + }, + { + "$ref": "#/parameters/operationResultId" + } + ], + "responses": { + "200": { + "description": "The body contains all of the properties of the operation result.", + "schema": { + "$ref": "#/definitions/OperationResultsDescription" + } + }, + "default": { + "description": "Default error response", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/{resourceName}/privateEndpointConnections": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_ListByService", + "description": "Lists all private endpoint connections for a service.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnectionListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnection_List": { + "$ref": "./examples/ComplianceCenterServiceListPrivateEndpointConnections.json" + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_Get", + "description": "Gets the specified private endpoint connection associated with the service.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/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/PrivateEndpointConnection" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnection_GetConnection": { + "$ref": "./examples/ComplianceCenterServiceGetPrivateEndpointConnection.json" + } + } + }, + "put": { + "tags": [ + "PrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "description": "Update the state of the specified private endpoint connection associated with the service.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" + }, + { + "name": "properties", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "description": "The private endpoint connection properties." + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "201": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnection_CreateOrUpdate": { + "$ref": "./examples/ComplianceCenterServiceCreatePrivateEndpointConnection.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "delete": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Deletes a private endpoint connection.", + "operationId": "PrivateEndpointConnections_Delete", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/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." + }, + "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": { + "PrivateEndpointConnections_Delete": { + "$ref": "./examples/ComplianceCenterServiceDeletePrivateEndpointConnection.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/{resourceName}/privateLinkResources": { + "get": { + "tags": [ + "PrivateLinkResources" + ], + "operationId": "PrivateLinkResources_ListByService", + "description": "Gets the private link resources that need to be created for a service.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/PrivateLinkResourceListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-examples": { + "PrivateLinkResources_ListGroupIds": { + "$ref": "./examples/ComplianceCenterPrivateLinkResourcesListByService.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/{resourceName}/privateLinkResources/{groupName}": { + "get": { + "tags": [ + "PrivateLinkResources" + ], + "operationId": "PrivateLinkResources_Get", + "description": "Gets a private link resource that need to be created for a service.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "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/PrivateLinkResource" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-examples": { + "PrivateLinkResources_Get": { + "$ref": "./examples/ComplianceCenterPrivateLinkResourceGet.json" + } + } + } + } + }, + "definitions": { + "ServicesProperties": { + "description": "The properties of a service instance.", + "type": "object", + "properties": { + "provisioningState": { + "description": "The provisioning state.", + "enum": [ + "Deleting", + "Succeeded", + "Creating", + "Accepted", + "Verifying", + "Updating", + "Failed", + "Canceled", + "Deprovisioned" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "provisioningState", + "modelAsString": true + } + }, + "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 + } + } + } + }, + "ServiceAccessPoliciesInfo": { + "description": "The access policies of the service instance.", + "type": "array", + "items": { + "$ref": "#/definitions/ServiceAccessPolicyEntry" + } + }, + "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", + "format": "int64", + "description": "The provisioned throughput for the backing database.", + "readOnly": false, + "minimum": 400, + "maximum": 10000 + }, + "keyVaultKeyUri": { + "type": "string", + "description": "The URI of the customer-managed key for the backing database.", + "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", + "format": "int64", + "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 + } + } + }, + "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" + }, + "privateLinkServicesForM365ComplianceCenterDescription": { + "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" + } + }, + "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." + }, + "systemData": { + "description": "Required property for system data", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + }, + "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" + ] + }, + "ErrorDetails": { + "description": "Error details.", + "type": "object", + "properties": { + "error": { + "description": "Object containing error details.", + "$ref": "#/definitions/ErrorDetailsInternal" + } + } + }, + "ErrorDetailsInternal": { + "description": "Error details.", + "type": "object", + "properties": { + "code": { + "description": "The error code.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "The error message.", + "type": "string", + "readOnly": true + }, + "target": { + "description": "The target of the particular error.", + "type": "string", + "readOnly": true + } + } + }, + "privateLinkServicesForM365ComplianceCenterDescriptionListResult": { + "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", + "readOnly": true + }, + "value": { + "description": "A list of service description objects.", + "type": "array", + "items": { + "$ref": "#/definitions/privateLinkServicesForM365ComplianceCenterDescription" + } + } + } + }, + "PrivateLinkResource": { + "properties": { + "systemData": { + "description": "Required property for system data", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + }, + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "Resource properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + } + ], + "description": "A private link resource" + }, + "PrivateLinkResourceProperties": { + "properties": { + "groupId": { + "description": "The private link resource group id.", + "type": "string", + "readOnly": true + }, + "requiredMembers": { + "description": "The private link resource required member names.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "requiredZoneNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The private link resource Private link DNS zone name." + } + }, + "description": "Properties of a private link resource." + }, + "PrivateLinkResourceListResult": { + "properties": { + "value": { + "type": "array", + "description": "Array of private link resources", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + } + } + }, + "description": "A list of private link resources" + }, + "PrivateEndpoint": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The ARM identifier for Private Endpoint" + } + }, + "description": "The Private Endpoint resource." + }, + "PrivateEndpointConnection": { + "properties": { + "systemData": { + "description": "Required property for system data", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + }, + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "x-ms-client-flatten": true, + "description": "Resource properties." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "description": "The Private Endpoint Connection resource." + }, + "PrivateEndpointConnectionProperties": { + "properties": { + "privateEndpoint": { + "$ref": "#/definitions/PrivateEndpoint", + "description": "The resource of private end point." + }, + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/PrivateLinkServiceConnectionState", + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "provisioningState": { + "$ref": "#/definitions/PrivateEndpointConnectionProvisioningState", + "description": "The provisioning state of the private endpoint connection resource." + } + }, + "required": [ + "privateLinkServiceConnectionState" + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "PrivateLinkServiceConnectionState": { + "properties": { + "status": { + "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", + "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." + }, + "description": { + "type": "string", + "description": "The reason for approval/rejection of the connection." + }, + "actionsRequired": { + "type": "string", + "description": "A message indicating if changes on the service provider require any updates on the consumer." + } + }, + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "PrivateEndpointServiceConnectionStatus": { + "type": "string", + "description": "The private endpoint connection status.", + "enum": [ + "Pending", + "Approved", + "Rejected" + ], + "x-ms-enum": { + "name": "PrivateEndpointServiceConnectionStatus", + "modelAsString": true + } + }, + "PrivateEndpointConnectionProvisioningState": { + "type": "string", + "readOnly": true, + "description": "The current provisioning state.", + "enum": [ + "Succeeded", + "Creating", + "Deleting", + "Failed" + ], + "x-ms-enum": { + "name": "PrivateEndpointConnectionProvisioningState", + "modelAsString": true + } + }, + "OperationListResult": { + "description": "A list of service operations. It contains a list of operations and a URL link to get the next set of results.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link used to get the next page of service description objects.", + "type": "string", + "readOnly": true + }, + "value": { + "description": "A list of service operations supported by the Microsoft.SecurityAndCompliance resource provider.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Operation" + } + } + } + }, + "Operation": { + "description": "Service REST API operation.", + "type": "object", + "properties": { + "name": { + "readOnly": true, + "type": "string", + "description": "Operation name: {provider}/{resource}/{read | write | action | delete}" + }, + "isDataAction": { + "readOnly": true, + "description": "Indicates whether the operation is a data action", + "type": "boolean" + }, + "origin": { + "readOnly": true, + "type": "string", + "description": "Default value is 'user,system'." + }, + "display": { + "readOnly": true, + "description": "The information displayed about the operation.", + "$ref": "#/definitions/OperationDisplay" + } + } + }, + "OperationDisplay": { + "description": "The object that represents the operation.", + "type": "object", + "properties": { + "provider": { + "readOnly": true, + "type": "string", + "description": "Service provider: Microsoft.SecurityAndCompliance" + }, + "resource": { + "readOnly": true, + "type": "string", + "description": "Resource Type: Services" + }, + "operation": { + "readOnly": true, + "type": "string", + "description": "Name of the operation" + }, + "description": { + "readOnly": true, + "type": "string", + "description": "Friendly description for the operation," + } + } + }, + "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", + "properties": { + "name": { + "description": "The name of the service instance to check.", + "type": "string" + }, + "type": { + "description": "The fully qualified resource type which includes provider namespace.", + "type": "string" + } + }, + "required": [ + "name", + "type" + ] + }, + "ServicesNameAvailabilityInfo": { + "description": "The properties indicating whether a given service name is available.", + "type": "object", + "properties": { + "nameAvailable": { + "description": "The value which indicates whether the provided name is available.", + "type": "boolean", + "readOnly": true + }, + "reason": { + "description": "The reason for unavailability.", + "enum": [ + "Invalid", + "AlreadyExists" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ServiceNameUnavailabilityReason", + "modelAsString": false + } + }, + "message": { + "description": "The detailed reason message.", + "type": "string" + } + } + }, + "OperationResultsDescription": { + "description": "The properties indicating the operation result of an operation on a service.", + "type": "object", + "properties": { + "id": { + "description": "The ID of the operation returned.", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "The name of the operation result.", + "readOnly": true, + "type": "string" + }, + "status": { + "description": "The status of the operation being performed.", + "enum": [ + "Canceled", + "Succeeded", + "Failed", + "Requested", + "Running" + ], + "readOnly": true, + "type": "string", + "x-ms-enum": { + "name": "OperationResultStatus", + "modelAsString": true + } + }, + "startTime": { + "description": "The time that the operation was started.", + "readOnly": true, + "type": "string" + }, + "properties": { + "x-ms-client-flatten": false, + "description": "Additional properties of the operation result." + } + } + } + }, + "parameters": { + "subscriptionId": { + "name": "subscriptionId", + "in": "path", + "description": "The subscription identifier.", + "required": true, + "type": "string" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." + }, + "resourceGroupName": { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group that contains the service instance.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + "resourceName": { + "name": "resourceName", + "in": "path", + "description": "The name of the service instance.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "minLength": 3, + "maxLength": 24 + }, + "locationName": { + "name": "locationName", + "in": "path", + "description": "The location of the operation.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "operationResultId": { + "name": "operationResultId", + "in": "path", + "description": "The ID of the operation result to get.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json new file mode 100644 index 000000000000..b270aae9191a --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json @@ -0,0 +1,1500 @@ +{ + "swagger": "2.0", + "info": { + "version": "2021-01-11", + "title": "SecurityAndComplianceAPIs", + "description": "Use this API to manage Microsoft SecurityAndCompliance services in your Azure subscription." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/{resourceName}": { + "get": { + "tags": [ + "Resource" + ], + "description": "Get the metadata of a privateLinkServicesForM365SecurityCenter resource.", + "operationId": "privateLinkServicesForM365SecurityCenter_Get", + "x-ms-examples": { + "Get metadata": { + "$ref": "./examples/SecurityCenterServiceGet.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + } + ], + "responses": { + "200": { + "description": "The body contains all of the properties of the privateLinkServicesForM365SecurityCenter instance.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForM365SecurityCenterDescription" + } + }, + "default": { + "description": "Default error response", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + }, + "put": { + "tags": [ + "Resource" + ], + "description": "Create or update the metadata of a privateLinkServicesForM365SecurityCenter instance.", + "operationId": "privateLinkServicesForM365SecurityCenter_CreateOrUpdate", + "x-ms-examples": { + "Create or Update a service with all parameters": { + "$ref": "./examples/SecurityCenterServiceCreate.json" + }, + "Create or Update a service with minimum parameters": { + "$ref": "./examples/SecurityCenterServiceCreateMinimum.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "name": "privateLinkServicesForM365SecurityCenterDescription", + "in": "body", + "description": "The service instance metadata.", + "required": true, + "schema": { + "$ref": "#/definitions/privateLinkServicesForM365SecurityCenterDescription" + } + } + ], + "responses": { + "200": { + "description": "Updated - Put request accepted and an existing resource is being updated; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForM365SecurityCenterDescription" + } + }, + "201": { + "description": "Created - Put request accepted and a new resource was created; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForM365SecurityCenterDescription" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + }, + "patch": { + "tags": [ + "Resource" + ], + "description": "Update the metadata of a privateLinkServicesForM365SecurityCenter instance.", + "operationId": "privateLinkServicesForM365SecurityCenter_Update", + "x-ms-examples": { + "Patch service": { + "$ref": "./examples/SecurityCenterServicePatch.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "name": "servicePatchDescription", + "in": "body", + "description": "The service instance metadata and security metadata.", + "required": true, + "schema": { + "$ref": "#/definitions/ServicesPatchDescription" + } + } + ], + "responses": { + "200": { + "description": "The tags for the resource were updated successfully.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForM365SecurityCenterDescription" + } + }, + "202": { + "description": "The tags for the resource were updated successfully.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForM365SecurityCenterDescription" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + }, + "delete": { + "tags": [ + "Resource" + ], + "description": "Delete a service instance.", + "operationId": "Services_Delete", + "x-ms-examples": { + "Delete service": { + "$ref": "./examples/SecurityCenterServiceDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + } + ], + "responses": { + "200": { + "description": "Accepted - Delete request accepted; the operation will complete." + }, + "202": { + "description": "Accepted - Delete request accepted; the operation will complete asynchronously." + }, + "204": { + "description": "The resource does not exist." + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter": { + "get": { + "tags": [ + "Collection" + ], + "description": "Get all the privateLinkServicesForM365SecurityCenter instances in a subscription.", + "operationId": "privateLinkServicesForM365SecurityCenter_List", + "x-ms-examples": { + "List all services in subscription": { + "$ref": "./examples/SecurityCenterServiceList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + } + ], + "responses": { + "200": { + "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForM365SecurityCenter instances in the subscription.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForM365SecurityCenterDescriptionListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter": { + "get": { + "tags": [ + "Collection" + ], + "description": "Get all the service instances in a resource group.", + "operationId": "privateLinkServicesForM365SecurityCenter_ListByResourceGroup", + "x-ms-examples": { + "List all services in resource group": { + "$ref": "./examples/SecurityCenterServiceListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + } + ], + "responses": { + "200": { + "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForM365SecurityCenter instances in the resource group.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForM365SecurityCenterDescriptionListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + } + }, + "/providers/Microsoft.SecurityAndCompliance/operations": { + "get": { + "tags": [ + "Proxy" + ], + "description": "Lists all of the available SecurityAndCompliance REST API operations.", + "operationId": "Operations_List", + "x-ms-examples": { + "List operations": { + "$ref": "./examples/SecurityCenterOperationsList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/checkNameAvailability": { + "post": { + "tags": [ + "Proxy" + ], + "description": "Check if a service instance name is available.", + "operationId": "privateLinkServicesForM365SecurityCenter_CheckNameAvailability", + "x-ms-examples": { + "Check name availability": { + "$ref": "./examples/SecurityCenterCheckNameAvailabilityPost.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "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" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/locations/{locationName}/operationresults/{operationResultId}": { + "get": { + "tags": [ + "Resource" + ], + "description": "Get the operation result for a long running operation.", + "operationId": "OperationResults_Get", + "x-ms-examples": { + "Get operation result": { + "$ref": "./examples/SecurityCenterOperationResultsGet.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/locationName" + }, + { + "$ref": "#/parameters/operationResultId" + } + ], + "responses": { + "200": { + "description": "The body contains all of the properties of the operation result.", + "schema": { + "$ref": "#/definitions/OperationResultsDescription" + } + }, + "default": { + "description": "Default error response", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/{resourceName}/privateEndpointConnections": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_ListByService", + "description": "Lists all private endpoint connections for a service.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnectionListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnection_List": { + "$ref": "./examples/SecurityCenterServiceListPrivateEndpointConnections.json" + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_Get", + "description": "Gets the specified private endpoint connection associated with the service.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/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/PrivateEndpointConnection" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnection_GetConnection": { + "$ref": "./examples/SecurityCenterServiceGetPrivateEndpointConnection.json" + } + } + }, + "put": { + "tags": [ + "PrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "description": "Update the state of the specified private endpoint connection associated with the service.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" + }, + { + "name": "properties", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "description": "The private endpoint connection properties." + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "201": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnection_CreateOrUpdate": { + "$ref": "./examples/SecurityCenterServiceCreatePrivateEndpointConnection.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "delete": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Deletes a private endpoint connection.", + "operationId": "PrivateEndpointConnections_Delete", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/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." + }, + "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": { + "PrivateEndpointConnections_Delete": { + "$ref": "./examples/SecurityCenterServiceDeletePrivateEndpointConnection.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/{resourceName}/privateLinkResources": { + "get": { + "tags": [ + "PrivateLinkResources" + ], + "operationId": "PrivateLinkResources_ListByService", + "description": "Gets the private link resources that need to be created for a service.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/PrivateLinkResourceListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-examples": { + "PrivateLinkResources_ListGroupIds": { + "$ref": "./examples/SecurityCenterPrivateLinkResourcesListByService.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/{resourceName}/privateLinkResources/{groupName}": { + "get": { + "tags": [ + "PrivateLinkResources" + ], + "operationId": "PrivateLinkResources_Get", + "description": "Gets a private link resource that need to be created for a service.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "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/PrivateLinkResource" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-examples": { + "PrivateLinkResources_Get": { + "$ref": "./examples/SecurityCenterPrivateLinkResourceGet.json" + } + } + } + } + }, + "definitions": { + "ServicesProperties": { + "description": "The properties of a service instance.", + "type": "object", + "properties": { + "provisioningState": { + "description": "The provisioning state.", + "enum": [ + "Deleting", + "Succeeded", + "Creating", + "Accepted", + "Verifying", + "Updating", + "Failed", + "Canceled", + "Deprovisioned" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "provisioningState", + "modelAsString": true + } + }, + "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 + } + } + } + }, + "ServiceAccessPoliciesInfo": { + "description": "The access policies of the service instance.", + "type": "array", + "items": { + "$ref": "#/definitions/ServiceAccessPolicyEntry" + } + }, + "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", + "format": "int64", + "description": "The provisioned throughput for the backing database.", + "readOnly": false, + "minimum": 400, + "maximum": 10000 + }, + "keyVaultKeyUri": { + "type": "string", + "description": "The URI of the customer-managed key for the backing database.", + "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", + "format": "int64", + "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 + } + } + }, + "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" + }, + "privateLinkServicesForM365SecurityCenterDescription": { + "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" + } + }, + "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." + }, + "systemData": { + "description": "Required property for system data", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + }, + "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" + ] + }, + "ErrorDetails": { + "description": "Error details.", + "type": "object", + "properties": { + "error": { + "description": "Object containing error details.", + "$ref": "#/definitions/ErrorDetailsInternal" + } + } + }, + "ErrorDetailsInternal": { + "description": "Error details.", + "type": "object", + "properties": { + "code": { + "description": "The error code.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "The error message.", + "type": "string", + "readOnly": true + }, + "target": { + "description": "The target of the particular error.", + "type": "string", + "readOnly": true + } + } + }, + "privateLinkServicesForM365SecurityCenterDescriptionListResult": { + "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", + "readOnly": true + }, + "value": { + "description": "A list of service description objects.", + "type": "array", + "items": { + "$ref": "#/definitions/privateLinkServicesForM365SecurityCenterDescription" + } + } + } + }, + "PrivateLinkResource": { + "properties": { + "systemData": { + "description": "Required property for system data", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + }, + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "Resource properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + } + ], + "description": "A private link resource" + }, + "PrivateLinkResourceProperties": { + "properties": { + "groupId": { + "description": "The private link resource group id.", + "type": "string", + "readOnly": true + }, + "requiredMembers": { + "description": "The private link resource required member names.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "requiredZoneNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The private link resource Private link DNS zone name." + } + }, + "description": "Properties of a private link resource." + }, + "PrivateLinkResourceListResult": { + "properties": { + "value": { + "type": "array", + "description": "Array of private link resources", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + } + } + }, + "description": "A list of private link resources" + }, + "PrivateEndpoint": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The ARM identifier for Private Endpoint" + } + }, + "description": "The Private Endpoint resource." + }, + "PrivateEndpointConnection": { + "properties": { + "systemData": { + "description": "Required property for system data", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + }, + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "x-ms-client-flatten": true, + "description": "Resource properties." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "description": "The Private Endpoint Connection resource." + }, + "PrivateEndpointConnectionProperties": { + "properties": { + "privateEndpoint": { + "$ref": "#/definitions/PrivateEndpoint", + "description": "The resource of private end point." + }, + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/PrivateLinkServiceConnectionState", + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "provisioningState": { + "$ref": "#/definitions/PrivateEndpointConnectionProvisioningState", + "description": "The provisioning state of the private endpoint connection resource." + } + }, + "required": [ + "privateLinkServiceConnectionState" + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "PrivateLinkServiceConnectionState": { + "properties": { + "status": { + "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", + "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." + }, + "description": { + "type": "string", + "description": "The reason for approval/rejection of the connection." + }, + "actionsRequired": { + "type": "string", + "description": "A message indicating if changes on the service provider require any updates on the consumer." + } + }, + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "PrivateEndpointServiceConnectionStatus": { + "type": "string", + "description": "The private endpoint connection status.", + "enum": [ + "Pending", + "Approved", + "Rejected" + ], + "x-ms-enum": { + "name": "PrivateEndpointServiceConnectionStatus", + "modelAsString": true + } + }, + "PrivateEndpointConnectionProvisioningState": { + "type": "string", + "readOnly": true, + "description": "The current provisioning state.", + "enum": [ + "Succeeded", + "Creating", + "Deleting", + "Failed" + ], + "x-ms-enum": { + "name": "PrivateEndpointConnectionProvisioningState", + "modelAsString": true + } + }, + "OperationListResult": { + "description": "A list of service operations. It contains a list of operations and a URL link to get the next set of results.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link used to get the next page of service description objects.", + "type": "string", + "readOnly": true + }, + "value": { + "description": "A list of service operations supported by the Microsoft.SecurityAndCompliance resource provider.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Operation" + } + } + } + }, + "Operation": { + "description": "Service REST API operation.", + "type": "object", + "properties": { + "name": { + "readOnly": true, + "type": "string", + "description": "Operation name: {provider}/{resource}/{read | write | action | delete}" + }, + "isDataAction": { + "readOnly": true, + "description": "Indicates whether the operation is a data action", + "type": "boolean" + }, + "origin": { + "readOnly": true, + "type": "string", + "description": "Default value is 'user,system'." + }, + "display": { + "readOnly": true, + "description": "The information displayed about the operation.", + "$ref": "#/definitions/OperationDisplay" + } + } + }, + "OperationDisplay": { + "description": "The object that represents the operation.", + "type": "object", + "properties": { + "provider": { + "readOnly": true, + "type": "string", + "description": "Service provider: Microsoft.SecurityAndCompliance" + }, + "resource": { + "readOnly": true, + "type": "string", + "description": "Resource Type: Services" + }, + "operation": { + "readOnly": true, + "type": "string", + "description": "Name of the operation" + }, + "description": { + "readOnly": true, + "type": "string", + "description": "Friendly description for the operation," + } + } + }, + "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", + "properties": { + "name": { + "description": "The name of the service instance to check.", + "type": "string" + }, + "type": { + "description": "The fully qualified resource type which includes provider namespace.", + "type": "string" + } + }, + "required": [ + "name", + "type" + ] + }, + "ServicesNameAvailabilityInfo": { + "description": "The properties indicating whether a given service name is available.", + "type": "object", + "properties": { + "nameAvailable": { + "description": "The value which indicates whether the provided name is available.", + "type": "boolean", + "readOnly": true + }, + "reason": { + "description": "The reason for unavailability.", + "enum": [ + "Invalid", + "AlreadyExists" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ServiceNameUnavailabilityReason", + "modelAsString": false + } + }, + "message": { + "description": "The detailed reason message.", + "type": "string" + } + } + }, + "OperationResultsDescription": { + "description": "The properties indicating the operation result of an operation on a service.", + "type": "object", + "properties": { + "id": { + "description": "The ID of the operation returned.", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "The name of the operation result.", + "readOnly": true, + "type": "string" + }, + "status": { + "description": "The status of the operation being performed.", + "enum": [ + "Canceled", + "Succeeded", + "Failed", + "Requested", + "Running" + ], + "readOnly": true, + "type": "string", + "x-ms-enum": { + "name": "OperationResultStatus", + "modelAsString": true + } + }, + "startTime": { + "description": "The time that the operation was started.", + "readOnly": true, + "type": "string" + }, + "properties": { + "x-ms-client-flatten": false, + "description": "Additional properties of the operation result." + } + } + } + }, + "parameters": { + "subscriptionId": { + "name": "subscriptionId", + "in": "path", + "description": "The subscription identifier.", + "required": true, + "type": "string" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." + }, + "resourceGroupName": { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group that contains the service instance.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + "resourceName": { + "name": "resourceName", + "in": "path", + "description": "The name of the service instance.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "minLength": 3, + "maxLength": 24 + }, + "locationName": { + "name": "locationName", + "in": "path", + "description": "The location of the operation.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "operationResultId": { + "name": "operationResultId", + "in": "path", + "description": "The ID of the operation result to get.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForOffice365ManagementActivityAPI.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForOffice365ManagementActivityAPI.json new file mode 100644 index 000000000000..0979a6a78f6b --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForOffice365ManagementActivityAPI.json @@ -0,0 +1,1500 @@ +{ + "swagger": "2.0", + "info": { + "version": "2021-01-11", + "title": "SecurityAndComplianceAPIs", + "description": "Use this API to manage Microsoft SecurityAndCompliance services in your Azure subscription." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/{resourceName}": { + "get": { + "tags": [ + "Resource" + ], + "description": "Get the metadata of a privateLinkServicesForOffice365ManagementActivityAPI resource.", + "operationId": "privateLinkServicesForOffice365ManagementActivityAPI_Get", + "x-ms-examples": { + "Get metadata": { + "$ref": "./examples/ManagementAPIServiceGet.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + } + ], + "responses": { + "200": { + "description": "The body contains all of the properties of the privateLinkServicesForOffice365ManagementActivityAPI instance.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForOffice365ManagementActivityAPIDescription" + } + }, + "default": { + "description": "Default error response", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + }, + "put": { + "tags": [ + "Resource" + ], + "description": "Create or update the metadata of a privateLinkServicesForOffice365ManagementActivityAPI instance.", + "operationId": "privateLinkServicesForOffice365ManagementActivityAPI_CreateOrUpdate", + "x-ms-examples": { + "Create or Update a service with all parameters": { + "$ref": "./examples/ManagementAPIServiceCreate.json" + }, + "Create or Update a service with minimum parameters": { + "$ref": "./examples/ManagementAPIServiceCreateMinimum.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "name": "privateLinkServicesForOffice365ManagementActivityAPIDescription", + "in": "body", + "description": "The service instance metadata.", + "required": true, + "schema": { + "$ref": "#/definitions/privateLinkServicesForOffice365ManagementActivityAPIDescription" + } + } + ], + "responses": { + "200": { + "description": "Updated - Put request accepted and an existing resource is being updated; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForOffice365ManagementActivityAPIDescription" + } + }, + "201": { + "description": "Created - Put request accepted and a new resource was created; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForOffice365ManagementActivityAPIDescription" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + }, + "patch": { + "tags": [ + "Resource" + ], + "description": "Update the metadata of a privateLinkServicesForOffice365ManagementActivityAPI instance.", + "operationId": "privateLinkServicesForOffice365ManagementActivityAPI_Update", + "x-ms-examples": { + "Patch service": { + "$ref": "./examples/ManagementAPIServicePatch.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "name": "servicePatchDescription", + "in": "body", + "description": "The service instance metadata and security metadata.", + "required": true, + "schema": { + "$ref": "#/definitions/ServicesPatchDescription" + } + } + ], + "responses": { + "200": { + "description": "The tags for the resource were updated successfully.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForOffice365ManagementActivityAPIDescription" + } + }, + "202": { + "description": "The tags for the resource were updated successfully.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForOffice365ManagementActivityAPIDescription" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + }, + "delete": { + "tags": [ + "Resource" + ], + "description": "Delete a service instance.", + "operationId": "Services_Delete", + "x-ms-examples": { + "Delete service": { + "$ref": "./examples/ManagementAPIServiceDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + } + ], + "responses": { + "200": { + "description": "Accepted - Delete request accepted; the operation will complete." + }, + "202": { + "description": "Accepted - Delete request accepted; the operation will complete asynchronously." + }, + "204": { + "description": "The resource does not exist." + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI": { + "get": { + "tags": [ + "Collection" + ], + "description": "Get all the privateLinkServicesForOffice365ManagementActivityAPI instances in a subscription.", + "operationId": "privateLinkServicesForOffice365ManagementActivityAPI_List", + "x-ms-examples": { + "List all services in subscription": { + "$ref": "./examples/ManagementAPIServiceList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + } + ], + "responses": { + "200": { + "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForOffice365ManagementActivityAPI instances in the subscription.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForOffice365ManagementActivityAPIDescriptionListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI": { + "get": { + "tags": [ + "Collection" + ], + "description": "Get all the service instances in a resource group.", + "operationId": "privateLinkServicesForOffice365ManagementActivityAPI_ListByResourceGroup", + "x-ms-examples": { + "List all services in resource group": { + "$ref": "./examples/ManagementAPIServiceListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + } + ], + "responses": { + "200": { + "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForOffice365ManagementActivityAPI instances in the resource group.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForOffice365ManagementActivityAPIDescriptionListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + } + }, + "/providers/Microsoft.SecurityAndCompliance/operations": { + "get": { + "tags": [ + "Proxy" + ], + "description": "Lists all of the available SecurityAndCompliance REST API operations.", + "operationId": "Operations_List", + "x-ms-examples": { + "List operations": { + "$ref": "./examples/ManagementAPIOperationsList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/checkNameAvailability": { + "post": { + "tags": [ + "Proxy" + ], + "description": "Check if a service instance name is available.", + "operationId": "privateLinkServicesForOffice365ManagementActivityAPI_CheckNameAvailability", + "x-ms-examples": { + "Check name availability": { + "$ref": "./examples/ManagementAPICheckNameAvailabilityPost.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "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" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/locations/{locationName}/operationresults/{operationResultId}": { + "get": { + "tags": [ + "Resource" + ], + "description": "Get the operation result for a long running operation.", + "operationId": "OperationResults_Get", + "x-ms-examples": { + "Get operation result": { + "$ref": "./examples/ManagementAPIOperationResultsGet.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/locationName" + }, + { + "$ref": "#/parameters/operationResultId" + } + ], + "responses": { + "200": { + "description": "The body contains all of the properties of the operation result.", + "schema": { + "$ref": "#/definitions/OperationResultsDescription" + } + }, + "default": { + "description": "Default error response", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/{resourceName}/privateEndpointConnections": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_ListByService", + "description": "Lists all private endpoint connections for a service.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnectionListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnection_List": { + "$ref": "./examples/ManagementAPIServiceListPrivateEndpointConnections.json" + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_Get", + "description": "Gets the specified private endpoint connection associated with the service.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/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/PrivateEndpointConnection" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnection_GetConnection": { + "$ref": "./examples/ManagementAPIServiceGetPrivateEndpointConnection.json" + } + } + }, + "put": { + "tags": [ + "PrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "description": "Update the state of the specified private endpoint connection associated with the service.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" + }, + { + "name": "properties", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "description": "The private endpoint connection properties." + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "201": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnection_CreateOrUpdate": { + "$ref": "./examples/ManagementAPIServiceCreatePrivateEndpointConnection.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "delete": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Deletes a private endpoint connection.", + "operationId": "PrivateEndpointConnections_Delete", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/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." + }, + "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": { + "PrivateEndpointConnections_Delete": { + "$ref": "./examples/ManagementAPIServiceDeletePrivateEndpointConnection.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/{resourceName}/privateLinkResources": { + "get": { + "tags": [ + "PrivateLinkResources" + ], + "operationId": "PrivateLinkResources_ListByService", + "description": "Gets the private link resources that need to be created for a service.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/PrivateLinkResourceListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-examples": { + "PrivateLinkResources_ListGroupIds": { + "$ref": "./examples/ManagementAPIPrivateLinkResourcesListByService.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/{resourceName}/privateLinkResources/{groupName}": { + "get": { + "tags": [ + "PrivateLinkResources" + ], + "operationId": "PrivateLinkResources_Get", + "description": "Gets a private link resource that need to be created for a service.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "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/PrivateLinkResource" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-examples": { + "PrivateLinkResources_Get": { + "$ref": "./examples/ManagementAPIPrivateLinkResourceGet.json" + } + } + } + } + }, + "definitions": { + "ServicesProperties": { + "description": "The properties of a service instance.", + "type": "object", + "properties": { + "provisioningState": { + "description": "The provisioning state.", + "enum": [ + "Deleting", + "Succeeded", + "Creating", + "Accepted", + "Verifying", + "Updating", + "Failed", + "Canceled", + "Deprovisioned" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "provisioningState", + "modelAsString": true + } + }, + "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 + } + } + } + }, + "ServiceAccessPoliciesInfo": { + "description": "The access policies of the service instance.", + "type": "array", + "items": { + "$ref": "#/definitions/ServiceAccessPolicyEntry" + } + }, + "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", + "format": "int64", + "description": "The provisioned throughput for the backing database.", + "readOnly": false, + "minimum": 400, + "maximum": 10000 + }, + "keyVaultKeyUri": { + "type": "string", + "description": "The URI of the customer-managed key for the backing database.", + "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", + "format": "int64", + "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 + } + } + }, + "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" + }, + "privateLinkServicesForOffice365ManagementActivityAPIDescription": { + "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" + } + }, + "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." + }, + "systemData": { + "description": "Required property for system data", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + }, + "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" + ] + }, + "ErrorDetails": { + "description": "Error details.", + "type": "object", + "properties": { + "error": { + "description": "Object containing error details.", + "$ref": "#/definitions/ErrorDetailsInternal" + } + } + }, + "ErrorDetailsInternal": { + "description": "Error details.", + "type": "object", + "properties": { + "code": { + "description": "The error code.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "The error message.", + "type": "string", + "readOnly": true + }, + "target": { + "description": "The target of the particular error.", + "type": "string", + "readOnly": true + } + } + }, + "privateLinkServicesForOffice365ManagementActivityAPIDescriptionListResult": { + "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", + "readOnly": true + }, + "value": { + "description": "A list of service description objects.", + "type": "array", + "items": { + "$ref": "#/definitions/privateLinkServicesForOffice365ManagementActivityAPIDescription" + } + } + } + }, + "PrivateLinkResource": { + "properties": { + "systemData": { + "description": "Required property for system data", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + }, + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "Resource properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + } + ], + "description": "A private link resource" + }, + "PrivateLinkResourceProperties": { + "properties": { + "groupId": { + "description": "The private link resource group id.", + "type": "string", + "readOnly": true + }, + "requiredMembers": { + "description": "The private link resource required member names.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "requiredZoneNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The private link resource Private link DNS zone name." + } + }, + "description": "Properties of a private link resource." + }, + "PrivateLinkResourceListResult": { + "properties": { + "value": { + "type": "array", + "description": "Array of private link resources", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + } + } + }, + "description": "A list of private link resources" + }, + "PrivateEndpoint": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The ARM identifier for Private Endpoint" + } + }, + "description": "The Private Endpoint resource." + }, + "PrivateEndpointConnection": { + "properties": { + "systemData": { + "description": "Required property for system data", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + }, + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "x-ms-client-flatten": true, + "description": "Resource properties." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "description": "The Private Endpoint Connection resource." + }, + "PrivateEndpointConnectionProperties": { + "properties": { + "privateEndpoint": { + "$ref": "#/definitions/PrivateEndpoint", + "description": "The resource of private end point." + }, + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/PrivateLinkServiceConnectionState", + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "provisioningState": { + "$ref": "#/definitions/PrivateEndpointConnectionProvisioningState", + "description": "The provisioning state of the private endpoint connection resource." + } + }, + "required": [ + "privateLinkServiceConnectionState" + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "PrivateLinkServiceConnectionState": { + "properties": { + "status": { + "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", + "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." + }, + "description": { + "type": "string", + "description": "The reason for approval/rejection of the connection." + }, + "actionsRequired": { + "type": "string", + "description": "A message indicating if changes on the service provider require any updates on the consumer." + } + }, + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "PrivateEndpointServiceConnectionStatus": { + "type": "string", + "description": "The private endpoint connection status.", + "enum": [ + "Pending", + "Approved", + "Rejected" + ], + "x-ms-enum": { + "name": "PrivateEndpointServiceConnectionStatus", + "modelAsString": true + } + }, + "PrivateEndpointConnectionProvisioningState": { + "type": "string", + "readOnly": true, + "description": "The current provisioning state.", + "enum": [ + "Succeeded", + "Creating", + "Deleting", + "Failed" + ], + "x-ms-enum": { + "name": "PrivateEndpointConnectionProvisioningState", + "modelAsString": true + } + }, + "OperationListResult": { + "description": "A list of service operations. It contains a list of operations and a URL link to get the next set of results.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link used to get the next page of service description objects.", + "type": "string", + "readOnly": true + }, + "value": { + "description": "A list of service operations supported by the Microsoft.SecurityAndCompliance resource provider.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Operation" + } + } + } + }, + "Operation": { + "description": "Service REST API operation.", + "type": "object", + "properties": { + "name": { + "readOnly": true, + "type": "string", + "description": "Operation name: {provider}/{resource}/{read | write | action | delete}" + }, + "isDataAction": { + "readOnly": true, + "description": "Indicates whether the operation is a data action", + "type": "boolean" + }, + "origin": { + "readOnly": true, + "type": "string", + "description": "Default value is 'user,system'." + }, + "display": { + "readOnly": true, + "description": "The information displayed about the operation.", + "$ref": "#/definitions/OperationDisplay" + } + } + }, + "OperationDisplay": { + "description": "The object that represents the operation.", + "type": "object", + "properties": { + "provider": { + "readOnly": true, + "type": "string", + "description": "Service provider: Microsoft.SecurityAndCompliance" + }, + "resource": { + "readOnly": true, + "type": "string", + "description": "Resource Type: Services" + }, + "operation": { + "readOnly": true, + "type": "string", + "description": "Name of the operation" + }, + "description": { + "readOnly": true, + "type": "string", + "description": "Friendly description for the operation," + } + } + }, + "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", + "properties": { + "name": { + "description": "The name of the service instance to check.", + "type": "string" + }, + "type": { + "description": "The fully qualified resource type which includes provider namespace.", + "type": "string" + } + }, + "required": [ + "name", + "type" + ] + }, + "ServicesNameAvailabilityInfo": { + "description": "The properties indicating whether a given service name is available.", + "type": "object", + "properties": { + "nameAvailable": { + "description": "The value which indicates whether the provided name is available.", + "type": "boolean", + "readOnly": true + }, + "reason": { + "description": "The reason for unavailability.", + "enum": [ + "Invalid", + "AlreadyExists" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ServiceNameUnavailabilityReason", + "modelAsString": false + } + }, + "message": { + "description": "The detailed reason message.", + "type": "string" + } + } + }, + "OperationResultsDescription": { + "description": "The properties indicating the operation result of an operation on a service.", + "type": "object", + "properties": { + "id": { + "description": "The ID of the operation returned.", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "The name of the operation result.", + "readOnly": true, + "type": "string" + }, + "status": { + "description": "The status of the operation being performed.", + "enum": [ + "Canceled", + "Succeeded", + "Failed", + "Requested", + "Running" + ], + "readOnly": true, + "type": "string", + "x-ms-enum": { + "name": "OperationResultStatus", + "modelAsString": true + } + }, + "startTime": { + "description": "The time that the operation was started.", + "readOnly": true, + "type": "string" + }, + "properties": { + "x-ms-client-flatten": false, + "description": "Additional properties of the operation result." + } + } + } + }, + "parameters": { + "subscriptionId": { + "name": "subscriptionId", + "in": "path", + "description": "The subscription identifier.", + "required": true, + "type": "string" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." + }, + "resourceGroupName": { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group that contains the service instance.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + "resourceName": { + "name": "resourceName", + "in": "path", + "description": "The name of the service instance.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "minLength": 3, + "maxLength": 24 + }, + "locationName": { + "name": "locationName", + "in": "path", + "description": "The location of the operation.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "operationResultId": { + "name": "operationResultId", + "in": "path", + "description": "The ID of the operation result to get.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSecurityandComplianceCenterPowershell.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSecurityandComplianceCenterPowershell.json new file mode 100644 index 000000000000..a08d8bac43c4 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSecurityandComplianceCenterPowershell.json @@ -0,0 +1,1500 @@ +{ + "swagger": "2.0", + "info": { + "version": "2021-01-11", + "title": "SecurityAndComplianceAPIs", + "description": "Use this API to manage Microsoft SecurityAndCompliance services in your Azure subscription." + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/{resourceName}": { + "get": { + "tags": [ + "Resource" + ], + "description": "Get the metadata of a privateLinkServicesForSecurityandComplianceCenterPowershell resource.", + "operationId": "privateLinkServicesForSecurityandComplianceCenterPowershell_Get", + "x-ms-examples": { + "Get metadata": { + "$ref": "./examples/SCCPowershellServiceGet.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + } + ], + "responses": { + "200": { + "description": "The body contains all of the properties of the privateLinkServicesForSecurityandComplianceCenterPowershell instance.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForSecurityandComplianceCenterPowershellDescription" + } + }, + "default": { + "description": "Default error response", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + }, + "put": { + "tags": [ + "Resource" + ], + "description": "Create or update the metadata of a privateLinkServicesForSecurityandComplianceCenterPowershell instance.", + "operationId": "privateLinkServicesForSecurityandComplianceCenterPowershell_CreateOrUpdate", + "x-ms-examples": { + "Create or Update a service with all parameters": { + "$ref": "./examples/SCCPowershellServiceCreate.json" + }, + "Create or Update a service with minimum parameters": { + "$ref": "./examples/SCCPowershellServiceCreateMinimum.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "name": "privateLinkServicesForSecurityandComplianceCenterPowershellDescription", + "in": "body", + "description": "The service instance metadata.", + "required": true, + "schema": { + "$ref": "#/definitions/privateLinkServicesForSecurityandComplianceCenterPowershellDescription" + } + } + ], + "responses": { + "200": { + "description": "Updated - Put request accepted and an existing resource is being updated; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForSecurityandComplianceCenterPowershellDescription" + } + }, + "201": { + "description": "Created - Put request accepted and a new resource was created; the operation will complete asynchronously.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForSecurityandComplianceCenterPowershellDescription" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + }, + "patch": { + "tags": [ + "Resource" + ], + "description": "Update the metadata of a privateLinkServicesForSecurityandComplianceCenterPowershell instance.", + "operationId": "privateLinkServicesForSecurityandComplianceCenterPowershell_Update", + "x-ms-examples": { + "Patch service": { + "$ref": "./examples/SCCPowershellServicePatch.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "name": "servicePatchDescription", + "in": "body", + "description": "The service instance metadata and security metadata.", + "required": true, + "schema": { + "$ref": "#/definitions/ServicesPatchDescription" + } + } + ], + "responses": { + "200": { + "description": "The tags for the resource were updated successfully.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForSecurityandComplianceCenterPowershellDescription" + } + }, + "202": { + "description": "The tags for the resource were updated successfully.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForSecurityandComplianceCenterPowershellDescription" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + }, + "delete": { + "tags": [ + "Resource" + ], + "description": "Delete a service instance.", + "operationId": "Services_Delete", + "x-ms-examples": { + "Delete service": { + "$ref": "./examples/SCCPowershellServiceDelete.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + } + ], + "responses": { + "200": { + "description": "Accepted - Delete request accepted; the operation will complete." + }, + "202": { + "description": "Accepted - Delete request accepted; the operation will complete asynchronously." + }, + "204": { + "description": "The resource does not exist." + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell": { + "get": { + "tags": [ + "Collection" + ], + "description": "Get all the privateLinkServicesForSecurityandComplianceCenterPowershell instances in a subscription.", + "operationId": "privateLinkServicesForSecurityandComplianceCenterPowershell_List", + "x-ms-examples": { + "List all services in subscription": { + "$ref": "./examples/SCCPowershellServiceList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + } + ], + "responses": { + "200": { + "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForSecurityandComplianceCenterPowershell instances in the subscription.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForSecurityandComplianceCenterPowershellDescriptionListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell": { + "get": { + "tags": [ + "Collection" + ], + "description": "Get all the service instances in a resource group.", + "operationId": "privateLinkServicesForSecurityandComplianceCenterPowershell_ListByResourceGroup", + "x-ms-examples": { + "List all services in resource group": { + "$ref": "./examples/SCCPowershellServiceListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + } + ], + "responses": { + "200": { + "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForSecurityandComplianceCenterPowershell instances in the resource group.", + "schema": { + "$ref": "#/definitions/privateLinkServicesForSecurityandComplianceCenterPowershellDescriptionListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + } + }, + "/providers/Microsoft.SecurityAndCompliance/operations": { + "get": { + "tags": [ + "Proxy" + ], + "description": "Lists all of the available SecurityAndCompliance REST API operations.", + "operationId": "Operations_List", + "x-ms-examples": { + "List operations": { + "$ref": "./examples/SCCPowershellOperationsList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request has succeeded.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/checkNameAvailability": { + "post": { + "tags": [ + "Proxy" + ], + "description": "Check if a service instance name is available.", + "operationId": "privateLinkServicesForSecurityandComplianceCenterPowershell_CheckNameAvailability", + "x-ms-examples": { + "Check name availability": { + "$ref": "./examples/SCCPowershellCheckNameAvailabilityPost.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "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" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/locations/{locationName}/operationresults/{operationResultId}": { + "get": { + "tags": [ + "Resource" + ], + "description": "Get the operation result for a long running operation.", + "operationId": "OperationResults_Get", + "x-ms-examples": { + "Get operation result": { + "$ref": "./examples/SCCPowershellOperationResultsGet.json" + } + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/locationName" + }, + { + "$ref": "#/parameters/operationResultId" + } + ], + "responses": { + "200": { + "description": "The body contains all of the properties of the operation result.", + "schema": { + "$ref": "#/definitions/OperationResultsDescription" + } + }, + "default": { + "description": "Default error response", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/{resourceName}/privateEndpointConnections": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_ListByService", + "description": "Lists all private endpoint connections for a service.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnectionListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnection_List": { + "$ref": "./examples/SCCPowershellServiceListPrivateEndpointConnections.json" + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "get": { + "tags": [ + "PrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_Get", + "description": "Gets the specified private endpoint connection associated with the service.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/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/PrivateEndpointConnection" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnection_GetConnection": { + "$ref": "./examples/SCCPowershellServiceGetPrivateEndpointConnection.json" + } + } + }, + "put": { + "tags": [ + "PrivateEndpointConnections" + ], + "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "description": "Update the state of the specified private endpoint connection associated with the service.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" + }, + { + "name": "properties", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + }, + "description": "The private endpoint connection properties." + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "201": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-examples": { + "PrivateEndpointConnection_CreateOrUpdate": { + "$ref": "./examples/SCCPowershellServiceCreatePrivateEndpointConnection.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + }, + "delete": { + "tags": [ + "PrivateEndpointConnections" + ], + "description": "Deletes a private endpoint connection.", + "operationId": "PrivateEndpointConnections_Delete", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/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." + }, + "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": { + "PrivateEndpointConnections_Delete": { + "$ref": "./examples/SCCPowershellServiceDeletePrivateEndpointConnection.json" + } + }, + "x-ms-long-running-operation": true, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/{resourceName}/privateLinkResources": { + "get": { + "tags": [ + "PrivateLinkResources" + ], + "operationId": "PrivateLinkResources_ListByService", + "description": "Gets the private link resources that need to be created for a service.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/PrivateLinkResourceListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-examples": { + "PrivateLinkResources_ListGroupIds": { + "$ref": "./examples/SCCPowershellPrivateLinkResourcesListByService.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/{resourceName}/privateLinkResources/{groupName}": { + "get": { + "tags": [ + "PrivateLinkResources" + ], + "operationId": "PrivateLinkResources_Get", + "description": "Gets a private link resource that need to be created for a service.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/resourceName" + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "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/PrivateLinkResource" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "x-ms-examples": { + "PrivateLinkResources_Get": { + "$ref": "./examples/SCCPowershellPrivateLinkResourceGet.json" + } + } + } + } + }, + "definitions": { + "ServicesProperties": { + "description": "The properties of a service instance.", + "type": "object", + "properties": { + "provisioningState": { + "description": "The provisioning state.", + "enum": [ + "Deleting", + "Succeeded", + "Creating", + "Accepted", + "Verifying", + "Updating", + "Failed", + "Canceled", + "Deprovisioned" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "provisioningState", + "modelAsString": true + } + }, + "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 + } + } + } + }, + "ServiceAccessPoliciesInfo": { + "description": "The access policies of the service instance.", + "type": "array", + "items": { + "$ref": "#/definitions/ServiceAccessPolicyEntry" + } + }, + "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", + "format": "int64", + "description": "The provisioned throughput for the backing database.", + "readOnly": false, + "minimum": 400, + "maximum": 10000 + }, + "keyVaultKeyUri": { + "type": "string", + "description": "The URI of the customer-managed key for the backing database.", + "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", + "format": "int64", + "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 + } + } + }, + "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" + }, + "privateLinkServicesForSecurityandComplianceCenterPowershellDescription": { + "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" + } + }, + "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." + }, + "systemData": { + "description": "Required property for system data", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + }, + "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" + ] + }, + "ErrorDetails": { + "description": "Error details.", + "type": "object", + "properties": { + "error": { + "description": "Object containing error details.", + "$ref": "#/definitions/ErrorDetailsInternal" + } + } + }, + "ErrorDetailsInternal": { + "description": "Error details.", + "type": "object", + "properties": { + "code": { + "description": "The error code.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "The error message.", + "type": "string", + "readOnly": true + }, + "target": { + "description": "The target of the particular error.", + "type": "string", + "readOnly": true + } + } + }, + "privateLinkServicesForSecurityandComplianceCenterPowershellDescriptionListResult": { + "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", + "readOnly": true + }, + "value": { + "description": "A list of service description objects.", + "type": "array", + "items": { + "$ref": "#/definitions/privateLinkServicesForSecurityandComplianceCenterPowershellDescription" + } + } + } + }, + "PrivateLinkResource": { + "properties": { + "systemData": { + "description": "Required property for system data", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + }, + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "Resource properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + } + ], + "description": "A private link resource" + }, + "PrivateLinkResourceProperties": { + "properties": { + "groupId": { + "description": "The private link resource group id.", + "type": "string", + "readOnly": true + }, + "requiredMembers": { + "description": "The private link resource required member names.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "requiredZoneNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The private link resource Private link DNS zone name." + } + }, + "description": "Properties of a private link resource." + }, + "PrivateLinkResourceListResult": { + "properties": { + "value": { + "type": "array", + "description": "Array of private link resources", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + } + } + }, + "description": "A list of private link resources" + }, + "PrivateEndpoint": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The ARM identifier for Private Endpoint" + } + }, + "description": "The Private Endpoint resource." + }, + "PrivateEndpointConnection": { + "properties": { + "systemData": { + "description": "Required property for system data", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + }, + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "x-ms-client-flatten": true, + "description": "Resource properties." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "description": "The Private Endpoint Connection resource." + }, + "PrivateEndpointConnectionProperties": { + "properties": { + "privateEndpoint": { + "$ref": "#/definitions/PrivateEndpoint", + "description": "The resource of private end point." + }, + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/PrivateLinkServiceConnectionState", + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "provisioningState": { + "$ref": "#/definitions/PrivateEndpointConnectionProvisioningState", + "description": "The provisioning state of the private endpoint connection resource." + } + }, + "required": [ + "privateLinkServiceConnectionState" + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "PrivateLinkServiceConnectionState": { + "properties": { + "status": { + "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", + "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." + }, + "description": { + "type": "string", + "description": "The reason for approval/rejection of the connection." + }, + "actionsRequired": { + "type": "string", + "description": "A message indicating if changes on the service provider require any updates on the consumer." + } + }, + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "PrivateEndpointServiceConnectionStatus": { + "type": "string", + "description": "The private endpoint connection status.", + "enum": [ + "Pending", + "Approved", + "Rejected" + ], + "x-ms-enum": { + "name": "PrivateEndpointServiceConnectionStatus", + "modelAsString": true + } + }, + "PrivateEndpointConnectionProvisioningState": { + "type": "string", + "readOnly": true, + "description": "The current provisioning state.", + "enum": [ + "Succeeded", + "Creating", + "Deleting", + "Failed" + ], + "x-ms-enum": { + "name": "PrivateEndpointConnectionProvisioningState", + "modelAsString": true + } + }, + "OperationListResult": { + "description": "A list of service operations. It contains a list of operations and a URL link to get the next set of results.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link used to get the next page of service description objects.", + "type": "string", + "readOnly": true + }, + "value": { + "description": "A list of service operations supported by the Microsoft.SecurityAndCompliance resource provider.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Operation" + } + } + } + }, + "Operation": { + "description": "Service REST API operation.", + "type": "object", + "properties": { + "name": { + "readOnly": true, + "type": "string", + "description": "Operation name: {provider}/{resource}/{read | write | action | delete}" + }, + "isDataAction": { + "readOnly": true, + "description": "Indicates whether the operation is a data action", + "type": "boolean" + }, + "origin": { + "readOnly": true, + "type": "string", + "description": "Default value is 'user,system'." + }, + "display": { + "readOnly": true, + "description": "The information displayed about the operation.", + "$ref": "#/definitions/OperationDisplay" + } + } + }, + "OperationDisplay": { + "description": "The object that represents the operation.", + "type": "object", + "properties": { + "provider": { + "readOnly": true, + "type": "string", + "description": "Service provider: Microsoft.SecurityAndCompliance" + }, + "resource": { + "readOnly": true, + "type": "string", + "description": "Resource Type: Services" + }, + "operation": { + "readOnly": true, + "type": "string", + "description": "Name of the operation" + }, + "description": { + "readOnly": true, + "type": "string", + "description": "Friendly description for the operation," + } + } + }, + "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", + "properties": { + "name": { + "description": "The name of the service instance to check.", + "type": "string" + }, + "type": { + "description": "The fully qualified resource type which includes provider namespace.", + "type": "string" + } + }, + "required": [ + "name", + "type" + ] + }, + "ServicesNameAvailabilityInfo": { + "description": "The properties indicating whether a given service name is available.", + "type": "object", + "properties": { + "nameAvailable": { + "description": "The value which indicates whether the provided name is available.", + "type": "boolean", + "readOnly": true + }, + "reason": { + "description": "The reason for unavailability.", + "enum": [ + "Invalid", + "AlreadyExists" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "ServiceNameUnavailabilityReason", + "modelAsString": false + } + }, + "message": { + "description": "The detailed reason message.", + "type": "string" + } + } + }, + "OperationResultsDescription": { + "description": "The properties indicating the operation result of an operation on a service.", + "type": "object", + "properties": { + "id": { + "description": "The ID of the operation returned.", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "The name of the operation result.", + "readOnly": true, + "type": "string" + }, + "status": { + "description": "The status of the operation being performed.", + "enum": [ + "Canceled", + "Succeeded", + "Failed", + "Requested", + "Running" + ], + "readOnly": true, + "type": "string", + "x-ms-enum": { + "name": "OperationResultStatus", + "modelAsString": true + } + }, + "startTime": { + "description": "The time that the operation was started.", + "readOnly": true, + "type": "string" + }, + "properties": { + "x-ms-client-flatten": false, + "description": "Additional properties of the operation result." + } + } + } + }, + "parameters": { + "subscriptionId": { + "name": "subscriptionId", + "in": "path", + "description": "The subscription identifier.", + "required": true, + "type": "string" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." + }, + "resourceGroupName": { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group that contains the service instance.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + "resourceName": { + "name": "resourceName", + "in": "path", + "description": "The name of the service instance.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "minLength": 3, + "maxLength": 24 + }, + "locationName": { + "name": "locationName", + "in": "path", + "description": "The location of the operation.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "operationResultId": { + "name": "operationResultId", + "in": "path", + "description": "The ID of the operation result to get.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + } +} From 2a42b30cc5325150e73b002f6bab3b0e49d5f02f Mon Sep 17 00:00:00 2001 From: Sonal Verma Date: Thu, 4 Feb 2021 19:54:47 +0530 Subject: [PATCH 03/27] update json file names in readme --- .../resource-manager/readme.azureresourceschema.md | 6 +++++- .../securityandcompliance/resource-manager/readme.md | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/specification/securityandcompliance/resource-manager/readme.azureresourceschema.md b/specification/securityandcompliance/resource-manager/readme.azureresourceschema.md index 642183581732..ac9029fc234a 100644 --- a/specification/securityandcompliance/resource-manager/readme.azureresourceschema.md +++ b/specification/securityandcompliance/resource-manager/readme.azureresourceschema.md @@ -19,6 +19,10 @@ output-folder: $(azureresourceschema-folder)/schemas # all the input files in this apiVersion input-file: - - Microsoft.SecurityAndCompliance/stable/2021-01-11/securityandcompliance.json + - Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForExactDataMatchUpload.json + - Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json + - Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json + - Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForOffice365ManagementActivityAPI.json + - Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSecurityandComplianceCenterPowershell.json ``` diff --git a/specification/securityandcompliance/resource-manager/readme.md b/specification/securityandcompliance/resource-manager/readme.md index 7d9e7a2debbb..2871d5262aba 100644 --- a/specification/securityandcompliance/resource-manager/readme.md +++ b/specification/securityandcompliance/resource-manager/readme.md @@ -36,7 +36,11 @@ These settings apply only when `--tag=package-2021-01-11` is specified on the co ``` yaml $(tag) == 'package-2021-01-11' input-file: -- Microsoft.SecurityAndCompliance/stable/2021-01-11/securityandcompliance.json +- Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForExactDataMatchUpload.json +- Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json +- Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json +- Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForOffice365ManagementActivityAPI.json +- Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSecurityandComplianceCenterPowershell.json ``` --- From 846b85e24babd86012d88e6d3e47269adb02cf07 Mon Sep 17 00:00:00 2001 From: Sonal Verma Date: Mon, 8 Feb 2021 17:23:04 +0530 Subject: [PATCH 04/27] address review comments --- ...teLinkServicesForExactDataMatchUpload.json | 24 ++++++++----------- ...teLinkServicesForM365ComplianceCenter.json | 24 ++++++++----------- ...vateLinkServicesForM365SecurityCenter.json | 24 ++++++++----------- ...icesForOffice365ManagementActivityAPI.json | 24 ++++++++----------- ...SecurityandComplianceCenterPowershell.json | 24 ++++++++----------- 5 files changed, 50 insertions(+), 70 deletions(-) diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForExactDataMatchUpload.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForExactDataMatchUpload.json index 7abeedadd7f6..5e047175d154 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForExactDataMatchUpload.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForExactDataMatchUpload.json @@ -119,7 +119,7 @@ ], "responses": { "200": { - "description": "Updated - Put request accepted and an existing resource is being updated; the operation will complete asynchronously.", + "description": "Ok. Updated - Put request accepted and an existing resource is being updated; the operation will complete asynchronously.", "schema": { "$ref": "#/definitions/privateLinkServicesForExactDataMatchUploadDescription" } @@ -179,13 +179,13 @@ ], "responses": { "200": { - "description": "The tags for the resource were updated successfully.", + "description": "OK. The resource was updated successfully.", "schema": { "$ref": "#/definitions/privateLinkServicesForExactDataMatchUploadDescription" } }, "202": { - "description": "The tags for the resource were updated successfully.", + "description": "The resource was updated successfully.", "schema": { "$ref": "#/definitions/privateLinkServicesForExactDataMatchUploadDescription" } @@ -352,7 +352,7 @@ ], "responses": { "200": { - "description": "OK. The request has succeeded.", + "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/OperationListResult" } @@ -479,7 +479,7 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnectionListResult" } @@ -497,7 +497,7 @@ } }, "x-ms-pageable": { - "nextLinkName": null + "nextLinkName": "nextLink" } } }, @@ -579,13 +579,13 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/PrivateEndpointConnection" } }, "201": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Created. The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/PrivateEndpointConnection" } @@ -730,7 +730,7 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/PrivateLinkResource" } @@ -981,18 +981,15 @@ "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." }, @@ -1140,8 +1137,7 @@ "properties": { "groupId": { "description": "The private link resource group id.", - "type": "string", - "readOnly": true + "type": "string" }, "requiredMembers": { "description": "The private link resource required member names.", diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json index f69a59fec9bd..c6b36c20f4b7 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json @@ -119,7 +119,7 @@ ], "responses": { "200": { - "description": "Updated - Put request accepted and an existing resource is being updated; the operation will complete asynchronously.", + "description": "OK. Updated - Put request accepted and an existing resource is being updated; the operation will complete asynchronously.", "schema": { "$ref": "#/definitions/privateLinkServicesForM365ComplianceCenterDescription" } @@ -179,13 +179,13 @@ ], "responses": { "200": { - "description": "The tags for the resource were updated successfully.", + "description": "OK. The resource was updated successfully.", "schema": { "$ref": "#/definitions/privateLinkServicesForM365ComplianceCenterDescription" } }, "202": { - "description": "The tags for the resource were updated successfully.", + "description": "The resource was updated successfully.", "schema": { "$ref": "#/definitions/privateLinkServicesForM365ComplianceCenterDescription" } @@ -352,7 +352,7 @@ ], "responses": { "200": { - "description": "OK. The request has succeeded.", + "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/OperationListResult" } @@ -479,7 +479,7 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnectionListResult" } @@ -497,7 +497,7 @@ } }, "x-ms-pageable": { - "nextLinkName": null + "nextLinkName": "nextLink" } } }, @@ -579,13 +579,13 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/PrivateEndpointConnection" } }, "201": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Created. The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/PrivateEndpointConnection" } @@ -730,7 +730,7 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/PrivateLinkResource" } @@ -981,18 +981,15 @@ "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." }, @@ -1140,8 +1137,7 @@ "properties": { "groupId": { "description": "The private link resource group id.", - "type": "string", - "readOnly": true + "type": "string" }, "requiredMembers": { "description": "The private link resource required member names.", diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json index b270aae9191a..1c21a42f7af7 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json @@ -119,7 +119,7 @@ ], "responses": { "200": { - "description": "Updated - Put request accepted and an existing resource is being updated; the operation will complete asynchronously.", + "description": "OK. Updated - Put request accepted and an existing resource is being updated; the operation will complete asynchronously.", "schema": { "$ref": "#/definitions/privateLinkServicesForM365SecurityCenterDescription" } @@ -179,13 +179,13 @@ ], "responses": { "200": { - "description": "The tags for the resource were updated successfully.", + "description": "OK. The resource was updated successfully.", "schema": { "$ref": "#/definitions/privateLinkServicesForM365SecurityCenterDescription" } }, "202": { - "description": "The tags for the resource were updated successfully.", + "description": "The resource was updated successfully.", "schema": { "$ref": "#/definitions/privateLinkServicesForM365SecurityCenterDescription" } @@ -352,7 +352,7 @@ ], "responses": { "200": { - "description": "OK. The request has succeeded.", + "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/OperationListResult" } @@ -479,7 +479,7 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnectionListResult" } @@ -497,7 +497,7 @@ } }, "x-ms-pageable": { - "nextLinkName": null + "nextLinkName": "nextLink" } } }, @@ -579,13 +579,13 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/PrivateEndpointConnection" } }, "201": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Created. The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/PrivateEndpointConnection" } @@ -730,7 +730,7 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/PrivateLinkResource" } @@ -981,18 +981,15 @@ "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." }, @@ -1140,8 +1137,7 @@ "properties": { "groupId": { "description": "The private link resource group id.", - "type": "string", - "readOnly": true + "type": "string }, "requiredMembers": { "description": "The private link resource required member names.", diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForOffice365ManagementActivityAPI.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForOffice365ManagementActivityAPI.json index 0979a6a78f6b..785ee31c643e 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForOffice365ManagementActivityAPI.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForOffice365ManagementActivityAPI.json @@ -119,7 +119,7 @@ ], "responses": { "200": { - "description": "Updated - Put request accepted and an existing resource is being updated; the operation will complete asynchronously.", + "description": "OK. Updated - Put request accepted and an existing resource is being updated; the operation will complete asynchronously.", "schema": { "$ref": "#/definitions/privateLinkServicesForOffice365ManagementActivityAPIDescription" } @@ -179,13 +179,13 @@ ], "responses": { "200": { - "description": "The tags for the resource were updated successfully.", + "description": "OK. The resource was updated successfully.", "schema": { "$ref": "#/definitions/privateLinkServicesForOffice365ManagementActivityAPIDescription" } }, "202": { - "description": "The tags for the resource were updated successfully.", + "description": "The resource was updated successfully.", "schema": { "$ref": "#/definitions/privateLinkServicesForOffice365ManagementActivityAPIDescription" } @@ -352,7 +352,7 @@ ], "responses": { "200": { - "description": "OK. The request has succeeded.", + "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/OperationListResult" } @@ -479,7 +479,7 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnectionListResult" } @@ -497,7 +497,7 @@ } }, "x-ms-pageable": { - "nextLinkName": null + "nextLinkName": "nextLink" } } }, @@ -579,13 +579,13 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/PrivateEndpointConnection" } }, "201": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Created. The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/PrivateEndpointConnection" } @@ -730,7 +730,7 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/PrivateLinkResource" } @@ -981,18 +981,15 @@ "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." }, @@ -1140,8 +1137,7 @@ "properties": { "groupId": { "description": "The private link resource group id.", - "type": "string", - "readOnly": true + "type": "string" }, "requiredMembers": { "description": "The private link resource required member names.", diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSecurityandComplianceCenterPowershell.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSecurityandComplianceCenterPowershell.json index a08d8bac43c4..3fbb61960397 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSecurityandComplianceCenterPowershell.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSecurityandComplianceCenterPowershell.json @@ -119,7 +119,7 @@ ], "responses": { "200": { - "description": "Updated - Put request accepted and an existing resource is being updated; the operation will complete asynchronously.", + "description": "OK. Updated - Put request accepted and an existing resource is being updated; the operation will complete asynchronously.", "schema": { "$ref": "#/definitions/privateLinkServicesForSecurityandComplianceCenterPowershellDescription" } @@ -179,13 +179,13 @@ ], "responses": { "200": { - "description": "The tags for the resource were updated successfully.", + "description": "OK. The resource was updated successfully.", "schema": { "$ref": "#/definitions/privateLinkServicesForSecurityandComplianceCenterPowershellDescription" } }, "202": { - "description": "The tags for the resource were updated successfully.", + "description": "The resource was updated successfully.", "schema": { "$ref": "#/definitions/privateLinkServicesForSecurityandComplianceCenterPowershellDescription" } @@ -352,7 +352,7 @@ ], "responses": { "200": { - "description": "OK. The request has succeeded.", + "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/OperationListResult" } @@ -479,7 +479,7 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnectionListResult" } @@ -497,7 +497,7 @@ } }, "x-ms-pageable": { - "nextLinkName": null + "nextLinkName": "nextLink" } } }, @@ -579,13 +579,13 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/PrivateEndpointConnection" } }, "201": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "Created. The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/PrivateEndpointConnection" } @@ -730,7 +730,7 @@ ], "responses": { "200": { - "description": "The request was successful; the request was well-formed and received properly.", + "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { "$ref": "#/definitions/PrivateLinkResource" } @@ -981,18 +981,15 @@ "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." }, @@ -1140,8 +1137,7 @@ "properties": { "groupId": { "description": "The private link resource group id.", - "type": "string", - "readOnly": true + "type": "string" }, "requiredMembers": { "description": "The private link resource required member names.", From 8167a951cf7bd653415aab3b6b07e6fd89461019 Mon Sep 17 00:00:00 2001 From: Sonal Verma Date: Mon, 8 Feb 2021 17:34:46 +0530 Subject: [PATCH 05/27] fix errors --- .../2021-01-11/privateLinkServicesForM365SecurityCenter.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json index 1c21a42f7af7..f8c2c061a397 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json @@ -1137,7 +1137,7 @@ "properties": { "groupId": { "description": "The private link resource group id.", - "type": "string + "type": "string" }, "requiredMembers": { "description": "The private link resource required member names.", From 8a4603e87cdfc1556b46e44898db709df06d6c09 Mon Sep 17 00:00:00 2001 From: Sonal Verma Date: Tue, 9 Feb 2021 00:09:35 +0530 Subject: [PATCH 06/27] add privatelinks.json --- ...teLinkServicesForExactDataMatchUpload.json | 2 +- ...teLinkServicesForM365ComplianceCenter.json | 2 +- ...vateLinkServicesForM365SecurityCenter.json | 2 +- ...icesForOffice365ManagementActivityAPI.json | 2 +- ...SecurityandComplianceCenterPowershell.json | 2 +- .../stable/2021-01-11/privatelinks.json | 184 ++++++++++++++++++ 6 files changed, 189 insertions(+), 5 deletions(-) create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privatelinks.json diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForExactDataMatchUpload.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForExactDataMatchUpload.json index 5e047175d154..9ba1377298bf 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForExactDataMatchUpload.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForExactDataMatchUpload.json @@ -481,7 +481,7 @@ "200": { "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnectionListResult" + "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnectionListResult" } }, "default": { diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json index c6b36c20f4b7..b84ff6bd5156 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json @@ -481,7 +481,7 @@ "200": { "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnectionListResult" + "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnectionListResult" } }, "default": { diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json index f8c2c061a397..247d0af54d38 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json @@ -481,7 +481,7 @@ "200": { "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnectionListResult" + "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnectionListResult" } }, "default": { diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForOffice365ManagementActivityAPI.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForOffice365ManagementActivityAPI.json index 785ee31c643e..bfa3dc34dc9b 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForOffice365ManagementActivityAPI.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForOffice365ManagementActivityAPI.json @@ -481,7 +481,7 @@ "200": { "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnectionListResult" + "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnectionListResult" } }, "default": { diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSecurityandComplianceCenterPowershell.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSecurityandComplianceCenterPowershell.json index 3fbb61960397..59419333efd2 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSecurityandComplianceCenterPowershell.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSecurityandComplianceCenterPowershell.json @@ -481,7 +481,7 @@ "200": { "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/definitions/PrivateEndpointConnectionListResult" + "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnectionListResult" } }, "default": { diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privatelinks.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privatelinks.json new file mode 100644 index 000000000000..4c2b81ba3d99 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privatelinks.json @@ -0,0 +1,184 @@ +{ + "swagger": "2.0", + "info": { + "version": "1.0", + "title": "Common types for Microsoft.SecurityAndCompliance" + }, + "paths": {}, + "definitions": { + "PrivateEndpoint": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The ARM identifier for Private Endpoint" + } + }, + "description": "The Private Endpoint resource." + }, + "PrivateEndpointConnection": { + "properties": { + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "x-ms-client-flatten": true, + "description": "Resource properties." + } + }, + "allOf": [ + { + "$ref": "./types.json#/definitions/Resource" + } + ], + "description": "The Private Endpoint Connection resource." + }, + "PrivateEndpointConnectionProperties": { + "properties": { + "privateEndpoint": { + "$ref": "#/definitions/PrivateEndpoint", + "description": "The resource of private end point." + }, + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/PrivateLinkServiceConnectionState", + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "provisioningState": { + "$ref": "#/definitions/PrivateEndpointConnectionProvisioningState", + "description": "The provisioning state of the private endpoint connection resource." + } + }, + "required": [ + "privateLinkServiceConnectionState" + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "PrivateLinkServiceConnectionState": { + "properties": { + "status": { + "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", + "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." + }, + "description": { + "type": "string", + "description": "The reason for approval/rejection of the connection." + }, + "actionsRequired": { + "type": "string", + "description": "A message indicating if changes on the service provider require any updates on the consumer." + } + }, + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "PrivateEndpointServiceConnectionStatus": { + "type": "string", + "description": "The private endpoint connection status.", + "enum": [ + "Pending", + "Approved", + "Rejected" + ], + "x-ms-enum": { + "name": "PrivateEndpointServiceConnectionStatus", + "modelAsString": true + } + }, + "PrivateEndpointConnectionProvisioningState": { + "type": "string", + "readOnly": true, + "description": "The current provisioning state.", + "enum": [ + "Succeeded", + "Creating", + "Deleting", + "Failed" + ], + "x-ms-enum": { + "name": "PrivateEndpointConnectionProvisioningState", + "modelAsString": true + } + }, + "PrivateLinkResource": { + "properties": { + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "Resource properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "./types.json#/definitions/Resource" + } + ], + "description": "A private link resource" + }, + "PrivateLinkResourceProperties": { + "properties": { + "groupId": { + "description": "The private link resource group id.", + "type": "string", + "readOnly": true + }, + "requiredMembers": { + "description": "The private link resource required member names.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "requiredZoneNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The private link resource Private link DNS zone name." + } + }, + "description": "Properties of a private link resource." + }, + "PrivateEndpointConnectionListResult": { + "properties": { + "value": { + "type": "array", + "description": "Array of private endpoint connections", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results.", + "readOnly": true + } + }, + "description": "List of private endpoint connection associated with the specified storage account" + }, + "PrivateLinkResourceListResult": { + "properties": { + "value": { + "type": "array", + "description": "Array of private link resources", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + } + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results.", + "readOnly": true + } + }, + "description": "A list of private link resources" + } + }, + "parameters": { + "PrivateEndpointConnectionName": { + "name": "privateEndpointConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the private endpoint connection associated with the Azure resource", + "x-ms-parameter-location": "method" + } + } +} \ No newline at end of file From 4ccaa436c6fa50d7dd99d00223a35df2410c2f4f Mon Sep 17 00:00:00 2001 From: Sonal Verma Date: Tue, 9 Feb 2021 00:15:33 +0530 Subject: [PATCH 07/27] add privatelinks.json in readme --- specification/securityandcompliance/resource-manager/readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/securityandcompliance/resource-manager/readme.md b/specification/securityandcompliance/resource-manager/readme.md index 2871d5262aba..1774e62ada97 100644 --- a/specification/securityandcompliance/resource-manager/readme.md +++ b/specification/securityandcompliance/resource-manager/readme.md @@ -36,6 +36,7 @@ These settings apply only when `--tag=package-2021-01-11` is specified on the co ``` yaml $(tag) == 'package-2021-01-11' input-file: +- Microsoft.SecurityAndCompliance/stable/2021-01-11/privatelinks.json - Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForExactDataMatchUpload.json - Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json - Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json From 03b4e9c67ef0bfe8bf6a86fa04dccffb3466569f Mon Sep 17 00:00:00 2001 From: Sonal Verma Date: Tue, 9 Feb 2021 00:20:06 +0530 Subject: [PATCH 08/27] prettfiy privatelinks.json --- .../stable/2021-01-11/privatelinks.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privatelinks.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privatelinks.json index 4c2b81ba3d99..d9b67c5ad936 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privatelinks.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privatelinks.json @@ -144,12 +144,12 @@ "items": { "$ref": "#/definitions/PrivateEndpointConnection" } - }, + }, "nextLink": { "type": "string", "description": "The URL to get the next set of results.", "readOnly": true - } + } }, "description": "List of private endpoint connection associated with the specified storage account" }, @@ -166,7 +166,7 @@ "type": "string", "description": "The URL to get the next set of results.", "readOnly": true - } + } }, "description": "A list of private link resources" } @@ -181,4 +181,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} From ad252996aa47ebfff4abfa6d301d399fc7c90d47 Mon Sep 17 00:00:00 2001 From: Sonal Verma Date: Tue, 9 Feb 2021 12:21:57 +0530 Subject: [PATCH 09/27] fix types.json path --- .../stable/2021-01-11/privatelinks.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privatelinks.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privatelinks.json index d9b67c5ad936..054a2d91b487 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privatelinks.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privatelinks.json @@ -26,7 +26,7 @@ }, "allOf": [ { - "$ref": "./types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" } ], "description": "The Private Endpoint Connection resource." @@ -106,7 +106,7 @@ }, "allOf": [ { - "$ref": "./types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" } ], "description": "A private link resource" From 2af8dac33152226bf1e397cadbb89b9df987403d Mon Sep 17 00:00:00 2001 From: Sonal Verma Date: Tue, 9 Feb 2021 15:12:20 +0530 Subject: [PATCH 10/27] fix pipeline issues --- .../stable/2021-01-11/privatelinks.json | 32 +++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privatelinks.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privatelinks.json index 054a2d91b487..610967042f24 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privatelinks.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privatelinks.json @@ -1,8 +1,36 @@ { "swagger": "2.0", "info": { - "version": "1.0", - "title": "Common types for Microsoft.SecurityAndCompliance" + "version": "2021-01-11", + "title": "SecurityAndComplianceAPIs" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } }, "paths": {}, "definitions": { From 026f75346ff1abd1049d67e3bd48efd1114661f9 Mon Sep 17 00:00:00 2001 From: Sonal Verma Date: Tue, 9 Feb 2021 15:26:16 +0530 Subject: [PATCH 11/27] remove duplicate schema --- ...teLinkServicesForExactDataMatchUpload.json | 149 ------------------ ...teLinkServicesForM365ComplianceCenter.json | 149 ------------------ ...vateLinkServicesForM365SecurityCenter.json | 149 ------------------ ...icesForOffice365ManagementActivityAPI.json | 149 ------------------ ...SecurityandComplianceCenterPowershell.json | 149 ------------------ .../stable/2021-01-11/privatelinks.json | 8 + 6 files changed, 8 insertions(+), 745 deletions(-) diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForExactDataMatchUpload.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForExactDataMatchUpload.json index 9ba1377298bf..ab87a2ca46da 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForExactDataMatchUpload.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForExactDataMatchUpload.json @@ -1114,155 +1114,6 @@ } } }, - "PrivateLinkResource": { - "properties": { - "systemData": { - "description": "Required property for system data", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" - }, - "properties": { - "$ref": "#/definitions/PrivateLinkResourceProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "description": "A private link resource" - }, - "PrivateLinkResourceProperties": { - "properties": { - "groupId": { - "description": "The private link resource group id.", - "type": "string" - }, - "requiredMembers": { - "description": "The private link resource required member names.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "requiredZoneNames": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The private link resource Private link DNS zone name." - } - }, - "description": "Properties of a private link resource." - }, - "PrivateLinkResourceListResult": { - "properties": { - "value": { - "type": "array", - "description": "Array of private link resources", - "items": { - "$ref": "#/definitions/PrivateLinkResource" - } - } - }, - "description": "A list of private link resources" - }, - "PrivateEndpoint": { - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The ARM identifier for Private Endpoint" - } - }, - "description": "The Private Endpoint resource." - }, - "PrivateEndpointConnection": { - "properties": { - "systemData": { - "description": "Required property for system data", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" - }, - "properties": { - "$ref": "#/definitions/PrivateEndpointConnectionProperties", - "x-ms-client-flatten": true, - "description": "Resource properties." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" - } - ], - "description": "The Private Endpoint Connection resource." - }, - "PrivateEndpointConnectionProperties": { - "properties": { - "privateEndpoint": { - "$ref": "#/definitions/PrivateEndpoint", - "description": "The resource of private end point." - }, - "privateLinkServiceConnectionState": { - "$ref": "#/definitions/PrivateLinkServiceConnectionState", - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "provisioningState": { - "$ref": "#/definitions/PrivateEndpointConnectionProvisioningState", - "description": "The provisioning state of the private endpoint connection resource." - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "PrivateLinkServiceConnectionState": { - "properties": { - "status": { - "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." - }, - "description": { - "type": "string", - "description": "The reason for approval/rejection of the connection." - }, - "actionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - } - }, - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "PrivateEndpointServiceConnectionStatus": { - "type": "string", - "description": "The private endpoint connection status.", - "enum": [ - "Pending", - "Approved", - "Rejected" - ], - "x-ms-enum": { - "name": "PrivateEndpointServiceConnectionStatus", - "modelAsString": true - } - }, - "PrivateEndpointConnectionProvisioningState": { - "type": "string", - "readOnly": true, - "description": "The current provisioning state.", - "enum": [ - "Succeeded", - "Creating", - "Deleting", - "Failed" - ], - "x-ms-enum": { - "name": "PrivateEndpointConnectionProvisioningState", - "modelAsString": true - } - }, "OperationListResult": { "description": "A list of service operations. It contains a list of operations and a URL link to get the next set of results.", "type": "object", diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json index b84ff6bd5156..053802f0647a 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json @@ -1114,155 +1114,6 @@ } } }, - "PrivateLinkResource": { - "properties": { - "systemData": { - "description": "Required property for system data", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" - }, - "properties": { - "$ref": "#/definitions/PrivateLinkResourceProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "description": "A private link resource" - }, - "PrivateLinkResourceProperties": { - "properties": { - "groupId": { - "description": "The private link resource group id.", - "type": "string" - }, - "requiredMembers": { - "description": "The private link resource required member names.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "requiredZoneNames": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The private link resource Private link DNS zone name." - } - }, - "description": "Properties of a private link resource." - }, - "PrivateLinkResourceListResult": { - "properties": { - "value": { - "type": "array", - "description": "Array of private link resources", - "items": { - "$ref": "#/definitions/PrivateLinkResource" - } - } - }, - "description": "A list of private link resources" - }, - "PrivateEndpoint": { - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The ARM identifier for Private Endpoint" - } - }, - "description": "The Private Endpoint resource." - }, - "PrivateEndpointConnection": { - "properties": { - "systemData": { - "description": "Required property for system data", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" - }, - "properties": { - "$ref": "#/definitions/PrivateEndpointConnectionProperties", - "x-ms-client-flatten": true, - "description": "Resource properties." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" - } - ], - "description": "The Private Endpoint Connection resource." - }, - "PrivateEndpointConnectionProperties": { - "properties": { - "privateEndpoint": { - "$ref": "#/definitions/PrivateEndpoint", - "description": "The resource of private end point." - }, - "privateLinkServiceConnectionState": { - "$ref": "#/definitions/PrivateLinkServiceConnectionState", - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "provisioningState": { - "$ref": "#/definitions/PrivateEndpointConnectionProvisioningState", - "description": "The provisioning state of the private endpoint connection resource." - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "PrivateLinkServiceConnectionState": { - "properties": { - "status": { - "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." - }, - "description": { - "type": "string", - "description": "The reason for approval/rejection of the connection." - }, - "actionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - } - }, - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "PrivateEndpointServiceConnectionStatus": { - "type": "string", - "description": "The private endpoint connection status.", - "enum": [ - "Pending", - "Approved", - "Rejected" - ], - "x-ms-enum": { - "name": "PrivateEndpointServiceConnectionStatus", - "modelAsString": true - } - }, - "PrivateEndpointConnectionProvisioningState": { - "type": "string", - "readOnly": true, - "description": "The current provisioning state.", - "enum": [ - "Succeeded", - "Creating", - "Deleting", - "Failed" - ], - "x-ms-enum": { - "name": "PrivateEndpointConnectionProvisioningState", - "modelAsString": true - } - }, "OperationListResult": { "description": "A list of service operations. It contains a list of operations and a URL link to get the next set of results.", "type": "object", diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json index 247d0af54d38..f122b845b90b 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json @@ -1114,155 +1114,6 @@ } } }, - "PrivateLinkResource": { - "properties": { - "systemData": { - "description": "Required property for system data", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" - }, - "properties": { - "$ref": "#/definitions/PrivateLinkResourceProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "description": "A private link resource" - }, - "PrivateLinkResourceProperties": { - "properties": { - "groupId": { - "description": "The private link resource group id.", - "type": "string" - }, - "requiredMembers": { - "description": "The private link resource required member names.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "requiredZoneNames": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The private link resource Private link DNS zone name." - } - }, - "description": "Properties of a private link resource." - }, - "PrivateLinkResourceListResult": { - "properties": { - "value": { - "type": "array", - "description": "Array of private link resources", - "items": { - "$ref": "#/definitions/PrivateLinkResource" - } - } - }, - "description": "A list of private link resources" - }, - "PrivateEndpoint": { - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The ARM identifier for Private Endpoint" - } - }, - "description": "The Private Endpoint resource." - }, - "PrivateEndpointConnection": { - "properties": { - "systemData": { - "description": "Required property for system data", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" - }, - "properties": { - "$ref": "#/definitions/PrivateEndpointConnectionProperties", - "x-ms-client-flatten": true, - "description": "Resource properties." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" - } - ], - "description": "The Private Endpoint Connection resource." - }, - "PrivateEndpointConnectionProperties": { - "properties": { - "privateEndpoint": { - "$ref": "#/definitions/PrivateEndpoint", - "description": "The resource of private end point." - }, - "privateLinkServiceConnectionState": { - "$ref": "#/definitions/PrivateLinkServiceConnectionState", - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "provisioningState": { - "$ref": "#/definitions/PrivateEndpointConnectionProvisioningState", - "description": "The provisioning state of the private endpoint connection resource." - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "PrivateLinkServiceConnectionState": { - "properties": { - "status": { - "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." - }, - "description": { - "type": "string", - "description": "The reason for approval/rejection of the connection." - }, - "actionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - } - }, - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "PrivateEndpointServiceConnectionStatus": { - "type": "string", - "description": "The private endpoint connection status.", - "enum": [ - "Pending", - "Approved", - "Rejected" - ], - "x-ms-enum": { - "name": "PrivateEndpointServiceConnectionStatus", - "modelAsString": true - } - }, - "PrivateEndpointConnectionProvisioningState": { - "type": "string", - "readOnly": true, - "description": "The current provisioning state.", - "enum": [ - "Succeeded", - "Creating", - "Deleting", - "Failed" - ], - "x-ms-enum": { - "name": "PrivateEndpointConnectionProvisioningState", - "modelAsString": true - } - }, "OperationListResult": { "description": "A list of service operations. It contains a list of operations and a URL link to get the next set of results.", "type": "object", diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForOffice365ManagementActivityAPI.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForOffice365ManagementActivityAPI.json index bfa3dc34dc9b..afef698a44ef 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForOffice365ManagementActivityAPI.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForOffice365ManagementActivityAPI.json @@ -1114,155 +1114,6 @@ } } }, - "PrivateLinkResource": { - "properties": { - "systemData": { - "description": "Required property for system data", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" - }, - "properties": { - "$ref": "#/definitions/PrivateLinkResourceProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "description": "A private link resource" - }, - "PrivateLinkResourceProperties": { - "properties": { - "groupId": { - "description": "The private link resource group id.", - "type": "string" - }, - "requiredMembers": { - "description": "The private link resource required member names.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "requiredZoneNames": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The private link resource Private link DNS zone name." - } - }, - "description": "Properties of a private link resource." - }, - "PrivateLinkResourceListResult": { - "properties": { - "value": { - "type": "array", - "description": "Array of private link resources", - "items": { - "$ref": "#/definitions/PrivateLinkResource" - } - } - }, - "description": "A list of private link resources" - }, - "PrivateEndpoint": { - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The ARM identifier for Private Endpoint" - } - }, - "description": "The Private Endpoint resource." - }, - "PrivateEndpointConnection": { - "properties": { - "systemData": { - "description": "Required property for system data", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" - }, - "properties": { - "$ref": "#/definitions/PrivateEndpointConnectionProperties", - "x-ms-client-flatten": true, - "description": "Resource properties." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" - } - ], - "description": "The Private Endpoint Connection resource." - }, - "PrivateEndpointConnectionProperties": { - "properties": { - "privateEndpoint": { - "$ref": "#/definitions/PrivateEndpoint", - "description": "The resource of private end point." - }, - "privateLinkServiceConnectionState": { - "$ref": "#/definitions/PrivateLinkServiceConnectionState", - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "provisioningState": { - "$ref": "#/definitions/PrivateEndpointConnectionProvisioningState", - "description": "The provisioning state of the private endpoint connection resource." - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "PrivateLinkServiceConnectionState": { - "properties": { - "status": { - "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." - }, - "description": { - "type": "string", - "description": "The reason for approval/rejection of the connection." - }, - "actionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - } - }, - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "PrivateEndpointServiceConnectionStatus": { - "type": "string", - "description": "The private endpoint connection status.", - "enum": [ - "Pending", - "Approved", - "Rejected" - ], - "x-ms-enum": { - "name": "PrivateEndpointServiceConnectionStatus", - "modelAsString": true - } - }, - "PrivateEndpointConnectionProvisioningState": { - "type": "string", - "readOnly": true, - "description": "The current provisioning state.", - "enum": [ - "Succeeded", - "Creating", - "Deleting", - "Failed" - ], - "x-ms-enum": { - "name": "PrivateEndpointConnectionProvisioningState", - "modelAsString": true - } - }, "OperationListResult": { "description": "A list of service operations. It contains a list of operations and a URL link to get the next set of results.", "type": "object", diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSecurityandComplianceCenterPowershell.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSecurityandComplianceCenterPowershell.json index 59419333efd2..f3f66b4a425f 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSecurityandComplianceCenterPowershell.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSecurityandComplianceCenterPowershell.json @@ -1114,155 +1114,6 @@ } } }, - "PrivateLinkResource": { - "properties": { - "systemData": { - "description": "Required property for system data", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" - }, - "properties": { - "$ref": "#/definitions/PrivateLinkResourceProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" - } - ], - "description": "A private link resource" - }, - "PrivateLinkResourceProperties": { - "properties": { - "groupId": { - "description": "The private link resource group id.", - "type": "string" - }, - "requiredMembers": { - "description": "The private link resource required member names.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "requiredZoneNames": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The private link resource Private link DNS zone name." - } - }, - "description": "Properties of a private link resource." - }, - "PrivateLinkResourceListResult": { - "properties": { - "value": { - "type": "array", - "description": "Array of private link resources", - "items": { - "$ref": "#/definitions/PrivateLinkResource" - } - } - }, - "description": "A list of private link resources" - }, - "PrivateEndpoint": { - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The ARM identifier for Private Endpoint" - } - }, - "description": "The Private Endpoint resource." - }, - "PrivateEndpointConnection": { - "properties": { - "systemData": { - "description": "Required property for system data", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" - }, - "properties": { - "$ref": "#/definitions/PrivateEndpointConnectionProperties", - "x-ms-client-flatten": true, - "description": "Resource properties." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" - } - ], - "description": "The Private Endpoint Connection resource." - }, - "PrivateEndpointConnectionProperties": { - "properties": { - "privateEndpoint": { - "$ref": "#/definitions/PrivateEndpoint", - "description": "The resource of private end point." - }, - "privateLinkServiceConnectionState": { - "$ref": "#/definitions/PrivateLinkServiceConnectionState", - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "provisioningState": { - "$ref": "#/definitions/PrivateEndpointConnectionProvisioningState", - "description": "The provisioning state of the private endpoint connection resource." - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "PrivateLinkServiceConnectionState": { - "properties": { - "status": { - "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." - }, - "description": { - "type": "string", - "description": "The reason for approval/rejection of the connection." - }, - "actionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - } - }, - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "PrivateEndpointServiceConnectionStatus": { - "type": "string", - "description": "The private endpoint connection status.", - "enum": [ - "Pending", - "Approved", - "Rejected" - ], - "x-ms-enum": { - "name": "PrivateEndpointServiceConnectionStatus", - "modelAsString": true - } - }, - "PrivateEndpointConnectionProvisioningState": { - "type": "string", - "readOnly": true, - "description": "The current provisioning state.", - "enum": [ - "Succeeded", - "Creating", - "Deleting", - "Failed" - ], - "x-ms-enum": { - "name": "PrivateEndpointConnectionProvisioningState", - "modelAsString": true - } - }, "OperationListResult": { "description": "A list of service operations. It contains a list of operations and a URL link to get the next set of results.", "type": "object", diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privatelinks.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privatelinks.json index 610967042f24..559da37de9dc 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privatelinks.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privatelinks.json @@ -46,6 +46,10 @@ }, "PrivateEndpointConnection": { "properties": { + "systemData": { + "description": "Required property for system data", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + }, "properties": { "$ref": "#/definitions/PrivateEndpointConnectionProperties", "x-ms-client-flatten": true, @@ -126,6 +130,10 @@ }, "PrivateLinkResource": { "properties": { + "systemData": { + "description": "Required property for system data", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + }, "properties": { "$ref": "#/definitions/PrivateLinkResourceProperties", "description": "Resource properties.", From 45e585e85f03441d2f349b02472bd47398aa2e3f Mon Sep 17 00:00:00 2001 From: Sonal Verma Date: Tue, 9 Feb 2021 17:41:29 +0530 Subject: [PATCH 12/27] refer privatelinks.json --- ...teLinkServicesForExactDataMatchUpload.json | 42 +++++++++---------- ...teLinkServicesForM365ComplianceCenter.json | 42 +++++++++---------- ...vateLinkServicesForM365SecurityCenter.json | 42 +++++++++---------- ...icesForOffice365ManagementActivityAPI.json | 40 +++++++++--------- ...SecurityandComplianceCenterPowershell.json | 42 +++++++++---------- 5 files changed, 104 insertions(+), 104 deletions(-) diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForExactDataMatchUpload.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForExactDataMatchUpload.json index ab87a2ca46da..a7d7c2dcbd0e 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForExactDataMatchUpload.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForExactDataMatchUpload.json @@ -64,7 +64,7 @@ "200": { "description": "The body contains all of the properties of the privateLinkServicesForExactDataMatchUpload instance.", "schema": { - "$ref": "#/definitions/privateLinkServicesForExactDataMatchUploadDescription" + "$ref": "#/definitions/PrivateLinkServicesForExactDataMatchUploadDescription" } }, "default": { @@ -113,7 +113,7 @@ "description": "The service instance metadata.", "required": true, "schema": { - "$ref": "#/definitions/privateLinkServicesForExactDataMatchUploadDescription" + "$ref": "#/definitions/PrivateLinkServicesForExactDataMatchUploadDescription" } } ], @@ -121,13 +121,13 @@ "200": { "description": "Ok. Updated - Put request accepted and an existing resource is being updated; the operation will complete asynchronously.", "schema": { - "$ref": "#/definitions/privateLinkServicesForExactDataMatchUploadDescription" + "$ref": "#/definitions/PrivateLinkServicesForExactDataMatchUploadDescription" } }, "201": { "description": "Created - Put request accepted and a new resource was created; the operation will complete asynchronously.", "schema": { - "$ref": "#/definitions/privateLinkServicesForExactDataMatchUploadDescription" + "$ref": "#/definitions/PrivateLinkServicesForExactDataMatchUploadDescription" } }, "default": { @@ -181,13 +181,13 @@ "200": { "description": "OK. The resource was updated successfully.", "schema": { - "$ref": "#/definitions/privateLinkServicesForExactDataMatchUploadDescription" + "$ref": "#/definitions/PrivateLinkServicesForExactDataMatchUploadDescription" } }, "202": { "description": "The resource was updated successfully.", "schema": { - "$ref": "#/definitions/privateLinkServicesForExactDataMatchUploadDescription" + "$ref": "#/definitions/PrivateLinkServicesForExactDataMatchUploadDescription" } }, "default": { @@ -274,7 +274,7 @@ "200": { "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForExactDataMatchUpload instances in the subscription.", "schema": { - "$ref": "#/definitions/privateLinkServicesForExactDataMatchUploadDescriptionListResult" + "$ref": "#/definitions/PrivateLinkServicesForExactDataMatchUploadDescriptionListResult" } }, "default": { @@ -317,7 +317,7 @@ "200": { "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForExactDataMatchUpload instances in the resource group.", "schema": { - "$ref": "#/definitions/privateLinkServicesForExactDataMatchUploadDescriptionListResult" + "$ref": "#/definitions/PrivateLinkServicesForExactDataMatchUploadDescriptionListResult" } }, "default": { @@ -522,14 +522,14 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" + "$ref": "./privatelinks.json#/parameters/PrivateEndpointConnectionName" } ], "responses": { "200": { "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" } }, "default": { @@ -565,14 +565,14 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" + "$ref": "./privatelinks.json#/parameters/PrivateEndpointConnectionName" }, { "name": "properties", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" }, "description": "The private endpoint connection properties." } @@ -581,13 +581,13 @@ "200": { "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" } }, "201": { "description": "Created. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" } }, "default": { @@ -627,7 +627,7 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" + "$ref": "./privatelinks.json#/parameters/PrivateEndpointConnectionName" } ], "responses": { @@ -683,7 +683,7 @@ "200": { "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/PrivateLinkResourceListResult" + "$ref": "./privatelinks.json#/definitions/PrivateLinkResourceListResult" } }, "default": { @@ -732,7 +732,7 @@ "200": { "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/PrivateLinkResource" + "$ref": "./privatelinks.json#/definitions/PrivateLinkResource" } }, "default": { @@ -799,7 +799,7 @@ "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" + "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" } }, "publicNetworkAccess": { @@ -943,7 +943,7 @@ "description": "A method for CORS.", "type": "string" }, - "privateLinkServicesForExactDataMatchUploadDescription": { + "PrivateLinkServicesForExactDataMatchUploadDescription": { "description": "The description of the service.", "type": "object", "properties": { @@ -1096,7 +1096,7 @@ } } }, - "privateLinkServicesForExactDataMatchUploadDescriptionListResult": { + "PrivateLinkServicesForExactDataMatchUploadDescriptionListResult": { "description": "A list of service description objects with a next link.", "type": "object", "properties": { @@ -1109,7 +1109,7 @@ "description": "A list of service description objects.", "type": "array", "items": { - "$ref": "#/definitions/privateLinkServicesForExactDataMatchUploadDescription" + "$ref": "#/definitions/PrivateLinkServicesForExactDataMatchUploadDescription" } } } diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json index 053802f0647a..2209e6c29f37 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json @@ -64,7 +64,7 @@ "200": { "description": "The body contains all of the properties of the privateLinkServicesForM365ComplianceCenter instance.", "schema": { - "$ref": "#/definitions/privateLinkServicesForM365ComplianceCenterDescription" + "$ref": "#/definitions/PrivateLinkServicesForM365ComplianceCenterDescription" } }, "default": { @@ -113,7 +113,7 @@ "description": "The service instance metadata.", "required": true, "schema": { - "$ref": "#/definitions/privateLinkServicesForM365ComplianceCenterDescription" + "$ref": "#/definitions/PrivateLinkServicesForM365ComplianceCenterDescription" } } ], @@ -121,13 +121,13 @@ "200": { "description": "OK. Updated - Put request accepted and an existing resource is being updated; the operation will complete asynchronously.", "schema": { - "$ref": "#/definitions/privateLinkServicesForM365ComplianceCenterDescription" + "$ref": "#/definitions/PrivateLinkServicesForM365ComplianceCenterDescription" } }, "201": { "description": "Created - Put request accepted and a new resource was created; the operation will complete asynchronously.", "schema": { - "$ref": "#/definitions/privateLinkServicesForM365ComplianceCenterDescription" + "$ref": "#/definitions/PrivateLinkServicesForM365ComplianceCenterDescription" } }, "default": { @@ -181,13 +181,13 @@ "200": { "description": "OK. The resource was updated successfully.", "schema": { - "$ref": "#/definitions/privateLinkServicesForM365ComplianceCenterDescription" + "$ref": "#/definitions/PrivateLinkServicesForM365ComplianceCenterDescription" } }, "202": { "description": "The resource was updated successfully.", "schema": { - "$ref": "#/definitions/privateLinkServicesForM365ComplianceCenterDescription" + "$ref": "#/definitions/PrivateLinkServicesForM365ComplianceCenterDescription" } }, "default": { @@ -274,7 +274,7 @@ "200": { "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForM365ComplianceCenter instances in the subscription.", "schema": { - "$ref": "#/definitions/privateLinkServicesForM365ComplianceCenterDescriptionListResult" + "$ref": "#/definitions/PrivateLinkServicesForM365ComplianceCenterDescriptionListResult" } }, "default": { @@ -317,7 +317,7 @@ "200": { "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForM365ComplianceCenter instances in the resource group.", "schema": { - "$ref": "#/definitions/privateLinkServicesForM365ComplianceCenterDescriptionListResult" + "$ref": "#/definitions/PrivateLinkServicesForM365ComplianceCenterDescriptionListResult" } }, "default": { @@ -522,14 +522,14 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" + "$ref": "./privatelinks.json#/parameters/PrivateEndpointConnectionName" } ], "responses": { "200": { "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" } }, "default": { @@ -565,14 +565,14 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" + "$ref": "./privatelinks.json#/parameters/PrivateEndpointConnectionName" }, { "name": "properties", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" }, "description": "The private endpoint connection properties." } @@ -581,13 +581,13 @@ "200": { "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" } }, "201": { "description": "Created. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" } }, "default": { @@ -627,7 +627,7 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" + "$ref": "./privatelinks.json#/parameters/PrivateEndpointConnectionName" } ], "responses": { @@ -683,7 +683,7 @@ "200": { "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/PrivateLinkResourceListResult" + "$ref": "./privatelinks.json#/definitions/PrivateLinkResourceListResult" } }, "default": { @@ -732,7 +732,7 @@ "200": { "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/PrivateLinkResource" + "$ref": "./privatelinks.json#/definitions/PrivateLinkResource" } }, "default": { @@ -799,7 +799,7 @@ "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" + "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" } }, "publicNetworkAccess": { @@ -943,7 +943,7 @@ "description": "A method for CORS.", "type": "string" }, - "privateLinkServicesForM365ComplianceCenterDescription": { + "PrivateLinkServicesForM365ComplianceCenterDescription": { "description": "The description of the service.", "type": "object", "properties": { @@ -1096,7 +1096,7 @@ } } }, - "privateLinkServicesForM365ComplianceCenterDescriptionListResult": { + "PrivateLinkServicesForM365ComplianceCenterDescriptionListResult": { "description": "A list of service description objects with a next link.", "type": "object", "properties": { @@ -1109,7 +1109,7 @@ "description": "A list of service description objects.", "type": "array", "items": { - "$ref": "#/definitions/privateLinkServicesForM365ComplianceCenterDescription" + "$ref": "#/definitions/PrivateLinkServicesForM365ComplianceCenterDescription" } } } diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json index f122b845b90b..388f01439d7a 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json @@ -64,7 +64,7 @@ "200": { "description": "The body contains all of the properties of the privateLinkServicesForM365SecurityCenter instance.", "schema": { - "$ref": "#/definitions/privateLinkServicesForM365SecurityCenterDescription" + "$ref": "#/definitions/PrivateLinkServicesForM365SecurityCenterDescription" } }, "default": { @@ -113,7 +113,7 @@ "description": "The service instance metadata.", "required": true, "schema": { - "$ref": "#/definitions/privateLinkServicesForM365SecurityCenterDescription" + "$ref": "#/definitions/PrivateLinkServicesForM365SecurityCenterDescription" } } ], @@ -121,13 +121,13 @@ "200": { "description": "OK. Updated - Put request accepted and an existing resource is being updated; the operation will complete asynchronously.", "schema": { - "$ref": "#/definitions/privateLinkServicesForM365SecurityCenterDescription" + "$ref": "#/definitions/PrivateLinkServicesForM365SecurityCenterDescription" } }, "201": { "description": "Created - Put request accepted and a new resource was created; the operation will complete asynchronously.", "schema": { - "$ref": "#/definitions/privateLinkServicesForM365SecurityCenterDescription" + "$ref": "#/definitions/PrivateLinkServicesForM365SecurityCenterDescription" } }, "default": { @@ -181,13 +181,13 @@ "200": { "description": "OK. The resource was updated successfully.", "schema": { - "$ref": "#/definitions/privateLinkServicesForM365SecurityCenterDescription" + "$ref": "#/definitions/PrivateLinkServicesForM365SecurityCenterDescription" } }, "202": { "description": "The resource was updated successfully.", "schema": { - "$ref": "#/definitions/privateLinkServicesForM365SecurityCenterDescription" + "$ref": "#/definitions/PrivateLinkServicesForM365SecurityCenterDescription" } }, "default": { @@ -274,7 +274,7 @@ "200": { "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForM365SecurityCenter instances in the subscription.", "schema": { - "$ref": "#/definitions/privateLinkServicesForM365SecurityCenterDescriptionListResult" + "$ref": "#/definitions/PrivateLinkServicesForM365SecurityCenterDescriptionListResult" } }, "default": { @@ -317,7 +317,7 @@ "200": { "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForM365SecurityCenter instances in the resource group.", "schema": { - "$ref": "#/definitions/privateLinkServicesForM365SecurityCenterDescriptionListResult" + "$ref": "#/definitions/PrivateLinkServicesForM365SecurityCenterDescriptionListResult" } }, "default": { @@ -522,14 +522,14 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" + "$ref": "./privatelinks.json#/parameters/PrivateEndpointConnectionName" } ], "responses": { "200": { "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" } }, "default": { @@ -565,14 +565,14 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" + "$ref": "./privatelinks.json#/parameters/PrivateEndpointConnectionName" }, { "name": "properties", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" }, "description": "The private endpoint connection properties." } @@ -581,13 +581,13 @@ "200": { "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" } }, "201": { "description": "Created. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" } }, "default": { @@ -627,7 +627,7 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" + "$ref": "./privatelinks.json#/parameters/PrivateEndpointConnectionName" } ], "responses": { @@ -683,7 +683,7 @@ "200": { "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/PrivateLinkResourceListResult" + "$ref": "./privatelinks.json#/definitions/PrivateLinkResourceListResult" } }, "default": { @@ -732,7 +732,7 @@ "200": { "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/PrivateLinkResource" + "$ref": "./privatelinks.json#/definitions/PrivateLinkResource" } }, "default": { @@ -799,7 +799,7 @@ "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" + "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" } }, "publicNetworkAccess": { @@ -943,7 +943,7 @@ "description": "A method for CORS.", "type": "string" }, - "privateLinkServicesForM365SecurityCenterDescription": { + "PrivateLinkServicesForM365SecurityCenterDescription": { "description": "The description of the service.", "type": "object", "properties": { @@ -1096,7 +1096,7 @@ } } }, - "privateLinkServicesForM365SecurityCenterDescriptionListResult": { + "PrivateLinkServicesForM365SecurityCenterDescriptionListResult": { "description": "A list of service description objects with a next link.", "type": "object", "properties": { @@ -1109,7 +1109,7 @@ "description": "A list of service description objects.", "type": "array", "items": { - "$ref": "#/definitions/privateLinkServicesForM365SecurityCenterDescription" + "$ref": "#/definitions/PrivateLinkServicesForM365SecurityCenterDescription" } } } diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForOffice365ManagementActivityAPI.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForOffice365ManagementActivityAPI.json index afef698a44ef..9bd55fb328dc 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForOffice365ManagementActivityAPI.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForOffice365ManagementActivityAPI.json @@ -64,7 +64,7 @@ "200": { "description": "The body contains all of the properties of the privateLinkServicesForOffice365ManagementActivityAPI instance.", "schema": { - "$ref": "#/definitions/privateLinkServicesForOffice365ManagementActivityAPIDescription" + "$ref": "#/definitions/PrivateLinkServicesForOffice365ManagementActivityAPIDescription" } }, "default": { @@ -113,7 +113,7 @@ "description": "The service instance metadata.", "required": true, "schema": { - "$ref": "#/definitions/privateLinkServicesForOffice365ManagementActivityAPIDescription" + "$ref": "#/definitions/PrivateLinkServicesForOffice365ManagementActivityAPIDescription" } } ], @@ -121,13 +121,13 @@ "200": { "description": "OK. Updated - Put request accepted and an existing resource is being updated; the operation will complete asynchronously.", "schema": { - "$ref": "#/definitions/privateLinkServicesForOffice365ManagementActivityAPIDescription" + "$ref": "#/definitions/PrivateLinkServicesForOffice365ManagementActivityAPIDescription" } }, "201": { "description": "Created - Put request accepted and a new resource was created; the operation will complete asynchronously.", "schema": { - "$ref": "#/definitions/privateLinkServicesForOffice365ManagementActivityAPIDescription" + "$ref": "#/definitions/PrivateLinkServicesForOffice365ManagementActivityAPIDescription" } }, "default": { @@ -181,13 +181,13 @@ "200": { "description": "OK. The resource was updated successfully.", "schema": { - "$ref": "#/definitions/privateLinkServicesForOffice365ManagementActivityAPIDescription" + "$ref": "#/definitions/PrivateLinkServicesForOffice365ManagementActivityAPIDescription" } }, "202": { "description": "The resource was updated successfully.", "schema": { - "$ref": "#/definitions/privateLinkServicesForOffice365ManagementActivityAPIDescription" + "$ref": "#/definitions/PrivateLinkServicesForOffice365ManagementActivityAPIDescription" } }, "default": { @@ -274,7 +274,7 @@ "200": { "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForOffice365ManagementActivityAPI instances in the subscription.", "schema": { - "$ref": "#/definitions/privateLinkServicesForOffice365ManagementActivityAPIDescriptionListResult" + "$ref": "#/definitions/PrivateLinkServicesForOffice365ManagementActivityAPIDescriptionListResult" } }, "default": { @@ -317,7 +317,7 @@ "200": { "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForOffice365ManagementActivityAPI instances in the resource group.", "schema": { - "$ref": "#/definitions/privateLinkServicesForOffice365ManagementActivityAPIDescriptionListResult" + "$ref": "#/definitions/PrivateLinkServicesForOffice365ManagementActivityAPIDescriptionListResult" } }, "default": { @@ -522,14 +522,14 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" + "$ref": "./privatelinks.json#/parameters/PrivateEndpointConnectionName" } ], "responses": { "200": { "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" } }, "default": { @@ -565,14 +565,14 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" + "$ref": "./privatelinks.json#/parameters/PrivateEndpointConnectionName" }, { "name": "properties", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" }, "description": "The private endpoint connection properties." } @@ -581,13 +581,13 @@ "200": { "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" } }, "201": { "description": "Created. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" } }, "default": { @@ -627,7 +627,7 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" + "$ref": "./privatelinks.json#/parameters/PrivateEndpointConnectionName" } ], "responses": { @@ -683,7 +683,7 @@ "200": { "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/PrivateLinkResourceListResult" + "$ref": "./privatelinks.json#/definitions/PrivateLinkResourceListResult" } }, "default": { @@ -732,7 +732,7 @@ "200": { "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/PrivateLinkResource" + "$ref": "./privatelinks.json#/definitions/PrivateLinkResource" } }, "default": { @@ -943,7 +943,7 @@ "description": "A method for CORS.", "type": "string" }, - "privateLinkServicesForOffice365ManagementActivityAPIDescription": { + "PrivateLinkServicesForOffice365ManagementActivityAPIDescription": { "description": "The description of the service.", "type": "object", "properties": { @@ -1096,7 +1096,7 @@ } } }, - "privateLinkServicesForOffice365ManagementActivityAPIDescriptionListResult": { + "PrivateLinkServicesForOffice365ManagementActivityAPIDescriptionListResult": { "description": "A list of service description objects with a next link.", "type": "object", "properties": { @@ -1109,7 +1109,7 @@ "description": "A list of service description objects.", "type": "array", "items": { - "$ref": "#/definitions/privateLinkServicesForOffice365ManagementActivityAPIDescription" + "$ref": "#/definitions/PrivateLinkServicesForOffice365ManagementActivityAPIDescription" } } } diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSecurityandComplianceCenterPowershell.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSecurityandComplianceCenterPowershell.json index f3f66b4a425f..f534008ac627 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSecurityandComplianceCenterPowershell.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSecurityandComplianceCenterPowershell.json @@ -64,7 +64,7 @@ "200": { "description": "The body contains all of the properties of the privateLinkServicesForSecurityandComplianceCenterPowershell instance.", "schema": { - "$ref": "#/definitions/privateLinkServicesForSecurityandComplianceCenterPowershellDescription" + "$ref": "#/definitions/PrivateLinkServicesForSecurityandComplianceCenterPowershellDescription" } }, "default": { @@ -113,7 +113,7 @@ "description": "The service instance metadata.", "required": true, "schema": { - "$ref": "#/definitions/privateLinkServicesForSecurityandComplianceCenterPowershellDescription" + "$ref": "#/definitions/PrivateLinkServicesForSecurityandComplianceCenterPowershellDescription" } } ], @@ -121,13 +121,13 @@ "200": { "description": "OK. Updated - Put request accepted and an existing resource is being updated; the operation will complete asynchronously.", "schema": { - "$ref": "#/definitions/privateLinkServicesForSecurityandComplianceCenterPowershellDescription" + "$ref": "#/definitions/PrivateLinkServicesForSecurityandComplianceCenterPowershellDescription" } }, "201": { "description": "Created - Put request accepted and a new resource was created; the operation will complete asynchronously.", "schema": { - "$ref": "#/definitions/privateLinkServicesForSecurityandComplianceCenterPowershellDescription" + "$ref": "#/definitions/PrivateLinkServicesForSecurityandComplianceCenterPowershellDescription" } }, "default": { @@ -181,13 +181,13 @@ "200": { "description": "OK. The resource was updated successfully.", "schema": { - "$ref": "#/definitions/privateLinkServicesForSecurityandComplianceCenterPowershellDescription" + "$ref": "#/definitions/PrivateLinkServicesForSecurityandComplianceCenterPowershellDescription" } }, "202": { "description": "The resource was updated successfully.", "schema": { - "$ref": "#/definitions/privateLinkServicesForSecurityandComplianceCenterPowershellDescription" + "$ref": "#/definitions/PrivateLinkServicesForSecurityandComplianceCenterPowershellDescription" } }, "default": { @@ -274,7 +274,7 @@ "200": { "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForSecurityandComplianceCenterPowershell instances in the subscription.", "schema": { - "$ref": "#/definitions/privateLinkServicesForSecurityandComplianceCenterPowershellDescriptionListResult" + "$ref": "#/definitions/PrivateLinkServicesForSecurityandComplianceCenterPowershellDescriptionListResult" } }, "default": { @@ -317,7 +317,7 @@ "200": { "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForSecurityandComplianceCenterPowershell instances in the resource group.", "schema": { - "$ref": "#/definitions/privateLinkServicesForSecurityandComplianceCenterPowershellDescriptionListResult" + "$ref": "#/definitions/PrivateLinkServicesForSecurityandComplianceCenterPowershellDescriptionListResult" } }, "default": { @@ -522,14 +522,14 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" + "$ref": "./privatelinks.json#/parameters/PrivateEndpointConnectionName" } ], "responses": { "200": { "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" } }, "default": { @@ -565,14 +565,14 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" + "$ref": "./privatelinks.json#/parameters/PrivateEndpointConnectionName" }, { "name": "properties", "in": "body", "required": true, "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" }, "description": "The private endpoint connection properties." } @@ -581,13 +581,13 @@ "200": { "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" } }, "201": { "description": "Created. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/PrivateEndpointConnection" + "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" } }, "default": { @@ -627,7 +627,7 @@ "$ref": "#/parameters/ApiVersionParameter" }, { - "$ref": "../../../../../common-types/resource-management/v1/privatelinks.json#/parameters/PrivateEndpointConnectionName" + "$ref": "./privatelinks.json#/parameters/PrivateEndpointConnectionName" } ], "responses": { @@ -683,7 +683,7 @@ "200": { "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/PrivateLinkResourceListResult" + "$ref": "./privatelinks.json#/definitions/PrivateLinkResourceListResult" } }, "default": { @@ -732,7 +732,7 @@ "200": { "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "#/definitions/PrivateLinkResource" + "$ref": "./privatelinks.json#/definitions/PrivateLinkResource" } }, "default": { @@ -799,7 +799,7 @@ "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" + "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" } }, "publicNetworkAccess": { @@ -943,7 +943,7 @@ "description": "A method for CORS.", "type": "string" }, - "privateLinkServicesForSecurityandComplianceCenterPowershellDescription": { + "PrivateLinkServicesForSecurityandComplianceCenterPowershellDescription": { "description": "The description of the service.", "type": "object", "properties": { @@ -1096,7 +1096,7 @@ } } }, - "privateLinkServicesForSecurityandComplianceCenterPowershellDescriptionListResult": { + "PrivateLinkServicesForSecurityandComplianceCenterPowershellDescriptionListResult": { "description": "A list of service description objects with a next link.", "type": "object", "properties": { @@ -1109,7 +1109,7 @@ "description": "A list of service description objects.", "type": "array", "items": { - "$ref": "#/definitions/privateLinkServicesForSecurityandComplianceCenterPowershellDescription" + "$ref": "#/definitions/PrivateLinkServicesForSecurityandComplianceCenterPowershellDescription" } } } From e5391ad5cc6ecb91700c902c41a0b28adc7c4405 Mon Sep 17 00:00:00 2001 From: Sonal Verma Date: Wed, 10 Feb 2021 14:11:52 +0530 Subject: [PATCH 13/27] rename resource types --- ...lianceCenterCheckNameAvailabilityPost.json | 19 --- .../EdmUploadCheckNameAvailabilityPost.json | 19 --- .../EdmUploadPrivateLinkResourceGet.json | 4 +- ...loadPrivateLinkResourcesListByService.json | 4 +- .../examples/EdmUploadServiceCreate.json | 10 +- .../EdmUploadServiceCreateMinimum.json | 10 +- ...erviceCreatePrivateEndpointConnection.json | 8 +- .../examples/EdmUploadServiceGet.json | 4 +- ...adServiceGetPrivateEndpointConnection.json | 4 +- .../examples/EdmUploadServiceList.json | 4 +- .../EdmUploadServiceListByResourceGroup.json | 4 +- ...ServiceListPrivateEndpointConnections.json | 4 +- .../examples/EdmUploadServicePatch.json | 8 +- ...anagementAPICheckNameAvailabilityPost.json | 19 --- .../ManagementAPIPrivateLinkResourceGet.json | 4 +- ...tAPIPrivateLinkResourcesListByService.json | 4 +- .../examples/ManagementAPIServiceCreate.json | 10 +- .../ManagementAPIServiceCreateMinimum.json | 10 +- ...erviceCreatePrivateEndpointConnection.json | 8 +- .../examples/ManagementAPIServiceGet.json | 4 +- ...PIServiceGetPrivateEndpointConnection.json | 4 +- .../examples/ManagementAPIServiceList.json | 4 +- ...nagementAPIServiceListByResourceGroup.json | 4 +- ...ServiceListPrivateEndpointConnections.json | 4 +- .../examples/ManagementAPIServicePatch.json | 8 +- ...CCPowershellCheckNameAvailabilityPost.json | 19 --- .../SCCPowershellPrivateLinkResourceGet.json | 4 +- ...hellPrivateLinkResourcesListByService.json | 4 +- .../examples/SCCPowershellServiceCreate.json | 10 +- .../SCCPowershellServiceCreateMinimum.json | 10 +- ...erviceCreatePrivateEndpointConnection.json | 8 +- .../examples/SCCPowershellServiceGet.json | 4 +- ...llServiceGetPrivateEndpointConnection.json | 4 +- .../examples/SCCPowershellServiceList.json | 4 +- ...CPowershellServiceListByResourceGroup.json | 4 +- ...ServiceListPrivateEndpointConnections.json | 4 +- .../examples/SCCPowershellServicePatch.json | 8 +- ...curityCenterCheckNameAvailabilityPost.json | 19 --- ...n => privateLinkServicesForEDMUpload.json} | 154 ++++-------------- ...teLinkServicesForM365ComplianceCenter.json | 92 ----------- ...vateLinkServicesForM365SecurityCenter.json | 92 ----------- ...ServicesForO365ManagementActivityAPI.json} | 154 ++++-------------- ... privateLinkServicesForSCCPowershell.json} | 154 ++++-------------- .../resource-manager/readme.md | 6 +- 44 files changed, 192 insertions(+), 747 deletions(-) delete mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterCheckNameAvailabilityPost.json delete mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadCheckNameAvailabilityPost.json delete mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPICheckNameAvailabilityPost.json delete mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellCheckNameAvailabilityPost.json delete mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterCheckNameAvailabilityPost.json rename specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/{privateLinkServicesForExactDataMatchUpload.json => privateLinkServicesForEDMUpload.json} (87%) rename specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/{privateLinkServicesForOffice365ManagementActivityAPI.json => privateLinkServicesForO365ManagementActivityAPI.json} (86%) rename specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/{privateLinkServicesForSecurityandComplianceCenterPowershell.json => privateLinkServicesForSCCPowershell.json} (86%) diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterCheckNameAvailabilityPost.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterCheckNameAvailabilityPost.json deleted file mode 100644 index 8380a55def44..000000000000 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterCheckNameAvailabilityPost.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "api-version": "2021-01-11", - "subscriptionId": "subid", - "checkNameAvailabilityInputs": { - "type": "Microsoft.SecurityAndCompliance/services", - "name": "serviceName" - } - }, - "responses": { - "200": { - "body": { - "nameAvailable": false, - "reason": "AlreadyExists", - "message": "Service name is not available." - } - } - } -} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadCheckNameAvailabilityPost.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadCheckNameAvailabilityPost.json deleted file mode 100644 index 8380a55def44..000000000000 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadCheckNameAvailabilityPost.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "api-version": "2021-01-11", - "subscriptionId": "subid", - "checkNameAvailabilityInputs": { - "type": "Microsoft.SecurityAndCompliance/services", - "name": "serviceName" - } - }, - "responses": { - "200": { - "body": { - "nameAvailable": false, - "reason": "AlreadyExists", - "message": "Service name is not available." - } - } - } -} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadPrivateLinkResourceGet.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadPrivateLinkResourceGet.json index 85c655701266..9eeb94cbe37f 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadPrivateLinkResourceGet.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadPrivateLinkResourceGet.json @@ -9,9 +9,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/service1/privateLinkResources/fhir", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/service1/privateLinkResources/fhir", "name": "fhir", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/privateLinkResources", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/privateLinkResources", "properties": { "groupId": "fhir", "requiredMembers": [ diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadPrivateLinkResourcesListByService.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadPrivateLinkResourcesListByService.json index 31e264aa3a49..1eb6535557af 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadPrivateLinkResourcesListByService.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadPrivateLinkResourcesListByService.json @@ -10,9 +10,9 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/service1/privateLinkResources/fhir", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/service1/privateLinkResources/fhir", "name": "fhir", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/privateLinkResources", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/privateLinkResources", "properties": { "groupId": "fhir", "requiredMembers": [ diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceCreate.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceCreate.json index 2f383fa382cc..44734ad708ec 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceCreate.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceCreate.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg1", "api-version": "2021-01-11", "subscriptionId": "subid", - "privateLinkServicesForExactDataMatchUploadDescription": { + "PrivateLinkServicesForEDMUploadDescription": { "location": "westus2", "tags": {}, "kind": "fhir-R4", @@ -58,10 +58,10 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/service1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/service1", "name": "service1", "location": "West US 2", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload", "kind": "fhir-R4", "etag": "etagvalue", "tags": {}, @@ -125,10 +125,10 @@ }, "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/service1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/service1", "name": "service1", "location": "West US 2", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload", "kind": "fhir-R4", "etag": "etagvalue", "tags": {}, diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceCreateMinimum.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceCreateMinimum.json index 4c5a211169ef..ee6469ef34c7 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceCreateMinimum.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceCreateMinimum.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg1", "api-version": "2021-01-11", "subscriptionId": "subid", - "privateLinkServicesForExactDataMatchUploadDescription": { + "PrivateLinkServicesForEDMUploadDescription": { "location": "westus2", "tags": {}, "kind": "fhir-R4", @@ -20,9 +20,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/service2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/service2", "name": "service2", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload", "etag": "etagvalue", "location": "westus2", "kind": "fhir-R4", @@ -64,9 +64,9 @@ }, "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/service2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/service2", "name": "service2", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload", "etag": "etagvalue", "location": "westus2", "kind": "fhir-R4", diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceCreatePrivateEndpointConnection.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceCreatePrivateEndpointConnection.json index 36dfd08857b0..6222ccd2bc39 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceCreatePrivateEndpointConnection.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceCreatePrivateEndpointConnection.json @@ -17,9 +17,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/service1/privateEndpointConnections/myConnection", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/service1/privateEndpointConnections/myConnection", "name": "myConnection", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/privateEndpointConnections", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/privateEndpointConnections", "properties": { "provisioningState": "Succeeded", "privateEndpoint": { @@ -43,9 +43,9 @@ }, "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/service1/privateEndpointConnections/myConnection", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/service1/privateEndpointConnections/myConnection", "name": "myConnection", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/privateEndpointConnections", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/privateEndpointConnections", "properties": { "provisioningState": "Succeeded", "privateEndpoint": { diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceGet.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceGet.json index 2b3601a15a98..93f6d13c78b6 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceGet.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceGet.json @@ -8,10 +8,10 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/service1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/service1", "name": "service1", "location": "West US", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload", "kind": "fhir-R4", "etag": "etagvalue", "tags": {}, diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceGetPrivateEndpointConnection.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceGetPrivateEndpointConnection.json index fdce75b5a9fb..38501192e358 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceGetPrivateEndpointConnection.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceGetPrivateEndpointConnection.json @@ -9,9 +9,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/service1/privateEndpointConnections/myConnection", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/service1/privateEndpointConnections/myConnection", "name": "myConnection", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/privateEndpointConnections", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/privateEndpointConnections", "properties": { "privateEndpoint": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/peexample01" diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceList.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceList.json index 78cc33c41f73..cd24229635a8 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceList.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceList.json @@ -8,10 +8,10 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/service1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/service1", "name": "service1", "location": "West US", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload", "kind": "fhir-R4", "etag": "etag", "tags": {}, diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceListByResourceGroup.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceListByResourceGroup.json index 81cc2bff75bc..10de07eb47a4 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceListByResourceGroup.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceListByResourceGroup.json @@ -9,10 +9,10 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/dddb8dcb-effb-4290-bb47-ce1e8440c729", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/dddb8dcb-effb-4290-bb47-ce1e8440c729", "name": "service1", "location": "westus", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload", "kind": "fhir-R4", "tags": {}, "etag": "etagvalue", diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceListPrivateEndpointConnections.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceListPrivateEndpointConnections.json index 1dc5911ff11f..ab06ce68f705 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceListPrivateEndpointConnections.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceListPrivateEndpointConnections.json @@ -10,9 +10,9 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/service1/privateEndpointConnections/myConnection", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/service1/privateEndpointConnections/myConnection", "name": "myConnection", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/privateEndpointConnections", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/privateEndpointConnections", "properties": { "privateEndpoint": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/peexample01" diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServicePatch.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServicePatch.json index 1ca769b9a01d..6060101ba5a6 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServicePatch.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServicePatch.json @@ -14,10 +14,10 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/service1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/service1", "name": "service1", "location": "West US", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload", "kind": "fhir-R4", "etag": "etagvalue", "tags": { @@ -76,10 +76,10 @@ }, "202": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/service1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/service1", "name": "service1", "location": "West US", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload", "kind": "fhir-R4", "etag": "etagvalue", "tags": { diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPICheckNameAvailabilityPost.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPICheckNameAvailabilityPost.json deleted file mode 100644 index 8380a55def44..000000000000 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPICheckNameAvailabilityPost.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "api-version": "2021-01-11", - "subscriptionId": "subid", - "checkNameAvailabilityInputs": { - "type": "Microsoft.SecurityAndCompliance/services", - "name": "serviceName" - } - }, - "responses": { - "200": { - "body": { - "nameAvailable": false, - "reason": "AlreadyExists", - "message": "Service name is not available." - } - } - } -} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIPrivateLinkResourceGet.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIPrivateLinkResourceGet.json index 35f3087f665f..c8ee9e672fac 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIPrivateLinkResourceGet.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIPrivateLinkResourceGet.json @@ -9,9 +9,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/service1/privateLinkResources/fhir", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/service1/privateLinkResources/fhir", "name": "fhir", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/privateLinkResources", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/privateLinkResources", "properties": { "groupId": "fhir", "requiredMembers": [ diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIPrivateLinkResourcesListByService.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIPrivateLinkResourcesListByService.json index 1c3f85e9a7be..cc92057765f3 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIPrivateLinkResourcesListByService.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIPrivateLinkResourcesListByService.json @@ -10,9 +10,9 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/service1/privateLinkResources/fhir", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/service1/privateLinkResources/fhir", "name": "fhir", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/privateLinkResources", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/privateLinkResources", "properties": { "groupId": "fhir", "requiredMembers": [ diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceCreate.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceCreate.json index feb1e6ddd2ac..e58039b5cdf8 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceCreate.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceCreate.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg1", "api-version": "2021-01-11", "subscriptionId": "subid", - "privateLinkServicesForOffice365ManagementActivityAPIDescription": { + "PrivateLinkServicesForO365ManagementActivityAPIDescription": { "location": "westus2", "tags": {}, "kind": "fhir-R4", @@ -58,10 +58,10 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/service1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/service1", "name": "service1", "location": "West US 2", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI", "kind": "fhir-R4", "etag": "etagvalue", "tags": {}, @@ -125,10 +125,10 @@ }, "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/service1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/service1", "name": "service1", "location": "West US 2", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI", "kind": "fhir-R4", "etag": "etagvalue", "tags": {}, diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceCreateMinimum.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceCreateMinimum.json index 6b17fceec4ac..db80ba3f6703 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceCreateMinimum.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceCreateMinimum.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg1", "api-version": "2021-01-11", "subscriptionId": "subid", - "privateLinkServicesForOffice365ManagementActivityAPIDescription": { + "PrivateLinkServicesForO365ManagementActivityAPIDescription": { "location": "westus2", "tags": {}, "kind": "fhir-R4", @@ -20,9 +20,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/service2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/service2", "name": "service2", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI", "etag": "etagvalue", "location": "westus2", "kind": "fhir-R4", @@ -64,9 +64,9 @@ }, "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/service2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/service2", "name": "service2", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI", "etag": "etagvalue", "location": "westus2", "kind": "fhir-R4", diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceCreatePrivateEndpointConnection.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceCreatePrivateEndpointConnection.json index ebfaf11e1d50..fb8d2e357f9c 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceCreatePrivateEndpointConnection.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceCreatePrivateEndpointConnection.json @@ -17,9 +17,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/service1/privateEndpointConnections/myConnection", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/service1/privateEndpointConnections/myConnection", "name": "myConnection", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/privateEndpointConnections", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/privateEndpointConnections", "properties": { "provisioningState": "Succeeded", "privateEndpoint": { @@ -43,9 +43,9 @@ }, "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/service1/privateEndpointConnections/myConnection", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/service1/privateEndpointConnections/myConnection", "name": "myConnection", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/privateEndpointConnections", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/privateEndpointConnections", "properties": { "provisioningState": "Succeeded", "privateEndpoint": { diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceGet.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceGet.json index 809f7bbe4f52..0612143ba384 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceGet.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceGet.json @@ -8,10 +8,10 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/service1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/service1", "name": "service1", "location": "West US", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI", "kind": "fhir-R4", "etag": "etagvalue", "tags": {}, diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceGetPrivateEndpointConnection.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceGetPrivateEndpointConnection.json index 34ba2a83048f..64cf935b2362 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceGetPrivateEndpointConnection.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceGetPrivateEndpointConnection.json @@ -9,9 +9,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/service1/privateEndpointConnections/myConnection", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/service1/privateEndpointConnections/myConnection", "name": "myConnection", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/privateEndpointConnections", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/privateEndpointConnections", "properties": { "privateEndpoint": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/peexample01" diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceList.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceList.json index 965a1c2298c5..eb82d1ea33fe 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceList.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceList.json @@ -8,10 +8,10 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/service1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/service1", "name": "service1", "location": "West US", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI", "kind": "fhir-R4", "etag": "etag", "tags": {}, diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceListByResourceGroup.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceListByResourceGroup.json index eb8053ec6ca5..c58419a27e1f 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceListByResourceGroup.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceListByResourceGroup.json @@ -9,10 +9,10 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/dddb8dcb-effb-4290-bb47-ce1e8440c729", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/dddb8dcb-effb-4290-bb47-ce1e8440c729", "name": "service1", "location": "westus", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI", "kind": "fhir-R4", "tags": {}, "etag": "etagvalue", diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceListPrivateEndpointConnections.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceListPrivateEndpointConnections.json index 4be0ac2bda6a..2803f143d8fa 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceListPrivateEndpointConnections.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceListPrivateEndpointConnections.json @@ -10,9 +10,9 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/service1/privateEndpointConnections/myConnection", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/service1/privateEndpointConnections/myConnection", "name": "myConnection", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/privateEndpointConnections", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/privateEndpointConnections", "properties": { "privateEndpoint": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/peexample01" diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServicePatch.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServicePatch.json index bc4a1c401ec6..b57d820a05a2 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServicePatch.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServicePatch.json @@ -14,10 +14,10 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/service1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/service1", "name": "service1", "location": "West US", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI", "kind": "fhir-R4", "etag": "etagvalue", "tags": { @@ -76,10 +76,10 @@ }, "202": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/service1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/service1", "name": "service1", "location": "West US", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI", "kind": "fhir-R4", "etag": "etagvalue", "tags": { diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellCheckNameAvailabilityPost.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellCheckNameAvailabilityPost.json deleted file mode 100644 index 8380a55def44..000000000000 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellCheckNameAvailabilityPost.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "api-version": "2021-01-11", - "subscriptionId": "subid", - "checkNameAvailabilityInputs": { - "type": "Microsoft.SecurityAndCompliance/services", - "name": "serviceName" - } - }, - "responses": { - "200": { - "body": { - "nameAvailable": false, - "reason": "AlreadyExists", - "message": "Service name is not available." - } - } - } -} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellPrivateLinkResourceGet.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellPrivateLinkResourceGet.json index 5d29d9fa3b35..767b282ae7e9 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellPrivateLinkResourceGet.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellPrivateLinkResourceGet.json @@ -9,9 +9,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/service1/privateLinkResources/fhir", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/service1/privateLinkResources/fhir", "name": "fhir", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/privateLinkResources", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/privateLinkResources", "properties": { "groupId": "fhir", "requiredMembers": [ diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellPrivateLinkResourcesListByService.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellPrivateLinkResourcesListByService.json index 796bd79f0b1f..5c445202f6bd 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellPrivateLinkResourcesListByService.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellPrivateLinkResourcesListByService.json @@ -10,9 +10,9 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/service1/privateLinkResources/fhir", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/service1/privateLinkResources/fhir", "name": "fhir", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/privateLinkResources", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/privateLinkResources", "properties": { "groupId": "fhir", "requiredMembers": [ diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceCreate.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceCreate.json index 237f5ef6c5d1..c93a032e49ea 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceCreate.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceCreate.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg1", "api-version": "2021-01-11", "subscriptionId": "subid", - "privateLinkServicesForSecurityandComplianceCenterPowershellDescription": { + "PrivateLinkServicesForSCCPowershellDescription": { "location": "westus2", "tags": {}, "kind": "fhir-R4", @@ -58,10 +58,10 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/service1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/service1", "name": "service1", "location": "West US 2", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell", "kind": "fhir-R4", "etag": "etagvalue", "tags": {}, @@ -125,10 +125,10 @@ }, "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/service1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/service1", "name": "service1", "location": "West US 2", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell", "kind": "fhir-R4", "etag": "etagvalue", "tags": {}, diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceCreateMinimum.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceCreateMinimum.json index e791c58a762a..1aa986031bd9 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceCreateMinimum.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceCreateMinimum.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg1", "api-version": "2021-01-11", "subscriptionId": "subid", - "privateLinkServicesForSecurityandComplianceCenterPowershellDescription": { + "PrivateLinkServicesForSCCPowershellDescription": { "location": "westus2", "tags": {}, "kind": "fhir-R4", @@ -20,9 +20,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/service2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/service2", "name": "service2", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell", "etag": "etagvalue", "location": "westus2", "kind": "fhir-R4", @@ -64,9 +64,9 @@ }, "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/service2", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/service2", "name": "service2", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell", "etag": "etagvalue", "location": "westus2", "kind": "fhir-R4", diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceCreatePrivateEndpointConnection.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceCreatePrivateEndpointConnection.json index 2c3d1d70756b..a128584c075d 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceCreatePrivateEndpointConnection.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceCreatePrivateEndpointConnection.json @@ -17,9 +17,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/service1/privateEndpointConnections/myConnection", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/service1/privateEndpointConnections/myConnection", "name": "myConnection", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/privateEndpointConnections", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/privateEndpointConnections", "properties": { "provisioningState": "Succeeded", "privateEndpoint": { @@ -43,9 +43,9 @@ }, "201": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/service1/privateEndpointConnections/myConnection", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/service1/privateEndpointConnections/myConnection", "name": "myConnection", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/privateEndpointConnections", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/privateEndpointConnections", "properties": { "provisioningState": "Succeeded", "privateEndpoint": { diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceGet.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceGet.json index 15260a78449b..418a0c6c69f4 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceGet.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceGet.json @@ -8,10 +8,10 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/service1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/service1", "name": "service1", "location": "West US", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell", "kind": "fhir-R4", "etag": "etagvalue", "tags": {}, diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceGetPrivateEndpointConnection.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceGetPrivateEndpointConnection.json index c271ff0cd42d..f8bad2c2e087 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceGetPrivateEndpointConnection.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceGetPrivateEndpointConnection.json @@ -9,9 +9,9 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/service1/privateEndpointConnections/myConnection", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/service1/privateEndpointConnections/myConnection", "name": "myConnection", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/privateEndpointConnections", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/privateEndpointConnections", "properties": { "privateEndpoint": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/peexample01" diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceList.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceList.json index 7acb593dbd4d..d593b3bed399 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceList.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceList.json @@ -8,10 +8,10 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/service1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/service1", "name": "service1", "location": "West US", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell", "kind": "fhir-R4", "etag": "etag", "tags": {}, diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceListByResourceGroup.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceListByResourceGroup.json index 0b0100d30dc2..a2f4ad8b12be 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceListByResourceGroup.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceListByResourceGroup.json @@ -9,10 +9,10 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/dddb8dcb-effb-4290-bb47-ce1e8440c729", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/dddb8dcb-effb-4290-bb47-ce1e8440c729", "name": "service1", "location": "westus", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell", "kind": "fhir-R4", "tags": {}, "etag": "etagvalue", diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceListPrivateEndpointConnections.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceListPrivateEndpointConnections.json index 2cc3c25224de..e6475bf057d4 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceListPrivateEndpointConnections.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceListPrivateEndpointConnections.json @@ -10,9 +10,9 @@ "body": { "value": [ { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/service1/privateEndpointConnections/myConnection", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/service1/privateEndpointConnections/myConnection", "name": "myConnection", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/privateEndpointConnections", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/privateEndpointConnections", "properties": { "privateEndpoint": { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/peexample01" diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServicePatch.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServicePatch.json index b7947f0767f9..001dde3e4eec 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServicePatch.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServicePatch.json @@ -14,10 +14,10 @@ "responses": { "200": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/service1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/service1", "name": "service1", "location": "West US", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell", "kind": "fhir-R4", "etag": "etagvalue", "tags": { @@ -76,10 +76,10 @@ }, "202": { "body": { - "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/service1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/service1", "name": "service1", "location": "West US", - "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell", + "type": "Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell", "kind": "fhir-R4", "etag": "etagvalue", "tags": { diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterCheckNameAvailabilityPost.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterCheckNameAvailabilityPost.json deleted file mode 100644 index 8380a55def44..000000000000 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterCheckNameAvailabilityPost.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "api-version": "2021-01-11", - "subscriptionId": "subid", - "checkNameAvailabilityInputs": { - "type": "Microsoft.SecurityAndCompliance/services", - "name": "serviceName" - } - }, - "responses": { - "200": { - "body": { - "nameAvailable": false, - "reason": "AlreadyExists", - "message": "Service name is not available." - } - } - } -} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForExactDataMatchUpload.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForEDMUpload.json similarity index 87% rename from specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForExactDataMatchUpload.json rename to specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForEDMUpload.json index a7d7c2dcbd0e..0c415f1b7e42 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForExactDataMatchUpload.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForEDMUpload.json @@ -34,13 +34,13 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/{resourceName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/{resourceName}": { "get": { "tags": [ "Resource" ], - "description": "Get the metadata of a privateLinkServicesForExactDataMatchUpload resource.", - "operationId": "privateLinkServicesForExactDataMatchUpload_Get", + "description": "Get the metadata of a privateLinkServicesForEDMUpload resource.", + "operationId": "privateLinkServicesForEDMUpload_Get", "x-ms-examples": { "Get metadata": { "$ref": "./examples/EdmUploadServiceGet.json" @@ -62,9 +62,9 @@ ], "responses": { "200": { - "description": "The body contains all of the properties of the privateLinkServicesForExactDataMatchUpload instance.", + "description": "The body contains all of the properties of the privateLinkServicesForEDMUpload instance.", "schema": { - "$ref": "#/definitions/PrivateLinkServicesForExactDataMatchUploadDescription" + "$ref": "#/definitions/PrivateLinkServicesForEDMUploadDescription" } }, "default": { @@ -80,8 +80,8 @@ "tags": [ "Resource" ], - "description": "Create or update the metadata of a privateLinkServicesForExactDataMatchUpload instance.", - "operationId": "privateLinkServicesForExactDataMatchUpload_CreateOrUpdate", + "description": "Create or update the metadata of a privateLinkServicesForEDMUpload instance.", + "operationId": "privateLinkServicesForEDMUpload_CreateOrUpdate", "x-ms-examples": { "Create or Update a service with all parameters": { "$ref": "./examples/EdmUploadServiceCreate.json" @@ -108,12 +108,12 @@ "$ref": "#/parameters/resourceName" }, { - "name": "privateLinkServicesForExactDataMatchUploadDescription", + "name": "privateLinkServicesForEDMUploadDescription", "in": "body", "description": "The service instance metadata.", "required": true, "schema": { - "$ref": "#/definitions/PrivateLinkServicesForExactDataMatchUploadDescription" + "$ref": "#/definitions/PrivateLinkServicesForEDMUploadDescription" } } ], @@ -121,13 +121,13 @@ "200": { "description": "Ok. Updated - Put request accepted and an existing resource is being updated; the operation will complete asynchronously.", "schema": { - "$ref": "#/definitions/PrivateLinkServicesForExactDataMatchUploadDescription" + "$ref": "#/definitions/PrivateLinkServicesForEDMUploadDescription" } }, "201": { "description": "Created - Put request accepted and a new resource was created; the operation will complete asynchronously.", "schema": { - "$ref": "#/definitions/PrivateLinkServicesForExactDataMatchUploadDescription" + "$ref": "#/definitions/PrivateLinkServicesForEDMUploadDescription" } }, "default": { @@ -143,8 +143,8 @@ "tags": [ "Resource" ], - "description": "Update the metadata of a privateLinkServicesForExactDataMatchUpload instance.", - "operationId": "privateLinkServicesForExactDataMatchUpload_Update", + "description": "Update the metadata of a privateLinkServicesForEDMUpload instance.", + "operationId": "privateLinkServicesForEDMUpload_Update", "x-ms-examples": { "Patch service": { "$ref": "./examples/EdmUploadServicePatch.json" @@ -181,13 +181,13 @@ "200": { "description": "OK. The resource was updated successfully.", "schema": { - "$ref": "#/definitions/PrivateLinkServicesForExactDataMatchUploadDescription" + "$ref": "#/definitions/PrivateLinkServicesForEDMUploadDescription" } }, "202": { "description": "The resource was updated successfully.", "schema": { - "$ref": "#/definitions/PrivateLinkServicesForExactDataMatchUploadDescription" + "$ref": "#/definitions/PrivateLinkServicesForEDMUploadDescription" } }, "default": { @@ -247,13 +247,13 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload": { + "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload": { "get": { "tags": [ "Collection" ], - "description": "Get all the privateLinkServicesForExactDataMatchUpload instances in a subscription.", - "operationId": "privateLinkServicesForExactDataMatchUpload_List", + "description": "Get all the privateLinkServicesForEDMUpload instances in a subscription.", + "operationId": "privateLinkServicesForEDMUpload_List", "x-ms-examples": { "List all services in subscription": { "$ref": "./examples/EdmUploadServiceList.json" @@ -272,9 +272,9 @@ ], "responses": { "200": { - "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForExactDataMatchUpload instances in the subscription.", + "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForEDMUpload instances in the subscription.", "schema": { - "$ref": "#/definitions/PrivateLinkServicesForExactDataMatchUploadDescriptionListResult" + "$ref": "#/definitions/PrivateLinkServicesForEDMUploadDescriptionListResult" } }, "default": { @@ -287,13 +287,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload": { "get": { "tags": [ "Collection" ], "description": "Get all the service instances in a resource group.", - "operationId": "privateLinkServicesForExactDataMatchUpload_ListByResourceGroup", + "operationId": "privateLinkServicesForEDMUpload_ListByResourceGroup", "x-ms-examples": { "List all services in resource group": { "$ref": "./examples/EdmUploadServiceListByResourceGroup.json" @@ -315,9 +315,9 @@ ], "responses": { "200": { - "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForExactDataMatchUpload instances in the resource group.", + "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForEDMUpload instances in the resource group.", "schema": { - "$ref": "#/definitions/PrivateLinkServicesForExactDataMatchUploadDescriptionListResult" + "$ref": "#/definitions/PrivateLinkServicesForEDMUploadDescriptionListResult" } }, "default": { @@ -367,52 +367,6 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/checkNameAvailability": { - "post": { - "tags": [ - "Proxy" - ], - "description": "Check if a service instance name is available.", - "operationId": "privateLinkServicesForExactDataMatchUpload_CheckNameAvailability", - "x-ms-examples": { - "Check name availability": { - "$ref": "./examples/EdmUploadCheckNameAvailabilityPost.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/subscriptionId" - }, - { - "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" - } - } - }, - "deprecated": false - } - }, "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/locations/{locationName}/operationresults/{operationResultId}": { "get": { "tags": [ @@ -456,7 +410,7 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/{resourceName}/privateEndpointConnections": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/{resourceName}/privateEndpointConnections": { "get": { "tags": [ "PrivateEndpointConnections" @@ -501,7 +455,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}": { "get": { "tags": [ "PrivateEndpointConnections" @@ -658,7 +612,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/{resourceName}/privateLinkResources": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/{resourceName}/privateLinkResources": { "get": { "tags": [ "PrivateLinkResources" @@ -700,7 +654,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForExactDataMatchUpload/{resourceName}/privateLinkResources/{groupName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/{resourceName}/privateLinkResources/{groupName}": { "get": { "tags": [ "PrivateLinkResources" @@ -943,7 +897,7 @@ "description": "A method for CORS.", "type": "string" }, - "PrivateLinkServicesForExactDataMatchUploadDescription": { + "PrivateLinkServicesForEDMUploadDescription": { "description": "The description of the service.", "type": "object", "properties": { @@ -1096,7 +1050,7 @@ } } }, - "PrivateLinkServicesForExactDataMatchUploadDescriptionListResult": { + "PrivateLinkServicesForEDMUploadDescriptionListResult": { "description": "A list of service description objects with a next link.", "type": "object", "properties": { @@ -1109,7 +1063,7 @@ "description": "A list of service description objects.", "type": "array", "items": { - "$ref": "#/definitions/PrivateLinkServicesForExactDataMatchUploadDescription" + "$ref": "#/definitions/PrivateLinkServicesForEDMUploadDescription" } } } @@ -1203,52 +1157,6 @@ } } }, - "CheckNameAvailabilityParameters": { - "description": "Input values.", - "type": "object", - "properties": { - "name": { - "description": "The name of the service instance to check.", - "type": "string" - }, - "type": { - "description": "The fully qualified resource type which includes provider namespace.", - "type": "string" - } - }, - "required": [ - "name", - "type" - ] - }, - "ServicesNameAvailabilityInfo": { - "description": "The properties indicating whether a given service name is available.", - "type": "object", - "properties": { - "nameAvailable": { - "description": "The value which indicates whether the provided name is available.", - "type": "boolean", - "readOnly": true - }, - "reason": { - "description": "The reason for unavailability.", - "enum": [ - "Invalid", - "AlreadyExists" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ServiceNameUnavailabilityReason", - "modelAsString": false - } - }, - "message": { - "description": "The detailed reason message.", - "type": "string" - } - } - }, "OperationResultsDescription": { "description": "The properties indicating the operation result of an operation on a service.", "type": "object", diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json index 2209e6c29f37..17426b7d098e 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json @@ -367,52 +367,6 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/checkNameAvailability": { - "post": { - "tags": [ - "Proxy" - ], - "description": "Check if a service instance name is available.", - "operationId": "privateLinkServicesForM365ComplianceCenter_CheckNameAvailability", - "x-ms-examples": { - "Check name availability": { - "$ref": "./examples/ComplianceCenterCheckNameAvailabilityPost.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/subscriptionId" - }, - { - "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" - } - } - }, - "deprecated": false - } - }, "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/locations/{locationName}/operationresults/{operationResultId}": { "get": { "tags": [ @@ -1203,52 +1157,6 @@ } } }, - "CheckNameAvailabilityParameters": { - "description": "Input values.", - "type": "object", - "properties": { - "name": { - "description": "The name of the service instance to check.", - "type": "string" - }, - "type": { - "description": "The fully qualified resource type which includes provider namespace.", - "type": "string" - } - }, - "required": [ - "name", - "type" - ] - }, - "ServicesNameAvailabilityInfo": { - "description": "The properties indicating whether a given service name is available.", - "type": "object", - "properties": { - "nameAvailable": { - "description": "The value which indicates whether the provided name is available.", - "type": "boolean", - "readOnly": true - }, - "reason": { - "description": "The reason for unavailability.", - "enum": [ - "Invalid", - "AlreadyExists" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ServiceNameUnavailabilityReason", - "modelAsString": false - } - }, - "message": { - "description": "The detailed reason message.", - "type": "string" - } - } - }, "OperationResultsDescription": { "description": "The properties indicating the operation result of an operation on a service.", "type": "object", diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json index 388f01439d7a..20ec5f2b6e86 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json @@ -367,52 +367,6 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/checkNameAvailability": { - "post": { - "tags": [ - "Proxy" - ], - "description": "Check if a service instance name is available.", - "operationId": "privateLinkServicesForM365SecurityCenter_CheckNameAvailability", - "x-ms-examples": { - "Check name availability": { - "$ref": "./examples/SecurityCenterCheckNameAvailabilityPost.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/subscriptionId" - }, - { - "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" - } - } - }, - "deprecated": false - } - }, "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/locations/{locationName}/operationresults/{operationResultId}": { "get": { "tags": [ @@ -1203,52 +1157,6 @@ } } }, - "CheckNameAvailabilityParameters": { - "description": "Input values.", - "type": "object", - "properties": { - "name": { - "description": "The name of the service instance to check.", - "type": "string" - }, - "type": { - "description": "The fully qualified resource type which includes provider namespace.", - "type": "string" - } - }, - "required": [ - "name", - "type" - ] - }, - "ServicesNameAvailabilityInfo": { - "description": "The properties indicating whether a given service name is available.", - "type": "object", - "properties": { - "nameAvailable": { - "description": "The value which indicates whether the provided name is available.", - "type": "boolean", - "readOnly": true - }, - "reason": { - "description": "The reason for unavailability.", - "enum": [ - "Invalid", - "AlreadyExists" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ServiceNameUnavailabilityReason", - "modelAsString": false - } - }, - "message": { - "description": "The detailed reason message.", - "type": "string" - } - } - }, "OperationResultsDescription": { "description": "The properties indicating the operation result of an operation on a service.", "type": "object", diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForOffice365ManagementActivityAPI.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForO365ManagementActivityAPI.json similarity index 86% rename from specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForOffice365ManagementActivityAPI.json rename to specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForO365ManagementActivityAPI.json index 9bd55fb328dc..a225ae425d65 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForOffice365ManagementActivityAPI.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForO365ManagementActivityAPI.json @@ -34,13 +34,13 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/{resourceName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/{resourceName}": { "get": { "tags": [ "Resource" ], - "description": "Get the metadata of a privateLinkServicesForOffice365ManagementActivityAPI resource.", - "operationId": "privateLinkServicesForOffice365ManagementActivityAPI_Get", + "description": "Get the metadata of a privateLinkServicesForO365ManagementActivityAPI resource.", + "operationId": "privateLinkServicesForO365ManagementActivityAPI_Get", "x-ms-examples": { "Get metadata": { "$ref": "./examples/ManagementAPIServiceGet.json" @@ -62,9 +62,9 @@ ], "responses": { "200": { - "description": "The body contains all of the properties of the privateLinkServicesForOffice365ManagementActivityAPI instance.", + "description": "The body contains all of the properties of the privateLinkServicesForO365ManagementActivityAPI instance.", "schema": { - "$ref": "#/definitions/PrivateLinkServicesForOffice365ManagementActivityAPIDescription" + "$ref": "#/definitions/PrivateLinkServicesForO365ManagementActivityAPIDescription" } }, "default": { @@ -80,8 +80,8 @@ "tags": [ "Resource" ], - "description": "Create or update the metadata of a privateLinkServicesForOffice365ManagementActivityAPI instance.", - "operationId": "privateLinkServicesForOffice365ManagementActivityAPI_CreateOrUpdate", + "description": "Create or update the metadata of a privateLinkServicesForO365ManagementActivityAPI instance.", + "operationId": "privateLinkServicesForO365ManagementActivityAPI_CreateOrUpdate", "x-ms-examples": { "Create or Update a service with all parameters": { "$ref": "./examples/ManagementAPIServiceCreate.json" @@ -108,12 +108,12 @@ "$ref": "#/parameters/resourceName" }, { - "name": "privateLinkServicesForOffice365ManagementActivityAPIDescription", + "name": "privateLinkServicesForO365ManagementActivityAPIDescription", "in": "body", "description": "The service instance metadata.", "required": true, "schema": { - "$ref": "#/definitions/PrivateLinkServicesForOffice365ManagementActivityAPIDescription" + "$ref": "#/definitions/PrivateLinkServicesForO365ManagementActivityAPIDescription" } } ], @@ -121,13 +121,13 @@ "200": { "description": "OK. Updated - Put request accepted and an existing resource is being updated; the operation will complete asynchronously.", "schema": { - "$ref": "#/definitions/PrivateLinkServicesForOffice365ManagementActivityAPIDescription" + "$ref": "#/definitions/PrivateLinkServicesForO365ManagementActivityAPIDescription" } }, "201": { "description": "Created - Put request accepted and a new resource was created; the operation will complete asynchronously.", "schema": { - "$ref": "#/definitions/PrivateLinkServicesForOffice365ManagementActivityAPIDescription" + "$ref": "#/definitions/PrivateLinkServicesForO365ManagementActivityAPIDescription" } }, "default": { @@ -143,8 +143,8 @@ "tags": [ "Resource" ], - "description": "Update the metadata of a privateLinkServicesForOffice365ManagementActivityAPI instance.", - "operationId": "privateLinkServicesForOffice365ManagementActivityAPI_Update", + "description": "Update the metadata of a privateLinkServicesForO365ManagementActivityAPI instance.", + "operationId": "privateLinkServicesForO365ManagementActivityAPI_Update", "x-ms-examples": { "Patch service": { "$ref": "./examples/ManagementAPIServicePatch.json" @@ -181,13 +181,13 @@ "200": { "description": "OK. The resource was updated successfully.", "schema": { - "$ref": "#/definitions/PrivateLinkServicesForOffice365ManagementActivityAPIDescription" + "$ref": "#/definitions/PrivateLinkServicesForO365ManagementActivityAPIDescription" } }, "202": { "description": "The resource was updated successfully.", "schema": { - "$ref": "#/definitions/PrivateLinkServicesForOffice365ManagementActivityAPIDescription" + "$ref": "#/definitions/PrivateLinkServicesForO365ManagementActivityAPIDescription" } }, "default": { @@ -247,13 +247,13 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI": { + "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI": { "get": { "tags": [ "Collection" ], - "description": "Get all the privateLinkServicesForOffice365ManagementActivityAPI instances in a subscription.", - "operationId": "privateLinkServicesForOffice365ManagementActivityAPI_List", + "description": "Get all the privateLinkServicesForO365ManagementActivityAPI instances in a subscription.", + "operationId": "privateLinkServicesForO365ManagementActivityAPI_List", "x-ms-examples": { "List all services in subscription": { "$ref": "./examples/ManagementAPIServiceList.json" @@ -272,9 +272,9 @@ ], "responses": { "200": { - "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForOffice365ManagementActivityAPI instances in the subscription.", + "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForO365ManagementActivityAPI instances in the subscription.", "schema": { - "$ref": "#/definitions/PrivateLinkServicesForOffice365ManagementActivityAPIDescriptionListResult" + "$ref": "#/definitions/PrivateLinkServicesForO365ManagementActivityAPIDescriptionListResult" } }, "default": { @@ -287,13 +287,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI": { "get": { "tags": [ "Collection" ], "description": "Get all the service instances in a resource group.", - "operationId": "privateLinkServicesForOffice365ManagementActivityAPI_ListByResourceGroup", + "operationId": "privateLinkServicesForO365ManagementActivityAPI_ListByResourceGroup", "x-ms-examples": { "List all services in resource group": { "$ref": "./examples/ManagementAPIServiceListByResourceGroup.json" @@ -315,9 +315,9 @@ ], "responses": { "200": { - "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForOffice365ManagementActivityAPI instances in the resource group.", + "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForO365ManagementActivityAPI instances in the resource group.", "schema": { - "$ref": "#/definitions/PrivateLinkServicesForOffice365ManagementActivityAPIDescriptionListResult" + "$ref": "#/definitions/PrivateLinkServicesForO365ManagementActivityAPIDescriptionListResult" } }, "default": { @@ -367,52 +367,6 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/checkNameAvailability": { - "post": { - "tags": [ - "Proxy" - ], - "description": "Check if a service instance name is available.", - "operationId": "privateLinkServicesForOffice365ManagementActivityAPI_CheckNameAvailability", - "x-ms-examples": { - "Check name availability": { - "$ref": "./examples/ManagementAPICheckNameAvailabilityPost.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/subscriptionId" - }, - { - "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" - } - } - }, - "deprecated": false - } - }, "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/locations/{locationName}/operationresults/{operationResultId}": { "get": { "tags": [ @@ -456,7 +410,7 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/{resourceName}/privateEndpointConnections": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/{resourceName}/privateEndpointConnections": { "get": { "tags": [ "PrivateEndpointConnections" @@ -501,7 +455,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}": { "get": { "tags": [ "PrivateEndpointConnections" @@ -658,7 +612,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/{resourceName}/privateLinkResources": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/{resourceName}/privateLinkResources": { "get": { "tags": [ "PrivateLinkResources" @@ -700,7 +654,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForOffice365ManagementActivityAPI/{resourceName}/privateLinkResources/{groupName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/{resourceName}/privateLinkResources/{groupName}": { "get": { "tags": [ "PrivateLinkResources" @@ -943,7 +897,7 @@ "description": "A method for CORS.", "type": "string" }, - "PrivateLinkServicesForOffice365ManagementActivityAPIDescription": { + "PrivateLinkServicesForO365ManagementActivityAPIDescription": { "description": "The description of the service.", "type": "object", "properties": { @@ -1096,7 +1050,7 @@ } } }, - "PrivateLinkServicesForOffice365ManagementActivityAPIDescriptionListResult": { + "PrivateLinkServicesForO365ManagementActivityAPIDescriptionListResult": { "description": "A list of service description objects with a next link.", "type": "object", "properties": { @@ -1109,7 +1063,7 @@ "description": "A list of service description objects.", "type": "array", "items": { - "$ref": "#/definitions/PrivateLinkServicesForOffice365ManagementActivityAPIDescription" + "$ref": "#/definitions/PrivateLinkServicesForO365ManagementActivityAPIDescription" } } } @@ -1203,52 +1157,6 @@ } } }, - "CheckNameAvailabilityParameters": { - "description": "Input values.", - "type": "object", - "properties": { - "name": { - "description": "The name of the service instance to check.", - "type": "string" - }, - "type": { - "description": "The fully qualified resource type which includes provider namespace.", - "type": "string" - } - }, - "required": [ - "name", - "type" - ] - }, - "ServicesNameAvailabilityInfo": { - "description": "The properties indicating whether a given service name is available.", - "type": "object", - "properties": { - "nameAvailable": { - "description": "The value which indicates whether the provided name is available.", - "type": "boolean", - "readOnly": true - }, - "reason": { - "description": "The reason for unavailability.", - "enum": [ - "Invalid", - "AlreadyExists" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ServiceNameUnavailabilityReason", - "modelAsString": false - } - }, - "message": { - "description": "The detailed reason message.", - "type": "string" - } - } - }, "OperationResultsDescription": { "description": "The properties indicating the operation result of an operation on a service.", "type": "object", diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSecurityandComplianceCenterPowershell.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSCCPowershell.json similarity index 86% rename from specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSecurityandComplianceCenterPowershell.json rename to specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSCCPowershell.json index f534008ac627..23459e925012 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSecurityandComplianceCenterPowershell.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSCCPowershell.json @@ -34,13 +34,13 @@ } }, "paths": { - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/{resourceName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/{resourceName}": { "get": { "tags": [ "Resource" ], - "description": "Get the metadata of a privateLinkServicesForSecurityandComplianceCenterPowershell resource.", - "operationId": "privateLinkServicesForSecurityandComplianceCenterPowershell_Get", + "description": "Get the metadata of a privateLinkServicesForSCCPowershell resource.", + "operationId": "privateLinkServicesForSCCPowershell_Get", "x-ms-examples": { "Get metadata": { "$ref": "./examples/SCCPowershellServiceGet.json" @@ -62,9 +62,9 @@ ], "responses": { "200": { - "description": "The body contains all of the properties of the privateLinkServicesForSecurityandComplianceCenterPowershell instance.", + "description": "The body contains all of the properties of the privateLinkServicesForSCCPowershell instance.", "schema": { - "$ref": "#/definitions/PrivateLinkServicesForSecurityandComplianceCenterPowershellDescription" + "$ref": "#/definitions/PrivateLinkServicesForSCCPowershellDescription" } }, "default": { @@ -80,8 +80,8 @@ "tags": [ "Resource" ], - "description": "Create or update the metadata of a privateLinkServicesForSecurityandComplianceCenterPowershell instance.", - "operationId": "privateLinkServicesForSecurityandComplianceCenterPowershell_CreateOrUpdate", + "description": "Create or update the metadata of a privateLinkServicesForSCCPowershell instance.", + "operationId": "privateLinkServicesForSCCPowershell_CreateOrUpdate", "x-ms-examples": { "Create or Update a service with all parameters": { "$ref": "./examples/SCCPowershellServiceCreate.json" @@ -108,12 +108,12 @@ "$ref": "#/parameters/resourceName" }, { - "name": "privateLinkServicesForSecurityandComplianceCenterPowershellDescription", + "name": "privateLinkServicesForSCCPowershellDescription", "in": "body", "description": "The service instance metadata.", "required": true, "schema": { - "$ref": "#/definitions/PrivateLinkServicesForSecurityandComplianceCenterPowershellDescription" + "$ref": "#/definitions/PrivateLinkServicesForSCCPowershellDescription" } } ], @@ -121,13 +121,13 @@ "200": { "description": "OK. Updated - Put request accepted and an existing resource is being updated; the operation will complete asynchronously.", "schema": { - "$ref": "#/definitions/PrivateLinkServicesForSecurityandComplianceCenterPowershellDescription" + "$ref": "#/definitions/PrivateLinkServicesForSCCPowershellDescription" } }, "201": { "description": "Created - Put request accepted and a new resource was created; the operation will complete asynchronously.", "schema": { - "$ref": "#/definitions/PrivateLinkServicesForSecurityandComplianceCenterPowershellDescription" + "$ref": "#/definitions/PrivateLinkServicesForSCCPowershellDescription" } }, "default": { @@ -143,8 +143,8 @@ "tags": [ "Resource" ], - "description": "Update the metadata of a privateLinkServicesForSecurityandComplianceCenterPowershell instance.", - "operationId": "privateLinkServicesForSecurityandComplianceCenterPowershell_Update", + "description": "Update the metadata of a privateLinkServicesForSCCPowershell instance.", + "operationId": "privateLinkServicesForSCCPowershell_Update", "x-ms-examples": { "Patch service": { "$ref": "./examples/SCCPowershellServicePatch.json" @@ -181,13 +181,13 @@ "200": { "description": "OK. The resource was updated successfully.", "schema": { - "$ref": "#/definitions/PrivateLinkServicesForSecurityandComplianceCenterPowershellDescription" + "$ref": "#/definitions/PrivateLinkServicesForSCCPowershellDescription" } }, "202": { "description": "The resource was updated successfully.", "schema": { - "$ref": "#/definitions/PrivateLinkServicesForSecurityandComplianceCenterPowershellDescription" + "$ref": "#/definitions/PrivateLinkServicesForSCCPowershellDescription" } }, "default": { @@ -247,13 +247,13 @@ } } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell": { + "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell": { "get": { "tags": [ "Collection" ], - "description": "Get all the privateLinkServicesForSecurityandComplianceCenterPowershell instances in a subscription.", - "operationId": "privateLinkServicesForSecurityandComplianceCenterPowershell_List", + "description": "Get all the privateLinkServicesForSCCPowershell instances in a subscription.", + "operationId": "privateLinkServicesForSCCPowershell_List", "x-ms-examples": { "List all services in subscription": { "$ref": "./examples/SCCPowershellServiceList.json" @@ -272,9 +272,9 @@ ], "responses": { "200": { - "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForSecurityandComplianceCenterPowershell instances in the subscription.", + "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForSCCPowershell instances in the subscription.", "schema": { - "$ref": "#/definitions/PrivateLinkServicesForSecurityandComplianceCenterPowershellDescriptionListResult" + "$ref": "#/definitions/PrivateLinkServicesForSCCPowershellDescriptionListResult" } }, "default": { @@ -287,13 +287,13 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell": { "get": { "tags": [ "Collection" ], "description": "Get all the service instances in a resource group.", - "operationId": "privateLinkServicesForSecurityandComplianceCenterPowershell_ListByResourceGroup", + "operationId": "privateLinkServicesForSCCPowershell_ListByResourceGroup", "x-ms-examples": { "List all services in resource group": { "$ref": "./examples/SCCPowershellServiceListByResourceGroup.json" @@ -315,9 +315,9 @@ ], "responses": { "200": { - "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForSecurityandComplianceCenterPowershell instances in the resource group.", + "description": "This is a synchronous operation. The body contains a JSON-serialized array of the metadata from all the privateLinkServicesForSCCPowershell instances in the resource group.", "schema": { - "$ref": "#/definitions/PrivateLinkServicesForSecurityandComplianceCenterPowershellDescriptionListResult" + "$ref": "#/definitions/PrivateLinkServicesForSCCPowershellDescriptionListResult" } }, "default": { @@ -367,52 +367,6 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/checkNameAvailability": { - "post": { - "tags": [ - "Proxy" - ], - "description": "Check if a service instance name is available.", - "operationId": "privateLinkServicesForSecurityandComplianceCenterPowershell_CheckNameAvailability", - "x-ms-examples": { - "Check name availability": { - "$ref": "./examples/SCCPowershellCheckNameAvailabilityPost.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/subscriptionId" - }, - { - "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" - } - } - }, - "deprecated": false - } - }, "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/locations/{locationName}/operationresults/{operationResultId}": { "get": { "tags": [ @@ -456,7 +410,7 @@ "deprecated": false } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/{resourceName}/privateEndpointConnections": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/{resourceName}/privateEndpointConnections": { "get": { "tags": [ "PrivateEndpointConnections" @@ -501,7 +455,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/{resourceName}/privateEndpointConnections/{privateEndpointConnectionName}": { "get": { "tags": [ "PrivateEndpointConnections" @@ -658,7 +612,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/{resourceName}/privateLinkResources": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/{resourceName}/privateLinkResources": { "get": { "tags": [ "PrivateLinkResources" @@ -700,7 +654,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSecurityandComplianceCenterPowershell/{resourceName}/privateLinkResources/{groupName}": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/{resourceName}/privateLinkResources/{groupName}": { "get": { "tags": [ "PrivateLinkResources" @@ -943,7 +897,7 @@ "description": "A method for CORS.", "type": "string" }, - "PrivateLinkServicesForSecurityandComplianceCenterPowershellDescription": { + "PrivateLinkServicesForSCCPowershellDescription": { "description": "The description of the service.", "type": "object", "properties": { @@ -1096,7 +1050,7 @@ } } }, - "PrivateLinkServicesForSecurityandComplianceCenterPowershellDescriptionListResult": { + "PrivateLinkServicesForSCCPowershellDescriptionListResult": { "description": "A list of service description objects with a next link.", "type": "object", "properties": { @@ -1109,7 +1063,7 @@ "description": "A list of service description objects.", "type": "array", "items": { - "$ref": "#/definitions/PrivateLinkServicesForSecurityandComplianceCenterPowershellDescription" + "$ref": "#/definitions/PrivateLinkServicesForSCCPowershellDescription" } } } @@ -1203,52 +1157,6 @@ } } }, - "CheckNameAvailabilityParameters": { - "description": "Input values.", - "type": "object", - "properties": { - "name": { - "description": "The name of the service instance to check.", - "type": "string" - }, - "type": { - "description": "The fully qualified resource type which includes provider namespace.", - "type": "string" - } - }, - "required": [ - "name", - "type" - ] - }, - "ServicesNameAvailabilityInfo": { - "description": "The properties indicating whether a given service name is available.", - "type": "object", - "properties": { - "nameAvailable": { - "description": "The value which indicates whether the provided name is available.", - "type": "boolean", - "readOnly": true - }, - "reason": { - "description": "The reason for unavailability.", - "enum": [ - "Invalid", - "AlreadyExists" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "ServiceNameUnavailabilityReason", - "modelAsString": false - } - }, - "message": { - "description": "The detailed reason message.", - "type": "string" - } - } - }, "OperationResultsDescription": { "description": "The properties indicating the operation result of an operation on a service.", "type": "object", diff --git a/specification/securityandcompliance/resource-manager/readme.md b/specification/securityandcompliance/resource-manager/readme.md index 1774e62ada97..24a28abfde5a 100644 --- a/specification/securityandcompliance/resource-manager/readme.md +++ b/specification/securityandcompliance/resource-manager/readme.md @@ -37,11 +37,11 @@ These settings apply only when `--tag=package-2021-01-11` is specified on the co ``` yaml $(tag) == 'package-2021-01-11' input-file: - Microsoft.SecurityAndCompliance/stable/2021-01-11/privatelinks.json -- Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForExactDataMatchUpload.json +- Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForEDMUpload.json - Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json - Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json -- Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForOffice365ManagementActivityAPI.json -- Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSecurityandComplianceCenterPowershell.json +- Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForO365ManagementActivityAPI.json +- Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSCCPowershell.json ``` --- From c2754c7fc1261209c03894c8d40b3d20f347ae30 Mon Sep 17 00:00:00 2001 From: Sonal Verma Date: Wed, 10 Feb 2021 14:23:00 +0530 Subject: [PATCH 14/27] fix pipeline errors --- .../2021-01-11/examples/ComplianceCenterServiceCreate.json | 2 +- .../examples/ComplianceCenterServiceCreateMinimum.json | 2 +- .../stable/2021-01-11/examples/SecurityCenterServiceCreate.json | 2 +- .../2021-01-11/examples/SecurityCenterServiceCreateMinimum.json | 2 +- .../stable/2021-01-11/privateLinkServicesForEDMUpload.json | 2 +- .../2021-01-11/privateLinkServicesForM365ComplianceCenter.json | 2 +- .../2021-01-11/privateLinkServicesForM365SecurityCenter.json | 2 +- .../privateLinkServicesForO365ManagementActivityAPI.json | 2 +- .../stable/2021-01-11/privateLinkServicesForSCCPowershell.json | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceCreate.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceCreate.json index 0d2041d0f146..44392b646007 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceCreate.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceCreate.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg1", "api-version": "2021-01-11", "subscriptionId": "subid", - "privateLinkServicesForM365ComplianceCenterDescription": { + "PrivateLinkServicesForM365ComplianceCenterDescription": { "location": "westus2", "tags": {}, "kind": "fhir-R4", diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceCreateMinimum.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceCreateMinimum.json index a3db8cac9c60..a1f8ff56f3a3 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceCreateMinimum.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceCreateMinimum.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg1", "api-version": "2021-01-11", "subscriptionId": "subid", - "privateLinkServicesForM365ComplianceCenterDescription": { + "PrivateLinkServicesForM365ComplianceCenterDescription": { "location": "westus2", "tags": {}, "kind": "fhir-R4", diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceCreate.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceCreate.json index 792a846f0b4b..99961e599d0b 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceCreate.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceCreate.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg1", "api-version": "2021-01-11", "subscriptionId": "subid", - "privateLinkServicesForM365SecurityCenterDescription": { + "PrivateLinkServicesForM365SecurityCenterDescription": { "location": "westus2", "tags": {}, "kind": "fhir-R4", diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceCreateMinimum.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceCreateMinimum.json index 4fb0a6db91b5..e65c4f7d16f2 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceCreateMinimum.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceCreateMinimum.json @@ -4,7 +4,7 @@ "resourceGroupName": "rg1", "api-version": "2021-01-11", "subscriptionId": "subid", - "privateLinkServicesForM365SecurityCenterDescription": { + "PrivateLinkServicesForM365SecurityCenterDescription": { "location": "westus2", "tags": {}, "kind": "fhir-R4", diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForEDMUpload.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForEDMUpload.json index 0c415f1b7e42..e689be2504de 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForEDMUpload.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForEDMUpload.json @@ -108,7 +108,7 @@ "$ref": "#/parameters/resourceName" }, { - "name": "privateLinkServicesForEDMUploadDescription", + "name": "PrivateLinkServicesForEDMUploadDescription", "in": "body", "description": "The service instance metadata.", "required": true, diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json index 17426b7d098e..97422b54dff4 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json @@ -108,7 +108,7 @@ "$ref": "#/parameters/resourceName" }, { - "name": "privateLinkServicesForM365ComplianceCenterDescription", + "name": "PrivateLinkServicesForM365ComplianceCenterDescription", "in": "body", "description": "The service instance metadata.", "required": true, diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json index 20ec5f2b6e86..0ac21426e1c6 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json @@ -108,7 +108,7 @@ "$ref": "#/parameters/resourceName" }, { - "name": "privateLinkServicesForM365SecurityCenterDescription", + "name": "PrivateLinkServicesForM365SecurityCenterDescription", "in": "body", "description": "The service instance metadata.", "required": true, diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForO365ManagementActivityAPI.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForO365ManagementActivityAPI.json index a225ae425d65..4f7d34c674a3 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForO365ManagementActivityAPI.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForO365ManagementActivityAPI.json @@ -108,7 +108,7 @@ "$ref": "#/parameters/resourceName" }, { - "name": "privateLinkServicesForO365ManagementActivityAPIDescription", + "name": "PrivateLinkServicesForO365ManagementActivityAPIDescription", "in": "body", "description": "The service instance metadata.", "required": true, diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSCCPowershell.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSCCPowershell.json index 23459e925012..7b1248e42ac6 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSCCPowershell.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSCCPowershell.json @@ -108,7 +108,7 @@ "$ref": "#/parameters/resourceName" }, { - "name": "privateLinkServicesForSCCPowershellDescription", + "name": "PrivateLinkServicesForSCCPowershellDescription", "in": "body", "description": "The service instance metadata.", "required": true, From 124e0fa2be2dd5c4213b94b177e7ca4a7c7c0119 Mon Sep 17 00:00:00 2001 From: Sonal Verma Date: Mon, 15 Feb 2021 11:03:21 +0530 Subject: [PATCH 15/27] address review comments --- .../ComplianceCenterOperationsList.json | 31 ++--------------- .../examples/EdmUploadOperationsList.json | 31 ++--------------- .../examples/ManagementAPIOperationsList.json | 31 ++--------------- .../2021-01-11/examples/OperationsList.json | 33 +++++++++++++++++++ .../examples/SCCPowershellOperationsList.json | 31 ++--------------- .../SecurityCenterOperationsList.json | 31 ++--------------- ...kServicesForO365ManagementActivityAPI.json | 2 +- .../stable/2021-01-11/privatelinks.json | 4 +-- 8 files changed, 51 insertions(+), 143 deletions(-) create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/OperationsList.json diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterOperationsList.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterOperationsList.json index 8b2eb6c6b2af..99502159abaf 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterOperationsList.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterOperationsList.json @@ -7,44 +7,19 @@ "body": { "value": [ { - "name": "Microsoft.SecurityAndCompliance/services/read", + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/read", "display": {}, "origin": "user,system" }, { - "name": "Microsoft.SecurityAndCompliance/services/write", + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/write", "display": {}, "origin": "user,system" }, { - "name": "Microsoft.SecurityAndCompliance/services/delete", + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/delete", "display": {}, "origin": "user,system" - }, - { - "name": "Microsoft.SecurityAndCompliance/locations/operationresults/read", - "display": { - "provider": "Microsoft.SecurityAndCompliance", - "resource": "operationresults", - "operation": "read", - "description": "Get the status of an asynchronous operation" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.SecurityAndCompliance/checkNameAvailability/post", - "display": {}, - "origin": "user" - }, - { - "name": "Microsoft.SecurityAndCompliance/Operations/read", - "display": { - "provider": "Microsoft.SecurityAndCompliance", - "resource": "operations", - "operation": "read", - "description": "Get the list of operations supported by this Resource Provider." - }, - "origin": "user,system" } ] } diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadOperationsList.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadOperationsList.json index 8b2eb6c6b2af..22deae5e9c5e 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadOperationsList.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadOperationsList.json @@ -7,44 +7,19 @@ "body": { "value": [ { - "name": "Microsoft.SecurityAndCompliance/services/read", + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/read", "display": {}, "origin": "user,system" }, { - "name": "Microsoft.SecurityAndCompliance/services/write", + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/write", "display": {}, "origin": "user,system" }, { - "name": "Microsoft.SecurityAndCompliance/services/delete", + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/delete", "display": {}, "origin": "user,system" - }, - { - "name": "Microsoft.SecurityAndCompliance/locations/operationresults/read", - "display": { - "provider": "Microsoft.SecurityAndCompliance", - "resource": "operationresults", - "operation": "read", - "description": "Get the status of an asynchronous operation" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.SecurityAndCompliance/checkNameAvailability/post", - "display": {}, - "origin": "user" - }, - { - "name": "Microsoft.SecurityAndCompliance/Operations/read", - "display": { - "provider": "Microsoft.SecurityAndCompliance", - "resource": "operations", - "operation": "read", - "description": "Get the list of operations supported by this Resource Provider." - }, - "origin": "user,system" } ] } diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIOperationsList.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIOperationsList.json index 8b2eb6c6b2af..91c69792d6ce 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIOperationsList.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIOperationsList.json @@ -7,44 +7,19 @@ "body": { "value": [ { - "name": "Microsoft.SecurityAndCompliance/services/read", + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/read", "display": {}, "origin": "user,system" }, { - "name": "Microsoft.SecurityAndCompliance/services/write", + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/write", "display": {}, "origin": "user,system" }, { - "name": "Microsoft.SecurityAndCompliance/services/delete", + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/delete", "display": {}, "origin": "user,system" - }, - { - "name": "Microsoft.SecurityAndCompliance/locations/operationresults/read", - "display": { - "provider": "Microsoft.SecurityAndCompliance", - "resource": "operationresults", - "operation": "read", - "description": "Get the status of an asynchronous operation" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.SecurityAndCompliance/checkNameAvailability/post", - "display": {}, - "origin": "user" - }, - { - "name": "Microsoft.SecurityAndCompliance/Operations/read", - "display": { - "provider": "Microsoft.SecurityAndCompliance", - "resource": "operations", - "operation": "read", - "description": "Get the list of operations supported by this Resource Provider." - }, - "origin": "user,system" } ] } diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/OperationsList.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/OperationsList.json new file mode 100644 index 000000000000..027377caa792 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/OperationsList.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2021-01-11" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.SecurityAndCompliance/locations/operationresults/read", + "display": { + "provider": "Microsoft.SecurityAndCompliance", + "resource": "operationresults", + "operation": "read", + "description": "Get the status of an asynchronous operation" + }, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/Operations/read", + "display": { + "provider": "Microsoft.SecurityAndCompliance", + "resource": "operations", + "operation": "read", + "description": "Get the list of operations supported by this Resource Provider." + }, + "origin": "user,system" + } + ] + } + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellOperationsList.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellOperationsList.json index 8b2eb6c6b2af..04ca6fce50fb 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellOperationsList.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellOperationsList.json @@ -7,44 +7,19 @@ "body": { "value": [ { - "name": "Microsoft.SecurityAndCompliance/services/read", + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/read", "display": {}, "origin": "user,system" }, { - "name": "Microsoft.SecurityAndCompliance/services/write", + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/write", "display": {}, "origin": "user,system" }, { - "name": "Microsoft.SecurityAndCompliance/services/delete", + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/delete", "display": {}, "origin": "user,system" - }, - { - "name": "Microsoft.SecurityAndCompliance/locations/operationresults/read", - "display": { - "provider": "Microsoft.SecurityAndCompliance", - "resource": "operationresults", - "operation": "read", - "description": "Get the status of an asynchronous operation" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.SecurityAndCompliance/checkNameAvailability/post", - "display": {}, - "origin": "user" - }, - { - "name": "Microsoft.SecurityAndCompliance/Operations/read", - "display": { - "provider": "Microsoft.SecurityAndCompliance", - "resource": "operations", - "operation": "read", - "description": "Get the list of operations supported by this Resource Provider." - }, - "origin": "user,system" } ] } diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterOperationsList.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterOperationsList.json index 8b2eb6c6b2af..7e33e3c30b9f 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterOperationsList.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterOperationsList.json @@ -7,44 +7,19 @@ "body": { "value": [ { - "name": "Microsoft.SecurityAndCompliance/services/read", + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/read", "display": {}, "origin": "user,system" }, { - "name": "Microsoft.SecurityAndCompliance/services/write", + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/write", "display": {}, "origin": "user,system" }, { - "name": "Microsoft.SecurityAndCompliance/services/delete", + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/delete", "display": {}, "origin": "user,system" - }, - { - "name": "Microsoft.SecurityAndCompliance/locations/operationresults/read", - "display": { - "provider": "Microsoft.SecurityAndCompliance", - "resource": "operationresults", - "operation": "read", - "description": "Get the status of an asynchronous operation" - }, - "origin": "user,system" - }, - { - "name": "Microsoft.SecurityAndCompliance/checkNameAvailability/post", - "display": {}, - "origin": "user" - }, - { - "name": "Microsoft.SecurityAndCompliance/Operations/read", - "display": { - "provider": "Microsoft.SecurityAndCompliance", - "resource": "operations", - "operation": "read", - "description": "Get the list of operations supported by this Resource Provider." - }, - "origin": "user,system" } ] } diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForO365ManagementActivityAPI.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForO365ManagementActivityAPI.json index 4f7d34c674a3..a4ea1b9f05c5 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForO365ManagementActivityAPI.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForO365ManagementActivityAPI.json @@ -753,7 +753,7 @@ "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" + "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" } }, "publicNetworkAccess": { diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privatelinks.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privatelinks.json index 559da37de9dc..d6aed591c0c0 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privatelinks.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privatelinks.json @@ -58,7 +58,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" } ], "description": "The Private Endpoint Connection resource." @@ -142,7 +142,7 @@ }, "allOf": [ { - "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/Resource" + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" } ], "description": "A private link resource" From 6fd2425d7191ee7e793ef10762d9996bbc3bc45c Mon Sep 17 00:00:00 2001 From: Sonal Verma Date: Mon, 15 Feb 2021 21:25:30 +0530 Subject: [PATCH 16/27] address PR review comments --- .../stable/2021-01-11/common-types.json | 811 ++++++++++++++++++ .../ComplianceCenterOperationsList.json | 20 + .../examples/ComplianceCenterServiceList.json | 2 +- ...ianceCenterServiceListByResourceGroup.json | 2 +- .../EdmUploadOperationResultsGet.json | 19 - .../examples/EdmUploadOperationsList.json | 20 + .../examples/EdmUploadServiceList.json | 2 +- .../EdmUploadServiceListByResourceGroup.json | 2 +- .../ManagementAPIOperationResultsGet.json | 19 - .../examples/ManagementAPIOperationsList.json | 20 + .../examples/ManagementAPIServiceList.json | 2 +- ...nagementAPIServiceListByResourceGroup.json | 2 +- ...sultsGet.json => OperationResultsGet.json} | 0 .../SCCPowershellOperationResultsGet.json | 19 - .../examples/SCCPowershellOperationsList.json | 20 + .../examples/SCCPowershellServiceList.json | 2 +- ...CPowershellServiceListByResourceGroup.json | 2 +- .../SecurityCenterOperationResultsGet.json | 19 - .../SecurityCenterOperationsList.json | 20 + .../examples/SecurityCenterServiceList.json | 2 +- ...urityCenterServiceListByResourceGroup.json | 2 +- .../privateLinkServicesForEDMUpload.json | 733 ++-------------- ...teLinkServicesForM365ComplianceCenter.json | 733 ++-------------- ...vateLinkServicesForM365SecurityCenter.json | 733 ++-------------- ...kServicesForO365ManagementActivityAPI.json | 733 ++-------------- .../privateLinkServicesForSCCPowershell.json | 733 ++-------------- .../stable/2021-01-11/privatelinks.json | 220 ----- 27 files changed, 1276 insertions(+), 3616 deletions(-) create mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/common-types.json delete mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadOperationResultsGet.json delete mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIOperationResultsGet.json rename specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/{ComplianceCenterOperationResultsGet.json => OperationResultsGet.json} (100%) delete mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellOperationResultsGet.json delete mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterOperationResultsGet.json delete mode 100644 specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privatelinks.json diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/common-types.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/common-types.json new file mode 100644 index 000000000000..650a538bf2d2 --- /dev/null +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/common-types.json @@ -0,0 +1,811 @@ +{ + "swagger": "2.0", + "info": { + "version": "2021-01-11", + "title": "SecurityAndComplianceAPIs" + }, + "host": "management.azure.com", + "schemes": [ + "https" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "flow": "implicit", + "description": "Azure Active Directory OAuth2 Flow", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "paths": { + "/providers/Microsoft.SecurityAndCompliance/operations": { + "get": { + "tags": [ + "Proxy" + ], + "description": "Lists all of the available SecurityAndCompliance REST API operations.", + "operationId": "Operations_List", + "x-ms-examples": { + "List operations": { + "$ref": "./examples/OperationsList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "OK. The request was successful; the request was well-formed and received properly.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "DefaultErrorResponse", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/locations/{locationName}/operationresults/{operationResultId}": { + "get": { + "tags": [ + "Resource" + ], + "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": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/locationName" + }, + { + "$ref": "#/parameters/operationResultId" + } + ], + "responses": { + "200": { + "description": "The body contains all of the properties of the operation result.", + "schema": { + "$ref": "#/definitions/OperationResultsDescription" + } + }, + "default": { + "description": "Default error response", + "schema": { + "$ref": "#/definitions/ErrorDetails" + } + } + }, + "deprecated": false + } + } + }, + "definitions": { + "ServicesProperties": { + "description": "The properties of a service instance.", + "type": "object", + "properties": { + "provisioningState": { + "description": "The provisioning state.", + "enum": [ + "Deleting", + "Succeeded", + "Creating", + "Accepted", + "Verifying", + "Updating", + "Failed", + "Canceled", + "Deprovisioned" + ], + "type": "string", + "readOnly": true, + "x-ms-enum": { + "name": "provisioningState", + "modelAsString": true + } + }, + "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": "./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 + } + } + } + }, + "ServiceAccessPoliciesInfo": { + "description": "The access policies of the service instance.", + "type": "array", + "items": { + "$ref": "#/definitions/ServiceAccessPolicyEntry" + } + }, + "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", + "format": "int64", + "description": "The provisioned throughput for the backing database.", + "readOnly": false, + "minimum": 400, + "maximum": 10000 + }, + "keyVaultKeyUri": { + "type": "string", + "description": "The URI of the customer-managed key for the backing database.", + "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", + "format": "int64", + "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 + } + } + }, + "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" + }, + "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": { + "type": "string", + "description": "The resource identifier." + }, + "name": { + "type": "string", + "description": "The resource name.", + "pattern": "^[a-z0-9][a-z0-9-]{1,21}[a-z0-9]$" + }, + "type": { + "type": "string", + "description": "The resource type." + }, + "systemData": { + "description": "Required property for system data", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + }, + "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" + ] + }, + "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 + } + } + } + }, + "PrivateEndpoint": { + "properties": { + "id": { + "readOnly": true, + "type": "string", + "description": "The ARM identifier for Private Endpoint" + } + }, + "description": "The Private Endpoint resource." + }, + "PrivateEndpointConnection": { + "properties": { + "systemData": { + "description": "Required property for system data", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + }, + "properties": { + "$ref": "#/definitions/PrivateEndpointConnectionProperties", + "x-ms-client-flatten": true, + "description": "Resource properties." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "description": "The Private Endpoint Connection resource." + }, + "PrivateEndpointConnectionProperties": { + "properties": { + "privateEndpoint": { + "$ref": "#/definitions/PrivateEndpoint", + "description": "The resource of private end point." + }, + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/PrivateLinkServiceConnectionState", + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "provisioningState": { + "$ref": "#/definitions/PrivateEndpointConnectionProvisioningState", + "description": "The provisioning state of the private endpoint connection resource." + } + }, + "required": [ + "privateLinkServiceConnectionState" + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "PrivateLinkServiceConnectionState": { + "properties": { + "status": { + "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", + "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." + }, + "description": { + "type": "string", + "description": "The reason for approval/rejection of the connection." + }, + "actionsRequired": { + "type": "string", + "description": "A message indicating if changes on the service provider require any updates on the consumer." + } + }, + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "PrivateEndpointServiceConnectionStatus": { + "type": "string", + "description": "The private endpoint connection status.", + "enum": [ + "Pending", + "Approved", + "Rejected" + ], + "x-ms-enum": { + "name": "PrivateEndpointServiceConnectionStatus", + "modelAsString": true + } + }, + "PrivateEndpointConnectionProvisioningState": { + "type": "string", + "readOnly": true, + "description": "The current provisioning state.", + "enum": [ + "Succeeded", + "Creating", + "Deleting", + "Failed" + ], + "x-ms-enum": { + "name": "PrivateEndpointConnectionProvisioningState", + "modelAsString": true + } + }, + "PrivateLinkResource": { + "properties": { + "systemData": { + "description": "Required property for system data", + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" + }, + "properties": { + "$ref": "#/definitions/PrivateLinkResourceProperties", + "description": "Resource properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" + } + ], + "description": "A private link resource" + }, + "PrivateLinkResourceProperties": { + "properties": { + "groupId": { + "description": "The private link resource group id.", + "type": "string", + "readOnly": true + }, + "requiredMembers": { + "description": "The private link resource required member names.", + "type": "array", + "items": { + "type": "string" + }, + "readOnly": true + }, + "requiredZoneNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The private link resource Private link DNS zone name." + } + }, + "description": "Properties of a private link resource." + }, + "PrivateEndpointConnectionListResult": { + "properties": { + "value": { + "type": "array", + "description": "Array of private endpoint connections", + "items": { + "$ref": "#/definitions/PrivateEndpointConnection" + } + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results.", + "readOnly": true + } + }, + "description": "List of private endpoint connection associated with the specified storage account" + }, + "PrivateLinkResourceListResult": { + "properties": { + "value": { + "type": "array", + "description": "Array of private link resources", + "items": { + "$ref": "#/definitions/PrivateLinkResource" + } + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results.", + "readOnly": true + } + }, + "description": "A list of private link resources" + }, + "OperationResultsDescription": { + "description": "The properties indicating the operation result of an operation on a service.", + "type": "object", + "properties": { + "id": { + "description": "The ID of the operation returned.", + "readOnly": true, + "type": "string" + }, + "name": { + "description": "The name of the operation result.", + "readOnly": true, + "type": "string" + }, + "status": { + "description": "The status of the operation being performed.", + "enum": [ + "Canceled", + "Succeeded", + "Failed", + "Requested", + "Running" + ], + "readOnly": true, + "type": "string", + "x-ms-enum": { + "name": "OperationResultStatus", + "modelAsString": true + } + }, + "startTime": { + "description": "The time that the operation was started.", + "readOnly": true, + "type": "string" + }, + "properties": { + "x-ms-client-flatten": false, + "description": "Additional properties of the operation result." + } + } + }, + "OperationListResult": { + "description": "A list of service operations. It contains a list of operations and a URL link to get the next set of results.", + "type": "object", + "properties": { + "nextLink": { + "description": "The link used to get the next page of service description objects.", + "type": "string", + "readOnly": true + }, + "value": { + "description": "A list of service operations supported by the Microsoft.SecurityAndCompliance resource provider.", + "type": "array", + "readOnly": true, + "items": { + "$ref": "#/definitions/Operation" + } + } + } + }, + "Operation": { + "description": "Service REST API operation.", + "type": "object", + "properties": { + "name": { + "readOnly": true, + "type": "string", + "description": "Operation name: {provider}/{resource}/{read | write | action | delete}" + }, + "isDataAction": { + "readOnly": true, + "description": "Indicates whether the operation is a data action", + "type": "boolean" + }, + "origin": { + "readOnly": true, + "type": "string", + "description": "Default value is 'user,system'." + }, + "display": { + "readOnly": true, + "description": "The information displayed about the operation.", + "$ref": "#/definitions/OperationDisplay" + } + } + }, + "OperationDisplay": { + "description": "The object that represents the operation.", + "type": "object", + "properties": { + "provider": { + "readOnly": true, + "type": "string", + "description": "Service provider: Microsoft.SecurityAndCompliance" + }, + "resource": { + "readOnly": true, + "type": "string", + "description": "Resource Type: Services" + }, + "operation": { + "readOnly": true, + "type": "string", + "description": "Name of the operation" + }, + "description": { + "readOnly": true, + "type": "string", + "description": "Friendly description for the operation," + } + } + }, + "ErrorDetails": { + "description": "Error details.", + "type": "object", + "properties": { + "error": { + "description": "Object containing error details.", + "$ref": "#/definitions/ErrorDetailsInternal" + } + } + }, + "ErrorDetailsInternal": { + "description": "Error details.", + "type": "object", + "properties": { + "code": { + "description": "The error code.", + "type": "string", + "readOnly": true + }, + "message": { + "description": "The error message.", + "type": "string", + "readOnly": true + }, + "target": { + "description": "The target of the particular error.", + "type": "string", + "readOnly": true + } + } + } + }, + "parameters": { + "PrivateEndpointConnectionName": { + "name": "privateEndpointConnectionName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the private endpoint connection associated with the Azure resource", + "x-ms-parameter-location": "method" + }, + "subscriptionId": { + "name": "subscriptionId", + "in": "path", + "description": "The subscription identifier.", + "required": true, + "type": "string" + }, + "ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "type": "string", + "description": "Client Api Version." + }, + "resourceGroupName": { + "name": "resourceGroupName", + "in": "path", + "description": "The name of the resource group that contains the service instance.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "pattern": "^[-\\w\\._\\(\\)]+$", + "minLength": 1, + "maxLength": 90 + }, + "resourceName": { + "name": "resourceName", + "in": "path", + "description": "The name of the service instance.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method", + "minLength": 3, + "maxLength": 24 + }, + "locationName": { + "name": "locationName", + "in": "path", + "description": "The location of the operation.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + }, + "operationResultId": { + "name": "operationResultId", + "in": "path", + "description": "The ID of the operation result to get.", + "required": true, + "type": "string", + "x-ms-parameter-location": "method" + } + } +} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterOperationsList.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterOperationsList.json index 99502159abaf..aff372e0e63d 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterOperationsList.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterOperationsList.json @@ -20,6 +20,26 @@ "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/delete", "display": {}, "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/privateEndpointConnections/read", + "display": {}, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/privateEndpointConnections/write", + "display": {}, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/privateEndpointConnections/delete", + "display": {}, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/privateLinkResources/read", + "display": {}, + "origin": "user,system" } ] } diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceList.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceList.json index 792c22738a5b..47dd394d5ae5 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceList.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceList.json @@ -57,7 +57,7 @@ } } ], - "nextLink": "https://host/subscriptions/subid/providers/Microsoft.SecurityAndCompliance/services?api-version=2018-08-20-preview&%24skipToken=e30%3d" + "nextLink": "https://host/subscriptions/subid/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter?api-version=2018-08-20-preview&%24skipToken=e30%3d" } } } diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceListByResourceGroup.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceListByResourceGroup.json index 44d065aefcfb..640b3d5fb2ee 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceListByResourceGroup.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceListByResourceGroup.json @@ -58,7 +58,7 @@ } } ], - "nextLink": "https://host/subscriptions/subid/resourceGroups/rgname/providers/Microsoft.SecurityAndCompliance/services?api-version=2018-08-20-preview&%24skipToken=e30%3d" + "nextLink": "https://host/subscriptions/subid/resourceGroups/rgname/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter?api-version=2018-08-20-preview&%24skipToken=e30%3d" } } } diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadOperationResultsGet.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadOperationResultsGet.json deleted file mode 100644 index 791d0c639fb0..000000000000 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadOperationResultsGet.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "api-version": "2021-01-11", - "subscriptionId": "subid", - "locationName": "westus", - "operationResultId": "exampleid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/providers/Microsoft.SecurityAndCompliance/locations/westus/operationresults/exampleid", - "name": "servicename", - "status": "Requested", - "startTime": "2020-01-11T06:03:30.2716301Z", - "properties": {} - } - } - } -} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadOperationsList.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadOperationsList.json index 22deae5e9c5e..2819644e66b9 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadOperationsList.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadOperationsList.json @@ -20,6 +20,26 @@ "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/delete", "display": {}, "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/privateEndpointConnections/read", + "display": {}, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/privateEndpointConnections/write", + "display": {}, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/privateEndpointConnections/delete", + "display": {}, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload/privateLinkResources/read", + "display": {}, + "origin": "user,system" } ] } diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceList.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceList.json index cd24229635a8..14ef530a8b3e 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceList.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceList.json @@ -57,7 +57,7 @@ } } ], - "nextLink": "https://host/subscriptions/subid/providers/Microsoft.SecurityAndCompliance/services?api-version=2018-08-20-preview&%24skipToken=e30%3d" + "nextLink": "https://host/subscriptions/subid/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload?api-version=2018-08-20-preview&%24skipToken=e30%3d" } } } diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceListByResourceGroup.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceListByResourceGroup.json index 10de07eb47a4..6cd4c8694eb0 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceListByResourceGroup.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/EdmUploadServiceListByResourceGroup.json @@ -58,7 +58,7 @@ } } ], - "nextLink": "https://host/subscriptions/subid/resourceGroups/rgname/providers/Microsoft.SecurityAndCompliance/services?api-version=2018-08-20-preview&%24skipToken=e30%3d" + "nextLink": "https://host/subscriptions/subid/resourceGroups/rgname/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForEDMUpload?api-version=2018-08-20-preview&%24skipToken=e30%3d" } } } diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIOperationResultsGet.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIOperationResultsGet.json deleted file mode 100644 index 791d0c639fb0..000000000000 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIOperationResultsGet.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "api-version": "2021-01-11", - "subscriptionId": "subid", - "locationName": "westus", - "operationResultId": "exampleid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/providers/Microsoft.SecurityAndCompliance/locations/westus/operationresults/exampleid", - "name": "servicename", - "status": "Requested", - "startTime": "2020-01-11T06:03:30.2716301Z", - "properties": {} - } - } - } -} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIOperationsList.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIOperationsList.json index 91c69792d6ce..a1431915c6db 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIOperationsList.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIOperationsList.json @@ -20,6 +20,26 @@ "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/delete", "display": {}, "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/privateEndpointConnections/read", + "display": {}, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/privateEndpointConnections/write", + "display": {}, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/privateEndpointConnections/delete", + "display": {}, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI/privateLinkResources/read", + "display": {}, + "origin": "user,system" } ] } diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceList.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceList.json index eb82d1ea33fe..fe4e865acce8 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceList.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceList.json @@ -57,7 +57,7 @@ } } ], - "nextLink": "https://host/subscriptions/subid/providers/Microsoft.SecurityAndCompliance/services?api-version=2018-08-20-preview&%24skipToken=e30%3d" + "nextLink": "https://host/subscriptions/subid/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI?api-version=2018-08-20-preview&%24skipToken=e30%3d" } } } diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceListByResourceGroup.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceListByResourceGroup.json index c58419a27e1f..a4a977633841 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceListByResourceGroup.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ManagementAPIServiceListByResourceGroup.json @@ -58,7 +58,7 @@ } } ], - "nextLink": "https://host/subscriptions/subid/resourceGroups/rgname/providers/Microsoft.SecurityAndCompliance/services?api-version=2018-08-20-preview&%24skipToken=e30%3d" + "nextLink": "https://host/subscriptions/subid/resourceGroups/rgname/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForO365ManagementActivityAPI?api-version=2018-08-20-preview&%24skipToken=e30%3d" } } } diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterOperationResultsGet.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/OperationResultsGet.json similarity index 100% rename from specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterOperationResultsGet.json rename to specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/OperationResultsGet.json diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellOperationResultsGet.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellOperationResultsGet.json deleted file mode 100644 index 791d0c639fb0..000000000000 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellOperationResultsGet.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "api-version": "2021-01-11", - "subscriptionId": "subid", - "locationName": "westus", - "operationResultId": "exampleid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/providers/Microsoft.SecurityAndCompliance/locations/westus/operationresults/exampleid", - "name": "servicename", - "status": "Requested", - "startTime": "2020-01-11T06:03:30.2716301Z", - "properties": {} - } - } - } -} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellOperationsList.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellOperationsList.json index 04ca6fce50fb..1645123ec8b7 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellOperationsList.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellOperationsList.json @@ -20,6 +20,26 @@ "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/delete", "display": {}, "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/privateEndpointConnections/read", + "display": {}, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/privateEndpointConnections/write", + "display": {}, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/privateEndpointConnections/delete", + "display": {}, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell/privateLinkResources/read", + "display": {}, + "origin": "user,system" } ] } diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceList.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceList.json index d593b3bed399..0c818ba2bbbf 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceList.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceList.json @@ -57,7 +57,7 @@ } } ], - "nextLink": "https://host/subscriptions/subid/providers/Microsoft.SecurityAndCompliance/services?api-version=2018-08-20-preview&%24skipToken=e30%3d" + "nextLink": "https://host/subscriptions/subid/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell?api-version=2018-08-20-preview&%24skipToken=e30%3d" } } } diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceListByResourceGroup.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceListByResourceGroup.json index a2f4ad8b12be..d14af83ec315 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceListByResourceGroup.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SCCPowershellServiceListByResourceGroup.json @@ -58,7 +58,7 @@ } } ], - "nextLink": "https://host/subscriptions/subid/resourceGroups/rgname/providers/Microsoft.SecurityAndCompliance/services?api-version=2018-08-20-preview&%24skipToken=e30%3d" + "nextLink": "https://host/subscriptions/subid/resourceGroups/rgname/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForSCCPowershell?api-version=2018-08-20-preview&%24skipToken=e30%3d" } } } diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterOperationResultsGet.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterOperationResultsGet.json deleted file mode 100644 index 791d0c639fb0..000000000000 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterOperationResultsGet.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "parameters": { - "api-version": "2021-01-11", - "subscriptionId": "subid", - "locationName": "westus", - "operationResultId": "exampleid" - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/subid/providers/Microsoft.SecurityAndCompliance/locations/westus/operationresults/exampleid", - "name": "servicename", - "status": "Requested", - "startTime": "2020-01-11T06:03:30.2716301Z", - "properties": {} - } - } - } -} diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterOperationsList.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterOperationsList.json index 7e33e3c30b9f..9bdbfedb26a1 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterOperationsList.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterOperationsList.json @@ -20,6 +20,26 @@ "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/delete", "display": {}, "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/privateEndpointConnections/read", + "display": {}, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/privateEndpointConnections/write", + "display": {}, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/privateEndpointConnections/delete", + "display": {}, + "origin": "user,system" + }, + { + "name": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter/privateLinkResources/read", + "display": {}, + "origin": "user,system" } ] } diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceList.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceList.json index 073391324242..7924bfcfdc07 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceList.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceList.json @@ -57,7 +57,7 @@ } } ], - "nextLink": "https://host/subscriptions/subid/providers/Microsoft.SecurityAndCompliance/services?api-version=2018-08-20-preview&%24skipToken=e30%3d" + "nextLink": "https://host/subscriptions/subid/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter?api-version=2018-08-20-preview&%24skipToken=e30%3d" } } } diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceListByResourceGroup.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceListByResourceGroup.json index adb28013ae94..70d1c1e2690e 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceListByResourceGroup.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/examples/SecurityCenterServiceListByResourceGroup.json @@ -58,7 +58,7 @@ } } ], - "nextLink": "https://host/subscriptions/subid/resourceGroups/rgname/providers/Microsoft.SecurityAndCompliance/services?api-version=2018-08-20-preview&%24skipToken=e30%3d" + "nextLink": "https://host/subscriptions/subid/resourceGroups/rgname/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365SecurityCenter?api-version=2018-08-20-preview&%24skipToken=e30%3d" } } } diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForEDMUpload.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForEDMUpload.json index e689be2504de..afa63ad15d41 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForEDMUpload.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForEDMUpload.json @@ -48,16 +48,16 @@ }, "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" } ], "responses": { @@ -70,7 +70,7 @@ "default": { "description": "Default error response", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -96,16 +96,16 @@ }, "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { "name": "PrivateLinkServicesForEDMUploadDescription", @@ -133,7 +133,7 @@ "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -156,16 +156,16 @@ }, "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { "name": "servicePatchDescription", @@ -173,7 +173,7 @@ "description": "The service instance metadata and security metadata.", "required": true, "schema": { - "$ref": "#/definitions/ServicesPatchDescription" + "$ref": "./common-types.json#/definitions/ServicesPatchDescription" } } ], @@ -193,7 +193,7 @@ "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -216,16 +216,16 @@ }, "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" } ], "responses": { @@ -241,7 +241,7 @@ "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } } @@ -264,10 +264,10 @@ }, "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" } ], "responses": { @@ -280,7 +280,7 @@ "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -304,13 +304,13 @@ }, "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" } ], "responses": { @@ -323,87 +323,7 @@ "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" - } - } - }, - "deprecated": false - } - }, - "/providers/Microsoft.SecurityAndCompliance/operations": { - "get": { - "tags": [ - "Proxy" - ], - "description": "Lists all of the available SecurityAndCompliance REST API operations.", - "operationId": "Operations_List", - "x-ms-examples": { - "List operations": { - "$ref": "./examples/EdmUploadOperationsList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK. The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/OperationListResult" - } - }, - "default": { - "description": "DefaultErrorResponse", - "schema": { - "$ref": "#/definitions/ErrorDetails" - } - } - }, - "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/locations/{locationName}/operationresults/{operationResultId}": { - "get": { - "tags": [ - "Resource" - ], - "description": "Get the operation result for a long running operation.", - "operationId": "OperationResults_Get", - "x-ms-examples": { - "Get operation result": { - "$ref": "./examples/EdmUploadOperationResultsGet.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/locationName" - }, - { - "$ref": "#/parameters/operationResultId" - } - ], - "responses": { - "200": { - "description": "The body contains all of the properties of the operation result.", - "schema": { - "$ref": "#/definitions/OperationResultsDescription" - } - }, - "default": { - "description": "Default error response", - "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -419,29 +339,29 @@ "description": "Lists all private endpoint connections for a service.", "parameters": [ { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnectionListResult" + "$ref": "./common-types.json#/definitions/PrivateEndpointConnectionListResult" } }, "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -464,32 +384,32 @@ "description": "Gets the specified private endpoint connection associated with the service.", "parameters": [ { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "./privatelinks.json#/parameters/PrivateEndpointConnectionName" + "$ref": "./common-types.json#/parameters/PrivateEndpointConnectionName" } ], "responses": { "200": { "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" + "$ref": "./common-types.json#/definitions/PrivateEndpointConnection" } }, "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -507,26 +427,26 @@ "description": "Update the state of the specified private endpoint connection associated with the service.", "parameters": [ { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "./privatelinks.json#/parameters/PrivateEndpointConnectionName" + "$ref": "./common-types.json#/parameters/PrivateEndpointConnectionName" }, { "name": "properties", "in": "body", "required": true, "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" + "$ref": "./common-types.json#/definitions/PrivateEndpointConnection" }, "description": "The private endpoint connection properties." } @@ -535,19 +455,19 @@ "200": { "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" + "$ref": "./common-types.json#/definitions/PrivateEndpointConnection" } }, "201": { "description": "Created. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" + "$ref": "./common-types.json#/definitions/PrivateEndpointConnection" } }, "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -569,19 +489,19 @@ "operationId": "PrivateEndpointConnections_Delete", "parameters": [ { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "./privatelinks.json#/parameters/PrivateEndpointConnectionName" + "$ref": "./common-types.json#/parameters/PrivateEndpointConnectionName" } ], "responses": { @@ -597,7 +517,7 @@ "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -621,29 +541,29 @@ "description": "Gets the private link resources that need to be created for a service.", "parameters": [ { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateLinkResourceListResult" + "$ref": "./common-types.json#/definitions/PrivateLinkResourceListResult" } }, "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -663,16 +583,16 @@ "description": "Gets a private link resource that need to be created for a service.", "parameters": [ { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { "name": "groupName", @@ -686,13 +606,13 @@ "200": { "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateLinkResource" + "$ref": "./common-types.json#/definitions/PrivateLinkResource" } }, "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -705,198 +625,6 @@ } }, "definitions": { - "ServicesProperties": { - "description": "The properties of a service instance.", - "type": "object", - "properties": { - "provisioningState": { - "description": "The provisioning state.", - "enum": [ - "Deleting", - "Succeeded", - "Creating", - "Accepted", - "Verifying", - "Updating", - "Failed", - "Canceled", - "Deprovisioned" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "provisioningState", - "modelAsString": true - } - }, - "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": "./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 - } - } - } - }, - "ServiceAccessPoliciesInfo": { - "description": "The access policies of the service instance.", - "type": "array", - "items": { - "$ref": "#/definitions/ServiceAccessPolicyEntry" - } - }, - "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", - "format": "int64", - "description": "The provisioned throughput for the backing database.", - "readOnly": false, - "minimum": 400, - "maximum": 10000 - }, - "keyVaultKeyUri": { - "type": "string", - "description": "The URI of the customer-managed key for the backing database.", - "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", - "format": "int64", - "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 - } - } - }, - "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" - }, "PrivateLinkServicesForEDMUploadDescription": { "description": "The description of the service.", "type": "object", @@ -904,152 +632,15 @@ "properties": { "x-ms-client-flatten": false, "description": "The common properties of a service.", - "$ref": "#/definitions/ServicesProperties" + "$ref": "./common-types.json#/definitions/ServicesProperties" } }, "allOf": [ { - "$ref": "#/definitions/ServicesResource" + "$ref": "./common-types.json#/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": { - "type": "string", - "description": "The resource identifier." - }, - "name": { - "type": "string", - "description": "The resource name.", - "pattern": "^[a-z0-9][a-z0-9-]{1,21}[a-z0-9]$" - }, - "type": { - "type": "string", - "description": "The resource type." - }, - "systemData": { - "description": "Required property for system data", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" - }, - "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" - ] - }, - "ErrorDetails": { - "description": "Error details.", - "type": "object", - "properties": { - "error": { - "description": "Object containing error details.", - "$ref": "#/definitions/ErrorDetailsInternal" - } - } - }, - "ErrorDetailsInternal": { - "description": "Error details.", - "type": "object", - "properties": { - "code": { - "description": "The error code.", - "type": "string", - "readOnly": true - }, - "message": { - "description": "The error message.", - "type": "string", - "readOnly": true - }, - "target": { - "description": "The target of the particular error.", - "type": "string", - "readOnly": true - } - } - }, "PrivateLinkServicesForEDMUploadDescriptionListResult": { "description": "A list of service description objects with a next link.", "type": "object", @@ -1067,189 +658,7 @@ } } } - }, - "OperationListResult": { - "description": "A list of service operations. It contains a list of operations and a URL link to get the next set of results.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link used to get the next page of service description objects.", - "type": "string", - "readOnly": true - }, - "value": { - "description": "A list of service operations supported by the Microsoft.SecurityAndCompliance resource provider.", - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/Operation" - } - } - } - }, - "Operation": { - "description": "Service REST API operation.", - "type": "object", - "properties": { - "name": { - "readOnly": true, - "type": "string", - "description": "Operation name: {provider}/{resource}/{read | write | action | delete}" - }, - "isDataAction": { - "readOnly": true, - "description": "Indicates whether the operation is a data action", - "type": "boolean" - }, - "origin": { - "readOnly": true, - "type": "string", - "description": "Default value is 'user,system'." - }, - "display": { - "readOnly": true, - "description": "The information displayed about the operation.", - "$ref": "#/definitions/OperationDisplay" - } - } - }, - "OperationDisplay": { - "description": "The object that represents the operation.", - "type": "object", - "properties": { - "provider": { - "readOnly": true, - "type": "string", - "description": "Service provider: Microsoft.SecurityAndCompliance" - }, - "resource": { - "readOnly": true, - "type": "string", - "description": "Resource Type: Services" - }, - "operation": { - "readOnly": true, - "type": "string", - "description": "Name of the operation" - }, - "description": { - "readOnly": true, - "type": "string", - "description": "Friendly description for the operation," - } - } - }, - "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 - } - } - } - }, - "OperationResultsDescription": { - "description": "The properties indicating the operation result of an operation on a service.", - "type": "object", - "properties": { - "id": { - "description": "The ID of the operation returned.", - "readOnly": true, - "type": "string" - }, - "name": { - "description": "The name of the operation result.", - "readOnly": true, - "type": "string" - }, - "status": { - "description": "The status of the operation being performed.", - "enum": [ - "Canceled", - "Succeeded", - "Failed", - "Requested", - "Running" - ], - "readOnly": true, - "type": "string", - "x-ms-enum": { - "name": "OperationResultStatus", - "modelAsString": true - } - }, - "startTime": { - "description": "The time that the operation was started.", - "readOnly": true, - "type": "string" - }, - "properties": { - "x-ms-client-flatten": false, - "description": "Additional properties of the operation result." - } - } } }, - "parameters": { - "subscriptionId": { - "name": "subscriptionId", - "in": "path", - "description": "The subscription identifier.", - "required": true, - "type": "string" - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." - }, - "resourceGroupName": { - "name": "resourceGroupName", - "in": "path", - "description": "The name of the resource group that contains the service instance.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90 - }, - "resourceName": { - "name": "resourceName", - "in": "path", - "description": "The name of the service instance.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method", - "minLength": 3, - "maxLength": 24 - }, - "locationName": { - "name": "locationName", - "in": "path", - "description": "The location of the operation.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "operationResultId": { - "name": "operationResultId", - "in": "path", - "description": "The ID of the operation result to get.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - } - } + "parameters": {} } diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json index 97422b54dff4..6fe8b1a04fb0 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json @@ -48,16 +48,16 @@ }, "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" } ], "responses": { @@ -70,7 +70,7 @@ "default": { "description": "Default error response", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -96,16 +96,16 @@ }, "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { "name": "PrivateLinkServicesForM365ComplianceCenterDescription", @@ -133,7 +133,7 @@ "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -156,16 +156,16 @@ }, "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { "name": "servicePatchDescription", @@ -173,7 +173,7 @@ "description": "The service instance metadata and security metadata.", "required": true, "schema": { - "$ref": "#/definitions/ServicesPatchDescription" + "$ref": "./common-types.json#/definitions/ServicesPatchDescription" } } ], @@ -193,7 +193,7 @@ "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -216,16 +216,16 @@ }, "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" } ], "responses": { @@ -241,7 +241,7 @@ "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } } @@ -264,10 +264,10 @@ }, "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" } ], "responses": { @@ -280,7 +280,7 @@ "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -304,13 +304,13 @@ }, "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" } ], "responses": { @@ -323,87 +323,7 @@ "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" - } - } - }, - "deprecated": false - } - }, - "/providers/Microsoft.SecurityAndCompliance/operations": { - "get": { - "tags": [ - "Proxy" - ], - "description": "Lists all of the available SecurityAndCompliance REST API operations.", - "operationId": "Operations_List", - "x-ms-examples": { - "List operations": { - "$ref": "./examples/ComplianceCenterOperationsList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK. The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/OperationListResult" - } - }, - "default": { - "description": "DefaultErrorResponse", - "schema": { - "$ref": "#/definitions/ErrorDetails" - } - } - }, - "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/locations/{locationName}/operationresults/{operationResultId}": { - "get": { - "tags": [ - "Resource" - ], - "description": "Get the operation result for a long running operation.", - "operationId": "OperationResults_Get", - "x-ms-examples": { - "Get operation result": { - "$ref": "./examples/ComplianceCenterOperationResultsGet.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/locationName" - }, - { - "$ref": "#/parameters/operationResultId" - } - ], - "responses": { - "200": { - "description": "The body contains all of the properties of the operation result.", - "schema": { - "$ref": "#/definitions/OperationResultsDescription" - } - }, - "default": { - "description": "Default error response", - "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -419,29 +339,29 @@ "description": "Lists all private endpoint connections for a service.", "parameters": [ { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnectionListResult" + "$ref": "./common-types.json#/definitions/PrivateEndpointConnectionListResult" } }, "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -464,32 +384,32 @@ "description": "Gets the specified private endpoint connection associated with the service.", "parameters": [ { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "./privatelinks.json#/parameters/PrivateEndpointConnectionName" + "$ref": "./common-types.json#/parameters/PrivateEndpointConnectionName" } ], "responses": { "200": { "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" + "$ref": "./common-types.json#/definitions/PrivateEndpointConnection" } }, "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -507,26 +427,26 @@ "description": "Update the state of the specified private endpoint connection associated with the service.", "parameters": [ { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "./privatelinks.json#/parameters/PrivateEndpointConnectionName" + "$ref": "./common-types.json#/parameters/PrivateEndpointConnectionName" }, { "name": "properties", "in": "body", "required": true, "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" + "$ref": "./common-types.json#/definitions/PrivateEndpointConnection" }, "description": "The private endpoint connection properties." } @@ -535,19 +455,19 @@ "200": { "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" + "$ref": "./common-types.json#/definitions/PrivateEndpointConnection" } }, "201": { "description": "Created. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" + "$ref": "./common-types.json#/definitions/PrivateEndpointConnection" } }, "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -569,19 +489,19 @@ "operationId": "PrivateEndpointConnections_Delete", "parameters": [ { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "./privatelinks.json#/parameters/PrivateEndpointConnectionName" + "$ref": "./common-types.json#/parameters/PrivateEndpointConnectionName" } ], "responses": { @@ -597,7 +517,7 @@ "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -621,29 +541,29 @@ "description": "Gets the private link resources that need to be created for a service.", "parameters": [ { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateLinkResourceListResult" + "$ref": "./common-types.json#/definitions/PrivateLinkResourceListResult" } }, "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -663,16 +583,16 @@ "description": "Gets a private link resource that need to be created for a service.", "parameters": [ { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { "name": "groupName", @@ -686,13 +606,13 @@ "200": { "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateLinkResource" + "$ref": "./common-types.json#/definitions/PrivateLinkResource" } }, "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -705,198 +625,6 @@ } }, "definitions": { - "ServicesProperties": { - "description": "The properties of a service instance.", - "type": "object", - "properties": { - "provisioningState": { - "description": "The provisioning state.", - "enum": [ - "Deleting", - "Succeeded", - "Creating", - "Accepted", - "Verifying", - "Updating", - "Failed", - "Canceled", - "Deprovisioned" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "provisioningState", - "modelAsString": true - } - }, - "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": "./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 - } - } - } - }, - "ServiceAccessPoliciesInfo": { - "description": "The access policies of the service instance.", - "type": "array", - "items": { - "$ref": "#/definitions/ServiceAccessPolicyEntry" - } - }, - "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", - "format": "int64", - "description": "The provisioned throughput for the backing database.", - "readOnly": false, - "minimum": 400, - "maximum": 10000 - }, - "keyVaultKeyUri": { - "type": "string", - "description": "The URI of the customer-managed key for the backing database.", - "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", - "format": "int64", - "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 - } - } - }, - "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" - }, "PrivateLinkServicesForM365ComplianceCenterDescription": { "description": "The description of the service.", "type": "object", @@ -904,152 +632,15 @@ "properties": { "x-ms-client-flatten": false, "description": "The common properties of a service.", - "$ref": "#/definitions/ServicesProperties" + "$ref": "./common-types.json#/definitions/ServicesProperties" } }, "allOf": [ { - "$ref": "#/definitions/ServicesResource" + "$ref": "./common-types.json#/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": { - "type": "string", - "description": "The resource identifier." - }, - "name": { - "type": "string", - "description": "The resource name.", - "pattern": "^[a-z0-9][a-z0-9-]{1,21}[a-z0-9]$" - }, - "type": { - "type": "string", - "description": "The resource type." - }, - "systemData": { - "description": "Required property for system data", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" - }, - "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" - ] - }, - "ErrorDetails": { - "description": "Error details.", - "type": "object", - "properties": { - "error": { - "description": "Object containing error details.", - "$ref": "#/definitions/ErrorDetailsInternal" - } - } - }, - "ErrorDetailsInternal": { - "description": "Error details.", - "type": "object", - "properties": { - "code": { - "description": "The error code.", - "type": "string", - "readOnly": true - }, - "message": { - "description": "The error message.", - "type": "string", - "readOnly": true - }, - "target": { - "description": "The target of the particular error.", - "type": "string", - "readOnly": true - } - } - }, "PrivateLinkServicesForM365ComplianceCenterDescriptionListResult": { "description": "A list of service description objects with a next link.", "type": "object", @@ -1067,189 +658,7 @@ } } } - }, - "OperationListResult": { - "description": "A list of service operations. It contains a list of operations and a URL link to get the next set of results.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link used to get the next page of service description objects.", - "type": "string", - "readOnly": true - }, - "value": { - "description": "A list of service operations supported by the Microsoft.SecurityAndCompliance resource provider.", - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/Operation" - } - } - } - }, - "Operation": { - "description": "Service REST API operation.", - "type": "object", - "properties": { - "name": { - "readOnly": true, - "type": "string", - "description": "Operation name: {provider}/{resource}/{read | write | action | delete}" - }, - "isDataAction": { - "readOnly": true, - "description": "Indicates whether the operation is a data action", - "type": "boolean" - }, - "origin": { - "readOnly": true, - "type": "string", - "description": "Default value is 'user,system'." - }, - "display": { - "readOnly": true, - "description": "The information displayed about the operation.", - "$ref": "#/definitions/OperationDisplay" - } - } - }, - "OperationDisplay": { - "description": "The object that represents the operation.", - "type": "object", - "properties": { - "provider": { - "readOnly": true, - "type": "string", - "description": "Service provider: Microsoft.SecurityAndCompliance" - }, - "resource": { - "readOnly": true, - "type": "string", - "description": "Resource Type: Services" - }, - "operation": { - "readOnly": true, - "type": "string", - "description": "Name of the operation" - }, - "description": { - "readOnly": true, - "type": "string", - "description": "Friendly description for the operation," - } - } - }, - "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 - } - } - } - }, - "OperationResultsDescription": { - "description": "The properties indicating the operation result of an operation on a service.", - "type": "object", - "properties": { - "id": { - "description": "The ID of the operation returned.", - "readOnly": true, - "type": "string" - }, - "name": { - "description": "The name of the operation result.", - "readOnly": true, - "type": "string" - }, - "status": { - "description": "The status of the operation being performed.", - "enum": [ - "Canceled", - "Succeeded", - "Failed", - "Requested", - "Running" - ], - "readOnly": true, - "type": "string", - "x-ms-enum": { - "name": "OperationResultStatus", - "modelAsString": true - } - }, - "startTime": { - "description": "The time that the operation was started.", - "readOnly": true, - "type": "string" - }, - "properties": { - "x-ms-client-flatten": false, - "description": "Additional properties of the operation result." - } - } } }, - "parameters": { - "subscriptionId": { - "name": "subscriptionId", - "in": "path", - "description": "The subscription identifier.", - "required": true, - "type": "string" - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." - }, - "resourceGroupName": { - "name": "resourceGroupName", - "in": "path", - "description": "The name of the resource group that contains the service instance.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90 - }, - "resourceName": { - "name": "resourceName", - "in": "path", - "description": "The name of the service instance.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method", - "minLength": 3, - "maxLength": 24 - }, - "locationName": { - "name": "locationName", - "in": "path", - "description": "The location of the operation.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "operationResultId": { - "name": "operationResultId", - "in": "path", - "description": "The ID of the operation result to get.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - } - } + "parameters": {} } diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json index 0ac21426e1c6..dfcf71c02aae 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json @@ -48,16 +48,16 @@ }, "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" } ], "responses": { @@ -70,7 +70,7 @@ "default": { "description": "Default error response", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -96,16 +96,16 @@ }, "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { "name": "PrivateLinkServicesForM365SecurityCenterDescription", @@ -133,7 +133,7 @@ "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -156,16 +156,16 @@ }, "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { "name": "servicePatchDescription", @@ -173,7 +173,7 @@ "description": "The service instance metadata and security metadata.", "required": true, "schema": { - "$ref": "#/definitions/ServicesPatchDescription" + "$ref": "./common-types.json#/definitions/ServicesPatchDescription" } } ], @@ -193,7 +193,7 @@ "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -216,16 +216,16 @@ }, "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" } ], "responses": { @@ -241,7 +241,7 @@ "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } } @@ -264,10 +264,10 @@ }, "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" } ], "responses": { @@ -280,7 +280,7 @@ "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -304,13 +304,13 @@ }, "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" } ], "responses": { @@ -323,87 +323,7 @@ "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" - } - } - }, - "deprecated": false - } - }, - "/providers/Microsoft.SecurityAndCompliance/operations": { - "get": { - "tags": [ - "Proxy" - ], - "description": "Lists all of the available SecurityAndCompliance REST API operations.", - "operationId": "Operations_List", - "x-ms-examples": { - "List operations": { - "$ref": "./examples/SecurityCenterOperationsList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK. The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/OperationListResult" - } - }, - "default": { - "description": "DefaultErrorResponse", - "schema": { - "$ref": "#/definitions/ErrorDetails" - } - } - }, - "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/locations/{locationName}/operationresults/{operationResultId}": { - "get": { - "tags": [ - "Resource" - ], - "description": "Get the operation result for a long running operation.", - "operationId": "OperationResults_Get", - "x-ms-examples": { - "Get operation result": { - "$ref": "./examples/SecurityCenterOperationResultsGet.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/locationName" - }, - { - "$ref": "#/parameters/operationResultId" - } - ], - "responses": { - "200": { - "description": "The body contains all of the properties of the operation result.", - "schema": { - "$ref": "#/definitions/OperationResultsDescription" - } - }, - "default": { - "description": "Default error response", - "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -419,29 +339,29 @@ "description": "Lists all private endpoint connections for a service.", "parameters": [ { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnectionListResult" + "$ref": "./common-types.json#/definitions/PrivateEndpointConnectionListResult" } }, "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -464,32 +384,32 @@ "description": "Gets the specified private endpoint connection associated with the service.", "parameters": [ { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "./privatelinks.json#/parameters/PrivateEndpointConnectionName" + "$ref": "./common-types.json#/parameters/PrivateEndpointConnectionName" } ], "responses": { "200": { "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" + "$ref": "./common-types.json#/definitions/PrivateEndpointConnection" } }, "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -507,26 +427,26 @@ "description": "Update the state of the specified private endpoint connection associated with the service.", "parameters": [ { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "./privatelinks.json#/parameters/PrivateEndpointConnectionName" + "$ref": "./common-types.json#/parameters/PrivateEndpointConnectionName" }, { "name": "properties", "in": "body", "required": true, "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" + "$ref": "./common-types.json#/definitions/PrivateEndpointConnection" }, "description": "The private endpoint connection properties." } @@ -535,19 +455,19 @@ "200": { "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" + "$ref": "./common-types.json#/definitions/PrivateEndpointConnection" } }, "201": { "description": "Created. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" + "$ref": "./common-types.json#/definitions/PrivateEndpointConnection" } }, "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -569,19 +489,19 @@ "operationId": "PrivateEndpointConnections_Delete", "parameters": [ { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "./privatelinks.json#/parameters/PrivateEndpointConnectionName" + "$ref": "./common-types.json#/parameters/PrivateEndpointConnectionName" } ], "responses": { @@ -597,7 +517,7 @@ "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -621,29 +541,29 @@ "description": "Gets the private link resources that need to be created for a service.", "parameters": [ { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateLinkResourceListResult" + "$ref": "./common-types.json#/definitions/PrivateLinkResourceListResult" } }, "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -663,16 +583,16 @@ "description": "Gets a private link resource that need to be created for a service.", "parameters": [ { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { "name": "groupName", @@ -686,13 +606,13 @@ "200": { "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateLinkResource" + "$ref": "./common-types.json#/definitions/PrivateLinkResource" } }, "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -705,198 +625,6 @@ } }, "definitions": { - "ServicesProperties": { - "description": "The properties of a service instance.", - "type": "object", - "properties": { - "provisioningState": { - "description": "The provisioning state.", - "enum": [ - "Deleting", - "Succeeded", - "Creating", - "Accepted", - "Verifying", - "Updating", - "Failed", - "Canceled", - "Deprovisioned" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "provisioningState", - "modelAsString": true - } - }, - "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": "./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 - } - } - } - }, - "ServiceAccessPoliciesInfo": { - "description": "The access policies of the service instance.", - "type": "array", - "items": { - "$ref": "#/definitions/ServiceAccessPolicyEntry" - } - }, - "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", - "format": "int64", - "description": "The provisioned throughput for the backing database.", - "readOnly": false, - "minimum": 400, - "maximum": 10000 - }, - "keyVaultKeyUri": { - "type": "string", - "description": "The URI of the customer-managed key for the backing database.", - "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", - "format": "int64", - "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 - } - } - }, - "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" - }, "PrivateLinkServicesForM365SecurityCenterDescription": { "description": "The description of the service.", "type": "object", @@ -904,152 +632,15 @@ "properties": { "x-ms-client-flatten": false, "description": "The common properties of a service.", - "$ref": "#/definitions/ServicesProperties" + "$ref": "./common-types.json#/definitions/ServicesProperties" } }, "allOf": [ { - "$ref": "#/definitions/ServicesResource" + "$ref": "./common-types.json#/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": { - "type": "string", - "description": "The resource identifier." - }, - "name": { - "type": "string", - "description": "The resource name.", - "pattern": "^[a-z0-9][a-z0-9-]{1,21}[a-z0-9]$" - }, - "type": { - "type": "string", - "description": "The resource type." - }, - "systemData": { - "description": "Required property for system data", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" - }, - "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" - ] - }, - "ErrorDetails": { - "description": "Error details.", - "type": "object", - "properties": { - "error": { - "description": "Object containing error details.", - "$ref": "#/definitions/ErrorDetailsInternal" - } - } - }, - "ErrorDetailsInternal": { - "description": "Error details.", - "type": "object", - "properties": { - "code": { - "description": "The error code.", - "type": "string", - "readOnly": true - }, - "message": { - "description": "The error message.", - "type": "string", - "readOnly": true - }, - "target": { - "description": "The target of the particular error.", - "type": "string", - "readOnly": true - } - } - }, "PrivateLinkServicesForM365SecurityCenterDescriptionListResult": { "description": "A list of service description objects with a next link.", "type": "object", @@ -1067,189 +658,7 @@ } } } - }, - "OperationListResult": { - "description": "A list of service operations. It contains a list of operations and a URL link to get the next set of results.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link used to get the next page of service description objects.", - "type": "string", - "readOnly": true - }, - "value": { - "description": "A list of service operations supported by the Microsoft.SecurityAndCompliance resource provider.", - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/Operation" - } - } - } - }, - "Operation": { - "description": "Service REST API operation.", - "type": "object", - "properties": { - "name": { - "readOnly": true, - "type": "string", - "description": "Operation name: {provider}/{resource}/{read | write | action | delete}" - }, - "isDataAction": { - "readOnly": true, - "description": "Indicates whether the operation is a data action", - "type": "boolean" - }, - "origin": { - "readOnly": true, - "type": "string", - "description": "Default value is 'user,system'." - }, - "display": { - "readOnly": true, - "description": "The information displayed about the operation.", - "$ref": "#/definitions/OperationDisplay" - } - } - }, - "OperationDisplay": { - "description": "The object that represents the operation.", - "type": "object", - "properties": { - "provider": { - "readOnly": true, - "type": "string", - "description": "Service provider: Microsoft.SecurityAndCompliance" - }, - "resource": { - "readOnly": true, - "type": "string", - "description": "Resource Type: Services" - }, - "operation": { - "readOnly": true, - "type": "string", - "description": "Name of the operation" - }, - "description": { - "readOnly": true, - "type": "string", - "description": "Friendly description for the operation," - } - } - }, - "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 - } - } - } - }, - "OperationResultsDescription": { - "description": "The properties indicating the operation result of an operation on a service.", - "type": "object", - "properties": { - "id": { - "description": "The ID of the operation returned.", - "readOnly": true, - "type": "string" - }, - "name": { - "description": "The name of the operation result.", - "readOnly": true, - "type": "string" - }, - "status": { - "description": "The status of the operation being performed.", - "enum": [ - "Canceled", - "Succeeded", - "Failed", - "Requested", - "Running" - ], - "readOnly": true, - "type": "string", - "x-ms-enum": { - "name": "OperationResultStatus", - "modelAsString": true - } - }, - "startTime": { - "description": "The time that the operation was started.", - "readOnly": true, - "type": "string" - }, - "properties": { - "x-ms-client-flatten": false, - "description": "Additional properties of the operation result." - } - } } }, - "parameters": { - "subscriptionId": { - "name": "subscriptionId", - "in": "path", - "description": "The subscription identifier.", - "required": true, - "type": "string" - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." - }, - "resourceGroupName": { - "name": "resourceGroupName", - "in": "path", - "description": "The name of the resource group that contains the service instance.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90 - }, - "resourceName": { - "name": "resourceName", - "in": "path", - "description": "The name of the service instance.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method", - "minLength": 3, - "maxLength": 24 - }, - "locationName": { - "name": "locationName", - "in": "path", - "description": "The location of the operation.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "operationResultId": { - "name": "operationResultId", - "in": "path", - "description": "The ID of the operation result to get.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - } - } + "parameters": {} } diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForO365ManagementActivityAPI.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForO365ManagementActivityAPI.json index a4ea1b9f05c5..ca13e0bcf501 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForO365ManagementActivityAPI.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForO365ManagementActivityAPI.json @@ -48,16 +48,16 @@ }, "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" } ], "responses": { @@ -70,7 +70,7 @@ "default": { "description": "Default error response", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -96,16 +96,16 @@ }, "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { "name": "PrivateLinkServicesForO365ManagementActivityAPIDescription", @@ -133,7 +133,7 @@ "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -156,16 +156,16 @@ }, "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { "name": "servicePatchDescription", @@ -173,7 +173,7 @@ "description": "The service instance metadata and security metadata.", "required": true, "schema": { - "$ref": "#/definitions/ServicesPatchDescription" + "$ref": "./common-types.json#/definitions/ServicesPatchDescription" } } ], @@ -193,7 +193,7 @@ "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -216,16 +216,16 @@ }, "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" } ], "responses": { @@ -241,7 +241,7 @@ "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } } @@ -264,10 +264,10 @@ }, "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" } ], "responses": { @@ -280,7 +280,7 @@ "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -304,13 +304,13 @@ }, "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" } ], "responses": { @@ -323,87 +323,7 @@ "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" - } - } - }, - "deprecated": false - } - }, - "/providers/Microsoft.SecurityAndCompliance/operations": { - "get": { - "tags": [ - "Proxy" - ], - "description": "Lists all of the available SecurityAndCompliance REST API operations.", - "operationId": "Operations_List", - "x-ms-examples": { - "List operations": { - "$ref": "./examples/ManagementAPIOperationsList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK. The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/OperationListResult" - } - }, - "default": { - "description": "DefaultErrorResponse", - "schema": { - "$ref": "#/definitions/ErrorDetails" - } - } - }, - "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/locations/{locationName}/operationresults/{operationResultId}": { - "get": { - "tags": [ - "Resource" - ], - "description": "Get the operation result for a long running operation.", - "operationId": "OperationResults_Get", - "x-ms-examples": { - "Get operation result": { - "$ref": "./examples/ManagementAPIOperationResultsGet.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/locationName" - }, - { - "$ref": "#/parameters/operationResultId" - } - ], - "responses": { - "200": { - "description": "The body contains all of the properties of the operation result.", - "schema": { - "$ref": "#/definitions/OperationResultsDescription" - } - }, - "default": { - "description": "Default error response", - "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -419,29 +339,29 @@ "description": "Lists all private endpoint connections for a service.", "parameters": [ { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnectionListResult" + "$ref": "./common-types.json#/definitions/PrivateEndpointConnectionListResult" } }, "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -464,32 +384,32 @@ "description": "Gets the specified private endpoint connection associated with the service.", "parameters": [ { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "./privatelinks.json#/parameters/PrivateEndpointConnectionName" + "$ref": "./common-types.json#/parameters/PrivateEndpointConnectionName" } ], "responses": { "200": { "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" + "$ref": "./common-types.json#/definitions/PrivateEndpointConnection" } }, "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -507,26 +427,26 @@ "description": "Update the state of the specified private endpoint connection associated with the service.", "parameters": [ { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "./privatelinks.json#/parameters/PrivateEndpointConnectionName" + "$ref": "./common-types.json#/parameters/PrivateEndpointConnectionName" }, { "name": "properties", "in": "body", "required": true, "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" + "$ref": "./common-types.json#/definitions/PrivateEndpointConnection" }, "description": "The private endpoint connection properties." } @@ -535,19 +455,19 @@ "200": { "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" + "$ref": "./common-types.json#/definitions/PrivateEndpointConnection" } }, "201": { "description": "Created. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" + "$ref": "./common-types.json#/definitions/PrivateEndpointConnection" } }, "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -569,19 +489,19 @@ "operationId": "PrivateEndpointConnections_Delete", "parameters": [ { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "./privatelinks.json#/parameters/PrivateEndpointConnectionName" + "$ref": "./common-types.json#/parameters/PrivateEndpointConnectionName" } ], "responses": { @@ -597,7 +517,7 @@ "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -621,29 +541,29 @@ "description": "Gets the private link resources that need to be created for a service.", "parameters": [ { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateLinkResourceListResult" + "$ref": "./common-types.json#/definitions/PrivateLinkResourceListResult" } }, "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -663,16 +583,16 @@ "description": "Gets a private link resource that need to be created for a service.", "parameters": [ { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { "name": "groupName", @@ -686,13 +606,13 @@ "200": { "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateLinkResource" + "$ref": "./common-types.json#/definitions/PrivateLinkResource" } }, "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -705,198 +625,6 @@ } }, "definitions": { - "ServicesProperties": { - "description": "The properties of a service instance.", - "type": "object", - "properties": { - "provisioningState": { - "description": "The provisioning state.", - "enum": [ - "Deleting", - "Succeeded", - "Creating", - "Accepted", - "Verifying", - "Updating", - "Failed", - "Canceled", - "Deprovisioned" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "provisioningState", - "modelAsString": true - } - }, - "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": "./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 - } - } - } - }, - "ServiceAccessPoliciesInfo": { - "description": "The access policies of the service instance.", - "type": "array", - "items": { - "$ref": "#/definitions/ServiceAccessPolicyEntry" - } - }, - "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", - "format": "int64", - "description": "The provisioned throughput for the backing database.", - "readOnly": false, - "minimum": 400, - "maximum": 10000 - }, - "keyVaultKeyUri": { - "type": "string", - "description": "The URI of the customer-managed key for the backing database.", - "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", - "format": "int64", - "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 - } - } - }, - "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" - }, "PrivateLinkServicesForO365ManagementActivityAPIDescription": { "description": "The description of the service.", "type": "object", @@ -904,152 +632,15 @@ "properties": { "x-ms-client-flatten": false, "description": "The common properties of a service.", - "$ref": "#/definitions/ServicesProperties" + "$ref": "./common-types.json#/definitions/ServicesProperties" } }, "allOf": [ { - "$ref": "#/definitions/ServicesResource" + "$ref": "./common-types.json#/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": { - "type": "string", - "description": "The resource identifier." - }, - "name": { - "type": "string", - "description": "The resource name.", - "pattern": "^[a-z0-9][a-z0-9-]{1,21}[a-z0-9]$" - }, - "type": { - "type": "string", - "description": "The resource type." - }, - "systemData": { - "description": "Required property for system data", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" - }, - "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" - ] - }, - "ErrorDetails": { - "description": "Error details.", - "type": "object", - "properties": { - "error": { - "description": "Object containing error details.", - "$ref": "#/definitions/ErrorDetailsInternal" - } - } - }, - "ErrorDetailsInternal": { - "description": "Error details.", - "type": "object", - "properties": { - "code": { - "description": "The error code.", - "type": "string", - "readOnly": true - }, - "message": { - "description": "The error message.", - "type": "string", - "readOnly": true - }, - "target": { - "description": "The target of the particular error.", - "type": "string", - "readOnly": true - } - } - }, "PrivateLinkServicesForO365ManagementActivityAPIDescriptionListResult": { "description": "A list of service description objects with a next link.", "type": "object", @@ -1067,189 +658,7 @@ } } } - }, - "OperationListResult": { - "description": "A list of service operations. It contains a list of operations and a URL link to get the next set of results.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link used to get the next page of service description objects.", - "type": "string", - "readOnly": true - }, - "value": { - "description": "A list of service operations supported by the Microsoft.SecurityAndCompliance resource provider.", - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/Operation" - } - } - } - }, - "Operation": { - "description": "Service REST API operation.", - "type": "object", - "properties": { - "name": { - "readOnly": true, - "type": "string", - "description": "Operation name: {provider}/{resource}/{read | write | action | delete}" - }, - "isDataAction": { - "readOnly": true, - "description": "Indicates whether the operation is a data action", - "type": "boolean" - }, - "origin": { - "readOnly": true, - "type": "string", - "description": "Default value is 'user,system'." - }, - "display": { - "readOnly": true, - "description": "The information displayed about the operation.", - "$ref": "#/definitions/OperationDisplay" - } - } - }, - "OperationDisplay": { - "description": "The object that represents the operation.", - "type": "object", - "properties": { - "provider": { - "readOnly": true, - "type": "string", - "description": "Service provider: Microsoft.SecurityAndCompliance" - }, - "resource": { - "readOnly": true, - "type": "string", - "description": "Resource Type: Services" - }, - "operation": { - "readOnly": true, - "type": "string", - "description": "Name of the operation" - }, - "description": { - "readOnly": true, - "type": "string", - "description": "Friendly description for the operation," - } - } - }, - "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 - } - } - } - }, - "OperationResultsDescription": { - "description": "The properties indicating the operation result of an operation on a service.", - "type": "object", - "properties": { - "id": { - "description": "The ID of the operation returned.", - "readOnly": true, - "type": "string" - }, - "name": { - "description": "The name of the operation result.", - "readOnly": true, - "type": "string" - }, - "status": { - "description": "The status of the operation being performed.", - "enum": [ - "Canceled", - "Succeeded", - "Failed", - "Requested", - "Running" - ], - "readOnly": true, - "type": "string", - "x-ms-enum": { - "name": "OperationResultStatus", - "modelAsString": true - } - }, - "startTime": { - "description": "The time that the operation was started.", - "readOnly": true, - "type": "string" - }, - "properties": { - "x-ms-client-flatten": false, - "description": "Additional properties of the operation result." - } - } } }, - "parameters": { - "subscriptionId": { - "name": "subscriptionId", - "in": "path", - "description": "The subscription identifier.", - "required": true, - "type": "string" - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." - }, - "resourceGroupName": { - "name": "resourceGroupName", - "in": "path", - "description": "The name of the resource group that contains the service instance.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90 - }, - "resourceName": { - "name": "resourceName", - "in": "path", - "description": "The name of the service instance.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method", - "minLength": 3, - "maxLength": 24 - }, - "locationName": { - "name": "locationName", - "in": "path", - "description": "The location of the operation.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "operationResultId": { - "name": "operationResultId", - "in": "path", - "description": "The ID of the operation result to get.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - } - } + "parameters": {} } diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSCCPowershell.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSCCPowershell.json index 7b1248e42ac6..514eed85635e 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSCCPowershell.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSCCPowershell.json @@ -48,16 +48,16 @@ }, "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" } ], "responses": { @@ -70,7 +70,7 @@ "default": { "description": "Default error response", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -96,16 +96,16 @@ }, "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { "name": "PrivateLinkServicesForSCCPowershellDescription", @@ -133,7 +133,7 @@ "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -156,16 +156,16 @@ }, "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { "name": "servicePatchDescription", @@ -173,7 +173,7 @@ "description": "The service instance metadata and security metadata.", "required": true, "schema": { - "$ref": "#/definitions/ServicesPatchDescription" + "$ref": "./common-types.json#/definitions/ServicesPatchDescription" } } ], @@ -193,7 +193,7 @@ "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -216,16 +216,16 @@ }, "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" } ], "responses": { @@ -241,7 +241,7 @@ "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } } @@ -264,10 +264,10 @@ }, "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" } ], "responses": { @@ -280,7 +280,7 @@ "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -304,13 +304,13 @@ }, "parameters": [ { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" } ], "responses": { @@ -323,87 +323,7 @@ "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" - } - } - }, - "deprecated": false - } - }, - "/providers/Microsoft.SecurityAndCompliance/operations": { - "get": { - "tags": [ - "Proxy" - ], - "description": "Lists all of the available SecurityAndCompliance REST API operations.", - "operationId": "Operations_List", - "x-ms-examples": { - "List operations": { - "$ref": "./examples/SCCPowershellOperationsList.json" - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - } - ], - "responses": { - "200": { - "description": "OK. The request was successful; the request was well-formed and received properly.", - "schema": { - "$ref": "#/definitions/OperationListResult" - } - }, - "default": { - "description": "DefaultErrorResponse", - "schema": { - "$ref": "#/definitions/ErrorDetails" - } - } - }, - "deprecated": false - } - }, - "/subscriptions/{subscriptionId}/providers/Microsoft.SecurityAndCompliance/locations/{locationName}/operationresults/{operationResultId}": { - "get": { - "tags": [ - "Resource" - ], - "description": "Get the operation result for a long running operation.", - "operationId": "OperationResults_Get", - "x-ms-examples": { - "Get operation result": { - "$ref": "./examples/SCCPowershellOperationResultsGet.json" - } - }, - "parameters": [ - { - "$ref": "#/parameters/ApiVersionParameter" - }, - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/locationName" - }, - { - "$ref": "#/parameters/operationResultId" - } - ], - "responses": { - "200": { - "description": "The body contains all of the properties of the operation result.", - "schema": { - "$ref": "#/definitions/OperationResultsDescription" - } - }, - "default": { - "description": "Default error response", - "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -419,29 +339,29 @@ "description": "Lists all private endpoint connections for a service.", "parameters": [ { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnectionListResult" + "$ref": "./common-types.json#/definitions/PrivateEndpointConnectionListResult" } }, "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -464,32 +384,32 @@ "description": "Gets the specified private endpoint connection associated with the service.", "parameters": [ { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "./privatelinks.json#/parameters/PrivateEndpointConnectionName" + "$ref": "./common-types.json#/parameters/PrivateEndpointConnectionName" } ], "responses": { "200": { "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" + "$ref": "./common-types.json#/definitions/PrivateEndpointConnection" } }, "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -507,26 +427,26 @@ "description": "Update the state of the specified private endpoint connection associated with the service.", "parameters": [ { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "./privatelinks.json#/parameters/PrivateEndpointConnectionName" + "$ref": "./common-types.json#/parameters/PrivateEndpointConnectionName" }, { "name": "properties", "in": "body", "required": true, "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" + "$ref": "./common-types.json#/definitions/PrivateEndpointConnection" }, "description": "The private endpoint connection properties." } @@ -535,19 +455,19 @@ "200": { "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" + "$ref": "./common-types.json#/definitions/PrivateEndpointConnection" } }, "201": { "description": "Created. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" + "$ref": "./common-types.json#/definitions/PrivateEndpointConnection" } }, "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -569,19 +489,19 @@ "operationId": "PrivateEndpointConnections_Delete", "parameters": [ { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { - "$ref": "./privatelinks.json#/parameters/PrivateEndpointConnectionName" + "$ref": "./common-types.json#/parameters/PrivateEndpointConnectionName" } ], "responses": { @@ -597,7 +517,7 @@ "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -621,29 +541,29 @@ "description": "Gets the private link resources that need to be created for a service.", "parameters": [ { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" } ], "responses": { "200": { "description": "The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateLinkResourceListResult" + "$ref": "./common-types.json#/definitions/PrivateLinkResourceListResult" } }, "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -663,16 +583,16 @@ "description": "Gets a private link resource that need to be created for a service.", "parameters": [ { - "$ref": "#/parameters/subscriptionId" + "$ref": "./common-types.json#/parameters/subscriptionId" }, { - "$ref": "#/parameters/resourceGroupName" + "$ref": "./common-types.json#/parameters/resourceGroupName" }, { - "$ref": "#/parameters/resourceName" + "$ref": "./common-types.json#/parameters/resourceName" }, { - "$ref": "#/parameters/ApiVersionParameter" + "$ref": "./common-types.json#/parameters/ApiVersionParameter" }, { "name": "groupName", @@ -686,13 +606,13 @@ "200": { "description": "OK. The request was successful; the request was well-formed and received properly.", "schema": { - "$ref": "./privatelinks.json#/definitions/PrivateLinkResource" + "$ref": "./common-types.json#/definitions/PrivateLinkResource" } }, "default": { "description": "DefaultErrorResponse", "schema": { - "$ref": "#/definitions/ErrorDetails" + "$ref": "./common-types.json#/definitions/ErrorDetails" } } }, @@ -705,198 +625,6 @@ } }, "definitions": { - "ServicesProperties": { - "description": "The properties of a service instance.", - "type": "object", - "properties": { - "provisioningState": { - "description": "The provisioning state.", - "enum": [ - "Deleting", - "Succeeded", - "Creating", - "Accepted", - "Verifying", - "Updating", - "Failed", - "Canceled", - "Deprovisioned" - ], - "type": "string", - "readOnly": true, - "x-ms-enum": { - "name": "provisioningState", - "modelAsString": true - } - }, - "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": "./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 - } - } - } - }, - "ServiceAccessPoliciesInfo": { - "description": "The access policies of the service instance.", - "type": "array", - "items": { - "$ref": "#/definitions/ServiceAccessPolicyEntry" - } - }, - "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", - "format": "int64", - "description": "The provisioned throughput for the backing database.", - "readOnly": false, - "minimum": 400, - "maximum": 10000 - }, - "keyVaultKeyUri": { - "type": "string", - "description": "The URI of the customer-managed key for the backing database.", - "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", - "format": "int64", - "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 - } - } - }, - "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" - }, "PrivateLinkServicesForSCCPowershellDescription": { "description": "The description of the service.", "type": "object", @@ -904,152 +632,15 @@ "properties": { "x-ms-client-flatten": false, "description": "The common properties of a service.", - "$ref": "#/definitions/ServicesProperties" + "$ref": "./common-types.json#/definitions/ServicesProperties" } }, "allOf": [ { - "$ref": "#/definitions/ServicesResource" + "$ref": "./common-types.json#/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": { - "type": "string", - "description": "The resource identifier." - }, - "name": { - "type": "string", - "description": "The resource name.", - "pattern": "^[a-z0-9][a-z0-9-]{1,21}[a-z0-9]$" - }, - "type": { - "type": "string", - "description": "The resource type." - }, - "systemData": { - "description": "Required property for system data", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" - }, - "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" - ] - }, - "ErrorDetails": { - "description": "Error details.", - "type": "object", - "properties": { - "error": { - "description": "Object containing error details.", - "$ref": "#/definitions/ErrorDetailsInternal" - } - } - }, - "ErrorDetailsInternal": { - "description": "Error details.", - "type": "object", - "properties": { - "code": { - "description": "The error code.", - "type": "string", - "readOnly": true - }, - "message": { - "description": "The error message.", - "type": "string", - "readOnly": true - }, - "target": { - "description": "The target of the particular error.", - "type": "string", - "readOnly": true - } - } - }, "PrivateLinkServicesForSCCPowershellDescriptionListResult": { "description": "A list of service description objects with a next link.", "type": "object", @@ -1067,189 +658,7 @@ } } } - }, - "OperationListResult": { - "description": "A list of service operations. It contains a list of operations and a URL link to get the next set of results.", - "type": "object", - "properties": { - "nextLink": { - "description": "The link used to get the next page of service description objects.", - "type": "string", - "readOnly": true - }, - "value": { - "description": "A list of service operations supported by the Microsoft.SecurityAndCompliance resource provider.", - "type": "array", - "readOnly": true, - "items": { - "$ref": "#/definitions/Operation" - } - } - } - }, - "Operation": { - "description": "Service REST API operation.", - "type": "object", - "properties": { - "name": { - "readOnly": true, - "type": "string", - "description": "Operation name: {provider}/{resource}/{read | write | action | delete}" - }, - "isDataAction": { - "readOnly": true, - "description": "Indicates whether the operation is a data action", - "type": "boolean" - }, - "origin": { - "readOnly": true, - "type": "string", - "description": "Default value is 'user,system'." - }, - "display": { - "readOnly": true, - "description": "The information displayed about the operation.", - "$ref": "#/definitions/OperationDisplay" - } - } - }, - "OperationDisplay": { - "description": "The object that represents the operation.", - "type": "object", - "properties": { - "provider": { - "readOnly": true, - "type": "string", - "description": "Service provider: Microsoft.SecurityAndCompliance" - }, - "resource": { - "readOnly": true, - "type": "string", - "description": "Resource Type: Services" - }, - "operation": { - "readOnly": true, - "type": "string", - "description": "Name of the operation" - }, - "description": { - "readOnly": true, - "type": "string", - "description": "Friendly description for the operation," - } - } - }, - "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 - } - } - } - }, - "OperationResultsDescription": { - "description": "The properties indicating the operation result of an operation on a service.", - "type": "object", - "properties": { - "id": { - "description": "The ID of the operation returned.", - "readOnly": true, - "type": "string" - }, - "name": { - "description": "The name of the operation result.", - "readOnly": true, - "type": "string" - }, - "status": { - "description": "The status of the operation being performed.", - "enum": [ - "Canceled", - "Succeeded", - "Failed", - "Requested", - "Running" - ], - "readOnly": true, - "type": "string", - "x-ms-enum": { - "name": "OperationResultStatus", - "modelAsString": true - } - }, - "startTime": { - "description": "The time that the operation was started.", - "readOnly": true, - "type": "string" - }, - "properties": { - "x-ms-client-flatten": false, - "description": "Additional properties of the operation result." - } - } } }, - "parameters": { - "subscriptionId": { - "name": "subscriptionId", - "in": "path", - "description": "The subscription identifier.", - "required": true, - "type": "string" - }, - "ApiVersionParameter": { - "name": "api-version", - "in": "query", - "required": true, - "type": "string", - "description": "Client Api Version." - }, - "resourceGroupName": { - "name": "resourceGroupName", - "in": "path", - "description": "The name of the resource group that contains the service instance.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method", - "pattern": "^[-\\w\\._\\(\\)]+$", - "minLength": 1, - "maxLength": 90 - }, - "resourceName": { - "name": "resourceName", - "in": "path", - "description": "The name of the service instance.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method", - "minLength": 3, - "maxLength": 24 - }, - "locationName": { - "name": "locationName", - "in": "path", - "description": "The location of the operation.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - }, - "operationResultId": { - "name": "operationResultId", - "in": "path", - "description": "The ID of the operation result to get.", - "required": true, - "type": "string", - "x-ms-parameter-location": "method" - } - } + "parameters": {} } diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privatelinks.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privatelinks.json deleted file mode 100644 index d6aed591c0c0..000000000000 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privatelinks.json +++ /dev/null @@ -1,220 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "version": "2021-01-11", - "title": "SecurityAndComplianceAPIs" - }, - "host": "management.azure.com", - "schemes": [ - "https" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "security": [ - { - "azure_auth": [ - "user_impersonation" - ] - } - ], - "securityDefinitions": { - "azure_auth": { - "type": "oauth2", - "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", - "flow": "implicit", - "description": "Azure Active Directory OAuth2 Flow", - "scopes": { - "user_impersonation": "impersonate your user account" - } - } - }, - "paths": {}, - "definitions": { - "PrivateEndpoint": { - "properties": { - "id": { - "readOnly": true, - "type": "string", - "description": "The ARM identifier for Private Endpoint" - } - }, - "description": "The Private Endpoint resource." - }, - "PrivateEndpointConnection": { - "properties": { - "systemData": { - "description": "Required property for system data", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" - }, - "properties": { - "$ref": "#/definitions/PrivateEndpointConnectionProperties", - "x-ms-client-flatten": true, - "description": "Resource properties." - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" - } - ], - "description": "The Private Endpoint Connection resource." - }, - "PrivateEndpointConnectionProperties": { - "properties": { - "privateEndpoint": { - "$ref": "#/definitions/PrivateEndpoint", - "description": "The resource of private end point." - }, - "privateLinkServiceConnectionState": { - "$ref": "#/definitions/PrivateLinkServiceConnectionState", - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "provisioningState": { - "$ref": "#/definitions/PrivateEndpointConnectionProvisioningState", - "description": "The provisioning state of the private endpoint connection resource." - } - }, - "required": [ - "privateLinkServiceConnectionState" - ], - "description": "Properties of the PrivateEndpointConnectProperties." - }, - "PrivateLinkServiceConnectionState": { - "properties": { - "status": { - "$ref": "#/definitions/PrivateEndpointServiceConnectionStatus", - "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." - }, - "description": { - "type": "string", - "description": "The reason for approval/rejection of the connection." - }, - "actionsRequired": { - "type": "string", - "description": "A message indicating if changes on the service provider require any updates on the consumer." - } - }, - "description": "A collection of information about the state of the connection between service consumer and provider." - }, - "PrivateEndpointServiceConnectionStatus": { - "type": "string", - "description": "The private endpoint connection status.", - "enum": [ - "Pending", - "Approved", - "Rejected" - ], - "x-ms-enum": { - "name": "PrivateEndpointServiceConnectionStatus", - "modelAsString": true - } - }, - "PrivateEndpointConnectionProvisioningState": { - "type": "string", - "readOnly": true, - "description": "The current provisioning state.", - "enum": [ - "Succeeded", - "Creating", - "Deleting", - "Failed" - ], - "x-ms-enum": { - "name": "PrivateEndpointConnectionProvisioningState", - "modelAsString": true - } - }, - "PrivateLinkResource": { - "properties": { - "systemData": { - "description": "Required property for system data", - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData" - }, - "properties": { - "$ref": "#/definitions/PrivateLinkResourceProperties", - "description": "Resource properties.", - "x-ms-client-flatten": true - } - }, - "allOf": [ - { - "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/Resource" - } - ], - "description": "A private link resource" - }, - "PrivateLinkResourceProperties": { - "properties": { - "groupId": { - "description": "The private link resource group id.", - "type": "string", - "readOnly": true - }, - "requiredMembers": { - "description": "The private link resource required member names.", - "type": "array", - "items": { - "type": "string" - }, - "readOnly": true - }, - "requiredZoneNames": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The private link resource Private link DNS zone name." - } - }, - "description": "Properties of a private link resource." - }, - "PrivateEndpointConnectionListResult": { - "properties": { - "value": { - "type": "array", - "description": "Array of private endpoint connections", - "items": { - "$ref": "#/definitions/PrivateEndpointConnection" - } - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results.", - "readOnly": true - } - }, - "description": "List of private endpoint connection associated with the specified storage account" - }, - "PrivateLinkResourceListResult": { - "properties": { - "value": { - "type": "array", - "description": "Array of private link resources", - "items": { - "$ref": "#/definitions/PrivateLinkResource" - } - }, - "nextLink": { - "type": "string", - "description": "The URL to get the next set of results.", - "readOnly": true - } - }, - "description": "A list of private link resources" - } - }, - "parameters": { - "PrivateEndpointConnectionName": { - "name": "privateEndpointConnectionName", - "in": "path", - "required": true, - "type": "string", - "description": "The name of the private endpoint connection associated with the Azure resource", - "x-ms-parameter-location": "method" - } - } -} From ca528fc3a737c1d57514d7ac39d6ca41935c696f Mon Sep 17 00:00:00 2001 From: Sonal Verma Date: Mon, 15 Feb 2021 21:34:03 +0530 Subject: [PATCH 17/27] update readme --- specification/securityandcompliance/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/securityandcompliance/resource-manager/readme.md b/specification/securityandcompliance/resource-manager/readme.md index 24a28abfde5a..59d16a1529cb 100644 --- a/specification/securityandcompliance/resource-manager/readme.md +++ b/specification/securityandcompliance/resource-manager/readme.md @@ -36,7 +36,7 @@ These settings apply only when `--tag=package-2021-01-11` is specified on the co ``` yaml $(tag) == 'package-2021-01-11' input-file: -- Microsoft.SecurityAndCompliance/stable/2021-01-11/privatelinks.json +- Microsoft.SecurityAndCompliance/stable/2021-01-11/common-types.json - Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForEDMUpload.json - Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json - Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json From 399422c0a4c6ba802a8fe75295d3c032eb785ea4 Mon Sep 17 00:00:00 2001 From: Sonal Verma Date: Mon, 15 Feb 2021 22:03:48 +0530 Subject: [PATCH 18/27] add reference to operationslist.json --- .../stable/2021-01-11/common-types.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/common-types.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/common-types.json index 650a538bf2d2..746e5b742569 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/common-types.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/common-types.json @@ -43,6 +43,21 @@ "x-ms-examples": { "List operations": { "$ref": "./examples/OperationsList.json" + }, + "List SecurityCenter operations": { + "$ref": "./examples/SecurityCenterOperationsList.json" + }, + "List ComplianceCenter operations": { + "$ref": "./examples/ComplianceCenterOperationsList.json" + }, + "List EDMUpload operations": { + "$ref": "./examples/EdmUploadOperationsList.json" + }, + "List ManagementAPI operations": { + "$ref": "./examples/ManagementAPIOperationsList.json" + }, + "List SCCPowershell operations": { + "$ref": "./examples/SCCPowershellOperationsList.json" } }, "x-ms-pageable": { From 733bcdcd4e0c0d95bcc15610213bb2971aa20a25 Mon Sep 17 00:00:00 2001 From: Sonal Verma Date: Mon, 15 Feb 2021 22:12:44 +0530 Subject: [PATCH 19/27] update file name in readme --- .../resource-manager/readme.azureresourceschema.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/specification/securityandcompliance/resource-manager/readme.azureresourceschema.md b/specification/securityandcompliance/resource-manager/readme.azureresourceschema.md index ac9029fc234a..3483947b0b60 100644 --- a/specification/securityandcompliance/resource-manager/readme.azureresourceschema.md +++ b/specification/securityandcompliance/resource-manager/readme.azureresourceschema.md @@ -19,10 +19,11 @@ output-folder: $(azureresourceschema-folder)/schemas # all the input files in this apiVersion input-file: - - Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForExactDataMatchUpload.json + - Microsoft.SecurityAndCompliance/stable/2021-01-11/common-types.json + - Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForEDMUpload.json - Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json - Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json - - Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForOffice365ManagementActivityAPI.json - - Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSecurityandComplianceCenterPowershell.json + - Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForO365ManagementActivityAPI.json + - Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSCCPowershell.json ``` From 1c9f2e95f191111e8ff427bf87af2f697d04a31e Mon Sep 17 00:00:00 2001 From: Sonal Verma Date: Tue, 16 Feb 2021 09:43:47 +0530 Subject: [PATCH 20/27] remove privatelinks.json ref --- .../stable/2021-01-11/common-types.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/common-types.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/common-types.json index 746e5b742569..df222f1df0ff 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/common-types.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/common-types.json @@ -178,7 +178,7 @@ "description": "The list of private endpoint connections that are set up for this resource.", "type": "array", "items": { - "$ref": "./privatelinks.json#/definitions/PrivateEndpointConnection" + "$ref": "#/definitions/PrivateEndpointConnection" } }, "publicNetworkAccess": { From f4f805ba96479dcad3a692cb7ba26e24b4f0ee99 Mon Sep 17 00:00:00 2001 From: Sonal Verma Date: Tue, 16 Feb 2021 09:54:44 +0530 Subject: [PATCH 21/27] add readonly true --- .../stable/2021-01-11/common-types.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/common-types.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/common-types.json index df222f1df0ff..43a9281cc68d 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/common-types.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/common-types.json @@ -345,16 +345,19 @@ "properties": { "id": { "type": "string", - "description": "The resource identifier." + "description": "The resource identifier.", + "readOnly": true }, "name": { "type": "string", "description": "The resource name.", - "pattern": "^[a-z0-9][a-z0-9-]{1,21}[a-z0-9]$" + "pattern": "^[a-z0-9][a-z0-9-]{1,21}[a-z0-9]$", + "readOnly": true }, "type": { "type": "string", - "description": "The resource type." + "description": "The resource type.", + "readOnly": true }, "systemData": { "description": "Required property for system data", From 6bd1fbc353121bb8ad54cd276b0a13201078b7da Mon Sep 17 00:00:00 2001 From: Sonal Verma Date: Thu, 18 Feb 2021 14:08:57 +0530 Subject: [PATCH 22/27] fix track validation errors --- .../2021-01-11/privateLinkServicesForEDMUpload.json | 8 ++++---- .../privateLinkServicesForM365ComplianceCenter.json | 12 ++++++------ .../privateLinkServicesForM365SecurityCenter.json | 12 ++++++------ ...vateLinkServicesForO365ManagementActivityAPI.json | 12 ++++++------ .../privateLinkServicesForSCCPowershell.json | 12 ++++++------ 5 files changed, 28 insertions(+), 28 deletions(-) diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForEDMUpload.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForEDMUpload.json index afa63ad15d41..9ce1aa8e6ed8 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForEDMUpload.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForEDMUpload.json @@ -335,7 +335,7 @@ "tags": [ "PrivateEndpointConnections" ], - "operationId": "PrivateEndpointConnections_ListByService", + "operationId": "PrivateEndpointConnections_EDM_ListByService", "description": "Lists all private endpoint connections for a service.", "parameters": [ { @@ -380,7 +380,7 @@ "tags": [ "PrivateEndpointConnections" ], - "operationId": "PrivateEndpointConnections_Get", + "operationId": "PrivateEndpointConnections_EDM_Get", "description": "Gets the specified private endpoint connection associated with the service.", "parameters": [ { @@ -423,7 +423,7 @@ "tags": [ "PrivateEndpointConnections" ], - "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "operationId": "PrivateEndpointConnections_EDM_CreateOrUpdate", "description": "Update the state of the specified private endpoint connection associated with the service.", "parameters": [ { @@ -486,7 +486,7 @@ "PrivateEndpointConnections" ], "description": "Deletes a private endpoint connection.", - "operationId": "PrivateEndpointConnections_Delete", + "operationId": "PrivateEndpointConnections_EDM_Delete", "parameters": [ { "$ref": "./common-types.json#/parameters/subscriptionId" diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json index 6fe8b1a04fb0..a5235708aca8 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json @@ -335,7 +335,7 @@ "tags": [ "PrivateEndpointConnections" ], - "operationId": "PrivateEndpointConnections_ListByService", + "operationId": "PrivateEndpointConnections_COMP_ListByService", "description": "Lists all private endpoint connections for a service.", "parameters": [ { @@ -380,7 +380,7 @@ "tags": [ "PrivateEndpointConnections" ], - "operationId": "PrivateEndpointConnections_Get", + "operationId": "PrivateEndpointConnections_COMP_Get", "description": "Gets the specified private endpoint connection associated with the service.", "parameters": [ { @@ -423,7 +423,7 @@ "tags": [ "PrivateEndpointConnections" ], - "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "operationId": "PrivateEndpointConnections_COMP_CreateOrUpdate", "description": "Update the state of the specified private endpoint connection associated with the service.", "parameters": [ { @@ -486,7 +486,7 @@ "PrivateEndpointConnections" ], "description": "Deletes a private endpoint connection.", - "operationId": "PrivateEndpointConnections_Delete", + "operationId": "PrivateEndpointConnections_COMP_Delete", "parameters": [ { "$ref": "./common-types.json#/parameters/subscriptionId" @@ -537,7 +537,7 @@ "tags": [ "PrivateLinkResources" ], - "operationId": "PrivateLinkResources_ListByService", + "operationId": "PrivateLinkResources_COMP_ListByService", "description": "Gets the private link resources that need to be created for a service.", "parameters": [ { @@ -579,7 +579,7 @@ "tags": [ "PrivateLinkResources" ], - "operationId": "PrivateLinkResources_Get", + "operationId": "PrivateLinkResources_COMP_Get", "description": "Gets a private link resource that need to be created for a service.", "parameters": [ { diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json index dfcf71c02aae..404a6df91832 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json @@ -335,7 +335,7 @@ "tags": [ "PrivateEndpointConnections" ], - "operationId": "PrivateEndpointConnections_ListByService", + "operationId": "PrivateEndpointConnections_SEC_ListByService", "description": "Lists all private endpoint connections for a service.", "parameters": [ { @@ -380,7 +380,7 @@ "tags": [ "PrivateEndpointConnections" ], - "operationId": "PrivateEndpointConnections_Get", + "operationId": "PrivateEndpointConnections_SEC_Get", "description": "Gets the specified private endpoint connection associated with the service.", "parameters": [ { @@ -423,7 +423,7 @@ "tags": [ "PrivateEndpointConnections" ], - "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "operationId": "PrivateEndpointConnections_SEC_CreateOrUpdate", "description": "Update the state of the specified private endpoint connection associated with the service.", "parameters": [ { @@ -486,7 +486,7 @@ "PrivateEndpointConnections" ], "description": "Deletes a private endpoint connection.", - "operationId": "PrivateEndpointConnections_Delete", + "operationId": "PrivateEndpointConnections_SEC_Delete", "parameters": [ { "$ref": "./common-types.json#/parameters/subscriptionId" @@ -537,7 +537,7 @@ "tags": [ "PrivateLinkResources" ], - "operationId": "PrivateLinkResources_ListByService", + "operationId": "PrivateLinkResources_SEC_ListByService", "description": "Gets the private link resources that need to be created for a service.", "parameters": [ { @@ -579,7 +579,7 @@ "tags": [ "PrivateLinkResources" ], - "operationId": "PrivateLinkResources_Get", + "operationId": "PrivateLinkResources_SEC_Get", "description": "Gets a private link resource that need to be created for a service.", "parameters": [ { diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForO365ManagementActivityAPI.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForO365ManagementActivityAPI.json index ca13e0bcf501..14dc90ccd123 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForO365ManagementActivityAPI.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForO365ManagementActivityAPI.json @@ -335,7 +335,7 @@ "tags": [ "PrivateEndpointConnections" ], - "operationId": "PrivateEndpointConnections_ListByService", + "operationId": "PrivateEndpointConnections_ADTAPI_ListByService", "description": "Lists all private endpoint connections for a service.", "parameters": [ { @@ -380,7 +380,7 @@ "tags": [ "PrivateEndpointConnections" ], - "operationId": "PrivateEndpointConnections_Get", + "operationId": "PrivateEndpointConnections_ADTAPI_Get", "description": "Gets the specified private endpoint connection associated with the service.", "parameters": [ { @@ -423,7 +423,7 @@ "tags": [ "PrivateEndpointConnections" ], - "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "operationId": "PrivateEndpointConnections_ADTAPI_CreateOrUpdate", "description": "Update the state of the specified private endpoint connection associated with the service.", "parameters": [ { @@ -486,7 +486,7 @@ "PrivateEndpointConnections" ], "description": "Deletes a private endpoint connection.", - "operationId": "PrivateEndpointConnections_Delete", + "operationId": "PrivateEndpointConnections_ADTAPI_Delete", "parameters": [ { "$ref": "./common-types.json#/parameters/subscriptionId" @@ -537,7 +537,7 @@ "tags": [ "PrivateLinkResources" ], - "operationId": "PrivateLinkResources_ListByService", + "operationId": "PrivateLinkResources_ADTAPI_ListByService", "description": "Gets the private link resources that need to be created for a service.", "parameters": [ { @@ -579,7 +579,7 @@ "tags": [ "PrivateLinkResources" ], - "operationId": "PrivateLinkResources_Get", + "operationId": "PrivateLinkResources_ADTAPI_Get", "description": "Gets a private link resource that need to be created for a service.", "parameters": [ { diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSCCPowershell.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSCCPowershell.json index 514eed85635e..70e0e3352ecf 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSCCPowershell.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSCCPowershell.json @@ -335,7 +335,7 @@ "tags": [ "PrivateEndpointConnections" ], - "operationId": "PrivateEndpointConnections_ListByService", + "operationId": "PrivateEndpointConnections_SCCPS_ListByService", "description": "Lists all private endpoint connections for a service.", "parameters": [ { @@ -380,7 +380,7 @@ "tags": [ "PrivateEndpointConnections" ], - "operationId": "PrivateEndpointConnections_Get", + "operationId": "PrivateEndpointConnections_SCCPS_Get", "description": "Gets the specified private endpoint connection associated with the service.", "parameters": [ { @@ -423,7 +423,7 @@ "tags": [ "PrivateEndpointConnections" ], - "operationId": "PrivateEndpointConnections_CreateOrUpdate", + "operationId": "PrivateEndpointConnections_SCCPS_CreateOrUpdate", "description": "Update the state of the specified private endpoint connection associated with the service.", "parameters": [ { @@ -486,7 +486,7 @@ "PrivateEndpointConnections" ], "description": "Deletes a private endpoint connection.", - "operationId": "PrivateEndpointConnections_Delete", + "operationId": "PrivateEndpointConnections_SCCPS_Delete", "parameters": [ { "$ref": "./common-types.json#/parameters/subscriptionId" @@ -537,7 +537,7 @@ "tags": [ "PrivateLinkResources" ], - "operationId": "PrivateLinkResources_ListByService", + "operationId": "PrivateLinkResources_SCCPS_ListByService", "description": "Gets the private link resources that need to be created for a service.", "parameters": [ { @@ -579,7 +579,7 @@ "tags": [ "PrivateLinkResources" ], - "operationId": "PrivateLinkResources_Get", + "operationId": "PrivateLinkResources_SCCPS_Get", "description": "Gets a private link resource that need to be created for a service.", "parameters": [ { From a251f1c5633de78b76873a65d3cd006fa29bddbf Mon Sep 17 00:00:00 2001 From: Sonal Verma Date: Thu, 18 Feb 2021 17:19:49 +0530 Subject: [PATCH 23/27] fix track validation errors --- .../privateLinkServicesForM365ComplianceCenter.json | 12 ++++++------ .../privateLinkServicesForM365SecurityCenter.json | 12 ++++++------ ...vateLinkServicesForO365ManagementActivityAPI.json | 12 ++++++------ .../privateLinkServicesForSCCPowershell.json | 12 ++++++------ 4 files changed, 24 insertions(+), 24 deletions(-) diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json index a5235708aca8..03f2fa5c99a0 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json @@ -335,7 +335,7 @@ "tags": [ "PrivateEndpointConnections" ], - "operationId": "PrivateEndpointConnections_COMP_ListByService", + "operationId": "PrivateEndpointConnectionsComp_ListByService", "description": "Lists all private endpoint connections for a service.", "parameters": [ { @@ -380,7 +380,7 @@ "tags": [ "PrivateEndpointConnections" ], - "operationId": "PrivateEndpointConnections_COMP_Get", + "operationId": "PrivateEndpointConnectionsComp_Get", "description": "Gets the specified private endpoint connection associated with the service.", "parameters": [ { @@ -423,7 +423,7 @@ "tags": [ "PrivateEndpointConnections" ], - "operationId": "PrivateEndpointConnections_COMP_CreateOrUpdate", + "operationId": "PrivateEndpointConnectionsComp_CreateOrUpdate", "description": "Update the state of the specified private endpoint connection associated with the service.", "parameters": [ { @@ -486,7 +486,7 @@ "PrivateEndpointConnections" ], "description": "Deletes a private endpoint connection.", - "operationId": "PrivateEndpointConnections_COMP_Delete", + "operationId": "PrivateEndpointConnectionsComp_Delete", "parameters": [ { "$ref": "./common-types.json#/parameters/subscriptionId" @@ -537,7 +537,7 @@ "tags": [ "PrivateLinkResources" ], - "operationId": "PrivateLinkResources_COMP_ListByService", + "operationId": "PrivateLinkResourcesComp_ListByService", "description": "Gets the private link resources that need to be created for a service.", "parameters": [ { @@ -579,7 +579,7 @@ "tags": [ "PrivateLinkResources" ], - "operationId": "PrivateLinkResources_COMP_Get", + "operationId": "PrivateLinkResourcesComp_Get", "description": "Gets a private link resource that need to be created for a service.", "parameters": [ { diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json index 404a6df91832..28f32de6aa16 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json @@ -335,7 +335,7 @@ "tags": [ "PrivateEndpointConnections" ], - "operationId": "PrivateEndpointConnections_SEC_ListByService", + "operationId": "PrivateEndpointConnectionsSec_ListByService", "description": "Lists all private endpoint connections for a service.", "parameters": [ { @@ -380,7 +380,7 @@ "tags": [ "PrivateEndpointConnections" ], - "operationId": "PrivateEndpointConnections_SEC_Get", + "operationId": "PrivateEndpointConnectionsSec_Get", "description": "Gets the specified private endpoint connection associated with the service.", "parameters": [ { @@ -423,7 +423,7 @@ "tags": [ "PrivateEndpointConnections" ], - "operationId": "PrivateEndpointConnections_SEC_CreateOrUpdate", + "operationId": "PrivateEndpointConnectionsSec_CreateOrUpdate", "description": "Update the state of the specified private endpoint connection associated with the service.", "parameters": [ { @@ -486,7 +486,7 @@ "PrivateEndpointConnections" ], "description": "Deletes a private endpoint connection.", - "operationId": "PrivateEndpointConnections_SEC_Delete", + "operationId": "PrivateEndpointConnectionsSec_Delete", "parameters": [ { "$ref": "./common-types.json#/parameters/subscriptionId" @@ -537,7 +537,7 @@ "tags": [ "PrivateLinkResources" ], - "operationId": "PrivateLinkResources_SEC_ListByService", + "operationId": "PrivateLinkResourcesSec_ListByService", "description": "Gets the private link resources that need to be created for a service.", "parameters": [ { @@ -579,7 +579,7 @@ "tags": [ "PrivateLinkResources" ], - "operationId": "PrivateLinkResources_SEC_Get", + "operationId": "PrivateLinkResourcesSec_Get", "description": "Gets a private link resource that need to be created for a service.", "parameters": [ { diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForO365ManagementActivityAPI.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForO365ManagementActivityAPI.json index 14dc90ccd123..b6989d752977 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForO365ManagementActivityAPI.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForO365ManagementActivityAPI.json @@ -335,7 +335,7 @@ "tags": [ "PrivateEndpointConnections" ], - "operationId": "PrivateEndpointConnections_ADTAPI_ListByService", + "operationId": "PrivateEndpointConnectionsAdtAPI_ListByService", "description": "Lists all private endpoint connections for a service.", "parameters": [ { @@ -380,7 +380,7 @@ "tags": [ "PrivateEndpointConnections" ], - "operationId": "PrivateEndpointConnections_ADTAPI_Get", + "operationId": "PrivateEndpointConnectionsAdtAPI_Get", "description": "Gets the specified private endpoint connection associated with the service.", "parameters": [ { @@ -423,7 +423,7 @@ "tags": [ "PrivateEndpointConnections" ], - "operationId": "PrivateEndpointConnections_ADTAPI_CreateOrUpdate", + "operationId": "PrivateEndpointConnectionsAdtAPI_CreateOrUpdate", "description": "Update the state of the specified private endpoint connection associated with the service.", "parameters": [ { @@ -486,7 +486,7 @@ "PrivateEndpointConnections" ], "description": "Deletes a private endpoint connection.", - "operationId": "PrivateEndpointConnections_ADTAPI_Delete", + "operationId": "PrivateEndpointConnectionsAdtAPI_Delete", "parameters": [ { "$ref": "./common-types.json#/parameters/subscriptionId" @@ -537,7 +537,7 @@ "tags": [ "PrivateLinkResources" ], - "operationId": "PrivateLinkResources_ADTAPI_ListByService", + "operationId": "PrivateLinkResourcesAdtAPI_ListByService", "description": "Gets the private link resources that need to be created for a service.", "parameters": [ { @@ -579,7 +579,7 @@ "tags": [ "PrivateLinkResources" ], - "operationId": "PrivateLinkResources_ADTAPI_Get", + "operationId": "PrivateLinkResourcesAdtAPI_Get", "description": "Gets a private link resource that need to be created for a service.", "parameters": [ { diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSCCPowershell.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSCCPowershell.json index 70e0e3352ecf..5346409ea411 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSCCPowershell.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSCCPowershell.json @@ -335,7 +335,7 @@ "tags": [ "PrivateEndpointConnections" ], - "operationId": "PrivateEndpointConnections_SCCPS_ListByService", + "operationId": "PrivateEndpointConnectionsSCCPS_ListByService", "description": "Lists all private endpoint connections for a service.", "parameters": [ { @@ -380,7 +380,7 @@ "tags": [ "PrivateEndpointConnections" ], - "operationId": "PrivateEndpointConnections_SCCPS_Get", + "operationId": "PrivateEndpointConnectionsSCCPS_Get", "description": "Gets the specified private endpoint connection associated with the service.", "parameters": [ { @@ -423,7 +423,7 @@ "tags": [ "PrivateEndpointConnections" ], - "operationId": "PrivateEndpointConnections_SCCPS_CreateOrUpdate", + "operationId": "PrivateEndpointConnectionsSCCPS_CreateOrUpdate", "description": "Update the state of the specified private endpoint connection associated with the service.", "parameters": [ { @@ -486,7 +486,7 @@ "PrivateEndpointConnections" ], "description": "Deletes a private endpoint connection.", - "operationId": "PrivateEndpointConnections_SCCPS_Delete", + "operationId": "PrivateEndpointConnectionsSCCPS_Delete", "parameters": [ { "$ref": "./common-types.json#/parameters/subscriptionId" @@ -537,7 +537,7 @@ "tags": [ "PrivateLinkResources" ], - "operationId": "PrivateLinkResources_SCCPS_ListByService", + "operationId": "PrivateLinkResourcesSCCPS_ListByService", "description": "Gets the private link resources that need to be created for a service.", "parameters": [ { @@ -579,7 +579,7 @@ "tags": [ "PrivateLinkResources" ], - "operationId": "PrivateLinkResources_SCCPS_Get", + "operationId": "PrivateLinkResourcesSCCPS_Get", "description": "Gets a private link resource that need to be created for a service.", "parameters": [ { From ec3caa005e89badda91ff3ab217f65eb693a35bb Mon Sep 17 00:00:00 2001 From: Sonal Verma Date: Thu, 18 Feb 2021 18:06:31 +0530 Subject: [PATCH 24/27] fix track validation errors --- .../2021-01-11/privateLinkServicesForM365ComplianceCenter.json | 2 +- .../2021-01-11/privateLinkServicesForM365SecurityCenter.json | 2 +- .../privateLinkServicesForO365ManagementActivityAPI.json | 2 +- .../stable/2021-01-11/privateLinkServicesForSCCPowershell.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json index 03f2fa5c99a0..ca3c0238340b 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365ComplianceCenter.json @@ -204,7 +204,7 @@ "Resource" ], "description": "Delete a service instance.", - "operationId": "Services_Delete", + "operationId": "privateLinkServicesForM365ComplianceCenter_Delete", "x-ms-examples": { "Delete service": { "$ref": "./examples/ComplianceCenterServiceDelete.json" diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json index 28f32de6aa16..82f3424a5e45 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForM365SecurityCenter.json @@ -204,7 +204,7 @@ "Resource" ], "description": "Delete a service instance.", - "operationId": "Services_Delete", + "operationId": "privateLinkServicesForM365SecurityCenter_Delete", "x-ms-examples": { "Delete service": { "$ref": "./examples/SecurityCenterServiceDelete.json" diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForO365ManagementActivityAPI.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForO365ManagementActivityAPI.json index b6989d752977..97e2f60e80ee 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForO365ManagementActivityAPI.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForO365ManagementActivityAPI.json @@ -204,7 +204,7 @@ "Resource" ], "description": "Delete a service instance.", - "operationId": "Services_Delete", + "operationId": "privateLinkServicesForO365ManagementActivityAPI_Delete", "x-ms-examples": { "Delete service": { "$ref": "./examples/ManagementAPIServiceDelete.json" diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSCCPowershell.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSCCPowershell.json index 5346409ea411..ab575020de93 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSCCPowershell.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSCCPowershell.json @@ -204,7 +204,7 @@ "Resource" ], "description": "Delete a service instance.", - "operationId": "Services_Delete", + "operationId": "privateLinkServicesForSCCPowershell_Delete", "x-ms-examples": { "Delete service": { "$ref": "./examples/SCCPowershellServiceDelete.json" From de014464d93fae515a1db35021f446aca1ee50f6 Mon Sep 17 00:00:00 2001 From: Sonal Verma Date: Thu, 18 Feb 2021 18:10:38 +0530 Subject: [PATCH 25/27] fix spell check --- .../2021-01-11/privateLinkServicesForSCCPowershell.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSCCPowershell.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSCCPowershell.json index ab575020de93..90af4b72eea7 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSCCPowershell.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSCCPowershell.json @@ -335,7 +335,7 @@ "tags": [ "PrivateEndpointConnections" ], - "operationId": "PrivateEndpointConnectionsSCCPS_ListByService", + "operationId": "PrivateEndpointConnectionsForSCCPowershell_ListByService", "description": "Lists all private endpoint connections for a service.", "parameters": [ { @@ -380,7 +380,7 @@ "tags": [ "PrivateEndpointConnections" ], - "operationId": "PrivateEndpointConnectionsSCCPS_Get", + "operationId": "PrivateEndpointConnectionsForSCCPowershell_Get", "description": "Gets the specified private endpoint connection associated with the service.", "parameters": [ { @@ -423,7 +423,7 @@ "tags": [ "PrivateEndpointConnections" ], - "operationId": "PrivateEndpointConnectionsSCCPS_CreateOrUpdate", + "operationId": "PrivateEndpointConnectionsForSCCPowershell_CreateOrUpdate", "description": "Update the state of the specified private endpoint connection associated with the service.", "parameters": [ { @@ -486,7 +486,7 @@ "PrivateEndpointConnections" ], "description": "Deletes a private endpoint connection.", - "operationId": "PrivateEndpointConnectionsSCCPS_Delete", + "operationId": "PrivateEndpointConnectionsForSCCPowershell_Delete", "parameters": [ { "$ref": "./common-types.json#/parameters/subscriptionId" From dd7d30d0330c667228094dfcbb5f66f4dc756a56 Mon Sep 17 00:00:00 2001 From: Sonal Verma Date: Thu, 18 Feb 2021 18:16:18 +0530 Subject: [PATCH 26/27] fix spell check --- .../2021-01-11/privateLinkServicesForEDMUpload.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForEDMUpload.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForEDMUpload.json index 9ce1aa8e6ed8..ff8441b37279 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForEDMUpload.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForEDMUpload.json @@ -335,7 +335,7 @@ "tags": [ "PrivateEndpointConnections" ], - "operationId": "PrivateEndpointConnections_EDM_ListByService", + "operationId": "PrivateEndpointConnectionsForEDM_ListByService", "description": "Lists all private endpoint connections for a service.", "parameters": [ { @@ -380,7 +380,7 @@ "tags": [ "PrivateEndpointConnections" ], - "operationId": "PrivateEndpointConnections_EDM_Get", + "operationId": "PrivateEndpointConnectionsForEDM_Get", "description": "Gets the specified private endpoint connection associated with the service.", "parameters": [ { @@ -423,7 +423,7 @@ "tags": [ "PrivateEndpointConnections" ], - "operationId": "PrivateEndpointConnections_EDM_CreateOrUpdate", + "operationId": "PrivateEndpointConnectionsForEDM_CreateOrUpdate", "description": "Update the state of the specified private endpoint connection associated with the service.", "parameters": [ { @@ -486,7 +486,7 @@ "PrivateEndpointConnections" ], "description": "Deletes a private endpoint connection.", - "operationId": "PrivateEndpointConnections_EDM_Delete", + "operationId": "PrivateEndpointConnectionsForEDM_Delete", "parameters": [ { "$ref": "./common-types.json#/parameters/subscriptionId" From 7e8e9d8744729f0d8b2e3fde18ea11f5244e8bde Mon Sep 17 00:00:00 2001 From: Sonal Verma Date: Thu, 18 Feb 2021 18:21:23 +0530 Subject: [PATCH 27/27] fix pipeline errors --- .../2021-01-11/privateLinkServicesForSCCPowershell.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSCCPowershell.json b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSCCPowershell.json index 90af4b72eea7..323831816504 100644 --- a/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSCCPowershell.json +++ b/specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/privateLinkServicesForSCCPowershell.json @@ -537,7 +537,7 @@ "tags": [ "PrivateLinkResources" ], - "operationId": "PrivateLinkResourcesSCCPS_ListByService", + "operationId": "PrivateLinkResourcesForSCCPowershell_ListByService", "description": "Gets the private link resources that need to be created for a service.", "parameters": [ { @@ -579,7 +579,7 @@ "tags": [ "PrivateLinkResources" ], - "operationId": "PrivateLinkResourcesSCCPS_Get", + "operationId": "PrivateLinkResourcesForSCCPowershell_Get", "description": "Gets a private link resource that need to be created for a service.", "parameters": [ {