1. Packages
  2. Gandi
  3. API Docs
  4. email
  5. getMailbox
Gandi v0.0.14 published on Saturday, Dec 17, 2022 by Pulumiverse

gandi.email.getMailbox

Explore with Pulumi AI

gandi logo
Gandi v0.0.14 published on Saturday, Dec 17, 2022 by Pulumiverse

    Using getMailbox

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getMailbox(args: GetMailboxArgs, opts?: InvokeOptions): Promise<GetMailboxResult>
    function getMailboxOutput(args: GetMailboxOutputArgs, opts?: InvokeOptions): Output<GetMailboxResult>
    def get_mailbox(domain: Optional[str] = None,
                    mailbox_id: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetMailboxResult
    def get_mailbox_output(domain: Optional[pulumi.Input[str]] = None,
                    mailbox_id: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetMailboxResult]
    func LookupMailbox(ctx *Context, args *LookupMailboxArgs, opts ...InvokeOption) (*LookupMailboxResult, error)
    func LookupMailboxOutput(ctx *Context, args *LookupMailboxOutputArgs, opts ...InvokeOption) LookupMailboxResultOutput

    > Note: This function is named LookupMailbox in the Go SDK.

    public static class GetMailbox 
    {
        public static Task<GetMailboxResult> InvokeAsync(GetMailboxArgs args, InvokeOptions? opts = null)
        public static Output<GetMailboxResult> Invoke(GetMailboxInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMailboxResult> getMailbox(GetMailboxArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: gandi:email/getMailbox:getMailbox
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Domain string
    MailboxId string
    Domain string
    MailboxId string
    domain String
    mailboxId String
    domain string
    mailboxId string
    domain String
    mailboxId String

    getMailbox Result

    The following output properties are available:

    Domain string
    Id string
    The provider-assigned unique ID for this managed resource.
    MailboxId string
    Domain string
    Id string
    The provider-assigned unique ID for this managed resource.
    MailboxId string
    domain String
    id String
    The provider-assigned unique ID for this managed resource.
    mailboxId String
    domain string
    id string
    The provider-assigned unique ID for this managed resource.
    mailboxId string
    domain str
    id str
    The provider-assigned unique ID for this managed resource.
    mailbox_id str
    domain String
    id String
    The provider-assigned unique ID for this managed resource.
    mailboxId String

    Package Details

    Repository
    gandi pulumiverse/pulumi-gandi
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the gandi Terraform Provider.
    gandi logo
    Gandi v0.0.14 published on Saturday, Dec 17, 2022 by Pulumiverse