@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.94 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Get a SuppressionListAddress.
*
* Uses Azure REST API version 2023-06-01-preview.
*
* Other available API versions: 2024-09-01-preview, 2025-05-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native communication [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getSuppressionListAddress(args: GetSuppressionListAddressArgs, opts?: pulumi.InvokeOptions): Promise<GetSuppressionListAddressResult>;
export interface GetSuppressionListAddressArgs {
/**
* The id of the address in a suppression list.
*/
addressId: string;
/**
* The name of the Domains resource.
*/
domainName: string;
/**
* The name of the EmailService resource.
*/
emailServiceName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
/**
* The name of the suppression list.
*/
suppressionListName: string;
}
/**
* A object that represents a SuppressionList record.
*/
export interface GetSuppressionListAddressResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The location where the SuppressionListAddress data is stored at rest. This value is inherited from the parent Domains resource.
*/
readonly dataLocation: string;
/**
* Email address of the recipient.
*/
readonly email: string;
/**
* The first name of the email recipient.
*/
readonly firstName?: string;
/**
* Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
*/
readonly id: string;
/**
* The date the address was last updated in a suppression list.
*/
readonly lastModified: string;
/**
* The last name of the email recipient.
*/
readonly lastName?: string;
/**
* The name of the resource
*/
readonly name: string;
/**
* An optional property to provide contextual notes or a description for an address.
*/
readonly notes?: string;
/**
* Azure Resource Manager metadata containing createdBy and modifiedBy information.
*/
readonly systemData: outputs.communication.SystemDataResponse;
/**
* The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*/
readonly type: string;
}
/**
* Get a SuppressionListAddress.
*
* Uses Azure REST API version 2023-06-01-preview.
*
* Other available API versions: 2024-09-01-preview, 2025-05-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native communication [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getSuppressionListAddressOutput(args: GetSuppressionListAddressOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSuppressionListAddressResult>;
export interface GetSuppressionListAddressOutputArgs {
/**
* The id of the address in a suppression list.
*/
addressId: pulumi.Input<string>;
/**
* The name of the Domains resource.
*/
domainName: pulumi.Input<string>;
/**
* The name of the EmailService resource.
*/
emailServiceName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* The name of the suppression list.
*/
suppressionListName: pulumi.Input<string>;
}