mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet
mso.getSystemConfig
Explore with Pulumi AI
Data source for MSO System Configuration.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as mso from "@pulumi/mso";
const systemConfig = mso.getSystemConfig({});
import pulumi
import pulumi_mso as mso
system_config = mso.get_system_config()
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/mso/mso"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := mso.LookupSystemConfig(ctx, &mso.LookupSystemConfigArgs{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Mso = Pulumi.Mso;
return await Deployment.RunAsync(() =>
{
var systemConfig = Mso.GetSystemConfig.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.mso.MsoFunctions;
import com.pulumi.mso.inputs.GetSystemConfigArgs;
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 systemConfig = MsoFunctions.getSystemConfig();
}
}
variables:
systemConfig:
fn::invoke:
function: mso:getSystemConfig
arguments: {}
Argument Reference
No arguments are required.
Attribute Reference
alias
- (Read-Only) The system Alias.banner
- (Read-Only) A list of Banner configuration.state
- (Read-Only) The state of the Banner.type
- (Read-Only) The type of the Banner.message
- (Read-Only) The message of the Banner.
change_control
- (Read-Only) A map of Change Control configuration.workflow
- (Read-Only) Whether Change Control workflow is enabled.number_of_approvers
- (Read-Only) The number of approvers for the Change Control.
Using getSystemConfig
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 getSystemConfig(args: GetSystemConfigArgs, opts?: InvokeOptions): Promise<GetSystemConfigResult>
function getSystemConfigOutput(args: GetSystemConfigOutputArgs, opts?: InvokeOptions): Output<GetSystemConfigResult>
def get_system_config(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSystemConfigResult
def get_system_config_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSystemConfigResult]
func LookupSystemConfig(ctx *Context, args *LookupSystemConfigArgs, opts ...InvokeOption) (*LookupSystemConfigResult, error)
func LookupSystemConfigOutput(ctx *Context, args *LookupSystemConfigOutputArgs, opts ...InvokeOption) LookupSystemConfigResultOutput
> Note: This function is named LookupSystemConfig
in the Go SDK.
public static class GetSystemConfig
{
public static Task<GetSystemConfigResult> InvokeAsync(GetSystemConfigArgs args, InvokeOptions? opts = null)
public static Output<GetSystemConfigResult> Invoke(GetSystemConfigInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSystemConfigResult> getSystemConfig(GetSystemConfigArgs args, InvokeOptions options)
public static Output<GetSystemConfigResult> getSystemConfig(GetSystemConfigArgs args, InvokeOptions options)
fn::invoke:
function: mso:index/getSystemConfig:getSystemConfig
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Id string
- id String
- id string
- id str
- id String
getSystemConfig Result
The following output properties are available:
- Alias string
- List<Get
System Config Banner> - Change
Control Dictionary<string, string> - Id string
- Alias string
- []Get
System Config Banner - Change
Control map[string]string - Id string
- alias String
- List<Get
System Config Banner> - change
Control Map<String,String> - id String
- alias string
- Get
System Config Banner[] - change
Control {[key: string]: string} - id string
- alias str
- Sequence[Get
System Config Banner] - change_
control Mapping[str, str] - id str
- alias String
- List<Property Map>
- change
Control Map<String> - id String
Supporting Types
GetSystemConfigBanner
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the
mso
Terraform Provider.