1. Packages
  2. Okta
  3. API Docs
  4. getTemplate
Okta v4.8.1 published on Thursday, Apr 18, 2024 by Pulumi

okta.getTemplate

Explore with Pulumi AI

okta logo
Okta v4.8.1 published on Thursday, Apr 18, 2024 by Pulumi

    Use this data source to retrieve a specific email template of a brand in 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
    Template Name
    BrandId string
    Brand ID
    Name string
    Template Name
    brandId String
    Brand ID
    name String
    Template Name
    brandId string
    Brand ID
    name string
    Template Name
    brand_id str
    Brand ID
    name str
    Template Name
    brandId String
    Brand ID
    name String
    Template Name

    getTemplate Result

    The following output properties are available:

    BrandId string
    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
    BrandId string
    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
    brandId String
    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
    brandId string
    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
    brand_id str
    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
    brandId String
    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

    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.8.1 published on Thursday, Apr 18, 2024 by Pulumi