SuppressionListAddresses Interface

public interface SuppressionListAddresses

Resource collection API of SuppressionListAddresses.

Method Summary

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

Begins definition for a new SuppressionListAddressResource resource.

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

Delete Operation to delete a single address from a suppression list.

abstract void deleteById(String id)

Delete Operation to delete a single address from a suppression list.

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

Delete Operation to delete a single address from a suppression list.

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

Delete Operation to delete a single address from a suppression list.

abstract SuppressionListAddressResource get(String resourceGroupName, String emailServiceName, String domainName, String suppressionListName, String addressId)

Get Get a SuppressionListAddress.

abstract SuppressionListAddressResource getById(String id)

Get Get a SuppressionListAddress.

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

Get Get a SuppressionListAddress.

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

Get Get a SuppressionListAddress.

abstract PagedIterable<SuppressionListAddressResource> list(String resourceGroupName, String emailServiceName, String domainName, String suppressionListName)

Get Get all the addresses in a suppression list.

abstract PagedIterable<SuppressionListAddressResource> list(String resourceGroupName, String emailServiceName, String domainName, String suppressionListName, Context context)

Get Get all the addresses in a suppression list.

Method Details

define

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

Begins definition for a new SuppressionListAddressResource resource.

Parameters:

name - resource name.

Returns:

the first stage of the new SuppressionListAddressResource definition.

delete

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

Delete Operation to delete a single address from a suppression list.

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.
addressId - The id of the address in a suppression list.

deleteById

public abstract void deleteById(String id)

Delete Operation to delete a single address from a suppression list.

Parameters:

id - the resource ID.

deleteByIdWithResponse

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

Delete Operation to delete a single address from a suppression list.

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, String addressId, Context context)

Delete Operation to delete a single address from a suppression list.

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.
addressId - The id of the address in a suppression list.
context - The context to associate with this operation.

Returns:

get

public abstract SuppressionListAddressResource get(String resourceGroupName, String emailServiceName, String domainName, String suppressionListName, String addressId)

Get Get a SuppressionListAddress.

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.
addressId - The id of the address in a suppression list.

Returns:

a SuppressionListAddress.

getById

public abstract SuppressionListAddressResource getById(String id)

Get Get a SuppressionListAddress.

Parameters:

id - the resource ID.

Returns:

a SuppressionListAddress along with Response<T>.

getByIdWithResponse

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

Get Get a SuppressionListAddress.

Parameters:

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

Returns:

a SuppressionListAddress along with Response<T>.

getWithResponse

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

Get Get a SuppressionListAddress.

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.
addressId - The id of the address in a suppression list.
context - The context to associate with this operation.

Returns:

a SuppressionListAddress along with Response<T>.

list

public abstract PagedIterable<SuppressionListAddressResource> list(String resourceGroupName, String emailServiceName, String domainName, String suppressionListName)

Get Get all the addresses in a suppression list.

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:

all the addresses in a suppression list as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<SuppressionListAddressResource> list(String resourceGroupName, String emailServiceName, String domainName, String suppressionListName, Context context)

Get Get all the addresses in a suppression list.

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:

all the addresses in a suppression list as paginated response with PagedIterable<T>.

Applies to