Interface StorageAccountsClient


public interface StorageAccountsClient
An instance of this class provides access to all the operations defined in StorageAccountsClient.
  • Method Details

    • listByAccount

      com.azure.core.http.rest.PagedIterable<StorageAccountInformationInner> listByAccount(String resourceGroupName, String accountName)
      Gets the first page of Azure Storage accounts, if any, linked to the specified Data Lake Analytics account. The response includes a link to the next page, if any.
      Parameters:
      resourceGroupName - The name of the Azure resource group.
      accountName - The name of the Data Lake Analytics account.
      Returns:
      the first page of Azure Storage accounts, if any, linked to the specified Data Lake Analytics 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.
    • listByAccount

      com.azure.core.http.rest.PagedIterable<StorageAccountInformationInner> listByAccount(String resourceGroupName, String accountName, String filter, Integer top, Integer skip, String select, String orderby, Boolean count, com.azure.core.util.Context context)
      Gets the first page of Azure Storage accounts, if any, linked to the specified Data Lake Analytics account. The response includes a link to the next page, if any.
      Parameters:
      resourceGroupName - The name of the Azure resource group.
      accountName - The name of the Data Lake Analytics account.
      filter - The OData filter. Optional.
      top - The number of items to return. Optional.
      skip - The number of items to skip over before returning elements. Optional.
      select - OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional.
      orderby - OrderBy clause. One or more comma-separated expressions with an optional "asc" (the default) or "desc" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional.
      count - The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional.
      context - The context to associate with this operation.
      Returns:
      the first page of Azure Storage accounts, if any, linked to the specified Data Lake Analytics 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.
    • addWithResponse

      com.azure.core.http.rest.Response<Void> addWithResponse(String resourceGroupName, String accountName, String storageAccountName, AddStorageAccountParameters parameters, com.azure.core.util.Context context)
      Updates the specified Data Lake Analytics account to add an Azure Storage account.
      Parameters:
      resourceGroupName - The name of the Azure resource group.
      accountName - The name of the Data Lake Analytics account.
      storageAccountName - The name of the Azure Storage account to add.
      parameters - The parameters containing the access key and optional suffix for the Azure Storage Account.
      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.
    • add

      void add(String resourceGroupName, String accountName, String storageAccountName, AddStorageAccountParameters parameters)
      Updates the specified Data Lake Analytics account to add an Azure Storage account.
      Parameters:
      resourceGroupName - The name of the Azure resource group.
      accountName - The name of the Data Lake Analytics account.
      storageAccountName - The name of the Azure Storage account to add.
      parameters - The parameters containing the access key and optional suffix for the Azure 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.
    • getWithResponse

      com.azure.core.http.rest.Response<StorageAccountInformationInner> getWithResponse(String resourceGroupName, String accountName, String storageAccountName, com.azure.core.util.Context context)
      Gets the specified Azure Storage account linked to the given Data Lake Analytics account.
      Parameters:
      resourceGroupName - The name of the Azure resource group.
      accountName - The name of the Data Lake Analytics account.
      storageAccountName - The name of the Azure Storage account for which to retrieve the details.
      context - The context to associate with this operation.
      Returns:
      the specified Azure Storage account linked to the given Data Lake Analytics 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

      StorageAccountInformationInner get(String resourceGroupName, String accountName, String storageAccountName)
      Gets the specified Azure Storage account linked to the given Data Lake Analytics account.
      Parameters:
      resourceGroupName - The name of the Azure resource group.
      accountName - The name of the Data Lake Analytics account.
      storageAccountName - The name of the Azure Storage account for which to retrieve the details.
      Returns:
      the specified Azure Storage account linked to the given Data Lake Analytics 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.
    • updateWithResponse

      com.azure.core.http.rest.Response<Void> updateWithResponse(String resourceGroupName, String accountName, String storageAccountName, UpdateStorageAccountParameters parameters, com.azure.core.util.Context context)
      Updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the access key and/or suffix.
      Parameters:
      resourceGroupName - The name of the Azure resource group.
      accountName - The name of the Data Lake Analytics account.
      storageAccountName - The Azure Storage account to modify.
      parameters - The parameters containing the access key and suffix to update the storage account with, if any. Passing nothing results in no change.
      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.
    • update

      void update(String resourceGroupName, String accountName, String storageAccountName)
      Updates the Data Lake Analytics account to replace Azure Storage blob account details, such as the access key and/or suffix.
      Parameters:
      resourceGroupName - The name of the Azure resource group.
      accountName - The name of the Data Lake Analytics account.
      storageAccountName - The Azure Storage account to modify.
      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, String storageAccountName, com.azure.core.util.Context context)
      Updates the specified Data Lake Analytics account to remove an Azure Storage account.
      Parameters:
      resourceGroupName - The name of the Azure resource group.
      accountName - The name of the Data Lake Analytics account.
      storageAccountName - The name of the Azure Storage account to remove.
      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, String storageAccountName)
      Updates the specified Data Lake Analytics account to remove an Azure Storage account.
      Parameters:
      resourceGroupName - The name of the Azure resource group.
      accountName - The name of the Data Lake Analytics account.
      storageAccountName - The name of the Azure Storage account to remove.
      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.
    • listStorageContainers

      com.azure.core.http.rest.PagedIterable<StorageContainerInner> listStorageContainers(String resourceGroupName, String accountName, String storageAccountName)
      Lists the Azure Storage containers, if any, associated with the specified Data Lake Analytics and Azure Storage account combination. The response includes a link to the next page of results, if any.
      Parameters:
      resourceGroupName - The name of the Azure resource group.
      accountName - The name of the Data Lake Analytics account.
      storageAccountName - The name of the Azure storage account from which to list blob containers.
      Returns:
      the list of blob containers associated with the storage account attached to the Data Lake Analytics 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.
    • listStorageContainers

      com.azure.core.http.rest.PagedIterable<StorageContainerInner> listStorageContainers(String resourceGroupName, String accountName, String storageAccountName, com.azure.core.util.Context context)
      Lists the Azure Storage containers, if any, associated with the specified Data Lake Analytics and Azure Storage account combination. The response includes a link to the next page of results, if any.
      Parameters:
      resourceGroupName - The name of the Azure resource group.
      accountName - The name of the Data Lake Analytics account.
      storageAccountName - The name of the Azure storage account from which to list blob containers.
      context - The context to associate with this operation.
      Returns:
      the list of blob containers associated with the storage account attached to the Data Lake Analytics 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.
    • getStorageContainerWithResponse

      com.azure.core.http.rest.Response<StorageContainerInner> getStorageContainerWithResponse(String resourceGroupName, String accountName, String storageAccountName, String containerName, com.azure.core.util.Context context)
      Gets the specified Azure Storage container associated with the given Data Lake Analytics and Azure Storage accounts.
      Parameters:
      resourceGroupName - The name of the Azure resource group.
      accountName - The name of the Data Lake Analytics account.
      storageAccountName - The name of the Azure storage account from which to retrieve the blob container.
      containerName - The name of the Azure storage container to retrieve.
      context - The context to associate with this operation.
      Returns:
      the specified Azure Storage container associated with the given Data Lake Analytics and Azure Storage accounts 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.
    • getStorageContainer

      StorageContainerInner getStorageContainer(String resourceGroupName, String accountName, String storageAccountName, String containerName)
      Gets the specified Azure Storage container associated with the given Data Lake Analytics and Azure Storage accounts.
      Parameters:
      resourceGroupName - The name of the Azure resource group.
      accountName - The name of the Data Lake Analytics account.
      storageAccountName - The name of the Azure storage account from which to retrieve the blob container.
      containerName - The name of the Azure storage container to retrieve.
      Returns:
      the specified Azure Storage container associated with the given Data Lake Analytics and Azure Storage accounts.
      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.
    • listSasTokens

      com.azure.core.http.rest.PagedIterable<SasTokenInformationInner> listSasTokens(String resourceGroupName, String accountName, String storageAccountName, String containerName)
      Gets the SAS token associated with the specified Data Lake Analytics and Azure Storage account and container combination.
      Parameters:
      resourceGroupName - The name of the Azure resource group.
      accountName - The name of the Data Lake Analytics account.
      storageAccountName - The name of the Azure storage account for which the SAS token is being requested.
      containerName - The name of the Azure storage container for which the SAS token is being requested.
      Returns:
      the SAS token associated with the specified Data Lake Analytics and Azure Storage account and container combination 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.
    • listSasTokens

      com.azure.core.http.rest.PagedIterable<SasTokenInformationInner> listSasTokens(String resourceGroupName, String accountName, String storageAccountName, String containerName, com.azure.core.util.Context context)
      Gets the SAS token associated with the specified Data Lake Analytics and Azure Storage account and container combination.
      Parameters:
      resourceGroupName - The name of the Azure resource group.
      accountName - The name of the Data Lake Analytics account.
      storageAccountName - The name of the Azure storage account for which the SAS token is being requested.
      containerName - The name of the Azure storage container for which the SAS token is being requested.
      context - The context to associate with this operation.
      Returns:
      the SAS token associated with the specified Data Lake Analytics and Azure Storage account and container combination 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.