1. Packages
  2. Okta
  3. API Docs
  4. getTemplate
Okta v4.9.2 published on Tuesday, Jun 25, 2024 by Pulumi

okta.getTemplate

Explore with Pulumi AI

okta logo
Okta v4.9.2 published on Tuesday, Jun 25, 2024 by Pulumi

    Get a single Email Template for a Brand belonging to an Okta organization.

    Using getTemplate

    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 getTemplate(args: GetTemplateArgs, opts?: InvokeOptions): Promise<GetTemplateResult>
    function getTemplateOutput(args: GetTemplateOutputArgs, opts?: InvokeOptions): Output<GetTemplateResult>
    def get_template(brand_id: Optional[str] = None,
                     name: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetTemplateResult
    def get_template_output(brand_id: Optional[pulumi.Input[str]] = None,
                     name: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetTemplateResult]
    func GetTemplate(ctx *Context, args *GetTemplateArgs, opts ...InvokeOption) (*GetTemplateResult, error)
    func GetTemplateOutput(ctx *Context, args *GetTemplateOutputArgs, opts ...InvokeOption) GetTemplateResultOutput

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

    public static class GetTemplate 
    {
        public static Task<GetTemplateResult> InvokeAsync(GetTemplateArgs args, InvokeOptions? opts = null)
        public static Output<GetTemplateResult> Invoke(GetTemplateInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetTemplateResult> getTemplate(GetTemplateArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: okta:index/getTemplate:getTemplate
      arguments:
        # arguments dictionary

    The following arguments are supported:

    BrandId string
    Brand ID
    Name string
    The name of the email template
    BrandId string
    Brand ID
    Name string
    The name of the email template
    brandId String
    Brand ID
    name String
    The name of the email template
    brandId string
    Brand ID
    name string
    The name of the email template
    brand_id str
    Brand ID
    name str
    The name of the email template
    brandId String
    Brand ID
    name String
    The name of the email template

    getTemplate Result

    The following output properties are available:

    BrandId string
    Brand ID
    Id string
    The provider-assigned unique ID for this managed resource.
    Links string
    Link relations for this object - JSON HAL - Discoverable resources related to the email template
    Name string
    The name of the email template
    BrandId string
    Brand ID
    Id string
    The provider-assigned unique ID for this managed resource.
    Links string
    Link relations for this object - JSON HAL - Discoverable resources related to the email template
    Name string
    The name of the email template
    brandId String
    Brand ID
    id String
    The provider-assigned unique ID for this managed resource.
    links String
    Link relations for this object - JSON HAL - Discoverable resources related to the email template
    name String
    The name of the email template
    brandId string
    Brand ID
    id string
    The provider-assigned unique ID for this managed resource.
    links string
    Link relations for this object - JSON HAL - Discoverable resources related to the email template
    name string
    The name of the email template
    brand_id str
    Brand ID
    id str
    The provider-assigned unique ID for this managed resource.
    links str
    Link relations for this object - JSON HAL - Discoverable resources related to the email template
    name str
    The name of the email template
    brandId String
    Brand ID
    id String
    The provider-assigned unique ID for this managed resource.
    links String
    Link relations for this object - JSON HAL - Discoverable resources related to the email template
    name String
    The name of the email template

    Package Details

    Repository
    Okta pulumi/pulumi-okta
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the okta Terraform Provider.
    okta logo
    Okta v4.9.2 published on Tuesday, Jun 25, 2024 by Pulumi