Viewing docs for Strata Cloud Manager v1.0.4
published on Saturday, Feb 14, 2026 by Pulumi
published on Saturday, Feb 14, 2026 by Pulumi
Viewing docs for Strata Cloud Manager v1.0.4
published on Saturday, Feb 14, 2026 by Pulumi
published on Saturday, Feb 14, 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 dictionaryThe following arguments are supported:
getMotdBannerSetting Result
The following output properties are available:
Supporting Types
GetMotdBannerSettingMotdAndBanner
- string
- Banner footer
- string
- The following list details the supported values and their colors.
- string
- The following list details the supported values and their colors.
- string
- Banner header
- string
- The following list details the supported values and their colors.
- bool
- Banner header footer match
- string
- The following list details the supported values and their colors.
- Message string
- Message
- Motd
Color string - The following list details the supported values and their colors.
- Motd
Do boolNot Display Again - Motd do not display again
- Motd
Enable bool - Motd enable
- Motd
Title string - Motd title
- Severity string
- Severity
- string
- Banner footer
- string
- The following list details the supported values and their colors.
- string
- The following list details the supported values and their colors.
- string
- Banner header
- string
- The following list details the supported values and their colors.
- bool
- Banner header footer match
- string
- The following list details the supported values and their colors.
- Message string
- Message
- Motd
Color string - The following list details the supported values and their colors.
- Motd
Do boolNot Display Again - Motd do not display again
- Motd
Enable bool - Motd enable
- Motd
Title string - Motd title
- Severity string
- Severity
- String
- Banner footer
- String
- The following list details the supported values and their colors.
- String
- The following list details the supported values and their colors.
- String
- Banner header
- String
- The following list details the supported values and their colors.
- Boolean
- Banner header footer match
- String
- The following list details the supported values and their colors.
- message String
- Message
- motd
Color String - The following list details the supported values and their colors.
- motd
Do BooleanNot Display Again - Motd do not display again
- motd
Enable Boolean - Motd enable
- motd
Title String - Motd title
- severity String
- Severity
- string
- Banner footer
- string
- The following list details the supported values and their colors.
- string
- The following list details the supported values and their colors.
- string
- Banner header
- string
- The following list details the supported values and their colors.
- boolean
- Banner header footer match
- string
- The following list details the supported values and their colors.
- message string
- Message
- motd
Color string - The following list details the supported values and their colors.
- motd
Do booleanNot Display Again - Motd do not display again
- motd
Enable boolean - Motd enable
- motd
Title 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_ boolnot_ display_ again - Motd do not display again
- motd_
enable bool - Motd enable
- motd_
title str - Motd title
- severity str
- Severity
- String
- Banner footer
- String
- The following list details the supported values and their colors.
- String
- The following list details the supported values and their colors.
- String
- Banner header
- String
- The following list details the supported values and their colors.
- Boolean
- Banner header footer match
- String
- The following list details the supported values and their colors.
- message String
- Message
- motd
Color String - The following list details the supported values and their colors.
- motd
Do BooleanNot Display Again - Motd do not display again
- motd
Enable Boolean - Motd enable
- motd
Title 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
scmTerraform Provider.
Viewing docs for Strata Cloud Manager v1.0.4
published on Saturday, Feb 14, 2026 by Pulumi
published on Saturday, Feb 14, 2026 by Pulumi
