diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/CHANGELOG.md b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/CHANGELOG.md
index c2c1cbf3924ff..a885e96a1418b 100644
--- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/CHANGELOG.md
+++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/CHANGELOG.md
@@ -1,7 +1,8 @@
# Release History
-## 1.0.0-beta.2 (Unreleased)
+## 1.0.0-beta.1 (2021-09-13)
+- Azure Resource Manager DataLakeAnalytics client library for Java. This package contains Microsoft Azure SDK for DataLakeAnalytics Management SDK. Creates an Azure Data Lake Analytics account management client. Package tag package-preview-2019-11. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
## 1.0.0-beta.1 (2021-04-22)
diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/README.md b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/README.md
index 69017d50e0cda..94fd60954f813 100644
--- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/README.md
+++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/README.md
@@ -2,7 +2,7 @@
Azure Resource Manager DataLakeAnalytics client library for Java.
-This package contains Microsoft Azure SDK for DataLakeAnalytics Management SDK. Creates an Azure Data Lake Analytics account management client. Package tag package-2016-11. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
+This package contains Microsoft Azure SDK for DataLakeAnalytics Management SDK. Creates an Azure Data Lake Analytics account management client. Package tag package-preview-2019-11. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
## We'd love to hear your feedback
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
com.azure.resourcemanager
azure-resourcemanager-datalakeanalytics
- 1.0.0-beta.1
+ 1.0.0-beta.2
```
[//]: # ({x-version-update-end})
@@ -74,6 +74,8 @@ See [API design][design] for general introduction on design and key concepts on
## Examples
+
+
## Troubleshooting
## Next steps
diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/pom.xml b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/pom.xml
index 314ffd411f010..1fcc71f8eb528 100644
--- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/pom.xml
+++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/pom.xml
@@ -1,67 +1,86 @@
- 4.0.0
-
- com.azure
- azure-client-sdk-parent
- 1.7.0
- ../../parents/azure-client-sdk-parent
-
+ 4.0.0
+
+ com.azure
+ azure-client-sdk-parent
+ 1.7.0
+ ../../parents/azure-client-sdk-parent
+
- com.azure.resourcemanager
- azure-resourcemanager-datalakeanalytics
- 1.0.0-beta.2
- jar
+ com.azure.resourcemanager
+ azure-resourcemanager-datalakeanalytics
+ 1.0.0-beta.2
+ jar
- Microsoft Azure SDK for DataLakeAnalytics Management
- This package contains Microsoft Azure SDK for DataLakeAnalytics Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Creates an Azure Data Lake Analytics account management client. Package tag package-2016-11.
- https://github.com/Azure/azure-sdk-for-java
+ Microsoft Azure SDK for DataLakeAnalytics Management
+ This package contains Microsoft Azure SDK for DataLakeAnalytics Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Creates an Azure Data Lake Analytics account management client. Package tag package-preview-2019-11.
+ https://github.com/Azure/azure-sdk-for-java
-
-
- The MIT License (MIT)
- http://opensource.org/licenses/MIT
- repo
-
-
+
+
+ The MIT License (MIT)
+ http://opensource.org/licenses/MIT
+ repo
+
+
-
- https://github.com/Azure/azure-sdk-for-java
- scm:git:git@github.com:Azure/azure-sdk-for-java.git
- scm:git:git@github.com:Azure/azure-sdk-for-java.git
- HEAD
-
-
-
- microsoft
- Microsoft
-
-
-
- UTF-8
-
-
-
-
- com.azure
- azure-core
- 1.20.0
-
-
- com.azure
- azure-core-management
- 1.4.1
-
-
-
-
-
- org.jacoco
- jacoco-maven-plugin
- 0.8.5
-
- true
-
-
-
-
+
+ https://github.com/Azure/azure-sdk-for-java
+ scm:git:git@github.com:Azure/azure-sdk-for-java.git
+ scm:git:git@github.com:Azure/azure-sdk-for-java.git
+ HEAD
+
+
+
+ microsoft
+ Microsoft
+
+
+
+ UTF-8
+
+
+
+
+ com.azure
+ azure-core
+ 1.20.0
+
+
+ com.azure
+ azure-core-management
+ 1.4.1
+
+
+
+
+
+ org.jacoco
+ jacoco-maven-plugin
+ 0.8.5
+
+ true
+
+
+
+ org.revapi
+ revapi-maven-plugin
+ 0.11.2
+
+
+
+ -
+
java.method.addedToInterface
+
+ -
+ true
+
.*
+ com\.azure\.resourcemanager(\.[^.]+)+\.fluent(\.[^.]+)*
+
+
+
+
+
+
+
diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/DataLakeAnalyticsManager.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/DataLakeAnalyticsManager.java
index a1342ce293e4a..c683b9c6d453e 100644
--- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/DataLakeAnalyticsManager.java
+++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/DataLakeAnalyticsManager.java
@@ -9,7 +9,6 @@
import com.azure.core.http.HttpPipeline;
import com.azure.core.http.HttpPipelineBuilder;
import com.azure.core.http.policy.AddDatePolicy;
-import com.azure.core.http.policy.BearerTokenAuthenticationPolicy;
import com.azure.core.http.policy.HttpLogOptions;
import com.azure.core.http.policy.HttpLoggingPolicy;
import com.azure.core.http.policy.HttpPipelinePolicy;
@@ -17,6 +16,7 @@
import com.azure.core.http.policy.RequestIdPolicy;
import com.azure.core.http.policy.RetryPolicy;
import com.azure.core.http.policy.UserAgentPolicy;
+import com.azure.core.management.http.policy.ArmChallengeAuthenticationPolicy;
import com.azure.core.management.profile.AzureProfile;
import com.azure.core.util.Configuration;
import com.azure.core.util.logging.ClientLogger;
@@ -101,6 +101,7 @@ public static final class Configurable {
private HttpClient httpClient;
private HttpLogOptions httpLogOptions;
private final List policies = new ArrayList<>();
+ private final List scopes = new ArrayList<>();
private RetryPolicy retryPolicy;
private Duration defaultPollInterval;
@@ -140,6 +141,17 @@ public Configurable withPolicy(HttpPipelinePolicy policy) {
return this;
}
+ /**
+ * Adds the scope to permission sets.
+ *
+ * @param scope the scope.
+ * @return the configurable object itself.
+ */
+ public Configurable withScope(String scope) {
+ this.scopes.add(Objects.requireNonNull(scope, "'scope' cannot be null."));
+ return this;
+ }
+
/**
* Sets the retry policy to the HTTP pipeline.
*
@@ -196,6 +208,9 @@ public DataLakeAnalyticsManager authenticate(TokenCredential credential, AzurePr
userAgentBuilder.append(" (auto-generated)");
}
+ if (scopes.isEmpty()) {
+ scopes.add(profile.getEnvironment().getManagementEndpoint() + "/.default");
+ }
if (retryPolicy == null) {
retryPolicy = new RetryPolicy("Retry-After", ChronoUnit.SECONDS);
}
@@ -205,10 +220,7 @@ public DataLakeAnalyticsManager authenticate(TokenCredential credential, AzurePr
HttpPolicyProviders.addBeforeRetryPolicies(policies);
policies.add(retryPolicy);
policies.add(new AddDatePolicy());
- policies
- .add(
- new BearerTokenAuthenticationPolicy(
- credential, profile.getEnvironment().getManagementEndpoint() + "/.default"));
+ policies.add(new ArmChallengeAuthenticationPolicy(credential, scopes.toArray(new String[0])));
policies.addAll(this.policies);
HttpPolicyProviders.addAfterRetryPolicies(policies);
policies.add(new HttpLoggingPolicy(httpLogOptions));
diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/fluent/models/ComputePolicyInner.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/fluent/models/ComputePolicyInner.java
index 7964d5f972b5a..f9d8902155d15 100644
--- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/fluent/models/ComputePolicyInner.java
+++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/fluent/models/ComputePolicyInner.java
@@ -4,7 +4,7 @@
package com.azure.resourcemanager.datalakeanalytics.fluent.models;
-import com.azure.core.annotation.Immutable;
+import com.azure.core.annotation.Fluent;
import com.azure.core.annotation.JsonFlatten;
import com.azure.core.management.SubResource;
import com.azure.core.util.logging.ClientLogger;
@@ -15,7 +15,7 @@
/** Data Lake Analytics compute policy information. */
@JsonFlatten
-@Immutable
+@Fluent
public class ComputePolicyInner extends SubResource {
@JsonIgnore private final ClientLogger logger = new ClientLogger(ComputePolicyInner.class);
diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/fluent/models/DataLakeAnalyticsAccountBasicInner.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/fluent/models/DataLakeAnalyticsAccountBasicInner.java
index 9d3b0ae184385..c02571a69c213 100644
--- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/fluent/models/DataLakeAnalyticsAccountBasicInner.java
+++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/fluent/models/DataLakeAnalyticsAccountBasicInner.java
@@ -4,7 +4,7 @@
package com.azure.resourcemanager.datalakeanalytics.fluent.models;
-import com.azure.core.annotation.Immutable;
+import com.azure.core.annotation.Fluent;
import com.azure.core.annotation.JsonFlatten;
import com.azure.core.management.Resource;
import com.azure.core.util.logging.ClientLogger;
@@ -21,7 +21,7 @@
* account.
*/
@JsonFlatten
-@Immutable
+@Fluent
public class DataLakeAnalyticsAccountBasicInner extends Resource {
@JsonIgnore private final ClientLogger logger = new ClientLogger(DataLakeAnalyticsAccountBasicInner.class);
diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/fluent/models/DataLakeAnalyticsAccountInner.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/fluent/models/DataLakeAnalyticsAccountInner.java
index 639eb629a0684..4da2118395fb1 100644
--- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/fluent/models/DataLakeAnalyticsAccountInner.java
+++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/fluent/models/DataLakeAnalyticsAccountInner.java
@@ -68,6 +68,13 @@ public class DataLakeAnalyticsAccountInner extends Resource {
@JsonProperty(value = "properties.endpoint", access = JsonProperty.Access.WRITE_ONLY)
private String endpoint;
+ /*
+ * The type of the default Data Lake Store account associated with this
+ * account.
+ */
+ @JsonProperty(value = "properties.defaultDataLakeStoreAccountType", access = JsonProperty.Access.WRITE_ONLY)
+ private String defaultDataLakeStoreAccountType;
+
/*
* The default Data Lake Store account associated with this account.
*/
@@ -148,6 +155,24 @@ public class DataLakeAnalyticsAccountInner extends Resource {
@JsonProperty(value = "properties.maxJobCount")
private Integer maxJobCount;
+ /*
+ * The maximum supported active jobs under the account at the same time.
+ */
+ @JsonProperty(value = "properties.maxActiveJobCountPerUser", access = JsonProperty.Access.WRITE_ONLY)
+ private Integer maxActiveJobCountPerUser;
+
+ /*
+ * The maximum supported jobs queued under the account at the same time.
+ */
+ @JsonProperty(value = "properties.maxQueuedJobCountPerUser", access = JsonProperty.Access.WRITE_ONLY)
+ private Integer maxQueuedJobCountPerUser;
+
+ /*
+ * The maximum supported active jobs under the account at the same time.
+ */
+ @JsonProperty(value = "properties.maxJobRunningTimeInMin", access = JsonProperty.Access.WRITE_ONLY)
+ private Integer maxJobRunningTimeInMin;
+
/*
* The system defined maximum supported jobs running under the account at
* the same time, which restricts the maximum number of running jobs the
@@ -248,6 +273,16 @@ public String endpoint() {
return this.endpoint;
}
+ /**
+ * Get the defaultDataLakeStoreAccountType property: The type of the default Data Lake Store account associated with
+ * this account.
+ *
+ * @return the defaultDataLakeStoreAccountType value.
+ */
+ public String defaultDataLakeStoreAccountType() {
+ return this.defaultDataLakeStoreAccountType;
+ }
+
/**
* Get the defaultDataLakeStoreAccount property: The default Data Lake Store account associated with this account.
*
@@ -423,6 +458,33 @@ public DataLakeAnalyticsAccountInner withMaxJobCount(Integer maxJobCount) {
return this;
}
+ /**
+ * Get the maxActiveJobCountPerUser property: The maximum supported active jobs under the account at the same time.
+ *
+ * @return the maxActiveJobCountPerUser value.
+ */
+ public Integer maxActiveJobCountPerUser() {
+ return this.maxActiveJobCountPerUser;
+ }
+
+ /**
+ * Get the maxQueuedJobCountPerUser property: The maximum supported jobs queued under the account at the same time.
+ *
+ * @return the maxQueuedJobCountPerUser value.
+ */
+ public Integer maxQueuedJobCountPerUser() {
+ return this.maxQueuedJobCountPerUser;
+ }
+
+ /**
+ * Get the maxJobRunningTimeInMin property: The maximum supported active jobs under the account at the same time.
+ *
+ * @return the maxJobRunningTimeInMin value.
+ */
+ public Integer maxJobRunningTimeInMin() {
+ return this.maxJobRunningTimeInMin;
+ }
+
/**
* Get the systemMaxJobCount property: The system defined maximum supported jobs running under the account at the
* same time, which restricts the maximum number of running jobs the user can set for the account.
diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/fluent/models/DataLakeStoreAccountInformationInner.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/fluent/models/DataLakeStoreAccountInformationInner.java
index 130f01f6bb9a1..45f2e0ab3c1dc 100644
--- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/fluent/models/DataLakeStoreAccountInformationInner.java
+++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/fluent/models/DataLakeStoreAccountInformationInner.java
@@ -4,7 +4,7 @@
package com.azure.resourcemanager.datalakeanalytics.fluent.models;
-import com.azure.core.annotation.Immutable;
+import com.azure.core.annotation.Fluent;
import com.azure.core.annotation.JsonFlatten;
import com.azure.core.management.SubResource;
import com.azure.core.util.logging.ClientLogger;
@@ -13,7 +13,7 @@
/** Data Lake Store account information. */
@JsonFlatten
-@Immutable
+@Fluent
public class DataLakeStoreAccountInformationInner extends SubResource {
@JsonIgnore private final ClientLogger logger = new ClientLogger(DataLakeStoreAccountInformationInner.class);
diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/fluent/models/FirewallRuleInner.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/fluent/models/FirewallRuleInner.java
index 128e8ddbcae3d..784c55c15cc93 100644
--- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/fluent/models/FirewallRuleInner.java
+++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/fluent/models/FirewallRuleInner.java
@@ -4,7 +4,7 @@
package com.azure.resourcemanager.datalakeanalytics.fluent.models;
-import com.azure.core.annotation.Immutable;
+import com.azure.core.annotation.Fluent;
import com.azure.core.annotation.JsonFlatten;
import com.azure.core.management.SubResource;
import com.azure.core.util.logging.ClientLogger;
@@ -13,7 +13,7 @@
/** Data Lake Analytics firewall rule information. */
@JsonFlatten
-@Immutable
+@Fluent
public class FirewallRuleInner extends SubResource {
@JsonIgnore private final ClientLogger logger = new ClientLogger(FirewallRuleInner.class);
diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/fluent/models/StorageAccountInformationInner.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/fluent/models/StorageAccountInformationInner.java
index c53ae5a034de0..8fd2834050435 100644
--- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/fluent/models/StorageAccountInformationInner.java
+++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/fluent/models/StorageAccountInformationInner.java
@@ -4,7 +4,7 @@
package com.azure.resourcemanager.datalakeanalytics.fluent.models;
-import com.azure.core.annotation.Immutable;
+import com.azure.core.annotation.Fluent;
import com.azure.core.annotation.JsonFlatten;
import com.azure.core.management.SubResource;
import com.azure.core.util.logging.ClientLogger;
@@ -13,7 +13,7 @@
/** Azure Storage account information. */
@JsonFlatten
-@Immutable
+@Fluent
public class StorageAccountInformationInner extends SubResource {
@JsonIgnore private final ClientLogger logger = new ClientLogger(StorageAccountInformationInner.class);
diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/fluent/models/StorageContainerInner.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/fluent/models/StorageContainerInner.java
index 596ac1b6a4b1b..9585c78c34644 100644
--- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/fluent/models/StorageContainerInner.java
+++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/fluent/models/StorageContainerInner.java
@@ -4,7 +4,7 @@
package com.azure.resourcemanager.datalakeanalytics.fluent.models;
-import com.azure.core.annotation.Immutable;
+import com.azure.core.annotation.Fluent;
import com.azure.core.annotation.JsonFlatten;
import com.azure.core.management.SubResource;
import com.azure.core.util.logging.ClientLogger;
@@ -14,7 +14,7 @@
/** Azure Storage blob container information. */
@JsonFlatten
-@Immutable
+@Fluent
public class StorageContainerInner extends SubResource {
@JsonIgnore private final ClientLogger logger = new ClientLogger(StorageContainerInner.class);
diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/implementation/DataLakeAnalyticsAccountImpl.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/implementation/DataLakeAnalyticsAccountImpl.java
index 6a6a3d371102c..1845a07d2dd8f 100644
--- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/implementation/DataLakeAnalyticsAccountImpl.java
+++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/implementation/DataLakeAnalyticsAccountImpl.java
@@ -96,6 +96,10 @@ public String endpoint() {
return this.innerModel().endpoint();
}
+ public String defaultDataLakeStoreAccountType() {
+ return this.innerModel().defaultDataLakeStoreAccountType();
+ }
+
public String defaultDataLakeStoreAccount() {
return this.innerModel().defaultDataLakeStoreAccount();
}
@@ -208,6 +212,18 @@ public Integer maxJobCount() {
return this.innerModel().maxJobCount();
}
+ public Integer maxActiveJobCountPerUser() {
+ return this.innerModel().maxActiveJobCountPerUser();
+ }
+
+ public Integer maxQueuedJobCountPerUser() {
+ return this.innerModel().maxQueuedJobCountPerUser();
+ }
+
+ public Integer maxJobRunningTimeInMin() {
+ return this.innerModel().maxJobRunningTimeInMin();
+ }
+
public Integer systemMaxJobCount() {
return this.innerModel().systemMaxJobCount();
}
diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/implementation/DataLakeAnalyticsAccountManagementClientImpl.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/implementation/DataLakeAnalyticsAccountManagementClientImpl.java
index 21b7c8b1b8156..685ad46cbf376 100644
--- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/implementation/DataLakeAnalyticsAccountManagementClientImpl.java
+++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/implementation/DataLakeAnalyticsAccountManagementClientImpl.java
@@ -227,7 +227,7 @@ public LocationsClient getLocations() {
this.defaultPollInterval = defaultPollInterval;
this.subscriptionId = subscriptionId;
this.endpoint = endpoint;
- this.apiVersion = "2016-11-01";
+ this.apiVersion = "2019-11-01-preview";
this.accounts = new AccountsClientImpl(this);
this.dataLakeStoreAccounts = new DataLakeStoreAccountsClientImpl(this);
this.storageAccounts = new StorageAccountsClientImpl(this);
diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/models/CreateDataLakeAnalyticsAccountParameters.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/models/CreateDataLakeAnalyticsAccountParameters.java
index 25baa2a72a8ea..60ef4c45937a6 100644
--- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/models/CreateDataLakeAnalyticsAccountParameters.java
+++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/models/CreateDataLakeAnalyticsAccountParameters.java
@@ -8,6 +8,7 @@
import com.azure.core.annotation.JsonFlatten;
import com.azure.core.util.logging.ClientLogger;
import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import java.util.Map;
@@ -28,6 +29,7 @@ public class CreateDataLakeAnalyticsAccountParameters {
* The resource tags.
*/
@JsonProperty(value = "tags")
+ @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
private Map tags;
/*
diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/models/DataLakeAnalyticsAccount.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/models/DataLakeAnalyticsAccount.java
index 035992ac9f924..c620a094e1e46 100644
--- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/models/DataLakeAnalyticsAccount.java
+++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/models/DataLakeAnalyticsAccount.java
@@ -91,6 +91,14 @@ public interface DataLakeAnalyticsAccount {
*/
String endpoint();
+ /**
+ * Gets the defaultDataLakeStoreAccountType property: The type of the default Data Lake Store account associated
+ * with this account.
+ *
+ * @return the defaultDataLakeStoreAccountType value.
+ */
+ String defaultDataLakeStoreAccountType();
+
/**
* Gets the defaultDataLakeStoreAccount property: The default Data Lake Store account associated with this account.
*
@@ -183,6 +191,27 @@ public interface DataLakeAnalyticsAccount {
*/
Integer maxJobCount();
+ /**
+ * Gets the maxActiveJobCountPerUser property: The maximum supported active jobs under the account at the same time.
+ *
+ * @return the maxActiveJobCountPerUser value.
+ */
+ Integer maxActiveJobCountPerUser();
+
+ /**
+ * Gets the maxQueuedJobCountPerUser property: The maximum supported jobs queued under the account at the same time.
+ *
+ * @return the maxQueuedJobCountPerUser value.
+ */
+ Integer maxQueuedJobCountPerUser();
+
+ /**
+ * Gets the maxJobRunningTimeInMin property: The maximum supported active jobs under the account at the same time.
+ *
+ * @return the maxJobRunningTimeInMin value.
+ */
+ Integer maxJobRunningTimeInMin();
+
/**
* Gets the systemMaxJobCount property: The system defined maximum supported jobs running under the account at the
* same time, which restricts the maximum number of running jobs the user can set for the account.
diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/models/DataLakeAnalyticsAccountProperties.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/models/DataLakeAnalyticsAccountProperties.java
index f490682a1ca56..8c0d37fadb4f1 100644
--- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/models/DataLakeAnalyticsAccountProperties.java
+++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/models/DataLakeAnalyticsAccountProperties.java
@@ -22,6 +22,13 @@
public final class DataLakeAnalyticsAccountProperties extends DataLakeAnalyticsAccountPropertiesBasic {
@JsonIgnore private final ClientLogger logger = new ClientLogger(DataLakeAnalyticsAccountProperties.class);
+ /*
+ * The type of the default Data Lake Store account associated with this
+ * account.
+ */
+ @JsonProperty(value = "defaultDataLakeStoreAccountType", access = JsonProperty.Access.WRITE_ONLY)
+ private String defaultDataLakeStoreAccountType;
+
/*
* The default Data Lake Store account associated with this account.
*/
@@ -102,6 +109,24 @@ public final class DataLakeAnalyticsAccountProperties extends DataLakeAnalyticsA
@JsonProperty(value = "maxJobCount")
private Integer maxJobCount;
+ /*
+ * The maximum supported active jobs under the account at the same time.
+ */
+ @JsonProperty(value = "maxActiveJobCountPerUser", access = JsonProperty.Access.WRITE_ONLY)
+ private Integer maxActiveJobCountPerUser;
+
+ /*
+ * The maximum supported jobs queued under the account at the same time.
+ */
+ @JsonProperty(value = "maxQueuedJobCountPerUser", access = JsonProperty.Access.WRITE_ONLY)
+ private Integer maxQueuedJobCountPerUser;
+
+ /*
+ * The maximum supported active jobs under the account at the same time.
+ */
+ @JsonProperty(value = "maxJobRunningTimeInMin", access = JsonProperty.Access.WRITE_ONLY)
+ private Integer maxJobRunningTimeInMin;
+
/*
* The system defined maximum supported jobs running under the account at
* the same time, which restricts the maximum number of running jobs the
@@ -148,6 +173,16 @@ public final class DataLakeAnalyticsAccountProperties extends DataLakeAnalyticsA
@JsonProperty(value = "debugDataAccessLevel", access = JsonProperty.Access.WRITE_ONLY)
private DebugDataAccessLevel debugDataAccessLevel;
+ /**
+ * Get the defaultDataLakeStoreAccountType property: The type of the default Data Lake Store account associated with
+ * this account.
+ *
+ * @return the defaultDataLakeStoreAccountType value.
+ */
+ public String defaultDataLakeStoreAccountType() {
+ return this.defaultDataLakeStoreAccountType;
+ }
+
/**
* Get the defaultDataLakeStoreAccount property: The default Data Lake Store account associated with this account.
*
@@ -324,6 +359,33 @@ public DataLakeAnalyticsAccountProperties withMaxJobCount(Integer maxJobCount) {
return this;
}
+ /**
+ * Get the maxActiveJobCountPerUser property: The maximum supported active jobs under the account at the same time.
+ *
+ * @return the maxActiveJobCountPerUser value.
+ */
+ public Integer maxActiveJobCountPerUser() {
+ return this.maxActiveJobCountPerUser;
+ }
+
+ /**
+ * Get the maxQueuedJobCountPerUser property: The maximum supported jobs queued under the account at the same time.
+ *
+ * @return the maxQueuedJobCountPerUser value.
+ */
+ public Integer maxQueuedJobCountPerUser() {
+ return this.maxQueuedJobCountPerUser;
+ }
+
+ /**
+ * Get the maxJobRunningTimeInMin property: The maximum supported active jobs under the account at the same time.
+ *
+ * @return the maxJobRunningTimeInMin value.
+ */
+ public Integer maxJobRunningTimeInMin() {
+ return this.maxJobRunningTimeInMin;
+ }
+
/**
* Get the systemMaxJobCount property: The system defined maximum supported jobs running under the account at the
* same time, which restricts the maximum number of running jobs the user can set for the account.
diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/models/HiveMetastore.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/models/HiveMetastore.java
index cb138091cb805..1caaf944f1424 100644
--- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/models/HiveMetastore.java
+++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/models/HiveMetastore.java
@@ -4,7 +4,7 @@
package com.azure.resourcemanager.datalakeanalytics.models;
-import com.azure.core.annotation.Immutable;
+import com.azure.core.annotation.Fluent;
import com.azure.core.annotation.JsonFlatten;
import com.azure.core.management.SubResource;
import com.azure.core.util.logging.ClientLogger;
@@ -13,7 +13,7 @@
/** The HiveMetastore model. */
@JsonFlatten
-@Immutable
+@Fluent
public class HiveMetastore extends SubResource {
@JsonIgnore private final ClientLogger logger = new ClientLogger(HiveMetastore.class);
diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/models/UpdateDataLakeAnalyticsAccountParameters.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/models/UpdateDataLakeAnalyticsAccountParameters.java
index 454c278f85183..b57ed3b78e68b 100644
--- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/models/UpdateDataLakeAnalyticsAccountParameters.java
+++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/models/UpdateDataLakeAnalyticsAccountParameters.java
@@ -8,6 +8,7 @@
import com.azure.core.annotation.JsonFlatten;
import com.azure.core.util.logging.ClientLogger;
import com.fasterxml.jackson.annotation.JsonIgnore;
+import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import java.util.Map;
@@ -22,6 +23,7 @@ public class UpdateDataLakeAnalyticsAccountParameters {
* The resource tags.
*/
@JsonProperty(value = "tags")
+ @JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
private Map tags;
/*
diff --git a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/models/VirtualNetworkRule.java b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/models/VirtualNetworkRule.java
index e8a314d78737a..8494a29a6867a 100644
--- a/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/models/VirtualNetworkRule.java
+++ b/sdk/datalakeanalytics/azure-resourcemanager-datalakeanalytics/src/main/java/com/azure/resourcemanager/datalakeanalytics/models/VirtualNetworkRule.java
@@ -4,7 +4,7 @@
package com.azure.resourcemanager.datalakeanalytics.models;
-import com.azure.core.annotation.Immutable;
+import com.azure.core.annotation.Fluent;
import com.azure.core.annotation.JsonFlatten;
import com.azure.core.management.SubResource;
import com.azure.core.util.logging.ClientLogger;
@@ -13,7 +13,7 @@
/** Data Lake Analytics VirtualNetwork Rule information. */
@JsonFlatten
-@Immutable
+@Fluent
public class VirtualNetworkRule extends SubResource {
@JsonIgnore private final ClientLogger logger = new ClientLogger(VirtualNetworkRule.class);