import * as pulumi from "@pulumi/pulumi"; /** * Manages an Email Communication Service Domain Sender Username. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = new azure.core.ResourceGroup("example", { * name: "example-resources", * location: "West Europe", * }); * const exampleEmailService = new azure.communication.EmailService("example", { * name: "example-emailcommunicationservice", * resourceGroupName: example.name, * dataLocation: "United States", * }); * const exampleEmailServiceDomain = new azure.communication.EmailServiceDomain("example", { * name: "AzureManagedDomain", * emailServiceId: exampleEmailService.id, * domainManagement: "AzureManaged", * }); * const exampleEmailServiceDomainSenderUsername = new azure.communication.EmailServiceDomainSenderUsername("example", { * name: "example-su", * emailServiceDomainId: exampleEmailServiceDomain.id, * }); * ``` * * ## API Providers * * * This resource uses the following Azure API Providers: * * * `Microsoft.Communication` - 2023-03-31 * * ## Import * * Communication Service Domain Sender Usernames can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:communication/emailServiceDomainSenderUsername:EmailServiceDomainSenderUsername example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Communication/emailServices/service1/domains/domain1/senderUsernames/username1 * ``` */ export declare class EmailServiceDomainSenderUsername extends pulumi.CustomResource { /** * Get an existing EmailServiceDomainSenderUsername resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: EmailServiceDomainSenderUsernameState, opts?: pulumi.CustomResourceOptions): EmailServiceDomainSenderUsername; /** * Returns true if the given object is an instance of EmailServiceDomainSenderUsername. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is EmailServiceDomainSenderUsername; /** * The display name for the Email Communication Service Domain Sender Username resource. */ readonly displayName: pulumi.Output; /** * The ID of the Email Communication Service Domain resource. Changing this forces a new resource to be created. */ readonly emailServiceDomainId: pulumi.Output; /** * The name of the Email Communication Service Domain Sender Username resource. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * Create a EmailServiceDomainSenderUsername resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: EmailServiceDomainSenderUsernameArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering EmailServiceDomainSenderUsername resources. */ export interface EmailServiceDomainSenderUsernameState { /** * The display name for the Email Communication Service Domain Sender Username resource. */ displayName?: pulumi.Input; /** * The ID of the Email Communication Service Domain resource. Changing this forces a new resource to be created. */ emailServiceDomainId?: pulumi.Input; /** * The name of the Email Communication Service Domain Sender Username resource. Changing this forces a new resource to be created. */ name?: pulumi.Input; } /** * The set of arguments for constructing a EmailServiceDomainSenderUsername resource. */ export interface EmailServiceDomainSenderUsernameArgs { /** * The display name for the Email Communication Service Domain Sender Username resource. */ displayName?: pulumi.Input; /** * The ID of the Email Communication Service Domain resource. Changing this forces a new resource to be created. */ emailServiceDomainId: pulumi.Input; /** * The name of the Email Communication Service Domain Sender Username resource. Changing this forces a new resource to be created. */ name?: pulumi.Input; }