Skip to content

Commit 42185a2

Browse files
jimmyshie123Jimmy Xie
andauthored
[Hub Generated] Review request for Microsoft.DataLakeAnalytics to add version preview/2019-11-01-preview (#15893)
* Adds base for updating Microsoft.DataLakeAnalytics from version stable/2016-11-01 to version 2019-11-01-preview * Updates readme * Updates API version in new specs and examples * test validation patch Co-authored-by: Jimmy Xie <jimmyxie@microsoft.com>
1 parent 68acb89 commit 42185a2

33 files changed

+4701
-13
lines changed

specification/datalake-analytics/resource-manager/Microsoft.DataLakeAnalytics/preview/2019-11-01-preview/account.json

Lines changed: 3481 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"parameters": {
3+
"api-version": "2019-11-01-preview",
4+
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
5+
"location": "EastUS2",
6+
"parameters": {
7+
"name": "contosoadla",
8+
"type": "Microsoft.DataLakeAnalytics/accounts"
9+
}
10+
},
11+
"responses": {
12+
"200": {
13+
"body": {
14+
"nameAvailable": false,
15+
"reason": "AlreadyExists",
16+
"message": "An account named 'abc' already exists."
17+
}
18+
}
19+
}
20+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,206 @@
1+
{
2+
"parameters": {
3+
"api-version": "2019-11-01-preview",
4+
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
5+
"resourceGroupName": "contosorg",
6+
"accountName": "contosoadla",
7+
"parameters": {
8+
"location": "eastus2",
9+
"tags": {
10+
"test_key": "test_value"
11+
},
12+
"properties": {
13+
"defaultDataLakeStoreAccount": "test_adls",
14+
"dataLakeStoreAccounts": [
15+
{
16+
"name": "test_adls",
17+
"properties": {
18+
"suffix": "test_suffix"
19+
}
20+
}
21+
],
22+
"storageAccounts": [
23+
{
24+
"name": "test_storage",
25+
"properties": {
26+
"accessKey": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346",
27+
"suffix": "test_suffix"
28+
}
29+
}
30+
],
31+
"computePolicies": [
32+
{
33+
"name": "test_policy",
34+
"properties": {
35+
"objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
36+
"objectType": "User",
37+
"maxDegreeOfParallelismPerJob": 1,
38+
"minPriorityPerJob": 1
39+
}
40+
}
41+
],
42+
"firewallRules": [
43+
{
44+
"name": "test_rule",
45+
"properties": {
46+
"startIpAddress": "1.1.1.1",
47+
"endIpAddress": "2.2.2.2"
48+
}
49+
}
50+
],
51+
"firewallState": "Enabled",
52+
"firewallAllowAzureIps": "Enabled",
53+
"newTier": "Consumption",
54+
"maxJobCount": 3,
55+
"maxDegreeOfParallelism": 30,
56+
"maxDegreeOfParallelismPerJob": 1,
57+
"minPriorityPerJob": 1,
58+
"queryStoreRetention": 30
59+
}
60+
}
61+
},
62+
"responses": {
63+
"200": {
64+
"body": {
65+
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818",
66+
"name": "test_account",
67+
"type": "Microsoft.DataLakeAnalytics/accounts",
68+
"properties": {
69+
"accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
70+
"provisioningState": "Succeeded",
71+
"state": "Active",
72+
"creationTime": "2017-04-14T13:21:56.6819037-07:00",
73+
"lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
74+
"endpoint": "test_endpoint",
75+
"defaultDataLakeStoreAccount": "test_adls",
76+
"dataLakeStoreAccounts": [
77+
{
78+
"id": "test_adls_id",
79+
"name": "test_adls",
80+
"type": "test_type",
81+
"properties": {
82+
"suffix": "test_suffix"
83+
}
84+
}
85+
],
86+
"storageAccounts": [
87+
{
88+
"id": "test_storage_id",
89+
"name": "test_storage",
90+
"type": "test_type",
91+
"properties": {
92+
"suffix": "test_suffix"
93+
}
94+
}
95+
],
96+
"computePolicies": [
97+
{
98+
"id": "test_policy_id",
99+
"name": "test_policy",
100+
"type": "test_type",
101+
"properties": {
102+
"objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
103+
"objectType": "User",
104+
"maxDegreeOfParallelismPerJob": 1,
105+
"minPriorityPerJob": 1
106+
}
107+
}
108+
],
109+
"firewallRules": [
110+
{
111+
"id": "test_firewall_id",
112+
"name": "test_rule",
113+
"type": "test_type",
114+
"properties": {
115+
"startIpAddress": "1.1.1.1",
116+
"endIpAddress": "2.2.2.2"
117+
}
118+
}
119+
],
120+
"firewallState": "Enabled",
121+
"firewallAllowAzureIps": "Enabled",
122+
"newTier": "Consumption",
123+
"currentTier": "Consumption",
124+
"maxJobCount": 3,
125+
"systemMaxJobCount": 1,
126+
"maxDegreeOfParallelism": 30,
127+
"systemMaxDegreeOfParallelism": 1,
128+
"maxDegreeOfParallelismPerJob": 1,
129+
"minPriorityPerJob": 1,
130+
"queryStoreRetention": 30
131+
}
132+
}
133+
},
134+
"201": {
135+
"body": {
136+
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818",
137+
"name": "test_account",
138+
"type": "Microsoft.DataLakeAnalytics/accounts",
139+
"properties": {
140+
"accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
141+
"provisioningState": "Succeeded",
142+
"state": "Active",
143+
"creationTime": "2017-04-14T13:21:56.6819037-07:00",
144+
"lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
145+
"endpoint": "test_endpoint",
146+
"defaultDataLakeStoreAccount": "test_adls",
147+
"dataLakeStoreAccounts": [
148+
{
149+
"id": "test_adls_id",
150+
"name": "test_adls",
151+
"type": "test_type",
152+
"properties": {
153+
"suffix": "test_suffix"
154+
}
155+
}
156+
],
157+
"storageAccounts": [
158+
{
159+
"id": "test_storage_id",
160+
"name": "test_storage",
161+
"type": "test_type",
162+
"properties": {
163+
"suffix": "test_suffix"
164+
}
165+
}
166+
],
167+
"computePolicies": [
168+
{
169+
"id": "test_policy_id",
170+
"name": "test_policy",
171+
"type": "test_type",
172+
"properties": {
173+
"objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
174+
"objectType": "User",
175+
"maxDegreeOfParallelismPerJob": 1,
176+
"minPriorityPerJob": 1
177+
}
178+
}
179+
],
180+
"firewallRules": [
181+
{
182+
"id": "test_firewall_id",
183+
"name": "test_rule",
184+
"type": "test_type",
185+
"properties": {
186+
"startIpAddress": "1.1.1.1",
187+
"endIpAddress": "2.2.2.2"
188+
}
189+
}
190+
],
191+
"firewallState": "Enabled",
192+
"firewallAllowAzureIps": "Enabled",
193+
"newTier": "Consumption",
194+
"currentTier": "Consumption",
195+
"maxJobCount": 3,
196+
"systemMaxJobCount": 1,
197+
"maxDegreeOfParallelism": 30,
198+
"systemMaxDegreeOfParallelism": 1,
199+
"maxDegreeOfParallelismPerJob": 1,
200+
"minPriorityPerJob": 1,
201+
"queryStoreRetention": 30
202+
}
203+
}
204+
}
205+
}
206+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parameters": {
3+
"api-version": "2019-11-01-preview",
4+
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
5+
"resourceGroupName": "contosorg",
6+
"accountName": "contosoadla"
7+
},
8+
"responses": {
9+
"200": {},
10+
"202": {},
11+
"204": {}
12+
}
13+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
{
2+
"parameters": {
3+
"api-version": "2019-11-01-preview",
4+
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
5+
"resourceGroupName": "contosorg",
6+
"accountName": "contosoadla"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818",
12+
"name": "test_account",
13+
"type": "Microsoft.DataLakeAnalytics/accounts",
14+
"properties": {
15+
"accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
16+
"provisioningState": "Succeeded",
17+
"state": "Active",
18+
"creationTime": "2017-04-14T13:21:56.6819037-07:00",
19+
"lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
20+
"endpoint": "test_endpoint",
21+
"defaultDataLakeStoreAccount": "test_adls",
22+
"dataLakeStoreAccounts": [
23+
{
24+
"id": "test_adls_id",
25+
"name": "test_adls",
26+
"type": "test_type",
27+
"properties": {
28+
"suffix": "test_suffix"
29+
}
30+
}
31+
],
32+
"publicDataLakeStoreAccounts": [
33+
{
34+
"id": "test_adls_id",
35+
"name": "test_adls",
36+
"type": "test_type",
37+
"properties": {
38+
"suffix": "test_suffix"
39+
}
40+
}
41+
],
42+
"storageAccounts": [
43+
{
44+
"id": "test_storage_id",
45+
"name": "test_storage",
46+
"type": "test_type",
47+
"properties": {
48+
"suffix": "test_suffix"
49+
}
50+
}
51+
],
52+
"computePolicies": [
53+
{
54+
"id": "test_policy_id",
55+
"name": "test_policy",
56+
"type": "test_type",
57+
"properties": {
58+
"objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
59+
"objectType": "User",
60+
"maxDegreeOfParallelismPerJob": 1,
61+
"minPriorityPerJob": 1
62+
}
63+
}
64+
],
65+
"firewallRules": [
66+
{
67+
"id": "test_firewall_id",
68+
"name": "test_rule",
69+
"type": "test_type",
70+
"properties": {
71+
"startIpAddress": "1.1.1.1",
72+
"endIpAddress": "2.2.2.2"
73+
}
74+
}
75+
],
76+
"firewallState": "Enabled",
77+
"firewallAllowAzureIps": "Enabled",
78+
"newTier": "Consumption",
79+
"currentTier": "Consumption",
80+
"maxJobCount": 3,
81+
"systemMaxJobCount": 1,
82+
"maxDegreeOfParallelism": 30,
83+
"systemMaxDegreeOfParallelism": 1,
84+
"maxDegreeOfParallelismPerJob": 1,
85+
"minPriorityPerJob": 1,
86+
"queryStoreRetention": 30
87+
}
88+
}
89+
}
90+
}
91+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"parameters": {
3+
"api-version": "2019-11-01-preview",
4+
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
5+
"$filter": "test_filter",
6+
"$top": 1,
7+
"$skip": 1,
8+
"$select": "test_select",
9+
"$orderby": "test_orderby",
10+
"$count": false
11+
},
12+
"responses": {
13+
"200": {
14+
"body": {
15+
"value": [
16+
{
17+
"id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345",
18+
"name": "test_account",
19+
"type": "test_type",
20+
"properties": {
21+
"provisioningState": "Succeeded",
22+
"state": "Active",
23+
"creationTime": "2017-04-14T13:21:56.6819037-07:00",
24+
"lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00",
25+
"endpoint": "test_endpoint",
26+
"accountId": "94f4bf5d-78a9-4c31-8aa7-b34d07bad898"
27+
}
28+
}
29+
],
30+
"nextLink": "https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/contosorg/providers/Microsoft.DataLakeAnalytics/accounts/contosoadla/jobPolicies?api-version=2019-11-01-preview&%24skiptoken=<token>"
31+
}
32+
}
33+
}
34+
}

0 commit comments

Comments
 (0)