public Observable<ProtectionContainerResourceInner> registerAsync(String vaultName, String resourceGroupName, String fabricName, String containerName, ProtectionContainerResourceInner parameters) {
        return registerWithServiceResponseAsync(vaultName, resourceGroupName, fabricName, containerName, parameters).map(new Func1<ServiceResponse<ProtectionContainerResourceInner>, ProtectionContainerResourceInner>() {
            @Override
            public ProtectionContainerResourceInner call(ServiceResponse<ProtectionContainerResourceInner> response) {
                return response.body();
            }
        });
    }
public Observable < ProtectionContainerResourceInner > registerAsync ( String vaultName , String resourceGroupName , String fabricName , String containerName , ProtectionContainerResourceInner parameters ) { return registerWithServiceResponseAsync ( vaultName , resourceGroupName , fabricName , containerName , parameters ) . map ( new Func1 < ServiceResponse < ProtectionContainerResourceInner > , ProtectionContainerResourceInner > ( ) { @ Override public ProtectionContainerResourceInner call ( ServiceResponse < ProtectionContainerResourceInner > response ) { return response . body ( ) ; } } ) ; }
Registers the container with Recovery Services vault.
This is an asynchronous operation. To track the operation status, use location header to call get latest status of the operation.

@param vaultName The name of the recovery services vault.
@param resourceGroupName The name of the resource group where the recovery services vault is present.
@param fabricName Fabric name associated with the container.
@param containerName Name of the container to be registered.
@param parameters Request body for operation
@throws IllegalArgumentException thrown if parameters fail the validation
@return the observable to the ProtectionContainerResourceInner object