diff --git a/sdk/storage/mgmt-v2019_06_01/pom.xml b/sdk/storage/mgmt-v2019_06_01/pom.xml
index 2d88e668c503..3f831c08f482 100644
--- a/sdk/storage/mgmt-v2019_06_01/pom.xml
+++ b/sdk/storage/mgmt-v2019_06_01/pom.xml
@@ -15,7 +15,7 @@
../../../pom.management.xml
azure-mgmt-storage
- 1.0.0-beta-1
+ 1.0.0-beta-2
jar
Microsoft Azure SDK for Storage Management
This package contains Microsoft Storage Management SDK.
diff --git a/sdk/storage/mgmt-v2019_06_01/src/main/java/com/microsoft/azure/management/storage/v2019_06_01/EncryptionService.java b/sdk/storage/mgmt-v2019_06_01/src/main/java/com/microsoft/azure/management/storage/v2019_06_01/EncryptionService.java
index 4bdd525e7046..83ca14444329 100644
--- a/sdk/storage/mgmt-v2019_06_01/src/main/java/com/microsoft/azure/management/storage/v2019_06_01/EncryptionService.java
+++ b/sdk/storage/mgmt-v2019_06_01/src/main/java/com/microsoft/azure/management/storage/v2019_06_01/EncryptionService.java
@@ -31,6 +31,15 @@ public class EncryptionService {
@JsonProperty(value = "lastEnabledTime", access = JsonProperty.Access.WRITE_ONLY)
private DateTime lastEnabledTime;
+ /**
+ * Encryption key type to be used for the encryption service. 'Account' key
+ * type implies that an account-scoped encryption key will be used.
+ * 'Service' key type implies that a default service key is used. Possible
+ * values include: 'Service', 'Account'.
+ */
+ @JsonProperty(value = "keyType")
+ private KeyType keyType;
+
/**
* Get a boolean indicating whether or not the service encrypts the data as it is stored.
*
@@ -60,4 +69,24 @@ public DateTime lastEnabledTime() {
return this.lastEnabledTime;
}
+ /**
+ * Get encryption key type to be used for the encryption service. 'Account' key type implies that an account-scoped encryption key will be used. 'Service' key type implies that a default service key is used. Possible values include: 'Service', 'Account'.
+ *
+ * @return the keyType value
+ */
+ public KeyType keyType() {
+ return this.keyType;
+ }
+
+ /**
+ * Set encryption key type to be used for the encryption service. 'Account' key type implies that an account-scoped encryption key will be used. 'Service' key type implies that a default service key is used. Possible values include: 'Service', 'Account'.
+ *
+ * @param keyType the keyType value to set
+ * @return the EncryptionService object itself.
+ */
+ public EncryptionService withKeyType(KeyType keyType) {
+ this.keyType = keyType;
+ return this;
+ }
+
}
diff --git a/sdk/storage/mgmt-v2019_06_01/src/main/java/com/microsoft/azure/management/storage/v2019_06_01/EncryptionServices.java b/sdk/storage/mgmt-v2019_06_01/src/main/java/com/microsoft/azure/management/storage/v2019_06_01/EncryptionServices.java
index 71595032e707..3a18d9d7df7e 100644
--- a/sdk/storage/mgmt-v2019_06_01/src/main/java/com/microsoft/azure/management/storage/v2019_06_01/EncryptionServices.java
+++ b/sdk/storage/mgmt-v2019_06_01/src/main/java/com/microsoft/azure/management/storage/v2019_06_01/EncryptionServices.java
@@ -29,13 +29,13 @@ public class EncryptionServices {
/**
* The encryption function of the table storage service.
*/
- @JsonProperty(value = "table", access = JsonProperty.Access.WRITE_ONLY)
+ @JsonProperty(value = "table")
private EncryptionService table;
/**
* The encryption function of the queue storage service.
*/
- @JsonProperty(value = "queue", access = JsonProperty.Access.WRITE_ONLY)
+ @JsonProperty(value = "queue")
private EncryptionService queue;
/**
@@ -87,6 +87,17 @@ public EncryptionService table() {
return this.table;
}
+ /**
+ * Set the encryption function of the table storage service.
+ *
+ * @param table the table value to set
+ * @return the EncryptionServices object itself.
+ */
+ public EncryptionServices withTable(EncryptionService table) {
+ this.table = table;
+ return this;
+ }
+
/**
* Get the encryption function of the queue storage service.
*
@@ -96,4 +107,15 @@ public EncryptionService queue() {
return this.queue;
}
+ /**
+ * Set the encryption function of the queue storage service.
+ *
+ * @param queue the queue value to set
+ * @return the EncryptionServices object itself.
+ */
+ public EncryptionServices withQueue(EncryptionService queue) {
+ this.queue = queue;
+ return this;
+ }
+
}
diff --git a/sdk/storage/mgmt-v2019_06_01/src/main/java/com/microsoft/azure/management/storage/v2019_06_01/FileServiceProperties.java b/sdk/storage/mgmt-v2019_06_01/src/main/java/com/microsoft/azure/management/storage/v2019_06_01/FileServiceProperties.java
index 9dd03b73f9be..468c2d586e70 100644
--- a/sdk/storage/mgmt-v2019_06_01/src/main/java/com/microsoft/azure/management/storage/v2019_06_01/FileServiceProperties.java
+++ b/sdk/storage/mgmt-v2019_06_01/src/main/java/com/microsoft/azure/management/storage/v2019_06_01/FileServiceProperties.java
@@ -18,7 +18,7 @@
import com.microsoft.azure.arm.resources.models.HasManager;
import com.microsoft.azure.management.storage.v2019_06_01.implementation.StorageManager;
import com.microsoft.azure.management.storage.v2019_06_01.implementation.SkuInner;
-
+import java.util.List;
/**
* Type representing FileServiceProperties.
diff --git a/sdk/storage/mgmt-v2019_06_01/src/main/java/com/microsoft/azure/management/storage/v2019_06_01/FileShare.java b/sdk/storage/mgmt-v2019_06_01/src/main/java/com/microsoft/azure/management/storage/v2019_06_01/FileShare.java
index 2a8e133a9006..c36a39ec536f 100644
--- a/sdk/storage/mgmt-v2019_06_01/src/main/java/com/microsoft/azure/management/storage/v2019_06_01/FileShare.java
+++ b/sdk/storage/mgmt-v2019_06_01/src/main/java/com/microsoft/azure/management/storage/v2019_06_01/FileShare.java
@@ -105,7 +105,7 @@ interface WithMetadata {
interface WithShareQuota {
/**
* Specifies shareQuota.
- * @param shareQuota The maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 100000
+ * @param shareQuota The maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400
* @return the next definition stage
*/
WithCreate withShareQuota(Integer shareQuota);
@@ -147,7 +147,7 @@ interface WithMetadata {
interface WithShareQuota {
/**
* Specifies shareQuota.
- * @param shareQuota The maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 100000
+ * @param shareQuota The maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400
* @return the next update stage
*/
Update withShareQuota(Integer shareQuota);
diff --git a/sdk/storage/mgmt-v2019_06_01/src/main/java/com/microsoft/azure/management/storage/v2019_06_01/KeyType.java b/sdk/storage/mgmt-v2019_06_01/src/main/java/com/microsoft/azure/management/storage/v2019_06_01/KeyType.java
new file mode 100644
index 000000000000..e38f6ad5379b
--- /dev/null
+++ b/sdk/storage/mgmt-v2019_06_01/src/main/java/com/microsoft/azure/management/storage/v2019_06_01/KeyType.java
@@ -0,0 +1,41 @@
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
+ */
+
+package com.microsoft.azure.management.storage.v2019_06_01;
+
+import java.util.Collection;
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.microsoft.rest.ExpandableStringEnum;
+
+/**
+ * Defines values for KeyType.
+ */
+public final class KeyType extends ExpandableStringEnum {
+ /** Static value Service for KeyType. */
+ public static final KeyType SERVICE = fromString("Service");
+
+ /** Static value Account for KeyType. */
+ public static final KeyType ACCOUNT = fromString("Account");
+
+ /**
+ * Creates or finds a KeyType from its string representation.
+ * @param name a name to look for
+ * @return the corresponding KeyType
+ */
+ @JsonCreator
+ public static KeyType fromString(String name) {
+ return fromString(name, KeyType.class);
+ }
+
+ /**
+ * @return known KeyType values
+ */
+ public static Collection values() {
+ return values(KeyType.class);
+ }
+}
diff --git a/sdk/storage/mgmt-v2019_06_01/src/main/java/com/microsoft/azure/management/storage/v2019_06_01/implementation/FileShareInner.java b/sdk/storage/mgmt-v2019_06_01/src/main/java/com/microsoft/azure/management/storage/v2019_06_01/implementation/FileShareInner.java
index da66c6178021..731eaabe366e 100644
--- a/sdk/storage/mgmt-v2019_06_01/src/main/java/com/microsoft/azure/management/storage/v2019_06_01/implementation/FileShareInner.java
+++ b/sdk/storage/mgmt-v2019_06_01/src/main/java/com/microsoft/azure/management/storage/v2019_06_01/implementation/FileShareInner.java
@@ -35,7 +35,7 @@ public class FileShareInner extends AzureEntityResource {
/**
* The maximum size of the share, in gigabytes. Must be greater than 0, and
* less than or equal to 5TB (5120). For Large File Shares, the maximum
- * size is 100000.
+ * size is 102400.
*/
@JsonProperty(value = "properties.shareQuota")
private Integer shareQuota;
@@ -70,7 +70,7 @@ public FileShareInner withMetadata(Map metadata) {
}
/**
- * Get the maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 100000.
+ * Get the maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400.
*
* @return the shareQuota value
*/
@@ -79,7 +79,7 @@ public Integer shareQuota() {
}
/**
- * Set the maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 100000.
+ * Set the maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400.
*
* @param shareQuota the shareQuota value to set
* @return the FileShareInner object itself.
diff --git a/sdk/storage/mgmt-v2019_06_01/src/main/java/com/microsoft/azure/management/storage/v2019_06_01/implementation/FileShareItemInner.java b/sdk/storage/mgmt-v2019_06_01/src/main/java/com/microsoft/azure/management/storage/v2019_06_01/implementation/FileShareItemInner.java
index 786d60581fc9..dad24dbe729b 100644
--- a/sdk/storage/mgmt-v2019_06_01/src/main/java/com/microsoft/azure/management/storage/v2019_06_01/implementation/FileShareItemInner.java
+++ b/sdk/storage/mgmt-v2019_06_01/src/main/java/com/microsoft/azure/management/storage/v2019_06_01/implementation/FileShareItemInner.java
@@ -34,7 +34,7 @@ public class FileShareItemInner extends AzureEntityResource {
/**
* The maximum size of the share, in gigabytes. Must be greater than 0, and
* less than or equal to 5TB (5120). For Large File Shares, the maximum
- * size is 100000.
+ * size is 102400.
*/
@JsonProperty(value = "properties.shareQuota")
private Integer shareQuota;
@@ -69,7 +69,7 @@ public FileShareItemInner withMetadata(Map metadata) {
}
/**
- * Get the maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 100000.
+ * Get the maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400.
*
* @return the shareQuota value
*/
@@ -78,7 +78,7 @@ public Integer shareQuota() {
}
/**
- * Set the maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 100000.
+ * Set the maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400.
*
* @param shareQuota the shareQuota value to set
* @return the FileShareItemInner object itself.
diff --git a/sdk/storage/mgmt-v2019_06_01/src/main/java/com/microsoft/azure/management/storage/v2019_06_01/implementation/FileSharesInner.java b/sdk/storage/mgmt-v2019_06_01/src/main/java/com/microsoft/azure/management/storage/v2019_06_01/implementation/FileSharesInner.java
index 1be570e1fd5b..a81cb4858fc0 100644
--- a/sdk/storage/mgmt-v2019_06_01/src/main/java/com/microsoft/azure/management/storage/v2019_06_01/implementation/FileSharesInner.java
+++ b/sdk/storage/mgmt-v2019_06_01/src/main/java/com/microsoft/azure/management/storage/v2019_06_01/implementation/FileSharesInner.java
@@ -438,7 +438,7 @@ public Observable> call(Response r
* @param accountName The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
* @param shareName The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
* @param metadata A name-value pair to associate with the share as metadata.
- * @param shareQuota The maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 100000.
+ * @param shareQuota The maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws CloudException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@@ -455,7 +455,7 @@ public FileShareInner create(String resourceGroupName, String accountName, Strin
* @param accountName The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
* @param shareName The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
* @param metadata A name-value pair to associate with the share as metadata.
- * @param shareQuota The maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 100000.
+ * @param shareQuota The maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
@@ -471,7 +471,7 @@ public ServiceFuture createAsync(String resourceGroupName, Strin
* @param accountName The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
* @param shareName The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
* @param metadata A name-value pair to associate with the share as metadata.
- * @param shareQuota The maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 100000.
+ * @param shareQuota The maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the FileShareInner object
*/
@@ -491,7 +491,7 @@ public FileShareInner call(ServiceResponse response) {
* @param accountName The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
* @param shareName The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
* @param metadata A name-value pair to associate with the share as metadata.
- * @param shareQuota The maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 100000.
+ * @param shareQuota The maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the FileShareInner object
*/
@@ -635,7 +635,7 @@ public Observable> call(Response r
* @param accountName The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
* @param shareName The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
* @param metadata A name-value pair to associate with the share as metadata.
- * @param shareQuota The maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 100000.
+ * @param shareQuota The maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws CloudException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@@ -652,7 +652,7 @@ public FileShareInner update(String resourceGroupName, String accountName, Strin
* @param accountName The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
* @param shareName The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
* @param metadata A name-value pair to associate with the share as metadata.
- * @param shareQuota The maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 100000.
+ * @param shareQuota The maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
@@ -668,7 +668,7 @@ public ServiceFuture updateAsync(String resourceGroupName, Strin
* @param accountName The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
* @param shareName The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
* @param metadata A name-value pair to associate with the share as metadata.
- * @param shareQuota The maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 100000.
+ * @param shareQuota The maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the FileShareInner object
*/
@@ -688,7 +688,7 @@ public FileShareInner call(ServiceResponse response) {
* @param accountName The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only.
* @param shareName The name of the file share within the specified storage account. File share names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number.
* @param metadata A name-value pair to associate with the share as metadata.
- * @param shareQuota The maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 100000.
+ * @param shareQuota The maximum size of the share, in gigabytes. Must be greater than 0, and less than or equal to 5TB (5120). For Large File Shares, the maximum size is 102400.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the FileShareInner object
*/