Skip to content

Commit

Permalink
Updated the models to include systemData and removed the supression f…
Browse files Browse the repository at this point in the history
…or systemData
  • Loading branch information
Melvin Bosnjak committed Mar 9, 2021
1 parent bd75cbc commit dffc07c
Show file tree
Hide file tree
Showing 8 changed files with 222 additions and 135 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-12345678abc",
"location": "sampleLocation",
"deletedAccountName": "account1",
"api-version": "2018-12-01-preview"
},
"responses": {
"200": {
"headers": {
"Date": "Wed, 13 Sep 2017 18:04:32 GMT",
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
"X-Content-Type-Options": "nosniff",
"x-ms-ratelimit-remaining-tenant-reads": "14999",
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
},
"body": {
"id": "/subscriptions/12345678-1234-1234-12345678abc/providers/Microsoft.Purview/locations/sampleLocation/deletedAccounts/account1",
"name": "account1",
"type": "Microsoft.Purview/deletedAccounts",
"properties": {
"accountId": "/subscriptions/12345678-1234-1234-12345678abc/resourceGroups/sampleResourceGroup/providers/Microsoft.Purview/accounts/account1",
"location": "sampleLocation",
"deletionDate": "2019-11-22T18:39:58.6929344Z",
"scheduledPurgeDate": "2019-11-28T18:39:58.6929344Z",
"deletedBy": "test-client",
"tags": {}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"parameters": {
"api-version": "2018-12-01-preview",
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
},
"responses": {
"200": {
"headers": {
"Date": "Wed, 13 Sep 2017 17:33:55 GMT",
"x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba",
"X-Content-Type-Options": "nosniff",
"x-ms-ratelimit-remaining-subscription-reads": "14993",
"x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed"
},
"body": {
"value": [
{
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Purview/locations/sampleLocation/deletedAccounts/account1",
"name": "account1",
"type": "Microsoft.Purview/deletedAccounts",
"properties": {
"accountId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/sampleResourceGroup/providers/Microsoft.Purview/accounts/account1",
"location": "sampleLocation",
"deletionDate": "2019-11-22T18:39:58.6929344Z",
"scheduledPurgeDate": "2019-11-28T18:39:58.6929344Z",
"deletedBy": "test-client",
"tags": {}
}
},
{
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Purview/locations/sampleLocation/deletedAccounts/account2",
"name": "account2",
"type": "Microsoft.Purview/deletedAccounts",
"properties": {
"accountId": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/sampleResourceGroup/providers/Microsoft.Purview/accounts/account2",
"location": "sampleLocation",
"deletionDate": "2019-12-22T18:39:58.6929344Z",
"scheduledPurgeDate": "2019-12-28T18:39:58.6929344Z",
"deletedBy": "test-client2",
"tags": {
"tester": "e2e test"
}
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-12345678abc",
"location": "sampleLocation",
"deletedAccountName": "account1",
"api-version": "2018-12-01-preview"
},
"responses": {
"202": {
"headers": {
"Date": "Wed, 13 Sep 2017 18:04:32 GMT",
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
"X-Content-Type-Options": "nosniff",
"x-ms-ratelimit-remaining-tenant-reads": "14999",
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd",
"x-ms-long-running-operation": true,
"Azure-AsyncOperation": "https://management.azure.com/subscriptions34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/providers/Microsoft.Purview/locations/sampleLocation/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2018-12-01-preview"
}
},
"204": {
"headers": {
"Date": "Wed, 13 Sep 2017 18:04:32 GMT",
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
"X-Content-Type-Options": "nosniff",
"x-ms-ratelimit-remaining-tenant-reads": "14999",
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,8 @@
"type": "Microsoft.Purview/accounts/privateLinkResources",
"properties": {
"groupId": "group1",
"requiredMembers": [
"group1"
],
"requiredZoneNames": [
"privatelinkzone1.service.azure.com"
]
"requiredMembers": ["group1"],
"requiredZoneNames": ["privatelinkzone1.service.azure.com"]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,8 @@
"type": "Microsoft.Purview/accounts/privateLinkResources",
"properties": {
"groupId": "account1",
"requiredMembers": [
"account1"
],
"requiredZoneNames": [
"privatelinkzone1.service.azure.com"
]
"requiredMembers": ["account1"],
"requiredZoneNames": ["privatelinkzone1.service.azure.com"]
}
},
{
Expand All @@ -36,12 +32,8 @@
"type": "Microsoft.Purview/accounts/privateLinkResources",
"properties": {
"groupId": "account2",
"requiredMembers": [
"account2"
],
"requiredZoneNames": [
"privatelinkzone2.service.azure.com"
]
"requiredMembers": ["account2"],
"requiredZoneNames": ["privatelinkzone2.service.azure.com"]
}
}
]
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit dffc07c

Please sign in to comment.