func GetEmailTemplate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EmailTemplateState, opts ...pulumi.ResourceOption) (*EmailTemplate, error) {
	var resource EmailTemplate
	err := ctx.ReadResource("azure:apimanagement/emailTemplate:EmailTemplate", name, id, state, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
// GetEmailTemplate gets an existing EmailTemplate resource's state with the given name, ID, and optional
// state properties that are used to uniquely qualify the lookup (nil if not required).
GetEmailTemplate gets an existing EmailTemplate resource's state with the given name, ID, and optional
state properties that are used to uniquely qualify the lookup (nil if not required).
// GetEmailTemplate gets an existing EmailTemplate resource ' s state with the given name ID and optional // state properties that are used to uniquely qualify the lookup ( nil if not required ) .
func GetEmailTemplate(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EmailTemplateState, opts ...pulumi.ResourceOption) (*EmailTemplate, error) {
	var resource EmailTemplate
	err := ctx.ReadResource("azure:apimanagement/emailTemplate:EmailTemplate", name, id, state, &resource, opts...)
	if err != nil {
		return nil, err
	}
	return &resource, nil
}
func GetEmailTemplate ( ctx * pulumi . Context , name string , id pulumi . IDInput , state * EmailTemplateState , opts ... pulumi . ResourceOption ) ( * EmailTemplate , error ) { var resource EmailTemplate err := ctx . ReadResource ( " " , name , id , state , & resource , opts ... ) if err != nil { return nil , err } return & resource , nil }
GetEmailTemplate gets an existing EmailTemplate resource's state with the given name, ID, and optional
state properties that are used to uniquely qualify the lookup (nil if not required).
GetEmailTemplate gets an existing EmailTemplate resource ' s state with the given name ID and optional state properties that are used to uniquely qualify the lookup ( nil if not required ) .