SenderUsernamesClient Interface

public interface SenderUsernamesClient

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

Method Summary

Modifier and Type Method and Description
abstract SenderUsernameResourceInner createOrUpdate(String resourceGroupName, String emailServiceName, String domainName, String senderUsername, SenderUsernameResourceInner parameters)

Create Or Update Add a new SenderUsername resource under the parent Domains resource or update an existing SenderUsername resource.

abstract Response<SenderUsernameResourceInner> createOrUpdateWithResponse(String resourceGroupName, String emailServiceName, String domainName, String senderUsername, SenderUsernameResourceInner parameters, Context context)

Create Or Update Add a new SenderUsername resource under the parent Domains resource or update an existing SenderUsername resource.

abstract void delete(String resourceGroupName, String emailServiceName, String domainName, String senderUsername)

Delete Operation to delete a SenderUsernames resource.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String emailServiceName, String domainName, String senderUsername, Context context)

Delete Operation to delete a SenderUsernames resource.

abstract SenderUsernameResourceInner get(String resourceGroupName, String emailServiceName, String domainName, String senderUsername)

Get Get a valid sender username for a domains resource.

abstract Response<SenderUsernameResourceInner> getWithResponse(String resourceGroupName, String emailServiceName, String domainName, String senderUsername, Context context)

Get Get a valid sender username for a domains resource.

abstract PagedIterable<SenderUsernameResourceInner> listByDomains(String resourceGroupName, String emailServiceName, String domainName)

ListBy_Domains List all valid sender usernames for a domains resource.

abstract PagedIterable<SenderUsernameResourceInner> listByDomains(String resourceGroupName, String emailServiceName, String domainName, Context context)

ListBy_Domains List all valid sender usernames for a domains resource.

Method Details

createOrUpdate

public abstract SenderUsernameResourceInner createOrUpdate(String resourceGroupName, String emailServiceName, String domainName, String senderUsername, SenderUsernameResourceInner parameters)

Create Or Update Add a new SenderUsername resource under the parent Domains resource or update an existing SenderUsername resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
emailServiceName - The name of the EmailService resource.
domainName - The name of the Domains resource.
senderUsername - The valid sender Username.
parameters - Parameters for the create or update operation.

Returns:

a class representing a SenderUsername resource.

createOrUpdateWithResponse

public abstract Response<SenderUsernameResourceInner> createOrUpdateWithResponse(String resourceGroupName, String emailServiceName, String domainName, String senderUsername, SenderUsernameResourceInner parameters, Context context)

Create Or Update Add a new SenderUsername resource under the parent Domains resource or update an existing SenderUsername resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
emailServiceName - The name of the EmailService resource.
domainName - The name of the Domains resource.
senderUsername - The valid sender Username.
parameters - Parameters for the create or update operation.
context - The context to associate with this operation.

Returns:

a class representing a SenderUsername resource along with Response<T>.

delete

public abstract void delete(String resourceGroupName, String emailServiceName, String domainName, String senderUsername)

Delete Operation to delete a SenderUsernames resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
emailServiceName - The name of the EmailService resource.
domainName - The name of the Domains resource.
senderUsername - The valid sender Username.

deleteWithResponse

public abstract Response<Void> deleteWithResponse(String resourceGroupName, String emailServiceName, String domainName, String senderUsername, Context context)

Delete Operation to delete a SenderUsernames resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
emailServiceName - The name of the EmailService resource.
domainName - The name of the Domains resource.
senderUsername - The valid sender Username.
context - The context to associate with this operation.

Returns:

get

public abstract SenderUsernameResourceInner get(String resourceGroupName, String emailServiceName, String domainName, String senderUsername)

Get Get a valid sender username for a domains resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
emailServiceName - The name of the EmailService resource.
domainName - The name of the Domains resource.
senderUsername - The valid sender Username.

Returns:

a valid sender username for a domains resource.

getWithResponse

public abstract Response<SenderUsernameResourceInner> getWithResponse(String resourceGroupName, String emailServiceName, String domainName, String senderUsername, Context context)

Get Get a valid sender username for a domains resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
emailServiceName - The name of the EmailService resource.
domainName - The name of the Domains resource.
senderUsername - The valid sender Username.
context - The context to associate with this operation.

Returns:

a valid sender username for a domains resource along with Response<T>.

listByDomains

public abstract PagedIterable<SenderUsernameResourceInner> listByDomains(String resourceGroupName, String emailServiceName, String domainName)

ListBy_Domains List all valid sender usernames for a domains resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
emailServiceName - The name of the EmailService resource.
domainName - The name of the Domains resource.

Returns:

a class representing a Domains SenderUsernames collection as paginated response with PagedIterable<T>.

listByDomains

public abstract PagedIterable<SenderUsernameResourceInner> listByDomains(String resourceGroupName, String emailServiceName, String domainName, Context context)

ListBy_Domains List all valid sender usernames for a domains resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
emailServiceName - The name of the EmailService resource.
domainName - The name of the Domains resource.
context - The context to associate with this operation.

Returns:

a class representing a Domains SenderUsernames collection as paginated response with PagedIterable<T>.

Applies to