1. Packages
  2. Okta Provider
  3. API Docs
  4. getTemplates
Okta v4.16.0 published on Wednesday, Apr 9, 2025 by Pulumi

okta.getTemplates

Explore with Pulumi AI

Okta v4.16.0 published on Wednesday, Apr 9, 2025 by Pulumi

Get the email templates belonging to a brand in an Okta organization.

Using getTemplates

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 getTemplates(args: GetTemplatesArgs, opts?: InvokeOptions): Promise<GetTemplatesResult>
function getTemplatesOutput(args: GetTemplatesOutputArgs, opts?: InvokeOptions): Output<GetTemplatesResult>
Copy
def get_templates(brand_id: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetTemplatesResult
def get_templates_output(brand_id: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetTemplatesResult]
Copy
func GetTemplates(ctx *Context, args *GetTemplatesArgs, opts ...InvokeOption) (*GetTemplatesResult, error)
func GetTemplatesOutput(ctx *Context, args *GetTemplatesOutputArgs, opts ...InvokeOption) GetTemplatesResultOutput
Copy

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

public static class GetTemplates 
{
    public static Task<GetTemplatesResult> InvokeAsync(GetTemplatesArgs args, InvokeOptions? opts = null)
    public static Output<GetTemplatesResult> Invoke(GetTemplatesInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetTemplatesResult> getTemplates(GetTemplatesArgs args, InvokeOptions options)
public static Output<GetTemplatesResult> getTemplates(GetTemplatesArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: okta:index/getTemplates:getTemplates
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

BrandId This property is required. string
Brand ID
BrandId This property is required. string
Brand ID
brandId This property is required. String
Brand ID
brandId This property is required. string
Brand ID
brand_id This property is required. str
Brand ID
brandId This property is required. String
Brand ID

getTemplates Result

The following output properties are available:

BrandId string
Brand ID
EmailTemplates List<GetTemplatesEmailTemplate>
List of okta.getTemplate belonging to a brand in the organization
Id string
The provider-assigned unique ID for this managed resource.
BrandId string
Brand ID
EmailTemplates []GetTemplatesEmailTemplate
List of okta.getTemplate belonging to a brand in the organization
Id string
The provider-assigned unique ID for this managed resource.
brandId String
Brand ID
emailTemplates List<GetTemplatesEmailTemplate>
List of okta.getTemplate belonging to a brand in the organization
id String
The provider-assigned unique ID for this managed resource.
brandId string
Brand ID
emailTemplates GetTemplatesEmailTemplate[]
List of okta.getTemplate belonging to a brand in the organization
id string
The provider-assigned unique ID for this managed resource.
brand_id str
Brand ID
email_templates Sequence[GetTemplatesEmailTemplate]
List of okta.getTemplate belonging to a brand in the organization
id str
The provider-assigned unique ID for this managed resource.
brandId String
Brand ID
emailTemplates List<Property Map>
List of okta.getTemplate belonging to a brand in the organization
id String
The provider-assigned unique ID for this managed resource.

Supporting Types

GetTemplatesEmailTemplate

Links This property is required. string
Link relations for this object - JSON HAL - Discoverable resources related to the email template
Name This property is required. string
The name of the email template
Links This property is required. string
Link relations for this object - JSON HAL - Discoverable resources related to the email template
Name This property is required. string
The name of the email template
links This property is required. String
Link relations for this object - JSON HAL - Discoverable resources related to the email template
name This property is required. String
The name of the email template
links This property is required. string
Link relations for this object - JSON HAL - Discoverable resources related to the email template
name This property is required. string
The name of the email template
links This property is required. str
Link relations for this object - JSON HAL - Discoverable resources related to the email template
name This property is required. str
The name of the email template
links This property is required. String
Link relations for this object - JSON HAL - Discoverable resources related to the email template
name This property is required. 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 v4.16.0 published on Wednesday, Apr 9, 2025 by Pulumi