Skip to content

Commit 3ae2e25

Browse files
sonalvermSonal Verma
andauthored
Add new RP Microsoft.SecurityAndCompliance (#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 <sonal.verma@microsoft.com>
1 parent 231d094 commit 3ae2e25

File tree

84 files changed

+9039
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+9039
-0
lines changed

specification/securityandcompliance/resource-manager/Microsoft.SecurityAndCompliance/stable/2021-01-11/common-types.json

Lines changed: 829 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-01-11"
4+
},
5+
"responses": {
6+
"200": {
7+
"body": {
8+
"value": [
9+
{
10+
"name": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/read",
11+
"display": {},
12+
"origin": "user,system"
13+
},
14+
{
15+
"name": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/write",
16+
"display": {},
17+
"origin": "user,system"
18+
},
19+
{
20+
"name": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/delete",
21+
"display": {},
22+
"origin": "user,system"
23+
},
24+
{
25+
"name": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/privateEndpointConnections/read",
26+
"display": {},
27+
"origin": "user,system"
28+
},
29+
{
30+
"name": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/privateEndpointConnections/write",
31+
"display": {},
32+
"origin": "user,system"
33+
},
34+
{
35+
"name": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/privateEndpointConnections/delete",
36+
"display": {},
37+
"origin": "user,system"
38+
},
39+
{
40+
"name": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/privateLinkResources/read",
41+
"display": {},
42+
"origin": "user,system"
43+
}
44+
]
45+
}
46+
}
47+
}
48+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-01-11",
4+
"subscriptionId": "subid",
5+
"resourceGroupName": "rgname",
6+
"resourceName": "service1",
7+
"groupName": "fhir"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/service1/privateLinkResources/fhir",
13+
"name": "fhir",
14+
"type": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/privateLinkResources",
15+
"properties": {
16+
"groupId": "fhir",
17+
"requiredMembers": [
18+
"fhir"
19+
],
20+
"requiredZoneNames": [
21+
"privatelink.security.microsoft.com"
22+
]
23+
},
24+
"systemData": {
25+
"createdBy": "sove",
26+
"createdByType": "User",
27+
"createdAt": "2021-01-11T13:30:28.958Z",
28+
"lastModifiedBy": "sove",
29+
"lastModifiedByType": "User",
30+
"lastModifiedAt": "2021-01-11T13:30:28.958Z"
31+
}
32+
}
33+
}
34+
}
35+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"parameters": {
3+
"api-version": "2021-01-11",
4+
"subscriptionId": "subid",
5+
"resourceGroupName": "rgname",
6+
"resourceName": "service1"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/service1/privateLinkResources/fhir",
14+
"name": "fhir",
15+
"type": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/privateLinkResources",
16+
"properties": {
17+
"groupId": "fhir",
18+
"requiredMembers": [
19+
"fhir"
20+
],
21+
"requiredZoneNames": [
22+
"privatelink.compliance.microsoft.com"
23+
]
24+
}
25+
}
26+
]
27+
}
28+
}
29+
}
30+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,193 @@
1+
{
2+
"parameters": {
3+
"resourceName": "service1",
4+
"resourceGroupName": "rg1",
5+
"api-version": "2021-01-11",
6+
"subscriptionId": "subid",
7+
"PrivateLinkServicesForM365ComplianceCenterDescription": {
8+
"location": "westus2",
9+
"tags": {},
10+
"kind": "fhir-R4",
11+
"properties": {
12+
"accessPolicies": [
13+
{
14+
"objectId": "c487e7d1-3210-41a3-8ccc-e9372b78da47"
15+
},
16+
{
17+
"objectId": "5b307da8-43d4-492b-8b66-b0294ade872f"
18+
}
19+
],
20+
"cosmosDbConfiguration": {
21+
"offerThroughput": 1000,
22+
"keyVaultKeyUri": "https://my-vault.vault.azure.net/keys/my-key"
23+
},
24+
"authenticationConfiguration": {
25+
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
26+
"audience": "https://azurehealthcareapis.com",
27+
"smartProxyEnabled": true
28+
},
29+
"corsConfiguration": {
30+
"origins": [
31+
"*"
32+
],
33+
"headers": [
34+
"*"
35+
],
36+
"methods": [
37+
"DELETE",
38+
"GET",
39+
"OPTIONS",
40+
"PATCH",
41+
"POST",
42+
"PUT"
43+
],
44+
"maxAge": 1440,
45+
"allowCredentials": false
46+
},
47+
"exportConfiguration": {
48+
"storageAccountName": "existingStorageAccount"
49+
},
50+
"privateEndpointConnections": [],
51+
"publicNetworkAccess": "Disabled"
52+
},
53+
"identity": {
54+
"type": "SystemAssigned"
55+
}
56+
}
57+
},
58+
"responses": {
59+
"200": {
60+
"body": {
61+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/service1",
62+
"name": "service1",
63+
"location": "West US 2",
64+
"type": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter",
65+
"kind": "fhir-R4",
66+
"etag": "etagvalue",
67+
"tags": {},
68+
"properties": {
69+
"provisioningState": "Creating",
70+
"accessPolicies": [
71+
{
72+
"objectId": "c487e7d1-3210-41a3-8ccc-e9372b78da47"
73+
},
74+
{
75+
"objectId": "5b307da8-43d4-492b-8b66-b0294ade872f"
76+
}
77+
],
78+
"cosmosDbConfiguration": {
79+
"offerThroughput": 1000,
80+
"keyVaultKeyUri": "https://my-vault.vault.azure.net/keys/my-key"
81+
},
82+
"authenticationConfiguration": {
83+
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
84+
"audience": "https://azurehealthcareapis.com",
85+
"smartProxyEnabled": true
86+
},
87+
"corsConfiguration": {
88+
"origins": [
89+
"*"
90+
],
91+
"headers": [
92+
"*"
93+
],
94+
"methods": [
95+
"DELETE",
96+
"GET",
97+
"OPTIONS",
98+
"PATCH",
99+
"POST",
100+
"PUT"
101+
],
102+
"maxAge": 1440,
103+
"allowCredentials": false
104+
},
105+
"exportConfiguration": {
106+
"storageAccountName": "existingStorageAccount"
107+
},
108+
"privateEndpointConnections": [],
109+
"publicNetworkAccess": "Disabled"
110+
},
111+
"systemData": {
112+
"createdBy": "sove",
113+
"createdByType": "User",
114+
"createdAt": "2021-01-11T13:30:28.958Z",
115+
"lastModifiedBy": "sove",
116+
"lastModifiedByType": "User",
117+
"lastModifiedAt": "2021-01-11T13:30:28.958Z"
118+
},
119+
"identity": {
120+
"principalId": "03fe6ae0-952c-4e4b-954b-cc0364dd252e",
121+
"tenantId": "72f988bf-86f1-41af-91ab-2d8cd011db47",
122+
"type": "SystemAssigned"
123+
}
124+
}
125+
},
126+
"201": {
127+
"body": {
128+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter/service1",
129+
"name": "service1",
130+
"location": "West US 2",
131+
"type": "Microsoft.SecurityAndCompliance/privateLinkServicesForM365ComplianceCenter",
132+
"kind": "fhir-R4",
133+
"etag": "etagvalue",
134+
"tags": {},
135+
"properties": {
136+
"provisioningState": "Creating",
137+
"accessPolicies": [
138+
{
139+
"objectId": "c487e7d1-3210-41a3-8ccc-e9372b78da47"
140+
},
141+
{
142+
"objectId": "5b307da8-43d4-492b-8b66-b0294ade872f"
143+
}
144+
],
145+
"cosmosDbConfiguration": {
146+
"offerThroughput": 1000
147+
},
148+
"authenticationConfiguration": {
149+
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
150+
"audience": "https://azurehealthcareapis.com",
151+
"smartProxyEnabled": true
152+
},
153+
"corsConfiguration": {
154+
"origins": [
155+
"*"
156+
],
157+
"headers": [
158+
"*"
159+
],
160+
"methods": [
161+
"DELETE",
162+
"GET",
163+
"OPTIONS",
164+
"PATCH",
165+
"POST",
166+
"PUT"
167+
],
168+
"maxAge": 1440,
169+
"allowCredentials": false
170+
},
171+
"exportConfiguration": {
172+
"storageAccountName": "existingStorageAccount"
173+
},
174+
"privateEndpointConnections": [],
175+
"publicNetworkAccess": "Disabled"
176+
},
177+
"systemData": {
178+
"createdBy": "sove",
179+
"createdByType": "User",
180+
"createdAt": "2021-01-11T13:30:28.958Z",
181+
"lastModifiedBy": "sove",
182+
"lastModifiedByType": "User",
183+
"lastModifiedAt": "2021-01-11T13:30:28.958Z"
184+
},
185+
"identity": {
186+
"principalId": "03fe6ae0-952c-4e4b-954b-cc0364dd252e",
187+
"tenantId": "72f988bf-86f1-41af-91ab-2d8cd011db47",
188+
"type": "SystemAssigned"
189+
}
190+
}
191+
}
192+
}
193+
}

0 commit comments

Comments
 (0)