forked from Azure/azure-sdk-for-python
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new RP Microsoft.SecurityAndCompliance (Azure#12812)
* add new RP Microsoft.SecurityAndCompliance * add resource types for security compliance auditing EDM Powershell * update json file names in readme * address review comments * fix errors * add privatelinks.json * add privatelinks.json in readme * prettfiy privatelinks.json * fix types.json path * fix pipeline issues * remove duplicate schema * refer privatelinks.json * rename resource types * fix pipeline errors * address review comments * address PR review comments * update readme * add reference to operationslist.json * update file name in readme * remove privatelinks.json ref * add readonly true * fix track validation errors * fix track validation errors * fix track validation errors * fix spell check * fix spell check * fix pipeline errors Co-authored-by: Sonal Verma <[email protected]>
- Loading branch information
Showing
84 changed files
with
9,039 additions
and
0 deletions.
There are no files selected for viewing
829 changes: 829 additions & 0 deletions
829
...ance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/common-types.json
Large diffs are not rendered by default.
Oops, something went wrong.
48 changes: 48 additions & 0 deletions
48
...soft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterOperationsList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-01-11" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/read", | ||
"display": {}, | ||
"origin": "user,system" | ||
}, | ||
{ | ||
"name": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/write", | ||
"display": {}, | ||
"origin": "user,system" | ||
}, | ||
{ | ||
"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" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...urityAndCompliance/stable/2021-01-11/examples/ComplianceCenterPrivateLinkResourceGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
} | ||
} | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...pliance/stable/2021-01-11/examples/ComplianceCenterPrivateLinkResourcesListByService.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
193 changes: 193 additions & 0 deletions
193
...osoft.SecurityAndCompliance/stable/2021-01-11/examples/ComplianceCenterServiceCreate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.