public interface BlobContainers
| Modifier and Type | Method and Description |
|---|---|
LegalHold |
clearLegalHold(String resourceGroupName,
String accountName,
String containerName,
List<String> tags)
Clears legal hold tags.
|
Mono<LegalHold> |
clearLegalHoldAsync(String resourceGroupName,
String accountName,
String containerName,
List<String> tags)
Clears legal hold tags.
|
BlobContainer.DefinitionStages.Blank |
defineContainer(String name)
Begins definition for a new Container resource.
|
ImmutabilityPolicy.DefinitionStages.Blank |
defineImmutabilityPolicy(String name)
Begins definition for a new ImmutabilityPolicy resource.
|
void |
delete(String resourceGroupName,
String accountName,
String containerName)
Deletes specified container under its account.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String accountName,
String containerName)
Deletes specified container under its account.
|
void |
deleteImmutabilityPolicy(String resourceGroupName,
String accountName,
String containerName)
Aborts an unlocked immutability policy.
|
Mono<Void> |
deleteImmutabilityPolicyAsync(String resourceGroupName,
String accountName,
String containerName)
Aborts an unlocked immutability policy.
|
Mono<Void> |
deleteImmutabilityPolicyAsync(String resourceGroupName,
String accountName,
String containerName,
String eTagValue)
Aborts an unlocked immutability policy.
|
ImmutabilityPolicy |
extendImmutabilityPolicy(String resourceGroupName,
String accountName,
String containerName,
int immutabilityPeriodSinceCreationInDays,
Boolean allowProtectedAppendWrites)
Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy.
|
Mono<ImmutabilityPolicy> |
extendImmutabilityPolicyAsync(String resourceGroupName,
String accountName,
String containerName,
int immutabilityPeriodSinceCreationInDays,
Boolean allowProtectedAppendWrites)
Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy.
|
Mono<ImmutabilityPolicy> |
extendImmutabilityPolicyAsync(String resourceGroupName,
String accountName,
String containerName,
int immutabilityPeriodSinceCreationInDays,
Boolean allowProtectedAppendWrites,
String eTagValue)
Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy.
|
BlobContainer |
get(String resourceGroupName,
String accountName,
String containerName)
Gets properties of a specified container.
|
Mono<BlobContainer> |
getAsync(String resourceGroupName,
String accountName,
String containerName)
Gets properties of a specified container.
|
ImmutabilityPolicy |
getImmutabilityPolicy(String resourceGroupName,
String accountName,
String containerName)
Gets the existing immutability policy along with the corresponding ETag in response headers and body.
|
Mono<ImmutabilityPolicy> |
getImmutabilityPolicyAsync(String resourceGroupName,
String accountName,
String containerName)
Gets the existing immutability policy along with the corresponding ETag in response headers and body.
|
Mono<ImmutabilityPolicy> |
getImmutabilityPolicyAsync(String resourceGroupName,
String accountName,
String containerName,
String eTagValue)
Gets the existing immutability policy along with the corresponding ETag in response headers and body.
|
com.azure.core.http.rest.PagedIterable<ListContainerItemInner> |
list(String resourceGroupName,
String accountName)
Lists all containers and does not support a prefix like data plane.
|
com.azure.core.http.rest.PagedFlux<ListContainerItemInner> |
listAsync(String resourceGroupName,
String accountName)
Lists all containers and does not support a prefix like data plane.
|
ImmutabilityPolicy |
lockImmutabilityPolicy(String resourceGroupName,
String accountName,
String containerName)
Sets the ImmutabilityPolicy to Locked state.
|
Mono<ImmutabilityPolicy> |
lockImmutabilityPolicyAsync(String resourceGroupName,
String accountName,
String containerName)
Sets the ImmutabilityPolicy to Locked state.
|
Mono<ImmutabilityPolicy> |
lockImmutabilityPolicyAsync(String resourceGroupName,
String accountName,
String containerName,
String eTagValue)
Sets the ImmutabilityPolicy to Locked state.
|
LegalHold |
setLegalHold(String resourceGroupName,
String accountName,
String containerName,
List<String> tags)
Sets legal hold tags.
|
Mono<LegalHold> |
setLegalHoldAsync(String resourceGroupName,
String accountName,
String containerName,
List<String> tags)
Sets legal hold tags.
|
BlobContainer.DefinitionStages.Blank defineContainer(String name)
name - resource name.ImmutabilityPolicy.DefinitionStages.Blank defineImmutabilityPolicy(String name)
name - resource name.com.azure.core.http.rest.PagedFlux<ListContainerItemInner> listAsync(String resourceGroupName, String accountName)
resourceGroupName - The name of the resource group within the user's subscription. The name is case
insensitive.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.IllegalArgumentException - thrown if parameters fail the validationMono<BlobContainer> getAsync(String resourceGroupName, String accountName, String containerName)
resourceGroupName - The name of the resource group within the user's subscription. The name is case
insensitive.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.containerName - The name of the blob container within the specified storage account. Blob container 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.IllegalArgumentException - thrown if parameters fail the validationMono<Void> deleteAsync(String resourceGroupName, String accountName, String containerName)
resourceGroupName - The name of the resource group within the user's subscription. The name is case
insensitive.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.containerName - The name of the blob container within the specified storage account. Blob container 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.IllegalArgumentException - thrown if parameters fail the validationMono<LegalHold> setLegalHoldAsync(String resourceGroupName, String accountName, String containerName, List<String> tags)
resourceGroupName - The name of the resource group within the user's subscription. The name is case
insensitive.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.containerName - The name of the blob container within the specified storage account. Blob container 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.tags - Each tag should be 3 to 23 alphanumeric characters and is normalized to lower case at SRP.IllegalArgumentException - thrown if parameters fail the validationMono<LegalHold> clearLegalHoldAsync(String resourceGroupName, String accountName, String containerName, List<String> tags)
resourceGroupName - The name of the resource group within the user's subscription. The name is case
insensitive.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.containerName - The name of the blob container within the specified storage account. Blob container 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.tags - Each tag should be 3 to 23 alphanumeric characters and is normalized to lower case at SRP.IllegalArgumentException - thrown if parameters fail the validationMono<ImmutabilityPolicy> getImmutabilityPolicyAsync(String resourceGroupName, String accountName, String containerName)
resourceGroupName - The name of the resource group within the user's subscription. The name is case
insensitive.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.containerName - The name of the blob container within the specified storage account. Blob container 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.IllegalArgumentException - thrown if parameters fail the validationMono<ImmutabilityPolicy> getImmutabilityPolicyAsync(String resourceGroupName, String accountName, String containerName, String eTagValue)
resourceGroupName - The name of the resource group within the user's subscription. The name is case
insensitive.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.containerName - The name of the blob container within the specified storage account. Blob container 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.eTagValue - The entity state (ETag) version of the immutability policy to update. A value of "*" can be used
to apply the operation only if the immutability policy already exists. If omitted, this operation will always
be applied.IllegalArgumentException - thrown if parameters fail the validationMono<Void> deleteImmutabilityPolicyAsync(String resourceGroupName, String accountName, String containerName)
resourceGroupName - The name of the resource group within the user's subscription. The name is case
insensitive.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.containerName - The name of the blob container within the specified storage account. Blob container 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.IllegalArgumentException - thrown if parameters fail the validationMono<Void> deleteImmutabilityPolicyAsync(String resourceGroupName, String accountName, String containerName, String eTagValue)
resourceGroupName - The name of the resource group within the user's subscription. The name is case
insensitive.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.containerName - The name of the blob container within the specified storage account. Blob container 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.eTagValue - The entity state (ETag) version of the immutability policy to update. A value of "*" can be used
to apply the operation only if the immutability policy already exists. If omitted, this operation will always
be applied.IllegalArgumentException - thrown if parameters fail the validationMono<ImmutabilityPolicy> lockImmutabilityPolicyAsync(String resourceGroupName, String accountName, String containerName)
resourceGroupName - The name of the resource group within the user's subscription. The name is case
insensitive.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.containerName - The name of the blob container within the specified storage account. Blob container 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.IllegalArgumentException - thrown if parameters fail the validationMono<ImmutabilityPolicy> lockImmutabilityPolicyAsync(String resourceGroupName, String accountName, String containerName, String eTagValue)
resourceGroupName - The name of the resource group within the user's subscription. The name is case
insensitive.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.containerName - The name of the blob container within the specified storage account. Blob container 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.eTagValue - The entity state (ETag) version of the immutability policy to update. A value of "*" can be used
to apply the operation only if the immutability policy already exists. If omitted, this operation will always
be applied.IllegalArgumentException - thrown if parameters fail the validationMono<ImmutabilityPolicy> extendImmutabilityPolicyAsync(String resourceGroupName, String accountName, String containerName, int immutabilityPeriodSinceCreationInDays, Boolean allowProtectedAppendWrites)
resourceGroupName - The name of the resource group within the user's subscription. The name is case
insensitive.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.containerName - The name of the blob container within the specified storage account. Blob container 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.immutabilityPeriodSinceCreationInDays - The immutability period for the blobs in the container since the
policy creation, in days.allowProtectedAppendWrites - This property can only be changed for unlocked time-based retention policies.
When enabled, new blocks can be written to an append blob while maintaining immutability protection and
compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property
cannot be changed with ExtendImmutabilityPolicy API.IllegalArgumentException - thrown if parameters fail the validationMono<ImmutabilityPolicy> extendImmutabilityPolicyAsync(String resourceGroupName, String accountName, String containerName, int immutabilityPeriodSinceCreationInDays, Boolean allowProtectedAppendWrites, String eTagValue)
resourceGroupName - The name of the resource group within the user's subscription. The name is case
insensitive.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.containerName - The name of the blob container within the specified storage account. Blob container 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.immutabilityPeriodSinceCreationInDays - The immutability period for the blobs in the container since the
policy creation, in days.allowProtectedAppendWrites - This property can only be changed for unlocked time-based retention policies.
When enabled, new blocks can be written to an append blob while maintaining immutability protection and
compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property
cannot be changed with ExtendImmutabilityPolicy API.eTagValue - The entity state (ETag) version of the immutability policy to update. A value of "*" can be used
to apply the operation only if the immutability policy already exists. If omitted, this operation will always
be applied.IllegalArgumentException - thrown if parameters fail the validationcom.azure.core.http.rest.PagedIterable<ListContainerItemInner> list(String resourceGroupName, String accountName)
resourceGroupName - The name of the resource group within the user's subscription. The name is case
insensitive.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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.BlobContainer get(String resourceGroupName, String accountName, String containerName)
resourceGroupName - The name of the resource group within the user's subscription. The name is case
insensitive.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.containerName - The name of the blob container within the specified storage account. Blob container 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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void delete(String resourceGroupName, String accountName, String containerName)
resourceGroupName - The name of the resource group within the user's subscription. The name is case
insensitive.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.containerName - The name of the blob container within the specified storage account. Blob container 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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.LegalHold setLegalHold(String resourceGroupName, String accountName, String containerName, List<String> tags)
resourceGroupName - The name of the resource group within the user's subscription. The name is case
insensitive.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.containerName - The name of the blob container within the specified storage account. Blob container 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.tags - Each tag should be 3 to 23 alphanumeric characters and is normalized to lower case at SRP.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.LegalHold clearLegalHold(String resourceGroupName, String accountName, String containerName, List<String> tags)
resourceGroupName - The name of the resource group within the user's subscription. The name is case
insensitive.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.containerName - The name of the blob container within the specified storage account. Blob container 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.tags - Each tag should be 3 to 23 alphanumeric characters and is normalized to lower case at SRP.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.ImmutabilityPolicy getImmutabilityPolicy(String resourceGroupName, String accountName, String containerName)
resourceGroupName - The name of the resource group within the user's subscription. The name is case
insensitive.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.containerName - The name of the blob container within the specified storage account. Blob container 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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void deleteImmutabilityPolicy(String resourceGroupName, String accountName, String containerName)
resourceGroupName - The name of the resource group within the user's subscription. The name is case
insensitive.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.containerName - The name of the blob container within the specified storage account. Blob container 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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.ImmutabilityPolicy lockImmutabilityPolicy(String resourceGroupName, String accountName, String containerName)
resourceGroupName - The name of the resource group within the user's subscription. The name is case
insensitive.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.containerName - The name of the blob container within the specified storage account. Blob container 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.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.ImmutabilityPolicy extendImmutabilityPolicy(String resourceGroupName, String accountName, String containerName, int immutabilityPeriodSinceCreationInDays, Boolean allowProtectedAppendWrites)
resourceGroupName - The name of the resource group within the user's subscription. The name is case
insensitive.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.containerName - The name of the blob container within the specified storage account. Blob container 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.immutabilityPeriodSinceCreationInDays - The immutability period for the blobs in the container since the
policy creation, in days.allowProtectedAppendWrites - This property can only be changed for unlocked time-based retention policies.
When enabled, new blocks can be written to an append blob while maintaining immutability protection and
compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. This property
cannot be changed with ExtendImmutabilityPolicy API.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Copyright © 2021 Microsoft Corporation. All rights reserved.