Gandi

v0.0.11 published on Tuesday, Sep 6, 2022 by Pulumiverse

getMailbox

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

Domain name

MailboxId string

Mailbox ID

Domain string

Domain name

MailboxId string

Mailbox ID

domain String

Domain name

mailboxId String

Mailbox ID

domain string

Domain name

mailboxId string

Mailbox ID

domain str

Domain name

mailbox_id str

Mailbox ID

domain String

Domain name

mailboxId String

Mailbox ID

getMailbox Result

The following output properties are available:

Domain string

Domain name

Id string

The provider-assigned unique ID for this managed resource.

MailboxId string

Mailbox ID

Domain string

Domain name

Id string

The provider-assigned unique ID for this managed resource.

MailboxId string

Mailbox ID

domain String

Domain name

id String

The provider-assigned unique ID for this managed resource.

mailboxId String

Mailbox ID

domain string

Domain name

id string

The provider-assigned unique ID for this managed resource.

mailboxId string

Mailbox ID

domain str

Domain name

id str

The provider-assigned unique ID for this managed resource.

mailbox_id str

Mailbox ID

domain String

Domain name

id String

The provider-assigned unique ID for this managed resource.

mailboxId String

Mailbox ID

Package Details

Repository
https://github.com/pulumiverse/pulumi-gandi
License
Apache-2.0
Notes

This Pulumi package is based on the gandi Terraform Provider.