public Observable<StorageBundle> setStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map<String, String> tags) {
        return setStorageAccountWithServiceResponseAsync(vaultBaseUrl, storageAccountName, resourceId, activeKeyName, autoRegenerateKey, regenerationPeriod, storageAccountAttributes, tags).map(new Func1<ServiceResponse<StorageBundle>, StorageBundle>() {
            @Override
            public StorageBundle call(ServiceResponse<StorageBundle> response) {
                return response.body();
            }
        });
    }
public Observable < StorageBundle > setStorageAccountAsync ( String vaultBaseUrl , String storageAccountName , String resourceId , String activeKeyName , boolean autoRegenerateKey , String regenerationPeriod , StorageAccountAttributes storageAccountAttributes , Map < String , String > tags ) { return setStorageAccountWithServiceResponseAsync ( vaultBaseUrl , storageAccountName , resourceId , activeKeyName , autoRegenerateKey , regenerationPeriod , storageAccountAttributes , tags ) . map ( new Func1 < ServiceResponse < StorageBundle > , StorageBundle > ( ) { @ Override public StorageBundle call ( ServiceResponse < StorageBundle > response ) { return response . body ( ) ; } } ) ; }
Creates or updates a new storage account. This operation requires the storage/set permission.

@param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
@param storageAccountName The name of the storage account.
@param resourceId Storage account resource id.
@param activeKeyName Current active storage account key name.
@param autoRegenerateKey whether keyvault should manage the storage account for the user.
@param regenerationPeriod The key regeneration time duration specified in ISO-8601 format.
@param storageAccountAttributes The attributes of the storage account.
@param tags Application specific metadata in the form of key-value pairs.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the StorageBundle object