Skip to content

Commit

Permalink
Azure Purview Public Preview API (#12077)
Browse files Browse the repository at this point in the history
  • Loading branch information
annoakes authored Dec 16, 2020
1 parent aefa9e7 commit 16f08cb
Show file tree
Hide file tree
Showing 20 changed files with 2,924 additions and 0 deletions.
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
}
}
}
}
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"
}
}
}
}
}
}
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"
}
}
}
}
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"
}
}
}
}
}
}
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"
}
}
}
]
}
}
}
}
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"
}
}
}
]
}
}
}
}
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="
}
}
}
}
Loading

0 comments on commit 16f08cb

Please sign in to comment.