forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Azure Purview Public Preview API (Azure#12077)
- Loading branch information
Showing
20 changed files
with
2,924 additions
and
0 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
...Microsoft.Purview/preview/2020-12-01-preview/examples/Accounts_CheckNameAvailability.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,24 @@ | ||
{ | ||
"parameters": { | ||
"checkNameAvailabilityRequest": { | ||
"name": "account1", | ||
"type": "Microsoft.Purview/accounts" | ||
}, | ||
"api-version": "2018-12-01-preview", | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345" | ||
}, | ||
"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": { | ||
"nameAvailable": true | ||
} | ||
} | ||
} | ||
} |
82 changes: 82 additions & 0 deletions
82
...anager/Microsoft.Purview/preview/2020-12-01-preview/examples/Accounts_CreateOrUpdate.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,82 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "SampleResourceGroup", | ||
"accountName": "account1", | ||
"api-version": "2018-12-01-preview", | ||
"account": { | ||
"location": "West US 2", | ||
"sku": { | ||
"name": "Standard", | ||
"capacity": 4 | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"201": { | ||
"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": { | ||
"location": "West US 2", | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/SampleResourceGroup/providers/Microsoft.Purview/accounts/account1", | ||
"name": "account1", | ||
"type": "Microsoft.Purview/accounts", | ||
"properties": { | ||
"friendlyName": "friendly-account1", | ||
"createdBy": "client-name", | ||
"createdByObjectId": "client-objectId", | ||
"createdAt": "2019-11-22T18:39:58.6929344Z", | ||
"provisioningState": "Creating", | ||
"endpoints": { | ||
"catalog": "https://account1.catalog.purview.azure-test.com", | ||
"scan": "https://account1.scan.purview.azure-test.com", | ||
"guardian": "https://account1.guardian.purview.azure-test.com" | ||
}, | ||
"networkAcls": { | ||
"defaultAction": "Allow" | ||
} | ||
} | ||
} | ||
}, | ||
"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": { | ||
"location": "West US 2", | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/SampleResourceGroup/providers/Microsoft.Purview/accounts/account1", | ||
"name": "account1", | ||
"type": "Microsoft.Purview/accounts", | ||
"properties": { | ||
"friendlyName": "friendly-account1", | ||
"createdBy": "client-name", | ||
"createdByObjectId": "client-objectId", | ||
"createdAt": "2019-11-22T18:39:58.6929344Z", | ||
"provisioningState": "Succeeded", | ||
"endpoints": { | ||
"catalog": "https://account1.catalog.purview.azure-test.com", | ||
"scan": "https://account1.scan.purview.azure-test.com", | ||
"guardian": "https://account1.guardian.purview.azure-test.com" | ||
}, | ||
"networkAcls": { | ||
"defaultAction": "Allow" | ||
}, | ||
"managedResources": { | ||
"resourceGroup": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/managed-rg-mwjotkl", | ||
"storageAccount": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/managed-rg-mwjotkl/providers/Microsoft.Storage/storageAccounts/scanwestustzaagzr", | ||
"eventHubNamespace": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/managed-rg-mwjotkl/providers/Microsoft.EventHub/namespaces/atlas-westusdddnbtp" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
...source-manager/Microsoft.Purview/preview/2020-12-01-preview/examples/Accounts_Delete.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,39 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "SampleResourceGroup", | ||
"accountName": "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" | ||
} | ||
}, | ||
"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/resourceGroups/SampleResourceGroup/providers/Microsoft.Purview/accounts/account1/operationResults/dad6baec-3a39-41df-a469-843a9ee94213?api-version=2019-10-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" | ||
} | ||
} | ||
} | ||
} |
67 changes: 67 additions & 0 deletions
67
.../resource-manager/Microsoft.Purview/preview/2020-12-01-preview/examples/Accounts_Get.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,67 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "12345678-1234-1234-12345678abc", | ||
"resourceGroupName": "SampleResourceGroup", | ||
"accountName": "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": { | ||
"location": "West US 2", | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/SampleResourceGroup/providers/Microsoft.Purview/accounts/account1", | ||
"name": "account1", | ||
"type": "Microsoft.Purview/accounts", | ||
"sku": { | ||
"name": "Standard", | ||
"capacity": 4 | ||
}, | ||
"properties": { | ||
"friendlyName": "friendly-account1", | ||
"createdBy": "client-name", | ||
"createdByObjectId": "client-objectId", | ||
"createdAt": "2019-11-22T18:39:58.6929344Z", | ||
"provisioningState": "Succeeded", | ||
"endpoints": { | ||
"catalog": "https://account1.catalog.purview.azure-test.com", | ||
"scan": "https://account1.scan.purview.azure-test.com", | ||
"guardian": "https://account1.guardian.purview.azure-test.com" | ||
}, | ||
"privateEndpointConnections": [ | ||
{ | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"privateEndpoint": { | ||
"id": "/subscriptions/baca8a88-4527-4c35-a13e-b2775ce0d7fc/resourceGroups/nrpResourceGroupName/providers/Microsoft.Network/privateEndpoints/peName" | ||
}, | ||
"privateLinkServiceConnectionState": { | ||
"status": "Pending", | ||
"description": "Please approve my connection, thanks.", | ||
"actionsRequired": "None" | ||
} | ||
}, | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/SampleResourceGroup/providers/Microsoft.Purview/accounts/account1/privateEndpointConnections/peName-8536c337-7b36-4d67-a7ce-081655baf59e", | ||
"name": "peName-8536c337-7b36-4d67-a7ce-081655baf59e", | ||
"type": "Microsoft.Purview/accounts/privateEndpointConnections" | ||
} | ||
], | ||
"networkAcls": { | ||
"defaultAction": "Allow" | ||
}, | ||
"managedResources": { | ||
"resourceGroup": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/managed-rg-mwjotkl", | ||
"storageAccount": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/managed-rg-mwjotkl/providers/Microsoft.Storage/storageAccounts/scanwestustzaagzr", | ||
"eventHubNamespace": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/managed-rg-mwjotkl/providers/Microsoft.EventHub/namespaces/atlas-westusdddnbtp" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
72 changes: 72 additions & 0 deletions
72
...r/Microsoft.Purview/preview/2020-12-01-preview/examples/Accounts_ListByResourceGroup.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,72 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2018-12-01-preview", | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "SampleResourceGroup" | ||
}, | ||
"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": [ | ||
{ | ||
"location": "West US 2", | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/SampleResourceGroup/providers/Microsoft.Purview/accounts/account1", | ||
"name": "account1", | ||
"type": "Microsoft.Purview/accounts", | ||
"sku": { | ||
"name": "Standard", | ||
"capacity": 4 | ||
}, | ||
"properties": { | ||
"friendlyName": "friendly-account1", | ||
"createdBy": "client-name", | ||
"createdByObjectId": "client-objectId", | ||
"createdAt": "2019-11-22T18:39:58.6929344Z", | ||
"provisioningState": "Succeeded", | ||
"endpoints": { | ||
"catalog": "https://account1.catalog.purview.azure-test.com", | ||
"scan": "https://account1.scan.purview.azure-test.com", | ||
"guardian": "https://account1.guardian.purview.azure-test.com" | ||
}, | ||
"networkAcls": { | ||
"defaultAction": "Allow" | ||
} | ||
} | ||
}, | ||
{ | ||
"location": "West US 2", | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/SampleResourceGroup/providers/Microsoft.Purview/accounts/account2", | ||
"name": "account2", | ||
"type": "Microsoft.Purview/accounts", | ||
"sku": { | ||
"name": "Standard", | ||
"capacity": 4 | ||
}, | ||
"properties": { | ||
"friendlyName": "friendly-account1", | ||
"createdBy": "client-name", | ||
"createdByObjectId": "client-objectId", | ||
"createdAt": "2019-11-22T18:39:58.6929344Z", | ||
"provisioningState": "Succeeded", | ||
"endpoints": { | ||
"catalog": "https://account2.catalog.purview.azure-test.com", | ||
"scan": "https://account2.scan.purview.azure-test.com", | ||
"guardian": "https://account1.guardian.purview.azure-test.com" | ||
}, | ||
"networkAcls": { | ||
"defaultAction": "Allow" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
71 changes: 71 additions & 0 deletions
71
...er/Microsoft.Purview/preview/2020-12-01-preview/examples/Accounts_ListBySubscription.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,71 @@ | ||
{ | ||
"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": [ | ||
{ | ||
"location": "West US 2", | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/SampleResourceGroup/providers/Microsoft.Purview/accounts/account1", | ||
"name": "account1", | ||
"type": "Microsoft.Purview/accounts", | ||
"sku": { | ||
"name": "Standard", | ||
"capacity": 4 | ||
}, | ||
"properties": { | ||
"friendlyName": "friendly-account1", | ||
"createdBy": "client-name", | ||
"createdByObjectId": "client-objectId", | ||
"createdAt": "2019-11-22T18:39:58.6929344Z", | ||
"provisioningState": "Succeeded", | ||
"endpoints": { | ||
"catalog": "https://account1.catalog.purview.azure-test.com", | ||
"scan": "https://account1.scan.purview.azure-test.com", | ||
"guardian": "https://account1.guardian.purview.azure-test.com" | ||
}, | ||
"networkAcls": { | ||
"defaultAction": "Allow" | ||
} | ||
} | ||
}, | ||
{ | ||
"location": "West US 2", | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/SampleResourceGroup/providers/Microsoft.Purview/accounts/account2", | ||
"name": "account2", | ||
"type": "Microsoft.Purview/accounts", | ||
"sku": { | ||
"name": "Standard", | ||
"capacity": 4 | ||
}, | ||
"properties": { | ||
"friendlyName": "friendly-account1", | ||
"createdBy": "client-name", | ||
"createdByObjectId": "client-objectId", | ||
"createdAt": "2019-11-22T18:39:58.6929344Z", | ||
"provisioningState": "Succeeded", | ||
"endpoints": { | ||
"catalog": "https://account2.catalog.purview.azure-test.com", | ||
"scan": "https://account2.scan.purview.azure-test.com", | ||
"guardian": "https://account1.guardian.purview.azure-test.com" | ||
}, | ||
"networkAcls": { | ||
"defaultAction": "Allow" | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...urce-manager/Microsoft.Purview/preview/2020-12-01-preview/examples/Accounts_ListKeys.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,23 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "12345678-1234-1234-12345678abc", | ||
"resourceGroupName": "SampleResourceGroup", | ||
"accountName": "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": { | ||
"atlasKafkaPrimaryEndpoint": "Endpoint=sb://fake_objectId.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=ASDASasdfmasdf123412341234=", | ||
"atlasKafkaSecondaryEndpoint": "Endpoint=sb://fake_objectId.servicebus.windows.net/;SharedAccessKeyName=AlternateSharedAccessKey;SharedAccessKey=BSDASasdfmasdf123412341234=" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.