public void beginAcquire(String resourceGroupName, String serverName, String dnsAliasName) {
        beginAcquireWithServiceResponseAsync(resourceGroupName, serverName, dnsAliasName).toBlocking().single().body();
    }
public void beginAcquire ( String resourceGroupName , String serverName , String dnsAliasName ) { beginAcquireWithServiceResponseAsync ( resourceGroupName , serverName , dnsAliasName ) . toBlocking ( ) . single ( ) . body ( ) ; }
Acquires server DNS alias from another server.

@param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
@param serverName The name of the server that the alias is pointing to.
@param dnsAliasName The name of the server dns alias.
@throws IllegalArgumentException thrown if parameters fail the validation
@throws CloudException thrown if the request is rejected by server
@throws RuntimeException all other wrapped checked exceptions if the request fails to be sent