1. Packages
  2. Packages
  3. Mso Provider
  4. API Docs
  5. SystemConfig
Viewing docs for mso 2.0.0
published on Friday, Apr 17, 2026 by ciscodevnet
Viewing docs for mso 2.0.0
published on Friday, Apr 17, 2026 by ciscodevnet

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as mso from "@pulumi/mso";
    
    const systemConfig = new mso.SystemConfig("system_config", {
        alias: "test alias",
        banner: {
            message: "test message",
            state: "active",
            type: "warning",
        },
        changeControl: {
            workflow: "enabled",
            number_of_approvers: "2",
        },
    });
    
    import pulumi
    import pulumi_mso as mso
    
    system_config = mso.SystemConfig("system_config",
        alias="test alias",
        banner={
            "message": "test message",
            "state": "active",
            "type": "warning",
        },
        change_control={
            "workflow": "enabled",
            "number_of_approvers": "2",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/mso/v2/mso"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := mso.NewSystemConfig(ctx, "system_config", &mso.SystemConfigArgs{
    			Alias: pulumi.String("test alias"),
    			Banner: &mso.SystemConfigBannerArgs{
    				Message: pulumi.String("test message"),
    				State:   pulumi.String("active"),
    				Type:    pulumi.String("warning"),
    			},
    			ChangeControl: pulumi.StringMap{
    				"workflow":            pulumi.String("enabled"),
    				"number_of_approvers": pulumi.String("2"),
    			},
    		})
    		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 = new Mso.SystemConfig("system_config", new()
        {
            Alias = "test alias",
            Banner = new Mso.Inputs.SystemConfigBannerArgs
            {
                Message = "test message",
                State = "active",
                Type = "warning",
            },
            ChangeControl = 
            {
                { "workflow", "enabled" },
                { "number_of_approvers", "2" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.mso.SystemConfig;
    import com.pulumi.mso.SystemConfigArgs;
    import com.pulumi.mso.inputs.SystemConfigBannerArgs;
    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) {
            var systemConfig = new SystemConfig("systemConfig", SystemConfigArgs.builder()
                .alias("test alias")
                .banner(SystemConfigBannerArgs.builder()
                    .message("test message")
                    .state("active")
                    .type("warning")
                    .build())
                .changeControl(Map.ofEntries(
                    Map.entry("workflow", "enabled"),
                    Map.entry("number_of_approvers", "2")
                ))
                .build());
    
        }
    }
    
    resources:
      systemConfig:
        type: mso:SystemConfig
        name: system_config
        properties:
          alias: test alias
          banner:
            message: test message
            state: active
            type: warning
          changeControl:
            workflow: enabled
            number_of_approvers: 2
    
    Example coming soon!
    

    Create SystemConfig Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SystemConfig(name: string, args?: SystemConfigArgs, opts?: CustomResourceOptions);
    @overload
    def SystemConfig(resource_name: str,
                     args: Optional[SystemConfigArgs] = None,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def SystemConfig(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     alias: Optional[str] = None,
                     banner: Optional[SystemConfigBannerArgs] = None,
                     change_control: Optional[Mapping[str, str]] = None,
                     system_config_id: Optional[str] = None)
    func NewSystemConfig(ctx *Context, name string, args *SystemConfigArgs, opts ...ResourceOption) (*SystemConfig, error)
    public SystemConfig(string name, SystemConfigArgs? args = null, CustomResourceOptions? opts = null)
    public SystemConfig(String name, SystemConfigArgs args)
    public SystemConfig(String name, SystemConfigArgs args, CustomResourceOptions options)
    
    type: mso:SystemConfig
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "mso_systemconfig" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args SystemConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SystemConfigArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SystemConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SystemConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SystemConfigArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var systemConfigResource = new Mso.SystemConfig("systemConfigResource", new()
    {
        Alias = "string",
        Banner = new Mso.Inputs.SystemConfigBannerArgs
        {
            Message = "string",
            State = "string",
            Type = "string",
        },
        ChangeControl = 
        {
            { "string", "string" },
        },
        SystemConfigId = "string",
    });
    
    example, err := mso.NewSystemConfig(ctx, "systemConfigResource", &mso.SystemConfigArgs{
    	Alias: pulumi.String("string"),
    	Banner: &mso.SystemConfigBannerArgs{
    		Message: pulumi.String("string"),
    		State:   pulumi.String("string"),
    		Type:    pulumi.String("string"),
    	},
    	ChangeControl: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	SystemConfigId: pulumi.String("string"),
    })
    
    resource "mso_systemconfig" "systemConfigResource" {
      alias = "string"
      banner = {
        message = "string"
        state   = "string"
        type    = "string"
      }
      change_control = {
        "string" = "string"
      }
      system_config_id = "string"
    }
    
    var systemConfigResource = new SystemConfig("systemConfigResource", SystemConfigArgs.builder()
        .alias("string")
        .banner(SystemConfigBannerArgs.builder()
            .message("string")
            .state("string")
            .type("string")
            .build())
        .changeControl(Map.of("string", "string"))
        .systemConfigId("string")
        .build());
    
    system_config_resource = mso.SystemConfig("systemConfigResource",
        alias="string",
        banner={
            "message": "string",
            "state": "string",
            "type": "string",
        },
        change_control={
            "string": "string",
        },
        system_config_id="string")
    
    const systemConfigResource = new mso.SystemConfig("systemConfigResource", {
        alias: "string",
        banner: {
            message: "string",
            state: "string",
            type: "string",
        },
        changeControl: {
            string: "string",
        },
        systemConfigId: "string",
    });
    
    type: mso:SystemConfig
    properties:
        alias: string
        banner:
            message: string
            state: string
            type: string
        changeControl:
            string: string
        systemConfigId: string
    

    SystemConfig Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The SystemConfig resource accepts the following input properties:

    Alias string
    SystemConfigBanner
    ChangeControl Dictionary<string, string>
    SystemConfigId string
    alias string
    SystemConfigBanner
    changeControl {[key: string]: string}
    systemConfigId string

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SystemConfig resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing SystemConfig Resource

    Get an existing SystemConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: SystemConfigState, opts?: CustomResourceOptions): SystemConfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            alias: Optional[str] = None,
            banner: Optional[SystemConfigBannerArgs] = None,
            change_control: Optional[Mapping[str, str]] = None,
            system_config_id: Optional[str] = None) -> SystemConfig
    func GetSystemConfig(ctx *Context, name string, id IDInput, state *SystemConfigState, opts ...ResourceOption) (*SystemConfig, error)
    public static SystemConfig Get(string name, Input<string> id, SystemConfigState? state, CustomResourceOptions? opts = null)
    public static SystemConfig get(String name, Output<String> id, SystemConfigState state, CustomResourceOptions options)
    resources:  _:    type: mso:SystemConfig    get:      id: ${id}
    import {
      to = mso_systemconfig.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Alias string
    Banner SystemConfigBanner
    ChangeControl Dictionary<string, string>
    SystemConfigId string
    alias string
    banner SystemConfigBanner
    changeControl {[key: string]: string}
    systemConfigId string

    Supporting Types

    SystemConfigBanner, SystemConfigBannerArgs

    Message string
    State string
    Type string
    Message string
    State string
    Type string
    message string
    state string
    type string
    message String
    state String
    type String
    message string
    state string
    type string
    message str
    state str
    type str
    message String
    state String
    type String

    Import

    ing ##

    The pulumi import command is not supported. The pulumi up command without configuration can be used instead.

    import * as pulumi from "@pulumi/pulumi";
    import * as mso from "@pulumi/mso";
    
    const systemConfig = new mso.SystemConfig("system_config", {});
    
    import pulumi
    import pulumi_mso as mso
    
    system_config = mso.SystemConfig("system_config")
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Mso = Pulumi.Mso;
    
    return await Deployment.RunAsync(() => 
    {
        var systemConfig = new Mso.SystemConfig("system_config");
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/mso/v2/mso"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := mso.NewSystemConfig(ctx, "system_config", nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.mso.SystemConfig;
    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) {
            var systemConfig = new SystemConfig("systemConfig");
    
        }
    }
    
    resources:
      systemConfig:
        type: mso:SystemConfig
        name: system_config
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    mso ciscodevnet/terraform-provider-mso
    License
    Notes
    This Pulumi package is based on the mso Terraform Provider.
    Viewing docs for mso 2.0.0
    published on Friday, Apr 17, 2026 by ciscodevnet
      Try Pulumi Cloud free. Your team will thank you.