-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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>
- Loading branch information
1 parent
68acb89
commit 42185a2
Showing
33 changed files
with
4,701 additions
and
13 deletions.
There are no files selected for viewing
3,481 changes: 3,481 additions & 0 deletions
3,481
...tics/resource-manager/Microsoft.DataLakeAnalytics/preview/2019-11-01-preview/account.json
Large diffs are not rendered by default.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
...DataLakeAnalytics/preview/2019-11-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,20 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-11-01-preview", | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"location": "EastUS2", | ||
"parameters": { | ||
"name": "contosoadla", | ||
"type": "Microsoft.DataLakeAnalytics/accounts" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"nameAvailable": false, | ||
"reason": "AlreadyExists", | ||
"message": "An account named 'abc' already exists." | ||
} | ||
} | ||
} | ||
} |
206 changes: 206 additions & 0 deletions
206
...ager/Microsoft.DataLakeAnalytics/preview/2019-11-01-preview/examples/Accounts_Create.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,206 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-11-01-preview", | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "contosorg", | ||
"accountName": "contosoadla", | ||
"parameters": { | ||
"location": "eastus2", | ||
"tags": { | ||
"test_key": "test_value" | ||
}, | ||
"properties": { | ||
"defaultDataLakeStoreAccount": "test_adls", | ||
"dataLakeStoreAccounts": [ | ||
{ | ||
"name": "test_adls", | ||
"properties": { | ||
"suffix": "test_suffix" | ||
} | ||
} | ||
], | ||
"storageAccounts": [ | ||
{ | ||
"name": "test_storage", | ||
"properties": { | ||
"accessKey": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab346", | ||
"suffix": "test_suffix" | ||
} | ||
} | ||
], | ||
"computePolicies": [ | ||
{ | ||
"name": "test_policy", | ||
"properties": { | ||
"objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"objectType": "User", | ||
"maxDegreeOfParallelismPerJob": 1, | ||
"minPriorityPerJob": 1 | ||
} | ||
} | ||
], | ||
"firewallRules": [ | ||
{ | ||
"name": "test_rule", | ||
"properties": { | ||
"startIpAddress": "1.1.1.1", | ||
"endIpAddress": "2.2.2.2" | ||
} | ||
} | ||
], | ||
"firewallState": "Enabled", | ||
"firewallAllowAzureIps": "Enabled", | ||
"newTier": "Consumption", | ||
"maxJobCount": 3, | ||
"maxDegreeOfParallelism": 30, | ||
"maxDegreeOfParallelismPerJob": 1, | ||
"minPriorityPerJob": 1, | ||
"queryStoreRetention": 30 | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818", | ||
"name": "test_account", | ||
"type": "Microsoft.DataLakeAnalytics/accounts", | ||
"properties": { | ||
"accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"provisioningState": "Succeeded", | ||
"state": "Active", | ||
"creationTime": "2017-04-14T13:21:56.6819037-07:00", | ||
"lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00", | ||
"endpoint": "test_endpoint", | ||
"defaultDataLakeStoreAccount": "test_adls", | ||
"dataLakeStoreAccounts": [ | ||
{ | ||
"id": "test_adls_id", | ||
"name": "test_adls", | ||
"type": "test_type", | ||
"properties": { | ||
"suffix": "test_suffix" | ||
} | ||
} | ||
], | ||
"storageAccounts": [ | ||
{ | ||
"id": "test_storage_id", | ||
"name": "test_storage", | ||
"type": "test_type", | ||
"properties": { | ||
"suffix": "test_suffix" | ||
} | ||
} | ||
], | ||
"computePolicies": [ | ||
{ | ||
"id": "test_policy_id", | ||
"name": "test_policy", | ||
"type": "test_type", | ||
"properties": { | ||
"objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"objectType": "User", | ||
"maxDegreeOfParallelismPerJob": 1, | ||
"minPriorityPerJob": 1 | ||
} | ||
} | ||
], | ||
"firewallRules": [ | ||
{ | ||
"id": "test_firewall_id", | ||
"name": "test_rule", | ||
"type": "test_type", | ||
"properties": { | ||
"startIpAddress": "1.1.1.1", | ||
"endIpAddress": "2.2.2.2" | ||
} | ||
} | ||
], | ||
"firewallState": "Enabled", | ||
"firewallAllowAzureIps": "Enabled", | ||
"newTier": "Consumption", | ||
"currentTier": "Consumption", | ||
"maxJobCount": 3, | ||
"systemMaxJobCount": 1, | ||
"maxDegreeOfParallelism": 30, | ||
"systemMaxDegreeOfParallelism": 1, | ||
"maxDegreeOfParallelismPerJob": 1, | ||
"minPriorityPerJob": 1, | ||
"queryStoreRetention": 30 | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818", | ||
"name": "test_account", | ||
"type": "Microsoft.DataLakeAnalytics/accounts", | ||
"properties": { | ||
"accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"provisioningState": "Succeeded", | ||
"state": "Active", | ||
"creationTime": "2017-04-14T13:21:56.6819037-07:00", | ||
"lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00", | ||
"endpoint": "test_endpoint", | ||
"defaultDataLakeStoreAccount": "test_adls", | ||
"dataLakeStoreAccounts": [ | ||
{ | ||
"id": "test_adls_id", | ||
"name": "test_adls", | ||
"type": "test_type", | ||
"properties": { | ||
"suffix": "test_suffix" | ||
} | ||
} | ||
], | ||
"storageAccounts": [ | ||
{ | ||
"id": "test_storage_id", | ||
"name": "test_storage", | ||
"type": "test_type", | ||
"properties": { | ||
"suffix": "test_suffix" | ||
} | ||
} | ||
], | ||
"computePolicies": [ | ||
{ | ||
"id": "test_policy_id", | ||
"name": "test_policy", | ||
"type": "test_type", | ||
"properties": { | ||
"objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"objectType": "User", | ||
"maxDegreeOfParallelismPerJob": 1, | ||
"minPriorityPerJob": 1 | ||
} | ||
} | ||
], | ||
"firewallRules": [ | ||
{ | ||
"id": "test_firewall_id", | ||
"name": "test_rule", | ||
"type": "test_type", | ||
"properties": { | ||
"startIpAddress": "1.1.1.1", | ||
"endIpAddress": "2.2.2.2" | ||
} | ||
} | ||
], | ||
"firewallState": "Enabled", | ||
"firewallAllowAzureIps": "Enabled", | ||
"newTier": "Consumption", | ||
"currentTier": "Consumption", | ||
"maxJobCount": 3, | ||
"systemMaxJobCount": 1, | ||
"maxDegreeOfParallelism": 30, | ||
"systemMaxDegreeOfParallelism": 1, | ||
"maxDegreeOfParallelismPerJob": 1, | ||
"minPriorityPerJob": 1, | ||
"queryStoreRetention": 30 | ||
} | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...ager/Microsoft.DataLakeAnalytics/preview/2019-11-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,13 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-11-01-preview", | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "contosorg", | ||
"accountName": "contosoadla" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
91 changes: 91 additions & 0 deletions
91
...manager/Microsoft.DataLakeAnalytics/preview/2019-11-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,91 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-11-01-preview", | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"resourceGroupName": "contosorg", | ||
"accountName": "contosoadla" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/rgaba12041/providers/Microsoft.DataLakeAnalytics/accounts/testaba15818", | ||
"name": "test_account", | ||
"type": "Microsoft.DataLakeAnalytics/accounts", | ||
"properties": { | ||
"accountId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"provisioningState": "Succeeded", | ||
"state": "Active", | ||
"creationTime": "2017-04-14T13:21:56.6819037-07:00", | ||
"lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00", | ||
"endpoint": "test_endpoint", | ||
"defaultDataLakeStoreAccount": "test_adls", | ||
"dataLakeStoreAccounts": [ | ||
{ | ||
"id": "test_adls_id", | ||
"name": "test_adls", | ||
"type": "test_type", | ||
"properties": { | ||
"suffix": "test_suffix" | ||
} | ||
} | ||
], | ||
"publicDataLakeStoreAccounts": [ | ||
{ | ||
"id": "test_adls_id", | ||
"name": "test_adls", | ||
"type": "test_type", | ||
"properties": { | ||
"suffix": "test_suffix" | ||
} | ||
} | ||
], | ||
"storageAccounts": [ | ||
{ | ||
"id": "test_storage_id", | ||
"name": "test_storage", | ||
"type": "test_type", | ||
"properties": { | ||
"suffix": "test_suffix" | ||
} | ||
} | ||
], | ||
"computePolicies": [ | ||
{ | ||
"id": "test_policy_id", | ||
"name": "test_policy", | ||
"type": "test_type", | ||
"properties": { | ||
"objectId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"objectType": "User", | ||
"maxDegreeOfParallelismPerJob": 1, | ||
"minPriorityPerJob": 1 | ||
} | ||
} | ||
], | ||
"firewallRules": [ | ||
{ | ||
"id": "test_firewall_id", | ||
"name": "test_rule", | ||
"type": "test_type", | ||
"properties": { | ||
"startIpAddress": "1.1.1.1", | ||
"endIpAddress": "2.2.2.2" | ||
} | ||
} | ||
], | ||
"firewallState": "Enabled", | ||
"firewallAllowAzureIps": "Enabled", | ||
"newTier": "Consumption", | ||
"currentTier": "Consumption", | ||
"maxJobCount": 3, | ||
"systemMaxJobCount": 1, | ||
"maxDegreeOfParallelism": 30, | ||
"systemMaxDegreeOfParallelism": 1, | ||
"maxDegreeOfParallelismPerJob": 1, | ||
"minPriorityPerJob": 1, | ||
"queryStoreRetention": 30 | ||
} | ||
} | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
...anager/Microsoft.DataLakeAnalytics/preview/2019-11-01-preview/examples/Accounts_List.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,34 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-11-01-preview", | ||
"subscriptionId": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"$filter": "test_filter", | ||
"$top": 1, | ||
"$skip": 1, | ||
"$select": "test_select", | ||
"$orderby": "test_orderby", | ||
"$count": false | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "34adfa4f-cedf-4dc0-ba29-b6d1a69ab345", | ||
"name": "test_account", | ||
"type": "test_type", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"state": "Active", | ||
"creationTime": "2017-04-14T13:21:56.6819037-07:00", | ||
"lastModifiedTime": "2017-04-14T13:21:56.6819037-07:00", | ||
"endpoint": "test_endpoint", | ||
"accountId": "94f4bf5d-78a9-4c31-8aa7-b34d07bad898" | ||
} | ||
} | ||
], | ||
"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>" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.