These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.apimanagement.getEmailTemplate
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Gets the details of the email template specified by its identifier. API Version: 2020-12-01.
Using getEmailTemplate
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 getEmailTemplate(args: GetEmailTemplateArgs, opts?: InvokeOptions): Promise<GetEmailTemplateResult>
function getEmailTemplateOutput(args: GetEmailTemplateOutputArgs, opts?: InvokeOptions): Output<GetEmailTemplateResult>
def get_email_template(resource_group_name: Optional[str] = None,
service_name: Optional[str] = None,
template_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEmailTemplateResult
def get_email_template_output(resource_group_name: Optional[pulumi.Input[str]] = None,
service_name: Optional[pulumi.Input[str]] = None,
template_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEmailTemplateResult]
func LookupEmailTemplate(ctx *Context, args *LookupEmailTemplateArgs, opts ...InvokeOption) (*LookupEmailTemplateResult, error)
func LookupEmailTemplateOutput(ctx *Context, args *LookupEmailTemplateOutputArgs, opts ...InvokeOption) LookupEmailTemplateResultOutput
> Note: This function is named LookupEmailTemplate
in the Go SDK.
public static class GetEmailTemplate
{
public static Task<GetEmailTemplateResult> InvokeAsync(GetEmailTemplateArgs args, InvokeOptions? opts = null)
public static Output<GetEmailTemplateResult> Invoke(GetEmailTemplateInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEmailTemplateResult> getEmailTemplate(GetEmailTemplateArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:apimanagement:getEmailTemplate
arguments:
# arguments dictionary
The following arguments are supported:
- Resource
Group stringName - The name of the resource group.
- Service
Name string - The name of the API Management service.
- Template
Name string - Email Template Name Identifier.
- Resource
Group stringName - The name of the resource group.
- Service
Name string - The name of the API Management service.
- Template
Name string - Email Template Name Identifier.
- resource
Group StringName - The name of the resource group.
- service
Name String - The name of the API Management service.
- template
Name String - Email Template Name Identifier.
- resource
Group stringName - The name of the resource group.
- service
Name string - The name of the API Management service.
- template
Name string - Email Template Name Identifier.
- resource_
group_ strname - The name of the resource group.
- service_
name str - The name of the API Management service.
- template_
name str - Email Template Name Identifier.
- resource
Group StringName - The name of the resource group.
- service
Name String - The name of the API Management service.
- template
Name String - Email Template Name Identifier.
getEmailTemplate Result
The following output properties are available:
- Body string
- Email Template Body. This should be a valid XDocument
- Id string
- Resource ID.
- Is
Default bool - Whether the template is the default template provided by Api Management or has been edited.
- Name string
- Resource name.
- Subject string
- Subject of the Template.
- Type string
- Resource type for API Management resource.
- Description string
- Description of the Email Template.
- Parameters
List<Pulumi.
Azure Native. Api Management. Outputs. Email Template Parameters Contract Properties Response> - Email Template Parameter values.
- Title string
- Title of the Template.
- Body string
- Email Template Body. This should be a valid XDocument
- Id string
- Resource ID.
- Is
Default bool - Whether the template is the default template provided by Api Management or has been edited.
- Name string
- Resource name.
- Subject string
- Subject of the Template.
- Type string
- Resource type for API Management resource.
- Description string
- Description of the Email Template.
- Parameters
[]Email
Template Parameters Contract Properties Response - Email Template Parameter values.
- Title string
- Title of the Template.
- body String
- Email Template Body. This should be a valid XDocument
- id String
- Resource ID.
- is
Default Boolean - Whether the template is the default template provided by Api Management or has been edited.
- name String
- Resource name.
- subject String
- Subject of the Template.
- type String
- Resource type for API Management resource.
- description String
- Description of the Email Template.
- parameters
List<Email
Template Parameters Contract Properties Response> - Email Template Parameter values.
- title String
- Title of the Template.
- body string
- Email Template Body. This should be a valid XDocument
- id string
- Resource ID.
- is
Default boolean - Whether the template is the default template provided by Api Management or has been edited.
- name string
- Resource name.
- subject string
- Subject of the Template.
- type string
- Resource type for API Management resource.
- description string
- Description of the Email Template.
- parameters
Email
Template Parameters Contract Properties Response[] - Email Template Parameter values.
- title string
- Title of the Template.
- body str
- Email Template Body. This should be a valid XDocument
- id str
- Resource ID.
- is_
default bool - Whether the template is the default template provided by Api Management or has been edited.
- name str
- Resource name.
- subject str
- Subject of the Template.
- type str
- Resource type for API Management resource.
- description str
- Description of the Email Template.
- parameters
Sequence[Email
Template Parameters Contract Properties Response] - Email Template Parameter values.
- title str
- Title of the Template.
- body String
- Email Template Body. This should be a valid XDocument
- id String
- Resource ID.
- is
Default Boolean - Whether the template is the default template provided by Api Management or has been edited.
- name String
- Resource name.
- subject String
- Subject of the Template.
- type String
- Resource type for API Management resource.
- description String
- Description of the Email Template.
- parameters List<Property Map>
- Email Template Parameter values.
- title String
- Title of the Template.
Supporting Types
EmailTemplateParametersContractPropertiesResponse
- Description string
- Template parameter description.
- Name string
- Template parameter name.
- Title string
- Template parameter title.
- Description string
- Template parameter description.
- Name string
- Template parameter name.
- Title string
- Template parameter title.
- description String
- Template parameter description.
- name String
- Template parameter name.
- title String
- Template parameter title.
- description string
- Template parameter description.
- name string
- Template parameter name.
- title string
- Template parameter title.
- description str
- Template parameter description.
- name str
- Template parameter name.
- title str
- Template parameter title.
- description String
- Template parameter description.
- name String
- Template parameter name.
- title String
- Template parameter title.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi