Skip to content

Commit 680640a

Browse files
annoakesjosuh
authored andcommitted
Azure Purview Public Preview API (Azure#12077)
1 parent c299836 commit 680640a

20 files changed

+2924
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"parameters": {
3+
"checkNameAvailabilityRequest": {
4+
"name": "account1",
5+
"type": "Microsoft.Purview/accounts"
6+
},
7+
"api-version": "2018-12-01-preview",
8+
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
9+
},
10+
"responses": {
11+
"200": {
12+
"headers": {
13+
"Date": "Wed, 13 Sep 2017 18:04:32 GMT",
14+
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
15+
"X-Content-Type-Options": "nosniff",
16+
"x-ms-ratelimit-remaining-tenant-reads": "14999",
17+
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
18+
},
19+
"body": {
20+
"nameAvailable": true
21+
}
22+
}
23+
}
24+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
4+
"resourceGroupName": "SampleResourceGroup",
5+
"accountName": "account1",
6+
"api-version": "2018-12-01-preview",
7+
"account": {
8+
"location": "West US 2",
9+
"sku": {
10+
"name": "Standard",
11+
"capacity": 4
12+
}
13+
}
14+
},
15+
"responses": {
16+
"201": {
17+
"headers": {
18+
"Date": "Wed, 13 Sep 2017 18:04:32 GMT",
19+
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
20+
"X-Content-Type-Options": "nosniff",
21+
"x-ms-ratelimit-remaining-tenant-reads": "14999",
22+
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
23+
},
24+
"body": {
25+
"location": "West US 2",
26+
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/SampleResourceGroup/providers/Microsoft.Purview/accounts/account1",
27+
"name": "account1",
28+
"type": "Microsoft.Purview/accounts",
29+
"properties": {
30+
"friendlyName": "friendly-account1",
31+
"createdBy": "client-name",
32+
"createdByObjectId": "client-objectId",
33+
"createdAt": "2019-11-22T18:39:58.6929344Z",
34+
"provisioningState": "Creating",
35+
"endpoints": {
36+
"catalog": "https://account1.catalog.purview.azure-test.com",
37+
"scan": "https://account1.scan.purview.azure-test.com",
38+
"guardian": "https://account1.guardian.purview.azure-test.com"
39+
},
40+
"networkAcls": {
41+
"defaultAction": "Allow"
42+
}
43+
}
44+
}
45+
},
46+
"200": {
47+
"headers": {
48+
"Date": "Wed, 13 Sep 2017 18:04:32 GMT",
49+
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
50+
"X-Content-Type-Options": "nosniff",
51+
"x-ms-ratelimit-remaining-tenant-reads": "14999",
52+
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
53+
},
54+
"body": {
55+
"location": "West US 2",
56+
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/SampleResourceGroup/providers/Microsoft.Purview/accounts/account1",
57+
"name": "account1",
58+
"type": "Microsoft.Purview/accounts",
59+
"properties": {
60+
"friendlyName": "friendly-account1",
61+
"createdBy": "client-name",
62+
"createdByObjectId": "client-objectId",
63+
"createdAt": "2019-11-22T18:39:58.6929344Z",
64+
"provisioningState": "Succeeded",
65+
"endpoints": {
66+
"catalog": "https://account1.catalog.purview.azure-test.com",
67+
"scan": "https://account1.scan.purview.azure-test.com",
68+
"guardian": "https://account1.guardian.purview.azure-test.com"
69+
},
70+
"networkAcls": {
71+
"defaultAction": "Allow"
72+
},
73+
"managedResources": {
74+
"resourceGroup": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/managed-rg-mwjotkl",
75+
"storageAccount": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/managed-rg-mwjotkl/providers/Microsoft.Storage/storageAccounts/scanwestustzaagzr",
76+
"eventHubNamespace": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/managed-rg-mwjotkl/providers/Microsoft.EventHub/namespaces/atlas-westusdddnbtp"
77+
}
78+
}
79+
}
80+
}
81+
}
82+
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
4+
"resourceGroupName": "SampleResourceGroup",
5+
"accountName": "account1",
6+
"api-version": "2018-12-01-preview"
7+
},
8+
"responses": {
9+
"200": {
10+
"headers": {
11+
"Date": "Wed, 13 Sep 2017 18:04:32 GMT",
12+
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
13+
"X-Content-Type-Options": "nosniff",
14+
"x-ms-ratelimit-remaining-tenant-reads": "14999",
15+
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
16+
}
17+
},
18+
"202": {
19+
"headers": {
20+
"Date": "Wed, 13 Sep 2017 18:04:32 GMT",
21+
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
22+
"X-Content-Type-Options": "nosniff",
23+
"x-ms-ratelimit-remaining-tenant-reads": "14999",
24+
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd",
25+
"x-ms-long-running-operation": true,
26+
"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"
27+
}
28+
},
29+
"204": {
30+
"headers": {
31+
"Date": "Wed, 13 Sep 2017 18:04:32 GMT",
32+
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
33+
"X-Content-Type-Options": "nosniff",
34+
"x-ms-ratelimit-remaining-tenant-reads": "14999",
35+
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
36+
}
37+
}
38+
}
39+
}
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "12345678-1234-1234-12345678abc",
4+
"resourceGroupName": "SampleResourceGroup",
5+
"accountName": "account1",
6+
"api-version": "2018-12-01-preview"
7+
},
8+
"responses": {
9+
"200": {
10+
"headers": {
11+
"Date": "Wed, 13 Sep 2017 18:04:32 GMT",
12+
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
13+
"X-Content-Type-Options": "nosniff",
14+
"x-ms-ratelimit-remaining-tenant-reads": "14999",
15+
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
16+
},
17+
"body": {
18+
"location": "West US 2",
19+
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/SampleResourceGroup/providers/Microsoft.Purview/accounts/account1",
20+
"name": "account1",
21+
"type": "Microsoft.Purview/accounts",
22+
"sku": {
23+
"name": "Standard",
24+
"capacity": 4
25+
},
26+
"properties": {
27+
"friendlyName": "friendly-account1",
28+
"createdBy": "client-name",
29+
"createdByObjectId": "client-objectId",
30+
"createdAt": "2019-11-22T18:39:58.6929344Z",
31+
"provisioningState": "Succeeded",
32+
"endpoints": {
33+
"catalog": "https://account1.catalog.purview.azure-test.com",
34+
"scan": "https://account1.scan.purview.azure-test.com",
35+
"guardian": "https://account1.guardian.purview.azure-test.com"
36+
},
37+
"privateEndpointConnections": [
38+
{
39+
"properties": {
40+
"provisioningState": "Succeeded",
41+
"privateEndpoint": {
42+
"id": "/subscriptions/baca8a88-4527-4c35-a13e-b2775ce0d7fc/resourceGroups/nrpResourceGroupName/providers/Microsoft.Network/privateEndpoints/peName"
43+
},
44+
"privateLinkServiceConnectionState": {
45+
"status": "Pending",
46+
"description": "Please approve my connection, thanks.",
47+
"actionsRequired": "None"
48+
}
49+
},
50+
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/SampleResourceGroup/providers/Microsoft.Purview/accounts/account1/privateEndpointConnections/peName-8536c337-7b36-4d67-a7ce-081655baf59e",
51+
"name": "peName-8536c337-7b36-4d67-a7ce-081655baf59e",
52+
"type": "Microsoft.Purview/accounts/privateEndpointConnections"
53+
}
54+
],
55+
"networkAcls": {
56+
"defaultAction": "Allow"
57+
},
58+
"managedResources": {
59+
"resourceGroup": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/managed-rg-mwjotkl",
60+
"storageAccount": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/managed-rg-mwjotkl/providers/Microsoft.Storage/storageAccounts/scanwestustzaagzr",
61+
"eventHubNamespace": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/managed-rg-mwjotkl/providers/Microsoft.EventHub/namespaces/atlas-westusdddnbtp"
62+
}
63+
}
64+
}
65+
}
66+
}
67+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
{
2+
"parameters": {
3+
"api-version": "2018-12-01-preview",
4+
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
5+
"resourceGroupName": "SampleResourceGroup"
6+
},
7+
"responses": {
8+
"200": {
9+
"headers": {
10+
"Date": "Wed, 13 Sep 2017 17:33:55 GMT",
11+
"x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba",
12+
"X-Content-Type-Options": "nosniff",
13+
"x-ms-ratelimit-remaining-subscription-reads": "14993",
14+
"x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed"
15+
},
16+
"body": {
17+
"value": [
18+
{
19+
"location": "West US 2",
20+
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/SampleResourceGroup/providers/Microsoft.Purview/accounts/account1",
21+
"name": "account1",
22+
"type": "Microsoft.Purview/accounts",
23+
"sku": {
24+
"name": "Standard",
25+
"capacity": 4
26+
},
27+
"properties": {
28+
"friendlyName": "friendly-account1",
29+
"createdBy": "client-name",
30+
"createdByObjectId": "client-objectId",
31+
"createdAt": "2019-11-22T18:39:58.6929344Z",
32+
"provisioningState": "Succeeded",
33+
"endpoints": {
34+
"catalog": "https://account1.catalog.purview.azure-test.com",
35+
"scan": "https://account1.scan.purview.azure-test.com",
36+
"guardian": "https://account1.guardian.purview.azure-test.com"
37+
},
38+
"networkAcls": {
39+
"defaultAction": "Allow"
40+
}
41+
}
42+
},
43+
{
44+
"location": "West US 2",
45+
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/SampleResourceGroup/providers/Microsoft.Purview/accounts/account2",
46+
"name": "account2",
47+
"type": "Microsoft.Purview/accounts",
48+
"sku": {
49+
"name": "Standard",
50+
"capacity": 4
51+
},
52+
"properties": {
53+
"friendlyName": "friendly-account1",
54+
"createdBy": "client-name",
55+
"createdByObjectId": "client-objectId",
56+
"createdAt": "2019-11-22T18:39:58.6929344Z",
57+
"provisioningState": "Succeeded",
58+
"endpoints": {
59+
"catalog": "https://account2.catalog.purview.azure-test.com",
60+
"scan": "https://account2.scan.purview.azure-test.com",
61+
"guardian": "https://account1.guardian.purview.azure-test.com"
62+
},
63+
"networkAcls": {
64+
"defaultAction": "Allow"
65+
}
66+
}
67+
}
68+
]
69+
}
70+
}
71+
}
72+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
{
2+
"parameters": {
3+
"api-version": "2018-12-01-preview",
4+
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345"
5+
},
6+
"responses": {
7+
"200": {
8+
"headers": {
9+
"Date": "Wed, 13 Sep 2017 17:33:55 GMT",
10+
"x-ms-request-id": "8e58266a-de42-40d5-b3c4-c6a7e159cfba",
11+
"X-Content-Type-Options": "nosniff",
12+
"x-ms-ratelimit-remaining-subscription-reads": "14993",
13+
"x-ms-correlation-request-id": "5d862c55-4de9-4a46-969d-cf1ed3e235ed"
14+
},
15+
"body": {
16+
"value": [
17+
{
18+
"location": "West US 2",
19+
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/SampleResourceGroup/providers/Microsoft.Purview/accounts/account1",
20+
"name": "account1",
21+
"type": "Microsoft.Purview/accounts",
22+
"sku": {
23+
"name": "Standard",
24+
"capacity": 4
25+
},
26+
"properties": {
27+
"friendlyName": "friendly-account1",
28+
"createdBy": "client-name",
29+
"createdByObjectId": "client-objectId",
30+
"createdAt": "2019-11-22T18:39:58.6929344Z",
31+
"provisioningState": "Succeeded",
32+
"endpoints": {
33+
"catalog": "https://account1.catalog.purview.azure-test.com",
34+
"scan": "https://account1.scan.purview.azure-test.com",
35+
"guardian": "https://account1.guardian.purview.azure-test.com"
36+
},
37+
"networkAcls": {
38+
"defaultAction": "Allow"
39+
}
40+
}
41+
},
42+
{
43+
"location": "West US 2",
44+
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/SampleResourceGroup/providers/Microsoft.Purview/accounts/account2",
45+
"name": "account2",
46+
"type": "Microsoft.Purview/accounts",
47+
"sku": {
48+
"name": "Standard",
49+
"capacity": 4
50+
},
51+
"properties": {
52+
"friendlyName": "friendly-account1",
53+
"createdBy": "client-name",
54+
"createdByObjectId": "client-objectId",
55+
"createdAt": "2019-11-22T18:39:58.6929344Z",
56+
"provisioningState": "Succeeded",
57+
"endpoints": {
58+
"catalog": "https://account2.catalog.purview.azure-test.com",
59+
"scan": "https://account2.scan.purview.azure-test.com",
60+
"guardian": "https://account1.guardian.purview.azure-test.com"
61+
},
62+
"networkAcls": {
63+
"defaultAction": "Allow"
64+
}
65+
}
66+
}
67+
]
68+
}
69+
}
70+
}
71+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "12345678-1234-1234-12345678abc",
4+
"resourceGroupName": "SampleResourceGroup",
5+
"accountName": "account1",
6+
"api-version": "2018-12-01-preview"
7+
},
8+
"responses": {
9+
"200": {
10+
"headers": {
11+
"Date": "Wed, 13 Sep 2017 18:04:32 GMT",
12+
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
13+
"X-Content-Type-Options": "nosniff",
14+
"x-ms-ratelimit-remaining-tenant-reads": "14999",
15+
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
16+
},
17+
"body": {
18+
"atlasKafkaPrimaryEndpoint": "Endpoint=sb://fake_objectId.servicebus.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=ASDASasdfmasdf123412341234=",
19+
"atlasKafkaSecondaryEndpoint": "Endpoint=sb://fake_objectId.servicebus.windows.net/;SharedAccessKeyName=AlternateSharedAccessKey;SharedAccessKey=BSDASasdfmasdf123412341234="
20+
}
21+
}
22+
}
23+
}

0 commit comments

Comments
 (0)