Interface BlobInventoryPoliciesClient
public interface BlobInventoryPoliciesClient
An instance of this class provides access to all the operations defined in BlobInventoryPoliciesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate(String resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName, BlobInventoryPolicyInner properties) Sets the blob inventory policy to the specified storage account.createOrUpdateAsync(String resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName, BlobInventoryPolicyInner properties) Sets the blob inventory policy to the specified storage account.com.azure.core.http.rest.Response<BlobInventoryPolicyInner>createOrUpdateWithResponse(String resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName, BlobInventoryPolicyInner properties, com.azure.core.util.Context context) Sets the blob inventory policy to the specified storage account.Mono<com.azure.core.http.rest.Response<BlobInventoryPolicyInner>>createOrUpdateWithResponseAsync(String resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName, BlobInventoryPolicyInner properties) Sets the blob inventory policy to the specified storage account.voiddelete(String resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName) Deletes the blob inventory policy associated with the specified storage account.deleteAsync(String resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName) Deletes the blob inventory policy associated with the specified storage account.com.azure.core.http.rest.Response<Void>deleteWithResponse(String resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName, com.azure.core.util.Context context) Deletes the blob inventory policy associated with the specified storage account.deleteWithResponseAsync(String resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName) Deletes the blob inventory policy associated with the specified storage account.get(String resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName) Gets the blob inventory policy associated with the specified storage account.getAsync(String resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName) Gets the blob inventory policy associated with the specified storage account.com.azure.core.http.rest.Response<BlobInventoryPolicyInner>getWithResponse(String resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName, com.azure.core.util.Context context) Gets the blob inventory policy associated with the specified storage account.Mono<com.azure.core.http.rest.Response<BlobInventoryPolicyInner>>getWithResponseAsync(String resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName) Gets the blob inventory policy associated with the specified storage account.com.azure.core.http.rest.PagedIterable<BlobInventoryPolicyInner>Gets the blob inventory policy associated with the specified storage account.com.azure.core.http.rest.PagedIterable<BlobInventoryPolicyInner>Gets the blob inventory policy associated with the specified storage account.com.azure.core.http.rest.PagedFlux<BlobInventoryPolicyInner>Gets the blob inventory policy associated with the specified storage account.
-
Method Details
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<BlobInventoryPolicyInner>> getWithResponseAsync(String resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName) Gets the blob inventory policy associated with the specified storage account.- Parameters:
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.blobInventoryPolicyName- The name of the storage account blob inventory policy. It should always be 'default'.- Returns:
- the blob inventory policy associated with the specified storage account along with
Responseon successful completion ofMono. - Throws:
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.
-
getAsync
Mono<BlobInventoryPolicyInner> getAsync(String resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName) Gets the blob inventory policy associated with the specified storage account.- Parameters:
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.blobInventoryPolicyName- The name of the storage account blob inventory policy. It should always be 'default'.- Returns:
- the blob inventory policy associated with the specified storage account on successful completion of
Mono. - Throws:
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.
-
getWithResponse
com.azure.core.http.rest.Response<BlobInventoryPolicyInner> getWithResponse(String resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName, com.azure.core.util.Context context) Gets the blob inventory policy associated with the specified storage account.- Parameters:
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.blobInventoryPolicyName- The name of the storage account blob inventory policy. It should always be 'default'.context- The context to associate with this operation.- Returns:
- the blob inventory policy associated with the specified storage account along with
Response. - Throws:
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.
-
get
BlobInventoryPolicyInner get(String resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName) Gets the blob inventory policy associated with the specified storage account.- Parameters:
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.blobInventoryPolicyName- The name of the storage account blob inventory policy. It should always be 'default'.- Returns:
- the blob inventory policy associated with the specified storage account.
- Throws:
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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<BlobInventoryPolicyInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName, BlobInventoryPolicyInner properties) Sets the blob inventory policy to the specified storage account.- Parameters:
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.blobInventoryPolicyName- The name of the storage account blob inventory policy. It should always be 'default'.properties- The blob inventory policy set to a storage account.- Returns:
- the storage account blob inventory policy along with
Responseon successful completion ofMono. - Throws:
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.
-
createOrUpdateAsync
Mono<BlobInventoryPolicyInner> createOrUpdateAsync(String resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName, BlobInventoryPolicyInner properties) Sets the blob inventory policy to the specified storage account.- Parameters:
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.blobInventoryPolicyName- The name of the storage account blob inventory policy. It should always be 'default'.properties- The blob inventory policy set to a storage account.- Returns:
- the storage account blob inventory policy on successful completion of
Mono. - Throws:
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.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<BlobInventoryPolicyInner> createOrUpdateWithResponse(String resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName, BlobInventoryPolicyInner properties, com.azure.core.util.Context context) Sets the blob inventory policy to the specified storage account.- Parameters:
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.blobInventoryPolicyName- The name of the storage account blob inventory policy. It should always be 'default'.properties- The blob inventory policy set to a storage account.context- The context to associate with this operation.- Returns:
- the storage account blob inventory policy along with
Response. - Throws:
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.
-
createOrUpdate
BlobInventoryPolicyInner createOrUpdate(String resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName, BlobInventoryPolicyInner properties) Sets the blob inventory policy to the specified storage account.- Parameters:
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.blobInventoryPolicyName- The name of the storage account blob inventory policy. It should always be 'default'.properties- The blob inventory policy set to a storage account.- Returns:
- the storage account blob inventory policy.
- Throws:
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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName) Deletes the blob inventory policy associated with the specified storage account.- Parameters:
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.blobInventoryPolicyName- The name of the storage account blob inventory policy. It should always be 'default'.- Returns:
- the
Responseon successful completion ofMono. - Throws:
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.
-
deleteAsync
Mono<Void> deleteAsync(String resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName) Deletes the blob inventory policy associated with the specified storage account.- Parameters:
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.blobInventoryPolicyName- The name of the storage account blob inventory policy. It should always be 'default'.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName, com.azure.core.util.Context context) Deletes the blob inventory policy associated with the specified storage account.- Parameters:
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.blobInventoryPolicyName- The name of the storage account blob inventory policy. It should always be 'default'.context- The context to associate with this operation.- Returns:
- the
Response. - Throws:
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.
-
delete
void delete(String resourceGroupName, String accountName, BlobInventoryPolicyName blobInventoryPolicyName) Deletes the blob inventory policy associated with the specified storage account.- Parameters:
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.blobInventoryPolicyName- The name of the storage account blob inventory policy. It should always be 'default'.- Throws:
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.
-
listAsync
com.azure.core.http.rest.PagedFlux<BlobInventoryPolicyInner> listAsync(String resourceGroupName, String accountName) Gets the blob inventory policy associated with the specified storage account.- Parameters:
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.- Returns:
- the blob inventory policy associated with the specified storage account as paginated response with
PagedFlux. - Throws:
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.
-
list
com.azure.core.http.rest.PagedIterable<BlobInventoryPolicyInner> list(String resourceGroupName, String accountName) Gets the blob inventory policy associated with the specified storage account.- Parameters:
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.- Returns:
- the blob inventory policy associated with the specified storage account as paginated response with
PagedIterable. - Throws:
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.
-
list
com.azure.core.http.rest.PagedIterable<BlobInventoryPolicyInner> list(String resourceGroupName, String accountName, com.azure.core.util.Context context) Gets the blob inventory policy associated with the specified storage account.- Parameters:
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.context- The context to associate with this operation.- Returns:
- the blob inventory policy associated with the specified storage account as paginated response with
PagedIterable. - Throws:
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.
-