1. Packages
  2. Strata Cloud Manager Provider
  3. API Docs
  4. getMotdBannerSetting
Strata Cloud Manager v1.0.3 published on Thursday, Jan 22, 2026 by Pulumi
scm logo
Strata Cloud Manager v1.0.3 published on Thursday, Jan 22, 2026 by Pulumi

    MotdBannerSetting data source

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as scm from "@pulumi/scm";
    
    const settingsData = scm.getMotdBannerSetting({
        id: "bc31452f-7f57-4c29-9dab-e1cb461799eb",
    });
    export const fetchedSettings = settingsData;
    
    import pulumi
    import pulumi_scm as scm
    
    settings_data = scm.get_motd_banner_setting(id="bc31452f-7f57-4c29-9dab-e1cb461799eb")
    pulumi.export("fetchedSettings", settings_data)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-scm/sdk/go/scm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		settingsData, err := scm.LookupMotdBannerSetting(ctx, &scm.LookupMotdBannerSettingArgs{
    			Id: "bc31452f-7f57-4c29-9dab-e1cb461799eb",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("fetchedSettings", settingsData)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Scm = Pulumi.Scm;
    
    return await Deployment.RunAsync(() => 
    {
        var settingsData = Scm.GetMotdBannerSetting.Invoke(new()
        {
            Id = "bc31452f-7f57-4c29-9dab-e1cb461799eb",
        });
    
        return new Dictionary<string, object?>
        {
            ["fetchedSettings"] = settingsData,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.scm.ScmFunctions;
    import com.pulumi.scm.inputs.GetMotdBannerSettingArgs;
    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 settingsData = ScmFunctions.getMotdBannerSetting(GetMotdBannerSettingArgs.builder()
                .id("bc31452f-7f57-4c29-9dab-e1cb461799eb")
                .build());
    
            ctx.export("fetchedSettings", settingsData);
        }
    }
    
    variables:
      settingsData:
        fn::invoke:
          function: scm:getMotdBannerSetting
          arguments:
            id: bc31452f-7f57-4c29-9dab-e1cb461799eb
    outputs:
      fetchedSettings: ${settingsData}
    

    Using getMotdBannerSetting

    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 getMotdBannerSetting(args: GetMotdBannerSettingArgs, opts?: InvokeOptions): Promise<GetMotdBannerSettingResult>
    function getMotdBannerSettingOutput(args: GetMotdBannerSettingOutputArgs, opts?: InvokeOptions): Output<GetMotdBannerSettingResult>
    def get_motd_banner_setting(device: Optional[str] = None,
                                folder: Optional[str] = None,
                                id: Optional[str] = None,
                                snippet: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetMotdBannerSettingResult
    def get_motd_banner_setting_output(device: Optional[pulumi.Input[str]] = None,
                                folder: Optional[pulumi.Input[str]] = None,
                                id: Optional[pulumi.Input[str]] = None,
                                snippet: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetMotdBannerSettingResult]
    func LookupMotdBannerSetting(ctx *Context, args *LookupMotdBannerSettingArgs, opts ...InvokeOption) (*LookupMotdBannerSettingResult, error)
    func LookupMotdBannerSettingOutput(ctx *Context, args *LookupMotdBannerSettingOutputArgs, opts ...InvokeOption) LookupMotdBannerSettingResultOutput

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

    public static class GetMotdBannerSetting 
    {
        public static Task<GetMotdBannerSettingResult> InvokeAsync(GetMotdBannerSettingArgs args, InvokeOptions? opts = null)
        public static Output<GetMotdBannerSettingResult> Invoke(GetMotdBannerSettingInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetMotdBannerSettingResult> getMotdBannerSetting(GetMotdBannerSettingArgs args, InvokeOptions options)
    public static Output<GetMotdBannerSettingResult> getMotdBannerSetting(GetMotdBannerSettingArgs args, InvokeOptions options)
    
    fn::invoke:
      function: scm:index/getMotdBannerSetting:getMotdBannerSetting
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    UUID of the resource
    Device string
    The device in which the resource is defined
    Folder string
    Snippet string
    Id string
    UUID of the resource
    Device string
    The device in which the resource is defined
    Folder string
    Snippet string
    id String
    UUID of the resource
    device String
    The device in which the resource is defined
    folder String
    snippet String
    id string
    UUID of the resource
    device string
    The device in which the resource is defined
    folder string
    snippet string
    id str
    UUID of the resource
    device str
    The device in which the resource is defined
    folder str
    snippet str
    id String
    UUID of the resource
    device String
    The device in which the resource is defined
    folder String
    snippet String

    getMotdBannerSetting Result

    The following output properties are available:

    Device string
    The device in which the resource is defined
    Folder string
    Id string
    UUID of the resource
    MotdAndBanner GetMotdBannerSettingMotdAndBanner
    Snippet string
    Tfid string
    Device string
    The device in which the resource is defined
    Folder string
    Id string
    UUID of the resource
    MotdAndBanner GetMotdBannerSettingMotdAndBanner
    Snippet string
    Tfid string
    device String
    The device in which the resource is defined
    folder String
    id String
    UUID of the resource
    motdAndBanner GetMotdBannerSettingMotdAndBanner
    snippet String
    tfid String
    device string
    The device in which the resource is defined
    folder string
    id string
    UUID of the resource
    motdAndBanner GetMotdBannerSettingMotdAndBanner
    snippet string
    tfid string
    device str
    The device in which the resource is defined
    folder str
    id str
    UUID of the resource
    motd_and_banner GetMotdBannerSettingMotdAndBanner
    snippet str
    tfid str
    device String
    The device in which the resource is defined
    folder String
    id String
    UUID of the resource
    motdAndBanner Property Map
    snippet String
    tfid String

    Supporting Types

    GetMotdBannerSettingMotdAndBanner

    BannerFooter string
    Banner footer
    BannerFooterColor string
    The following list details the supported values and their colors.
    BannerFooterTextColor string
    The following list details the supported values and their colors.
    BannerHeader string
    Banner header
    BannerHeaderColor string
    The following list details the supported values and their colors.
    BannerHeaderFooterMatch bool
    Banner header footer match
    BannerHeaderTextColor string
    The following list details the supported values and their colors.
    Message string
    Message
    MotdColor string
    The following list details the supported values and their colors.
    MotdDoNotDisplayAgain bool
    Motd do not display again
    MotdEnable bool
    Motd enable
    MotdTitle string
    Motd title
    Severity string
    Severity
    BannerFooter string
    Banner footer
    BannerFooterColor string
    The following list details the supported values and their colors.
    BannerFooterTextColor string
    The following list details the supported values and their colors.
    BannerHeader string
    Banner header
    BannerHeaderColor string
    The following list details the supported values and their colors.
    BannerHeaderFooterMatch bool
    Banner header footer match
    BannerHeaderTextColor string
    The following list details the supported values and their colors.
    Message string
    Message
    MotdColor string
    The following list details the supported values and their colors.
    MotdDoNotDisplayAgain bool
    Motd do not display again
    MotdEnable bool
    Motd enable
    MotdTitle string
    Motd title
    Severity string
    Severity
    bannerFooter String
    Banner footer
    bannerFooterColor String
    The following list details the supported values and their colors.
    bannerFooterTextColor String
    The following list details the supported values and their colors.
    bannerHeader String
    Banner header
    bannerHeaderColor String
    The following list details the supported values and their colors.
    bannerHeaderFooterMatch Boolean
    Banner header footer match
    bannerHeaderTextColor String
    The following list details the supported values and their colors.
    message String
    Message
    motdColor String
    The following list details the supported values and their colors.
    motdDoNotDisplayAgain Boolean
    Motd do not display again
    motdEnable Boolean
    Motd enable
    motdTitle String
    Motd title
    severity String
    Severity
    bannerFooter string
    Banner footer
    bannerFooterColor string
    The following list details the supported values and their colors.
    bannerFooterTextColor string
    The following list details the supported values and their colors.
    bannerHeader string
    Banner header
    bannerHeaderColor string
    The following list details the supported values and their colors.
    bannerHeaderFooterMatch boolean
    Banner header footer match
    bannerHeaderTextColor string
    The following list details the supported values and their colors.
    message string
    Message
    motdColor string
    The following list details the supported values and their colors.
    motdDoNotDisplayAgain boolean
    Motd do not display again
    motdEnable boolean
    Motd enable
    motdTitle string
    Motd title
    severity string
    Severity
    str
    Banner footer
    str
    The following list details the supported values and their colors.
    str
    The following list details the supported values and their colors.
    str
    Banner header
    str
    The following list details the supported values and their colors.
    bool
    Banner header footer match
    str
    The following list details the supported values and their colors.
    message str
    Message
    motd_color str
    The following list details the supported values and their colors.
    motd_do_not_display_again bool
    Motd do not display again
    motd_enable bool
    Motd enable
    motd_title str
    Motd title
    severity str
    Severity
    bannerFooter String
    Banner footer
    bannerFooterColor String
    The following list details the supported values and their colors.
    bannerFooterTextColor String
    The following list details the supported values and their colors.
    bannerHeader String
    Banner header
    bannerHeaderColor String
    The following list details the supported values and their colors.
    bannerHeaderFooterMatch Boolean
    Banner header footer match
    bannerHeaderTextColor String
    The following list details the supported values and their colors.
    message String
    Message
    motdColor String
    The following list details the supported values and their colors.
    motdDoNotDisplayAgain Boolean
    Motd do not display again
    motdEnable Boolean
    Motd enable
    motdTitle String
    Motd title
    severity String
    Severity

    Package Details

    Repository
    scm pulumi/pulumi-scm
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the scm Terraform Provider.
    scm logo
    Strata Cloud Manager v1.0.3 published on Thursday, Jan 22, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate