hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software
hsdp.getIamEmailTemplates
Explore with Pulumi AI
hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software
Retrieve details of IAM Email templates configurations for the given IAM Organization
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as hsdp from "@pulumi/hsdp";
const all = hsdp.getIamEmailTemplates({
organizationId: data.hsdp_iam_org.hospital1.id,
});
import pulumi
import pulumi_hsdp as hsdp
all = hsdp.get_iam_email_templates(organization_id=data["hsdp_iam_org"]["hospital1"]["id"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/hsdp/hsdp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := hsdp.GetIamEmailTemplates(ctx, &hsdp.GetIamEmailTemplatesArgs{
OrganizationId: data.Hsdp_iam_org.Hospital1.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Hsdp = Pulumi.Hsdp;
return await Deployment.RunAsync(() =>
{
var all = Hsdp.GetIamEmailTemplates.Invoke(new()
{
OrganizationId = data.Hsdp_iam_org.Hospital1.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.hsdp.HsdpFunctions;
import com.pulumi.hsdp.inputs.GetIamEmailTemplatesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var all = HsdpFunctions.getIamEmailTemplates(GetIamEmailTemplatesArgs.builder()
.organizationId(data.hsdp_iam_org().hospital1().id())
.build());
}
}
variables:
all:
fn::invoke:
function: hsdp:getIamEmailTemplates
arguments:
organizationId: ${data.hsdp_iam_org.hospital1.id}
import * as pulumi from "@pulumi/pulumi";
export const hsdpIamEmailTemplatesIds = data.hsdp_iam_email_templates.all.ids;
import pulumi
pulumi.export("hsdpIamEmailTemplatesIds", data["hsdp_iam_email_templates"]["all"]["ids"])
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ctx.Export("hsdpIamEmailTemplatesIds", data.Hsdp_iam_email_templates.All.Ids)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
return await Deployment.RunAsync(() =>
{
return new Dictionary<string, object?>
{
["hsdpIamEmailTemplatesIds"] = data.Hsdp_iam_email_templates.All.Ids,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
ctx.export("hsdpIamEmailTemplatesIds", data.hsdp_iam_email_templates().all().ids());
}
}
outputs:
hsdpIamEmailTemplatesIds: ${data.hsdp_iam_email_templates.all.ids}
Using getIamEmailTemplates
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 getIamEmailTemplates(args: GetIamEmailTemplatesArgs, opts?: InvokeOptions): Promise<GetIamEmailTemplatesResult>
function getIamEmailTemplatesOutput(args: GetIamEmailTemplatesOutputArgs, opts?: InvokeOptions): Output<GetIamEmailTemplatesResult>
def get_iam_email_templates(id: Optional[str] = None,
locale: Optional[str] = None,
organization_id: Optional[str] = None,
type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIamEmailTemplatesResult
def get_iam_email_templates_output(id: Optional[pulumi.Input[str]] = None,
locale: Optional[pulumi.Input[str]] = None,
organization_id: Optional[pulumi.Input[str]] = None,
type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIamEmailTemplatesResult]
func GetIamEmailTemplates(ctx *Context, args *GetIamEmailTemplatesArgs, opts ...InvokeOption) (*GetIamEmailTemplatesResult, error)
func GetIamEmailTemplatesOutput(ctx *Context, args *GetIamEmailTemplatesOutputArgs, opts ...InvokeOption) GetIamEmailTemplatesResultOutput
> Note: This function is named GetIamEmailTemplates
in the Go SDK.
public static class GetIamEmailTemplates
{
public static Task<GetIamEmailTemplatesResult> InvokeAsync(GetIamEmailTemplatesArgs args, InvokeOptions? opts = null)
public static Output<GetIamEmailTemplatesResult> Invoke(GetIamEmailTemplatesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIamEmailTemplatesResult> getIamEmailTemplates(GetIamEmailTemplatesArgs args, InvokeOptions options)
public static Output<GetIamEmailTemplatesResult> getIamEmailTemplates(GetIamEmailTemplatesArgs args, InvokeOptions options)
fn::invoke:
function: hsdp:index/getIamEmailTemplates:getIamEmailTemplates
arguments:
# arguments dictionary
The following arguments are supported:
- Organization
Id string - The organization ID of the templates
- Id string
- Locale string
- The locale to filter on
- Type string
- Organization
Id string - The organization ID of the templates
- Id string
- Locale string
- The locale to filter on
- Type string
- organization
Id String - The organization ID of the templates
- id String
- locale String
- The locale to filter on
- type String
- organization
Id string - The organization ID of the templates
- id string
- locale string
- The locale to filter on
- type string
- organization_
id str - The organization ID of the templates
- id str
- locale str
- The locale to filter on
- type str
- organization
Id String - The organization ID of the templates
- id String
- locale String
- The locale to filter on
- type String
getIamEmailTemplates Result
The following output properties are available:
- Formats List<string>
- The formats of the templates
- Froms List<string>
- The From: header addresses of the templates
- Id string
- Ids List<string>
- The IDs of the templates
- Links List<string>
- The links of the templates
- Locales List<string>
- The locales of the templates
- Messages List<string>
- The message bodies of the templates
- Organization
Id string - Subjects List<string>
- The subjects of the templates
- Types List<string>
- The types of the templates
- Locale string
- Type string
- Formats []string
- The formats of the templates
- Froms []string
- The From: header addresses of the templates
- Id string
- Ids []string
- The IDs of the templates
- Links []string
- The links of the templates
- Locales []string
- The locales of the templates
- Messages []string
- The message bodies of the templates
- Organization
Id string - Subjects []string
- The subjects of the templates
- Types []string
- The types of the templates
- Locale string
- Type string
- formats List<String>
- The formats of the templates
- froms List<String>
- The From: header addresses of the templates
- id String
- ids List<String>
- The IDs of the templates
- links List<String>
- The links of the templates
- locales List<String>
- The locales of the templates
- messages List<String>
- The message bodies of the templates
- organization
Id String - subjects List<String>
- The subjects of the templates
- types List<String>
- The types of the templates
- locale String
- type String
- formats string[]
- The formats of the templates
- froms string[]
- The From: header addresses of the templates
- id string
- ids string[]
- The IDs of the templates
- links string[]
- The links of the templates
- locales string[]
- The locales of the templates
- messages string[]
- The message bodies of the templates
- organization
Id string - subjects string[]
- The subjects of the templates
- types string[]
- The types of the templates
- locale string
- type string
- formats Sequence[str]
- The formats of the templates
- froms Sequence[str]
- The From: header addresses of the templates
- id str
- ids Sequence[str]
- The IDs of the templates
- links Sequence[str]
- The links of the templates
- locales Sequence[str]
- The locales of the templates
- messages Sequence[str]
- The message bodies of the templates
- organization_
id str - subjects Sequence[str]
- The subjects of the templates
- types Sequence[str]
- The types of the templates
- locale str
- type str
- formats List<String>
- The formats of the templates
- froms List<String>
- The From: header addresses of the templates
- id String
- ids List<String>
- The IDs of the templates
- links List<String>
- The links of the templates
- locales List<String>
- The locales of the templates
- messages List<String>
- The message bodies of the templates
- organization
Id String - subjects List<String>
- The subjects of the templates
- types List<String>
- The types of the templates
- locale String
- type String
Package Details
- Repository
- hsdp philips-software/terraform-provider-hsdp
- License
- Notes
- This Pulumi package is based on the
hsdp
Terraform Provider.
hsdp 0.65.3 published on Tuesday, Apr 15, 2025 by philips-software