SuppressionListsClient Interface

public interface SuppressionListsClient

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

Method Summary

Modifier and Type Method and Description
abstract SuppressionListResourceInner createOrUpdate(String resourceGroupName, String emailServiceName, String domainName, String suppressionListName, SuppressionListResourceInner parameters)

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

abstract Response<SuppressionListResourceInner> createOrUpdateWithResponse(String resourceGroupName, String emailServiceName, String domainName, String suppressionListName, SuppressionListResourceInner parameters, Context context)

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

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

Delete Delete a SuppressionList.

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

Delete Delete a SuppressionList.

abstract SuppressionListResourceInner get(String resourceGroupName, String emailServiceName, String domainName, String suppressionListName)

Get Get a SuppressionList resource.

abstract Response<SuppressionListResourceInner> getWithResponse(String resourceGroupName, String emailServiceName, String domainName, String suppressionListName, Context context)

Get Get a SuppressionList resource.

abstract PagedIterable<SuppressionListResourceInner> listByDomain(String resourceGroupName, String emailServiceName, String domainName)

List List all suppression lists for a domains resource.

abstract PagedIterable<SuppressionListResourceInner> listByDomain(String resourceGroupName, String emailServiceName, String domainName, Context context)

List List all suppression lists for a domains resource.

Method Details

createOrUpdate

public abstract SuppressionListResourceInner createOrUpdate(String resourceGroupName, String emailServiceName, String domainName, String suppressionListName, SuppressionListResourceInner parameters)

Create Or Update Add a new SuppressionList resource under the parent Domains resource or update an existing SuppressionList 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.
suppressionListName - The name of the suppression list.
parameters - Parameters for the create or update operation.

Returns:

a class representing a SuppressionList resource.

createOrUpdateWithResponse

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

Create Or Update Add a new SuppressionList resource under the parent Domains resource or update an existing SuppressionList 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.
suppressionListName - The name of the suppression list.
parameters - Parameters for the create or update operation.
context - The context to associate with this operation.

Returns:

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

delete

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

Delete Delete a SuppressionList.

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.
suppressionListName - The name of the suppression list.

deleteWithResponse

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

Delete Delete a SuppressionList.

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.
suppressionListName - The name of the suppression list.
context - The context to associate with this operation.

Returns:

get

public abstract SuppressionListResourceInner get(String resourceGroupName, String emailServiceName, String domainName, String suppressionListName)

Get Get a SuppressionList 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.
suppressionListName - The name of the suppression list.

Returns:

a SuppressionList resource.

getWithResponse

public abstract Response<SuppressionListResourceInner> getWithResponse(String resourceGroupName, String emailServiceName, String domainName, String suppressionListName, Context context)

Get Get a SuppressionList 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.
suppressionListName - The name of the suppression list.
context - The context to associate with this operation.

Returns:

a SuppressionList resource along with Response<T>.

listByDomain

public abstract PagedIterable<SuppressionListResourceInner> listByDomain(String resourceGroupName, String emailServiceName, String domainName)

List List all suppression lists 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 SuppressionListResource collection as paginated response with PagedIterable<T>.

listByDomain

public abstract PagedIterable<SuppressionListResourceInner> listByDomain(String resourceGroupName, String emailServiceName, String domainName, Context context)

List List all suppression lists 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 SuppressionListResource collection as paginated response with PagedIterable<T>.

Applies to