SmtpUsernamesClient Interface

public interface SmtpUsernamesClient

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

Method Summary

Modifier and Type Method and Description
abstract SmtpUsernameResourceInner createOrUpdate(String resourceGroupName, String communicationServiceName, String smtpUsername, SmtpUsernameResourceInner parameters)

Create Or Update Create or update an SmtpUsernameResource.

abstract Response<SmtpUsernameResourceInner> createOrUpdateWithResponse(String resourceGroupName, String communicationServiceName, String smtpUsername, SmtpUsernameResourceInner parameters, Context context)

Create Or Update Create or update an SmtpUsernameResource.

abstract void delete(String resourceGroupName, String communicationServiceName, String smtpUsername)

Delete Operation to delete a single SmtpUsername resource.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String communicationServiceName, String smtpUsername, Context context)

Delete Operation to delete a single SmtpUsername resource.

abstract SmtpUsernameResourceInner get(String resourceGroupName, String communicationServiceName, String smtpUsername)

Get Get a SmtpUsernameResource.

abstract Response<SmtpUsernameResourceInner> getWithResponse(String resourceGroupName, String communicationServiceName, String smtpUsername, Context context)

Get Get a SmtpUsernameResource.

abstract PagedIterable<SmtpUsernameResourceInner> list(String resourceGroupName, String communicationServiceName)

Get Get all SmtpUsernameResources for a Communication resource.

abstract PagedIterable<SmtpUsernameResourceInner> list(String resourceGroupName, String communicationServiceName, Context context)

Get Get all SmtpUsernameResources for a Communication resource.

Method Details

createOrUpdate

public abstract SmtpUsernameResourceInner createOrUpdate(String resourceGroupName, String communicationServiceName, String smtpUsername, SmtpUsernameResourceInner parameters)

Create Or Update Create or update an SmtpUsernameResource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
communicationServiceName - The name of the CommunicationService resource.
smtpUsername - The name of the SmtpUsernameResource.
parameters - Parameters for the create or update operation.

Returns:

the object describing the smtp username resource.

createOrUpdateWithResponse

public abstract Response<SmtpUsernameResourceInner> createOrUpdateWithResponse(String resourceGroupName, String communicationServiceName, String smtpUsername, SmtpUsernameResourceInner parameters, Context context)

Create Or Update Create or update an SmtpUsernameResource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
communicationServiceName - The name of the CommunicationService resource.
smtpUsername - The name of the SmtpUsernameResource.
parameters - Parameters for the create or update operation.
context - The context to associate with this operation.

Returns:

the object describing the smtp username resource along with Response<T>.

delete

public abstract void delete(String resourceGroupName, String communicationServiceName, String smtpUsername)

Delete Operation to delete a single SmtpUsername resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
communicationServiceName - The name of the CommunicationService resource.
smtpUsername - The name of the SmtpUsernameResource.

deleteWithResponse

public abstract Response<Void> deleteWithResponse(String resourceGroupName, String communicationServiceName, String smtpUsername, Context context)

Delete Operation to delete a single SmtpUsername resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
communicationServiceName - The name of the CommunicationService resource.
smtpUsername - The name of the SmtpUsernameResource.
context - The context to associate with this operation.

Returns:

get

public abstract SmtpUsernameResourceInner get(String resourceGroupName, String communicationServiceName, String smtpUsername)

Get Get a SmtpUsernameResource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
communicationServiceName - The name of the CommunicationService resource.
smtpUsername - The name of the SmtpUsernameResource.

Returns:

a SmtpUsernameResource.

getWithResponse

public abstract Response<SmtpUsernameResourceInner> getWithResponse(String resourceGroupName, String communicationServiceName, String smtpUsername, Context context)

Get Get a SmtpUsernameResource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
communicationServiceName - The name of the CommunicationService resource.
smtpUsername - The name of the SmtpUsernameResource.
context - The context to associate with this operation.

Returns:

a SmtpUsernameResource along with Response<T>.

list

public abstract PagedIterable<SmtpUsernameResourceInner> list(String resourceGroupName, String communicationServiceName)

Get Get all SmtpUsernameResources for a Communication resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
communicationServiceName - The name of the CommunicationService resource.

Returns:

all SmtpUsernameResources for a Communication resource as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<SmtpUsernameResourceInner> list(String resourceGroupName, String communicationServiceName, Context context)

Get Get all SmtpUsernameResources for a Communication resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
communicationServiceName - The name of the CommunicationService resource.
context - The context to associate with this operation.

Returns:

all SmtpUsernameResources for a Communication resource as paginated response with PagedIterable<T>.

Applies to