@Beta
public interface BlobContainers
Modifier and Type | Method and Description |
---|---|
rx.Observable<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.
|
rx.Completable |
deleteAsync(String resourceGroupName,
String accountName,
String containerName)
Deletes specified container under its account.
|
rx.Completable |
deleteImmutabilityPolicyAsync(String resourceGroupName,
String accountName,
String containerName,
String ifMatch)
Aborts an unlocked immutability policy.
|
rx.Observable<ImmutabilityPolicy> |
extendImmutabilityPolicyAsync(String resourceGroupName,
String accountName,
String containerName,
String ifMatch,
int immutabilityPeriodSinceCreationInDays)
Extends the immutabilityPeriodSinceCreationInDays of a locked immutabilityPolicy.
|
rx.Observable<BlobContainer> |
getAsync(String resourceGroupName,
String accountName,
String containerName)
Gets properties of a specified container.
|
rx.Observable<ImmutabilityPolicy> |
getImmutabilityPolicyAsync(String resourceGroupName,
String accountName,
String containerName)
Gets the existing immutability policy along with the corresponding ETag in response headers and body.
|
rx.Observable<ListContainerItems> |
listAsync(String resourceGroupName,
String accountName)
Lists all containers and does not support a prefix like data plane.
|
rx.Observable<ImmutabilityPolicy> |
lockImmutabilityPolicyAsync(String resourceGroupName,
String accountName,
String containerName,
String ifMatch)
Sets the ImmutabilityPolicy to Locked state.
|
rx.Observable<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.rx.Observable<ListContainerItems> 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 validationrx.Observable<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 validationrx.Completable 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 validationrx.Observable<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 validationrx.Observable<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 validationrx.Observable<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 validationrx.Completable deleteImmutabilityPolicyAsync(String resourceGroupName, String accountName, String containerName, String ifMatch)
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.ifMatch
- 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 validationrx.Observable<ImmutabilityPolicy> lockImmutabilityPolicyAsync(String resourceGroupName, String accountName, String containerName, String ifMatch)
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.ifMatch
- 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 validationrx.Observable<ImmutabilityPolicy> extendImmutabilityPolicyAsync(String resourceGroupName, String accountName, String containerName, String ifMatch, int immutabilityPeriodSinceCreationInDays)
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.ifMatch
- 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.immutabilityPeriodSinceCreationInDays
- The immutability period for the blobs in the container since the policy creation, in days.IllegalArgumentException
- thrown if parameters fail the validationCopyright © 2019. All rights reserved.