Viewing docs for Auth0 v3.38.0
published on Friday, Feb 20, 2026 by Pulumi
published on Friday, Feb 20, 2026 by Pulumi
Viewing docs for Auth0 v3.38.0
published on Friday, Feb 20, 2026 by Pulumi
published on Friday, Feb 20, 2026 by Pulumi
Data source to retrieve a specific Auth0 Phone Notification Template by template_id.
Using getPhoneNotificationTemplate
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 getPhoneNotificationTemplate(args: GetPhoneNotificationTemplateArgs, opts?: InvokeOptions): Promise<GetPhoneNotificationTemplateResult>
function getPhoneNotificationTemplateOutput(args: GetPhoneNotificationTemplateOutputArgs, opts?: InvokeOptions): Output<GetPhoneNotificationTemplateResult>def get_phone_notification_template(template_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPhoneNotificationTemplateResult
def get_phone_notification_template_output(template_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPhoneNotificationTemplateResult]func LookupPhoneNotificationTemplate(ctx *Context, args *LookupPhoneNotificationTemplateArgs, opts ...InvokeOption) (*LookupPhoneNotificationTemplateResult, error)
func LookupPhoneNotificationTemplateOutput(ctx *Context, args *LookupPhoneNotificationTemplateOutputArgs, opts ...InvokeOption) LookupPhoneNotificationTemplateResultOutput> Note: This function is named LookupPhoneNotificationTemplate in the Go SDK.
public static class GetPhoneNotificationTemplate
{
public static Task<GetPhoneNotificationTemplateResult> InvokeAsync(GetPhoneNotificationTemplateArgs args, InvokeOptions? opts = null)
public static Output<GetPhoneNotificationTemplateResult> Invoke(GetPhoneNotificationTemplateInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPhoneNotificationTemplateResult> getPhoneNotificationTemplate(GetPhoneNotificationTemplateArgs args, InvokeOptions options)
public static Output<GetPhoneNotificationTemplateResult> getPhoneNotificationTemplate(GetPhoneNotificationTemplateArgs args, InvokeOptions options)
fn::invoke:
function: auth0:index/getPhoneNotificationTemplate:getPhoneNotificationTemplate
arguments:
# arguments dictionaryThe following arguments are supported:
- Template
Id string - The ID of the Phone Notification Template.
- Template
Id string - The ID of the Phone Notification Template.
- template
Id String - The ID of the Phone Notification Template.
- template
Id string - The ID of the Phone Notification Template.
- template_
id str - The ID of the Phone Notification Template.
- template
Id String - The ID of the Phone Notification Template.
getPhoneNotificationTemplate Result
The following output properties are available:
- Channel string
- The channel of the phone notification template (e.g.,
sms,voice). - Contents
List<Get
Phone Notification Template Content> - The content of the phone notification template.
- Customizable bool
- Indicates whether the phone notification template is customizable.
- Disabled bool
- Indicates whether the phone notification template is disabled.
- Id string
- The provider-assigned unique ID for this managed resource.
- Template
Id string - The ID of the Phone Notification Template.
- Tenant string
- The tenant of the phone notification template.
- Type string
- The type of the phone notification template.
- Channel string
- The channel of the phone notification template (e.g.,
sms,voice). - Contents
[]Get
Phone Notification Template Content - The content of the phone notification template.
- Customizable bool
- Indicates whether the phone notification template is customizable.
- Disabled bool
- Indicates whether the phone notification template is disabled.
- Id string
- The provider-assigned unique ID for this managed resource.
- Template
Id string - The ID of the Phone Notification Template.
- Tenant string
- The tenant of the phone notification template.
- Type string
- The type of the phone notification template.
- channel String
- The channel of the phone notification template (e.g.,
sms,voice). - contents
List<Get
Phone Notification Template Content> - The content of the phone notification template.
- customizable Boolean
- Indicates whether the phone notification template is customizable.
- disabled Boolean
- Indicates whether the phone notification template is disabled.
- id String
- The provider-assigned unique ID for this managed resource.
- template
Id String - The ID of the Phone Notification Template.
- tenant String
- The tenant of the phone notification template.
- type String
- The type of the phone notification template.
- channel string
- The channel of the phone notification template (e.g.,
sms,voice). - contents
Get
Phone Notification Template Content[] - The content of the phone notification template.
- customizable boolean
- Indicates whether the phone notification template is customizable.
- disabled boolean
- Indicates whether the phone notification template is disabled.
- id string
- The provider-assigned unique ID for this managed resource.
- template
Id string - The ID of the Phone Notification Template.
- tenant string
- The tenant of the phone notification template.
- type string
- The type of the phone notification template.
- channel str
- The channel of the phone notification template (e.g.,
sms,voice). - contents
Sequence[Get
Phone Notification Template Content] - The content of the phone notification template.
- customizable bool
- Indicates whether the phone notification template is customizable.
- disabled bool
- Indicates whether the phone notification template is disabled.
- id str
- The provider-assigned unique ID for this managed resource.
- template_
id str - The ID of the Phone Notification Template.
- tenant str
- The tenant of the phone notification template.
- type str
- The type of the phone notification template.
- channel String
- The channel of the phone notification template (e.g.,
sms,voice). - contents List<Property Map>
- The content of the phone notification template.
- customizable Boolean
- Indicates whether the phone notification template is customizable.
- disabled Boolean
- Indicates whether the phone notification template is disabled.
- id String
- The provider-assigned unique ID for this managed resource.
- template
Id String - The ID of the Phone Notification Template.
- tenant String
- The tenant of the phone notification template.
- type String
- The type of the phone notification template.
Supporting Types
GetPhoneNotificationTemplateContent
- Bodies
List<Get
Phone Notification Template Content Body> - The body content of the phone notification template.
- From string
- The sender phone number for SMS or voice notifications.
- Syntax string
- The syntax of the phone notification template.
- Bodies
[]Get
Phone Notification Template Content Body - The body content of the phone notification template.
- From string
- The sender phone number for SMS or voice notifications.
- Syntax string
- The syntax of the phone notification template.
- bodies
List<Get
Phone Notification Template Content Body> - The body content of the phone notification template.
- from String
- The sender phone number for SMS or voice notifications.
- syntax String
- The syntax of the phone notification template.
- bodies
Get
Phone Notification Template Content Body[] - The body content of the phone notification template.
- from string
- The sender phone number for SMS or voice notifications.
- syntax string
- The syntax of the phone notification template.
- bodies
Sequence[Get
Phone Notification Template Content Body] - The body content of the phone notification template.
- from_ str
- The sender phone number for SMS or voice notifications.
- syntax str
- The syntax of the phone notification template.
- bodies List<Property Map>
- The body content of the phone notification template.
- from String
- The sender phone number for SMS or voice notifications.
- syntax String
- The syntax of the phone notification template.
GetPhoneNotificationTemplateContentBody
Package Details
- Repository
- Auth0 pulumi/pulumi-auth0
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
auth0Terraform Provider.
Viewing docs for Auth0 v3.38.0
published on Friday, Feb 20, 2026 by Pulumi
published on Friday, Feb 20, 2026 by Pulumi
