Okta v4.20.0 published on Wednesday, Jun 11, 2025 by Pulumi
okta.getEmailSmtpServer
Explore with Pulumi AI
Using getEmailSmtpServer
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 getEmailSmtpServer(args: GetEmailSmtpServerArgs, opts?: InvokeOptions): Promise<GetEmailSmtpServerResult>
function getEmailSmtpServerOutput(args: GetEmailSmtpServerOutputArgs, opts?: InvokeOptions): Output<GetEmailSmtpServerResult>
def get_email_smtp_server(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEmailSmtpServerResult
def get_email_smtp_server_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEmailSmtpServerResult]
func LookupEmailSmtpServer(ctx *Context, args *LookupEmailSmtpServerArgs, opts ...InvokeOption) (*LookupEmailSmtpServerResult, error)
func LookupEmailSmtpServerOutput(ctx *Context, args *LookupEmailSmtpServerOutputArgs, opts ...InvokeOption) LookupEmailSmtpServerResultOutput
> Note: This function is named LookupEmailSmtpServer
in the Go SDK.
public static class GetEmailSmtpServer
{
public static Task<GetEmailSmtpServerResult> InvokeAsync(GetEmailSmtpServerArgs args, InvokeOptions? opts = null)
public static Output<GetEmailSmtpServerResult> Invoke(GetEmailSmtpServerInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEmailSmtpServerResult> getEmailSmtpServer(GetEmailSmtpServerArgs args, InvokeOptions options)
public static Output<GetEmailSmtpServerResult> getEmailSmtpServer(GetEmailSmtpServerArgs args, InvokeOptions options)
fn::invoke:
function: okta:index/getEmailSmtpServer:getEmailSmtpServer
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Id string
- id String
- id string
- id str
- id String
getEmailSmtpServer Result
The following output properties are available:
Package Details
- Repository
- Okta pulumi/pulumi-okta
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
okta
Terraform Provider.