Viewing docs for Strata Cloud Manager v1.0.5
published on Saturday, Mar 21, 2026 by Pulumi
published on Saturday, Mar 21, 2026 by Pulumi
Viewing docs for Strata Cloud Manager v1.0.5
published on Saturday, Mar 21, 2026 by Pulumi
published on Saturday, Mar 21, 2026 by Pulumi
Retrieves a listing of config items.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scm from "@pulumi/scm";
const allSettings = scm.getMotdBannerSettingList({
folder: "All",
});
export const fetchedSettingListSummary = {
countOfSettingsFetched: allSettings.then(allSettings => allSettings.total),
value: allSettings.then(allSettings => allSettings.datas?.[0]),
};
import pulumi
import pulumi_scm as scm
all_settings = scm.get_motd_banner_setting_list(folder="All")
pulumi.export("fetchedSettingListSummary", {
"countOfSettingsFetched": all_settings.total,
"value": all_settings.datas[0],
})
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 {
allSettings, err := scm.GetMotdBannerSettingList(ctx, &scm.GetMotdBannerSettingListArgs{
Folder: pulumi.StringRef("All"),
}, nil)
if err != nil {
return err
}
ctx.Export("fetchedSettingListSummary", pulumi.Map{
"countOfSettingsFetched": allSettings.Total,
"value": allSettings.Datas[0],
})
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scm = Pulumi.Scm;
return await Deployment.RunAsync(() =>
{
var allSettings = Scm.GetMotdBannerSettingList.Invoke(new()
{
Folder = "All",
});
return new Dictionary<string, object?>
{
["fetchedSettingListSummary"] =
{
{ "countOfSettingsFetched", allSettings.Apply(getMotdBannerSettingListResult => getMotdBannerSettingListResult.Total) },
{ "value", allSettings.Apply(getMotdBannerSettingListResult => getMotdBannerSettingListResult.Datas[0]) },
},
};
});
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.GetMotdBannerSettingListArgs;
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 allSettings = ScmFunctions.getMotdBannerSettingList(GetMotdBannerSettingListArgs.builder()
.folder("All")
.build());
ctx.export("fetchedSettingListSummary", Map.ofEntries(
Map.entry("countOfSettingsFetched", allSettings.total()),
Map.entry("value", allSettings.datas()[0])
));
}
}
variables:
allSettings:
fn::invoke:
function: scm:getMotdBannerSettingList
arguments:
folder: All
outputs:
# -----------------------------------------------------------------------------
# OUTPUT: Display the fetched list data
# -----------------------------------------------------------------------------
fetchedSettingListSummary:
countOfSettingsFetched: ${allSettings.total}
value: ${allSettings.datas[0]}
Using getMotdBannerSettingList
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 getMotdBannerSettingList(args: GetMotdBannerSettingListArgs, opts?: InvokeOptions): Promise<GetMotdBannerSettingListResult>
function getMotdBannerSettingListOutput(args: GetMotdBannerSettingListOutputArgs, opts?: InvokeOptions): Output<GetMotdBannerSettingListResult>def get_motd_banner_setting_list(device: Optional[str] = None,
folder: Optional[str] = None,
limit: Optional[int] = None,
name: Optional[str] = None,
offset: Optional[int] = None,
snippet: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMotdBannerSettingListResult
def get_motd_banner_setting_list_output(device: Optional[pulumi.Input[str]] = None,
folder: Optional[pulumi.Input[str]] = None,
limit: Optional[pulumi.Input[int]] = None,
name: Optional[pulumi.Input[str]] = None,
offset: Optional[pulumi.Input[int]] = None,
snippet: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetMotdBannerSettingListResult]func GetMotdBannerSettingList(ctx *Context, args *GetMotdBannerSettingListArgs, opts ...InvokeOption) (*GetMotdBannerSettingListResult, error)
func GetMotdBannerSettingListOutput(ctx *Context, args *GetMotdBannerSettingListOutputArgs, opts ...InvokeOption) GetMotdBannerSettingListResultOutput> Note: This function is named GetMotdBannerSettingList in the Go SDK.
public static class GetMotdBannerSettingList
{
public static Task<GetMotdBannerSettingListResult> InvokeAsync(GetMotdBannerSettingListArgs args, InvokeOptions? opts = null)
public static Output<GetMotdBannerSettingListResult> Invoke(GetMotdBannerSettingListInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetMotdBannerSettingListResult> getMotdBannerSettingList(GetMotdBannerSettingListArgs args, InvokeOptions options)
public static Output<GetMotdBannerSettingListResult> getMotdBannerSettingList(GetMotdBannerSettingListArgs args, InvokeOptions options)
fn::invoke:
function: scm:index/getMotdBannerSettingList:getMotdBannerSettingList
arguments:
# arguments dictionaryThe following arguments are supported:
getMotdBannerSettingList Result
The following output properties are available:
- Datas
List<Get
Motd Banner Setting List Data> - The data.
- Id string
- The provider-assigned unique ID for this managed resource.
- Tfid string
- The Terraform ID.
- Total int
- The total number of items.
- Device string
- The device of the item.
- Folder string
- The folder of the item. Default: Shared.
- Limit int
- The max number of items to return. Default: 200.
- Name string
- The name of the item.
- Offset int
- The offset of the first item to return.
- Snippet string
- The snippet of the item.
- Datas
[]Get
Motd Banner Setting List Data - The data.
- Id string
- The provider-assigned unique ID for this managed resource.
- Tfid string
- The Terraform ID.
- Total int
- The total number of items.
- Device string
- The device of the item.
- Folder string
- The folder of the item. Default: Shared.
- Limit int
- The max number of items to return. Default: 200.
- Name string
- The name of the item.
- Offset int
- The offset of the first item to return.
- Snippet string
- The snippet of the item.
- datas
List<Get
Motd Banner Setting List Data> - The data.
- id String
- The provider-assigned unique ID for this managed resource.
- tfid String
- The Terraform ID.
- total Integer
- The total number of items.
- device String
- The device of the item.
- folder String
- The folder of the item. Default: Shared.
- limit Integer
- The max number of items to return. Default: 200.
- name String
- The name of the item.
- offset Integer
- The offset of the first item to return.
- snippet String
- The snippet of the item.
- datas
Get
Motd Banner Setting List Data[] - The data.
- id string
- The provider-assigned unique ID for this managed resource.
- tfid string
- The Terraform ID.
- total number
- The total number of items.
- device string
- The device of the item.
- folder string
- The folder of the item. Default: Shared.
- limit number
- The max number of items to return. Default: 200.
- name string
- The name of the item.
- offset number
- The offset of the first item to return.
- snippet string
- The snippet of the item.
- datas
Sequence[Get
Motd Banner Setting List Data] - The data.
- id str
- The provider-assigned unique ID for this managed resource.
- tfid str
- The Terraform ID.
- total int
- The total number of items.
- device str
- The device of the item.
- folder str
- The folder of the item. Default: Shared.
- limit int
- The max number of items to return. Default: 200.
- name str
- The name of the item.
- offset int
- The offset of the first item to return.
- snippet str
- The snippet of the item.
- datas List<Property Map>
- The data.
- id String
- The provider-assigned unique ID for this managed resource.
- tfid String
- The Terraform ID.
- total Number
- The total number of items.
- device String
- The device of the item.
- folder String
- The folder of the item. Default: Shared.
- limit Number
- The max number of items to return. Default: 200.
- name String
- The name of the item.
- offset Number
- The offset of the first item to return.
- snippet String
- The snippet of the item.
Supporting Types
GetMotdBannerSettingListData
GetMotdBannerSettingListDataMotdAndBanner
- 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.5
published on Saturday, Mar 21, 2026 by Pulumi
published on Saturday, Mar 21, 2026 by Pulumi
