Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 37e6a59

Browse files
maxlimsjhendrixMSFT
authored andcommitted
Add Azure Data Catalog control plane API spec (Azure#2075)
1 parent 533a68e commit 37e6a59

File tree

8 files changed

+839
-0
lines changed

8 files changed

+839
-0
lines changed

specification/datacatalog/resource-manager/Microsoft.DataCatalog/2016-03-30/datacatalog.json

Lines changed: 434 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "12345678-1234-1234-12345678abc",
4+
"resourceGroupName": "exampleResourceGroup",
5+
"api-version": "2016-03-30",
6+
"catalogName": "exampleCatalog",
7+
"properties": {
8+
"location" : "North US",
9+
"tags": {
10+
"mykey": "myvalue",
11+
"mykey2": "myvalue2"
12+
},
13+
"properties" : {
14+
"sku": "Standard",
15+
"units": 1,
16+
"enableAutomaticUnitAdjustment": false,
17+
"admins": [{
18+
19+
"objectId": "99999999-9999-9999-999999999999"
20+
}],
21+
"users": [{
22+
23+
"objectId": "99999999-9999-9999-999999999999"
24+
}]
25+
}
26+
}
27+
},
28+
"responses": {
29+
"200": {
30+
"headers": {
31+
"Date": "Wed, 13 Sep 2017 17:55:54 GMT",
32+
"x-ms-request-id": "a8bb197f-b00f-4add-a847-59f6aa0315ab",
33+
"x-ms-correlation-request-id": "acdb3257-c6cb-44f1-8e14-afa3ebf471fa"
34+
},
35+
"body": {
36+
"id": "/subscriptions/12345678-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataCatalog/catalogs/exampleCatalog",
37+
"name": "exampleCatalog",
38+
"type": "Microsoft.DataCatalog/catalogs",
39+
"location": "North US",
40+
"tags": {
41+
"mykey": "myvalue",
42+
"mykey2": "myvalue2"
43+
},
44+
"properties": {
45+
"sku": "Standard",
46+
"units": 1,
47+
"admins": [{
48+
49+
"objectId": "99999999-9999-9999-999999999999"
50+
}],
51+
"successfullyProvisioned": true,
52+
"enableAutomaticUnitAdjustment": false,
53+
"users": [{
54+
55+
"objectId": "99999999-9999-9999-999999999999"
56+
}]
57+
}
58+
}
59+
},
60+
"201": {
61+
"headers": {
62+
"Date": "Wed, 13 Sep 2017 17:55:54 GMT",
63+
"x-ms-request-id": "a8bb197f-b00f-4add-a847-59f6aa0315ab",
64+
"x-ms-correlation-request-id": "acdb3257-c6cb-44f1-8e14-afa3ebf471fa"
65+
},
66+
"body": {
67+
"id": "/subscriptions/12345678-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataCatalog/catalogs/exampleCatalog",
68+
"name": "exampleCatalog",
69+
"type": "Microsoft.DataCatalog/catalogs",
70+
"location": "North US",
71+
"tags": {
72+
"mykey": "myvalue",
73+
"mykey2": "myvalue2"
74+
},
75+
"properties": {
76+
"sku": "Standard",
77+
"units": 1,
78+
"admins": [{
79+
80+
"objectId": "99999999-9999-9999-999999999999"
81+
}],
82+
"successfullyProvisioned": true,
83+
"enableAutomaticUnitAdjustment": false,
84+
"users": [{
85+
86+
"objectId": "99999999-9999-9999-999999999999"
87+
}]
88+
}
89+
}
90+
}
91+
}
92+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "12345678-1234-1234-12345678abc",
4+
"resourceGroupName": "exampleResourceGroup",
5+
"api-version": "2016-03-30",
6+
"catalogName": "exampleCatalog"
7+
},
8+
"responses": {
9+
"200": {
10+
"headers": {
11+
"Date": "Wed, 13 Sep 2017 17:55:54 GMT",
12+
"x-ms-request-id": "a8bb197f-b00f-4add-a847-59f6aa0315ab",
13+
"x-ms-correlation-request-id": "acdb3257-c6cb-44f1-8e14-afa3ebf471fa"
14+
},
15+
"body": null
16+
},
17+
"202": {
18+
"headers": {
19+
"Date": "Wed, 13 Sep 2017 17:55:54 GMT",
20+
"x-ms-request-id": "a8bb197f-b00f-4add-a847-59f6aa0315ab",
21+
"x-ms-correlation-request-id": "acdb3257-c6cb-44f1-8e14-afa3ebf471fa"
22+
},
23+
"body": null
24+
},
25+
"204": {
26+
"headers": {
27+
"Date": "Wed, 13 Sep 2017 17:55:54 GMT",
28+
"x-ms-request-id": "a8bb197f-b00f-4add-a847-59f6aa0315ab",
29+
"x-ms-correlation-request-id": "acdb3257-c6cb-44f1-8e14-afa3ebf471fa"
30+
},
31+
"body": null
32+
}
33+
34+
}
35+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "12345678-1234-1234-12345678abc",
4+
"resourceGroupName": "exampleResourceGroup",
5+
"api-version": "2016-03-30",
6+
"catalogName": "exampleCatalog"
7+
},
8+
"responses": {
9+
"200": {
10+
"headers": {
11+
"Date": "Wed, 13 Sep 2017 17:55:54 GMT",
12+
"x-ms-request-id": "a8bb197f-b00f-4add-a847-59f6aa0315ab",
13+
"x-ms-correlation-request-id": "acdb3257-c6cb-44f1-8e14-afa3ebf471fa"
14+
},
15+
"body": {
16+
"id": "/subscriptions/12345678-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataCatalog/catalogs/exampleCatalog",
17+
"name": "exampleCatalog",
18+
"type": "Microsoft.DataCatalog/catalogs",
19+
"location": "North US",
20+
"tags": {
21+
"mykey": "myvalue",
22+
"mykey2": "myvalue2"
23+
},
24+
"properties": {
25+
"sku": "Standard",
26+
"units": 1,
27+
"admins": [{
28+
29+
"objectId": "99999999-9999-9999-999999999999"
30+
}],
31+
"successfullyProvisioned": true,
32+
"enableAutomaticUnitAdjustment": false,
33+
"users": [{
34+
35+
"objectId": "99999999-9999-9999-999999999999"
36+
}]
37+
}
38+
}
39+
}
40+
}
41+
}
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "12345678-1234-1234-12345678abc",
4+
"api-version": "2016-03-30"
5+
},
6+
"responses": {
7+
"200": {
8+
"headers": {
9+
"Date": "Wed, 13 Sep 2017 18:04:32 GMT",
10+
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
11+
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
12+
},
13+
"body": {
14+
"value": [{
15+
"name": "Microsoft.DataCatalog/catalogs/read",
16+
"display": {
17+
"provider": "Microsoft Data Catalog",
18+
"resource": "Catalog",
19+
"operation": "Catalog Read Or List",
20+
"description": "Get properties for catalog or catalogs under subscription or resource group."
21+
}
22+
},
23+
{
24+
"name": "Microsoft.DataCatalog/catalogs/write",
25+
"display": {
26+
"provider": "Microsoft Data Catalog",
27+
"resource": "Catalog",
28+
"operation": "Create Or Update Catalog",
29+
"description": "Creates catalog or updates the tags and properties for the catalog."
30+
}
31+
},
32+
{
33+
"name": "Microsoft.DataCatalog/catalogs/delete",
34+
"display": {
35+
"provider": "Microsoft Data Catalog",
36+
"resource": "Catalog",
37+
"operation": "Delete Catalog",
38+
"description": "Deletes the catalog."
39+
}
40+
},
41+
{
42+
"name": "Microsoft.DataCatalog/operations/read",
43+
"display": {
44+
"provider": "Microsoft Data Catalog",
45+
"resource": "Available Catalog Operations",
46+
"operation": "List Available Catalog Operations",
47+
"description": "Lists operations available on Microsoft.DataCatalog resource provider."
48+
}
49+
}]
50+
}
51+
}
52+
}
53+
}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "12345678-1234-1234-12345678abc",
4+
"resourceGroupName": "exampleResourceGroup",
5+
"api-version": "2016-03-30"
6+
},
7+
"responses": {
8+
"200": {
9+
"headers": {
10+
"Date": "Wed, 13 Sep 2017 17:55:54 GMT",
11+
"x-ms-request-id": "a8bb197f-b00f-4add-a847-59f6aa0315ab",
12+
"x-ms-correlation-request-id": "acdb3257-c6cb-44f1-8e14-afa3ebf471fa"
13+
},
14+
"body": {
15+
"value": [{
16+
"id": "/subscriptions/12345678-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataCatalog/catalogs/exampleCatalog",
17+
"name": "exampleCatalog",
18+
"type": "Microsoft.DataCatalog/catalogs",
19+
"location": "North US",
20+
"tags": {
21+
"mykey": "myvalue",
22+
"mykey2": "myvalue2"
23+
},
24+
"properties": {
25+
"sku": "Standard",
26+
"units": 1,
27+
"admins": [{
28+
29+
"objectId": "99999999-9999-9999-999999999999"
30+
}],
31+
"successfullyProvisioned": true,
32+
"enableAutomaticUnitAdjustment": false,
33+
"users": [{
34+
35+
"objectId": "99999999-9999-9999-999999999999"
36+
}]
37+
}
38+
}]
39+
}
40+
}
41+
}
42+
}
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "12345678-1234-1234-12345678abc",
4+
"resourceGroupName": "exampleResourceGroup",
5+
"api-version": "2016-03-30",
6+
"catalogName": "exampleCatalog",
7+
"properties": {
8+
"location" : "North US",
9+
"tags": {
10+
"mykey": "myvalue",
11+
"mykey2": "myvalue2"
12+
},
13+
"properties" : {
14+
"sku": "Standard",
15+
"units": 1,
16+
"enableAutomaticUnitAdjustment": false,
17+
"admins": [{
18+
19+
"objectId": "99999999-9999-9999-999999999999"
20+
}],
21+
"users": [{
22+
23+
"objectId": "99999999-9999-9999-999999999999"
24+
}]
25+
}
26+
}
27+
},
28+
"responses": {
29+
"200": {
30+
"headers": {
31+
"Date": "Wed, 13 Sep 2017 17:55:54 GMT",
32+
"x-ms-request-id": "a8bb197f-b00f-4add-a847-59f6aa0315ab",
33+
"x-ms-correlation-request-id": "acdb3257-c6cb-44f1-8e14-afa3ebf471fa"
34+
},
35+
"body": {
36+
"id": "/subscriptions/12345678-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataCatalog/catalogs/exampleCatalog",
37+
"name": "exampleCatalog",
38+
"type": "Microsoft.DataCatalog/catalogs",
39+
"location": "North US",
40+
"tags": {
41+
"mykey": "myvalue",
42+
"mykey2": "myvalue2"
43+
},
44+
"properties": {
45+
"sku": "Standard",
46+
"units": 1,
47+
"admins": [{
48+
49+
"objectId": "99999999-9999-9999-999999999999"
50+
}],
51+
"successfullyProvisioned": true,
52+
"enableAutomaticUnitAdjustment": false,
53+
"users": [{
54+
55+
"objectId": "99999999-9999-9999-999999999999"
56+
}]
57+
}
58+
}
59+
}
60+
}
61+
}

0 commit comments

Comments
 (0)