1. Packages
  2. Packages
  3. Rootly
  4. API Docs
  5. getCommunicationsTemplate
Viewing docs for Rootly v3.3.0
published on Thursday, May 7, 2026 by rootlyhq
rootly logo
Viewing docs for Rootly v3.3.0
published on Thursday, May 7, 2026 by rootlyhq

    Using getCommunicationsTemplate

    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 getCommunicationsTemplate(args: GetCommunicationsTemplateArgs, opts?: InvokeOptions): Promise<GetCommunicationsTemplateResult>
    function getCommunicationsTemplateOutput(args: GetCommunicationsTemplateOutputArgs, opts?: InvokeOptions): Output<GetCommunicationsTemplateResult>
    def get_communications_template(communication_type: Optional[str] = None,
                                    communication_type_id: Optional[str] = None,
                                    created_at: Optional[Mapping[str, str]] = None,
                                    name: Optional[str] = None,
                                    slug: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetCommunicationsTemplateResult
    def get_communications_template_output(communication_type: pulumi.Input[Optional[str]] = None,
                                    communication_type_id: pulumi.Input[Optional[str]] = None,
                                    created_at: pulumi.Input[Optional[Mapping[str, pulumi.Input[str]]]] = None,
                                    name: pulumi.Input[Optional[str]] = None,
                                    slug: pulumi.Input[Optional[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetCommunicationsTemplateResult]
    func LookupCommunicationsTemplate(ctx *Context, args *LookupCommunicationsTemplateArgs, opts ...InvokeOption) (*LookupCommunicationsTemplateResult, error)
    func LookupCommunicationsTemplateOutput(ctx *Context, args *LookupCommunicationsTemplateOutputArgs, opts ...InvokeOption) LookupCommunicationsTemplateResultOutput

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

    public static class GetCommunicationsTemplate 
    {
        public static Task<GetCommunicationsTemplateResult> InvokeAsync(GetCommunicationsTemplateArgs args, InvokeOptions? opts = null)
        public static Output<GetCommunicationsTemplateResult> Invoke(GetCommunicationsTemplateInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCommunicationsTemplateResult> getCommunicationsTemplate(GetCommunicationsTemplateArgs args, InvokeOptions options)
    public static Output<GetCommunicationsTemplateResult> getCommunicationsTemplate(GetCommunicationsTemplateArgs args, InvokeOptions options)
    
    fn::invoke:
      function: rootly:index/getCommunicationsTemplate:getCommunicationsTemplate
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CommunicationType string
    CommunicationTypeId string
    CreatedAt Dictionary<string, string>
    Filter by date range using 'lt' and 'gt'.
    Name string
    Slug string
    CommunicationType string
    CommunicationTypeId string
    CreatedAt map[string]string
    Filter by date range using 'lt' and 'gt'.
    Name string
    Slug string
    communicationType String
    communicationTypeId String
    createdAt Map<String,String>
    Filter by date range using 'lt' and 'gt'.
    name String
    slug String
    communicationType string
    communicationTypeId string
    createdAt {[key: string]: string}
    Filter by date range using 'lt' and 'gt'.
    name string
    slug string
    communication_type str
    communication_type_id str
    created_at Mapping[str, str]
    Filter by date range using 'lt' and 'gt'.
    name str
    slug str
    communicationType String
    communicationTypeId String
    createdAt Map<String>
    Filter by date range using 'lt' and 'gt'.
    name String
    slug String

    getCommunicationsTemplate Result

    The following output properties are available:

    CommunicationType string
    CommunicationTypeId string
    Id string
    The ID of this resource.
    Name string
    Slug string
    CreatedAt Dictionary<string, string>
    Filter by date range using 'lt' and 'gt'.
    CommunicationType string
    CommunicationTypeId string
    Id string
    The ID of this resource.
    Name string
    Slug string
    CreatedAt map[string]string
    Filter by date range using 'lt' and 'gt'.
    communicationType String
    communicationTypeId String
    id String
    The ID of this resource.
    name String
    slug String
    createdAt Map<String,String>
    Filter by date range using 'lt' and 'gt'.
    communicationType string
    communicationTypeId string
    id string
    The ID of this resource.
    name string
    slug string
    createdAt {[key: string]: string}
    Filter by date range using 'lt' and 'gt'.
    communication_type str
    communication_type_id str
    id str
    The ID of this resource.
    name str
    slug str
    created_at Mapping[str, str]
    Filter by date range using 'lt' and 'gt'.
    communicationType String
    communicationTypeId String
    id String
    The ID of this resource.
    name String
    slug String
    createdAt Map<String>
    Filter by date range using 'lt' and 'gt'.

    Package Details

    Repository
    rootly rootlyhq/pulumi-rootly
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the rootly Terraform Provider.
    rootly logo
    Viewing docs for Rootly v3.3.0
    published on Thursday, May 7, 2026 by rootlyhq
      Try Pulumi Cloud free. Your team will thank you.