1. Packages
  2. Okta
  3. API Docs
  4. getEmailCustomizations
Okta v4.8.0 published on Saturday, Mar 2, 2024 by Pulumi

okta.getEmailCustomizations

Explore with Pulumi AI

okta logo
Okta v4.8.0 published on Saturday, Mar 2, 2024 by Pulumi

    Use this data source to retrieve the email customizations of an email template belonging to a brand in an Okta organization.

    Using getEmailCustomizations

    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 getEmailCustomizations(args: GetEmailCustomizationsArgs, opts?: InvokeOptions): Promise<GetEmailCustomizationsResult>
    function getEmailCustomizationsOutput(args: GetEmailCustomizationsOutputArgs, opts?: InvokeOptions): Output<GetEmailCustomizationsResult>
    def get_email_customizations(brand_id: Optional[str] = None,
                                 template_name: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetEmailCustomizationsResult
    def get_email_customizations_output(brand_id: Optional[pulumi.Input[str]] = None,
                                 template_name: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetEmailCustomizationsResult]
    func GetEmailCustomizations(ctx *Context, args *GetEmailCustomizationsArgs, opts ...InvokeOption) (*GetEmailCustomizationsResult, error)
    func GetEmailCustomizationsOutput(ctx *Context, args *GetEmailCustomizationsOutputArgs, opts ...InvokeOption) GetEmailCustomizationsResultOutput

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

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

    The following arguments are supported:

    BrandId string
    Brand ID
    TemplateName string
    Name of an Email Template
    BrandId string
    Brand ID
    TemplateName string
    Name of an Email Template
    brandId String
    Brand ID
    templateName String
    Name of an Email Template
    brandId string
    Brand ID
    templateName string
    Name of an Email Template
    brand_id str
    Brand ID
    template_name str
    Name of an Email Template
    brandId String
    Brand ID
    templateName String
    Name of an Email Template

    getEmailCustomizations Result

    The following output properties are available:

    BrandId string
    EmailCustomizations List<GetEmailCustomizationsEmailCustomization>
    List of okta.EmailCustomization belonging to the named email template of the brand
    Id string
    The provider-assigned unique ID for this managed resource.
    TemplateName string
    BrandId string
    EmailCustomizations []GetEmailCustomizationsEmailCustomization
    List of okta.EmailCustomization belonging to the named email template of the brand
    Id string
    The provider-assigned unique ID for this managed resource.
    TemplateName string
    brandId String
    emailCustomizations List<GetEmailCustomizationsEmailCustomization>
    List of okta.EmailCustomization belonging to the named email template of the brand
    id String
    The provider-assigned unique ID for this managed resource.
    templateName String
    brandId string
    emailCustomizations GetEmailCustomizationsEmailCustomization[]
    List of okta.EmailCustomization belonging to the named email template of the brand
    id string
    The provider-assigned unique ID for this managed resource.
    templateName string
    brand_id str
    email_customizations Sequence[GetEmailCustomizationsEmailCustomization]
    List of okta.EmailCustomization belonging to the named email template of the brand
    id str
    The provider-assigned unique ID for this managed resource.
    template_name str
    brandId String
    emailCustomizations List<Property Map>
    List of okta.EmailCustomization belonging to the named email template of the brand
    id String
    The provider-assigned unique ID for this managed resource.
    templateName String

    Supporting Types

    GetEmailCustomizationsEmailCustomization

    Body string
    The body of the customization
    Id string
    The ID of the customization
    IsDefault bool
    Whether the customization is the default
    Language string
    The language supported by the customization
    Links string
    Link relations for this object - JSON HAL - Discoverable resources related to the email template
    Subject string
    The subject of the customization
    Body string
    The body of the customization
    Id string
    The ID of the customization
    IsDefault bool
    Whether the customization is the default
    Language string
    The language supported by the customization
    Links string
    Link relations for this object - JSON HAL - Discoverable resources related to the email template
    Subject string
    The subject of the customization
    body String
    The body of the customization
    id String
    The ID of the customization
    isDefault Boolean
    Whether the customization is the default
    language String
    The language supported by the customization
    links String
    Link relations for this object - JSON HAL - Discoverable resources related to the email template
    subject String
    The subject of the customization
    body string
    The body of the customization
    id string
    The ID of the customization
    isDefault boolean
    Whether the customization is the default
    language string
    The language supported by the customization
    links string
    Link relations for this object - JSON HAL - Discoverable resources related to the email template
    subject string
    The subject of the customization
    body str
    The body of the customization
    id str
    The ID of the customization
    is_default bool
    Whether the customization is the default
    language str
    The language supported by the customization
    links str
    Link relations for this object - JSON HAL - Discoverable resources related to the email template
    subject str
    The subject of the customization
    body String
    The body of the customization
    id String
    The ID of the customization
    isDefault Boolean
    Whether the customization is the default
    language String
    The language supported by the customization
    links String
    Link relations for this object - JSON HAL - Discoverable resources related to the email template
    subject String
    The subject of the customization

    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.0 published on Saturday, Mar 2, 2024 by Pulumi