Interface StorageAccountApi


  • @Path("/")
    @Consumes("application/json")
    public interface StorageAccountApi
    The Azure Resource Management API includes operations for managing the storage accounts in your subscription.
    See Also:
    docs
    • Method Detail

      • list

        @Named("storageaccount:list")
        @Path("/resourcegroups/{resourceGroup}/providers/Microsoft.Storage/storageAccounts")
        @GET
        List<StorageService> list()
        The List Storage Accounts operation lists the storage accounts that are available in the specified subscription and resource group. https://msdn.microsoft.com/en-us/library/mt163559.aspx
      • create

        @Named("storageaccount:create")
        @Path("/resourcegroups/{resourceGroup}/providers/Microsoft.Storage/storageAccounts/{storageAccountName}")
        @PUT
        URI create​(@PathParam("storageAccountName")
                   String storageAccountName,
                   String location,
                   @Nullable
                   Map<String,​String> tags,
                   Map<String,​String> properties)
        The Create Storage Account asynchronous operation creates a new storage account in Microsoft Azure. https://msdn.microsoft.com/en-us/library/mt163564.aspx PUT
      • isAvailable

        @Named("CheckStorageAccountNameAvailability")
        @POST
        @Path("/providers/Microsoft.Storage/checkNameAvailability")
        @Produces("application/json")
        Availability isAvailable​(String storageAccountName)
        The Check Storage Account Name Availability operation checks to see if the specified storage account name is available, or if it has already been taken. https://msdn.microsoft.com/en-us/library/mt163642.aspx POST
      • get

        @Named("storageaccountproperty:get")
        @GET
        @Path("/resourcegroups/{resourceGroup}/providers/Microsoft.Storage/storageAccounts/{storageAccountName}")
        StorageService get​(@PathParam("storageAccountName")
                           String storageAccountName)
        The Get Storage Account Properties operation returns system properties for the specified storage account. https://msdn.microsoft.com/en-us/library/mt163553.aspx
      • getKeys

        @Named("storageaccountkey:get")
        @POST
        @Path("/resourcegroups/{resourceGroup}/providers/Microsoft.Storage/storageAccounts/{storageAccountName}/listKeys")
        StorageServiceKeys getKeys​(@PathParam("storageAccountName")
                                   String storageAccountName)
        The Get Storage Keys operation returns the primary and secondary access keys for the specified storage account. https://msdn.microsoft.com/en-us/library/mt163589.aspx POST
      • regenerateKeys

        @Named("RegenerateStorageAccountKeys")
        @POST
        @Path("/resourcegroups/{resourceGroup}/providers/Microsoft.Storage/storageAccounts/{storageAccount}/regenerateKey")
        @Produces("application/json")
        StorageServiceKeys regenerateKeys​(@PathParam("storageAccount")
                                          String storageAccount,
                                          String keyName)
        https://msdn.microsoft.com/en-us/library/mt163567.aspx POST
      • update

        @Named("storageaccount:update")
        @Path("/resourcegroups/{resourceGroup}/providers/Microsoft.Storage/storageAccounts/{storageAccountName}")
        StorageServiceUpdateParams update​(@PathParam("storageAccountName")
                                          String storageAccountName,
                                          @Nullable
                                          Map<String,​String> tags,
                                          StorageServiceUpdateParams.StorageServiceUpdateProperties properties)
        The Update Storage Account asynchronous operation updates the label, the description, and enables or disables the geo-replication status for the specified storage account. https://msdn.microsoft.com/en-us/library/mt163639.aspx PATCH
      • delete

        @Named("storageaccount:delete")
        @DELETE
        @Path("/resourcegroups/{resourceGroup}/providers/Microsoft.Storage/storageAccounts/{storageAccountName}")
        boolean delete​(@PathParam("storageAccountName")
                       String storageAccountName)
        https://msdn.microsoft.com/en-us/library/mt163652.aspx DELETE