AliasClient Interface

public interface AliasClient

An instance of this class provides access to all the operations defined in AliasClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<PutAliasResponseInner>,PutAliasResponseInner> beginCreate(String aliasName, PutAliasRequest body)

Create Alias Subscription.

abstract SyncPoller<PollResult<PutAliasResponseInner>,PutAliasResponseInner> beginCreate(String aliasName, PutAliasRequest body, Context context)

Create Alias Subscription.

abstract PutAliasResponseInner create(String aliasName, PutAliasRequest body)

Create Alias Subscription.

abstract PutAliasResponseInner create(String aliasName, PutAliasRequest body, Context context)

Create Alias Subscription.

abstract void delete(String aliasName)

Delete Alias.

abstract Response<Void> deleteWithResponse(String aliasName, Context context)

Delete Alias.

abstract PutAliasResponseInner get(String aliasName)

Get Alias Subscription.

abstract Response<PutAliasResponseInner> getWithResponse(String aliasName, Context context)

Get Alias Subscription.

abstract PutAliasListResultInner list()

Get Alias Subscription.

abstract Response<PutAliasListResultInner> listWithResponse(Context context)

Get Alias Subscription.

Method Details

beginCreate

public abstract SyncPoller,PutAliasResponseInner> beginCreate(String aliasName, PutAliasRequest body)

Create Alias Subscription.

Parameters:

aliasName - Name for this subscription creation request also known as alias. Note that this is not the same as subscription name and this doesn\u2019t have any other lifecycle need beyond the request for subscription creation.
body - The body parameter.

Returns:

the SyncPoller<T,U> for polling of subscription Information with the alias.

beginCreate

public abstract SyncPoller,PutAliasResponseInner> beginCreate(String aliasName, PutAliasRequest body, Context context)

Create Alias Subscription.

Parameters:

aliasName - Name for this subscription creation request also known as alias. Note that this is not the same as subscription name and this doesn\u2019t have any other lifecycle need beyond the request for subscription creation.
body - The body parameter.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of subscription Information with the alias.

create

public abstract PutAliasResponseInner create(String aliasName, PutAliasRequest body)

Create Alias Subscription.

Parameters:

aliasName - Name for this subscription creation request also known as alias. Note that this is not the same as subscription name and this doesn\u2019t have any other lifecycle need beyond the request for subscription creation.
body - The body parameter.

Returns:

subscription Information with the alias.

create

public abstract PutAliasResponseInner create(String aliasName, PutAliasRequest body, Context context)

Create Alias Subscription.

Parameters:

aliasName - Name for this subscription creation request also known as alias. Note that this is not the same as subscription name and this doesn\u2019t have any other lifecycle need beyond the request for subscription creation.
body - The body parameter.
context - The context to associate with this operation.

Returns:

subscription Information with the alias.

delete

public abstract void delete(String aliasName)

Delete Alias.

Parameters:

aliasName - Name for this subscription creation request also known as alias. Note that this is not the same as subscription name and this doesn\u2019t have any other lifecycle need beyond the request for subscription creation.

deleteWithResponse

public abstract Response deleteWithResponse(String aliasName, Context context)

Delete Alias.

Parameters:

aliasName - Name for this subscription creation request also known as alias. Note that this is not the same as subscription name and this doesn\u2019t have any other lifecycle need beyond the request for subscription creation.
context - The context to associate with this operation.

Returns:

get

public abstract PutAliasResponseInner get(String aliasName)

Get Alias Subscription.

Parameters:

aliasName - Name for this subscription creation request also known as alias. Note that this is not the same as subscription name and this doesn\u2019t have any other lifecycle need beyond the request for subscription creation.

Returns:

alias Subscription.

getWithResponse

public abstract Response getWithResponse(String aliasName, Context context)

Get Alias Subscription.

Parameters:

aliasName - Name for this subscription creation request also known as alias. Note that this is not the same as subscription name and this doesn\u2019t have any other lifecycle need beyond the request for subscription creation.
context - The context to associate with this operation.

Returns:

alias Subscription along with Response<T>.

list

public abstract PutAliasListResultInner list()

Get Alias Subscription.

Returns:

alias Subscription.

listWithResponse

public abstract Response listWithResponse(Context context)

Get Alias Subscription.

Parameters:

context - The context to associate with this operation.

Returns:

alias Subscription along with Response<T>.

Applies to