SuppressionLists Interface

public interface SuppressionLists

Resource collection API of SuppressionLists.

Method Summary

Modifier and Type Method and Description
abstract Blank define(String name)

Begins definition for a new SuppressionListResource resource.

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

Delete Delete a SuppressionList.

abstract void deleteById(String id)

Delete Delete a SuppressionList.

abstract Response<Void> deleteByIdWithResponse(String id, Context context)

Delete Delete a SuppressionList.

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

Delete Delete a SuppressionList.

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

Get Get a SuppressionList resource.

abstract SuppressionListResource getById(String id)

Get Get a SuppressionList resource.

abstract Response<SuppressionListResource> getByIdWithResponse(String id, Context context)

Get Get a SuppressionList resource.

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

Get Get a SuppressionList resource.

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

List List all suppression lists for a domains resource.

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

List List all suppression lists for a domains resource.

Method Details

define

public abstract SuppressionListResource.DefinitionStages.Blank define(String name)

Begins definition for a new SuppressionListResource resource.

Parameters:

name - resource name.

Returns:

the first stage of the new SuppressionListResource definition.

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.

deleteById

public abstract void deleteById(String id)

Delete Delete a SuppressionList.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract Response<Void> deleteByIdWithResponse(String id, Context context)

Delete Delete a SuppressionList.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

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 SuppressionListResource 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.

getById

public abstract SuppressionListResource getById(String id)

Get Get a SuppressionList resource.

Parameters:

id - the resource ID.

Returns:

a SuppressionList resource along with Response<T>.

getByIdWithResponse

public abstract Response<SuppressionListResource> getByIdWithResponse(String id, Context context)

Get Get a SuppressionList resource.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

a SuppressionList resource along with Response<T>.

getWithResponse

public abstract Response<SuppressionListResource> 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<SuppressionListResource> 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<SuppressionListResource> 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