Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.DataLakeAnalytics to add…
Browse files Browse the repository at this point in the history
… 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
jimmyshie123 and Jimmy Xie authored Sep 14, 2021
1 parent 68acb89 commit 42185a2
Show file tree
Hide file tree
Showing 33 changed files with 4,701 additions and 13 deletions.

Large diffs are not rendered by default.

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."
}
}
}
}
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
}
}
}
}
}
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": {}
}
}
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
}
}
}
}
}
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>"
}
}
}
}
Loading

0 comments on commit 42185a2

Please sign in to comment.