1. Packages
  2. Cisco Catalyst SD-WAN
  3. API Docs
  4. ConfigurationGroupDeviceVariables
Cisco Catalyst SD-WAN v0.1.1 published on Friday, May 31, 2024 by Pulumi

sdwan.ConfigurationGroupDeviceVariables

Explore with Pulumi AI

sdwan logo
Cisco Catalyst SD-WAN v0.1.1 published on Friday, May 31, 2024 by Pulumi

    This resource can manage a Configuration Group Device Variables .

    • Minimum SD-WAN Manager version: 20.12.0

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sdwan.ConfigurationGroupDeviceVariables;
    import com.pulumi.sdwan.ConfigurationGroupDeviceVariablesArgs;
    import com.pulumi.sdwan.inputs.ConfigurationGroupDeviceVariablesDeviceArgs;
    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 example = new ConfigurationGroupDeviceVariables("example", ConfigurationGroupDeviceVariablesArgs.builder()        
                .configurationGroupId("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac")
                .solution("sdwan")
                .devices(ConfigurationGroupDeviceVariablesDeviceArgs.builder()
                    .device_id("C8K-15411CCC-D476-0B3B-21F2-5D6AC387EE7B")
                    .variables(ConfigurationGroupDeviceVariablesDeviceVariableArgs.builder()
                        .name("host_name")
                        .value("edge1")
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: sdwan:ConfigurationGroupDeviceVariables
        properties:
          configurationGroupId: f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac
          solution: sdwan
          devices:
            - device_id: C8K-15411CCC-D476-0B3B-21F2-5D6AC387EE7B
              variables:
                - name: host_name
                  value: edge1
    

    Create ConfigurationGroupDeviceVariables Resource

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

    Constructor syntax

    new ConfigurationGroupDeviceVariables(name: string, args: ConfigurationGroupDeviceVariablesArgs, opts?: CustomResourceOptions);
    @overload
    def ConfigurationGroupDeviceVariables(resource_name: str,
                                          args: ConfigurationGroupDeviceVariablesArgs,
                                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def ConfigurationGroupDeviceVariables(resource_name: str,
                                          opts: Optional[ResourceOptions] = None,
                                          configuration_group_id: Optional[str] = None,
                                          devices: Optional[Sequence[ConfigurationGroupDeviceVariablesDeviceArgs]] = None,
                                          solution: Optional[str] = None,
                                          groups: Optional[Sequence[ConfigurationGroupDeviceVariablesGroupArgs]] = None)
    func NewConfigurationGroupDeviceVariables(ctx *Context, name string, args ConfigurationGroupDeviceVariablesArgs, opts ...ResourceOption) (*ConfigurationGroupDeviceVariables, error)
    public ConfigurationGroupDeviceVariables(string name, ConfigurationGroupDeviceVariablesArgs args, CustomResourceOptions? opts = null)
    public ConfigurationGroupDeviceVariables(String name, ConfigurationGroupDeviceVariablesArgs args)
    public ConfigurationGroupDeviceVariables(String name, ConfigurationGroupDeviceVariablesArgs args, CustomResourceOptions options)
    
    type: sdwan:ConfigurationGroupDeviceVariables
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ConfigurationGroupDeviceVariablesArgs
    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 ConfigurationGroupDeviceVariablesArgs
    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 ConfigurationGroupDeviceVariablesArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ConfigurationGroupDeviceVariablesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ConfigurationGroupDeviceVariablesArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

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

    var configurationGroupDeviceVariablesResource = new Sdwan.ConfigurationGroupDeviceVariables("configurationGroupDeviceVariablesResource", new()
    {
        ConfigurationGroupId = "string",
        Devices = new[]
        {
            new Sdwan.Inputs.ConfigurationGroupDeviceVariablesDeviceArgs
            {
                DeviceId = "string",
                Variables = new[]
                {
                    new Sdwan.Inputs.ConfigurationGroupDeviceVariablesDeviceVariableArgs
                    {
                        Value = "string",
                        Name = "string",
                    },
                },
            },
        },
        Solution = "string",
        Groups = new[]
        {
            new Sdwan.Inputs.ConfigurationGroupDeviceVariablesGroupArgs
            {
                Name = "string",
                Variables = new[]
                {
                    new Sdwan.Inputs.ConfigurationGroupDeviceVariablesGroupVariableArgs
                    {
                        Value = "string",
                        Name = "string",
                    },
                },
            },
        },
    });
    
    example, err := sdwan.NewConfigurationGroupDeviceVariables(ctx, "configurationGroupDeviceVariablesResource", &sdwan.ConfigurationGroupDeviceVariablesArgs{
    	ConfigurationGroupId: pulumi.String("string"),
    	Devices: sdwan.ConfigurationGroupDeviceVariablesDeviceArray{
    		&sdwan.ConfigurationGroupDeviceVariablesDeviceArgs{
    			DeviceId: pulumi.String("string"),
    			Variables: sdwan.ConfigurationGroupDeviceVariablesDeviceVariableArray{
    				&sdwan.ConfigurationGroupDeviceVariablesDeviceVariableArgs{
    					Value: pulumi.String("string"),
    					Name:  pulumi.String("string"),
    				},
    			},
    		},
    	},
    	Solution: pulumi.String("string"),
    	Groups: sdwan.ConfigurationGroupDeviceVariablesGroupArray{
    		&sdwan.ConfigurationGroupDeviceVariablesGroupArgs{
    			Name: pulumi.String("string"),
    			Variables: sdwan.ConfigurationGroupDeviceVariablesGroupVariableArray{
    				&sdwan.ConfigurationGroupDeviceVariablesGroupVariableArgs{
    					Value: pulumi.String("string"),
    					Name:  pulumi.String("string"),
    				},
    			},
    		},
    	},
    })
    
    var configurationGroupDeviceVariablesResource = new ConfigurationGroupDeviceVariables("configurationGroupDeviceVariablesResource", ConfigurationGroupDeviceVariablesArgs.builder()
        .configurationGroupId("string")
        .devices(ConfigurationGroupDeviceVariablesDeviceArgs.builder()
            .deviceId("string")
            .variables(ConfigurationGroupDeviceVariablesDeviceVariableArgs.builder()
                .value("string")
                .name("string")
                .build())
            .build())
        .solution("string")
        .groups(ConfigurationGroupDeviceVariablesGroupArgs.builder()
            .name("string")
            .variables(ConfigurationGroupDeviceVariablesGroupVariableArgs.builder()
                .value("string")
                .name("string")
                .build())
            .build())
        .build());
    
    configuration_group_device_variables_resource = sdwan.ConfigurationGroupDeviceVariables("configurationGroupDeviceVariablesResource",
        configuration_group_id="string",
        devices=[sdwan.ConfigurationGroupDeviceVariablesDeviceArgs(
            device_id="string",
            variables=[sdwan.ConfigurationGroupDeviceVariablesDeviceVariableArgs(
                value="string",
                name="string",
            )],
        )],
        solution="string",
        groups=[sdwan.ConfigurationGroupDeviceVariablesGroupArgs(
            name="string",
            variables=[sdwan.ConfigurationGroupDeviceVariablesGroupVariableArgs(
                value="string",
                name="string",
            )],
        )])
    
    const configurationGroupDeviceVariablesResource = new sdwan.ConfigurationGroupDeviceVariables("configurationGroupDeviceVariablesResource", {
        configurationGroupId: "string",
        devices: [{
            deviceId: "string",
            variables: [{
                value: "string",
                name: "string",
            }],
        }],
        solution: "string",
        groups: [{
            name: "string",
            variables: [{
                value: "string",
                name: "string",
            }],
        }],
    });
    
    type: sdwan:ConfigurationGroupDeviceVariables
    properties:
        configurationGroupId: string
        devices:
            - deviceId: string
              variables:
                - name: string
                  value: string
        groups:
            - name: string
              variables:
                - name: string
                  value: string
        solution: string
    

    ConfigurationGroupDeviceVariables Resource Properties

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

    Inputs

    The ConfigurationGroupDeviceVariables resource accepts the following input properties:

    ConfigurationGroupId string
    Configuration Group ID
    Devices List<ConfigurationGroupDeviceVariablesDevice>
    List of devices
    Solution string
    Type of solution - Choices: mobility, sdwan, nfvirtual
    Groups List<ConfigurationGroupDeviceVariablesGroup>
    List of device groups
    ConfigurationGroupId string
    Configuration Group ID
    Devices []ConfigurationGroupDeviceVariablesDeviceArgs
    List of devices
    Solution string
    Type of solution - Choices: mobility, sdwan, nfvirtual
    Groups []ConfigurationGroupDeviceVariablesGroupArgs
    List of device groups
    configurationGroupId String
    Configuration Group ID
    devices List<ConfigurationGroupDeviceVariablesDevice>
    List of devices
    solution String
    Type of solution - Choices: mobility, sdwan, nfvirtual
    groups List<ConfigurationGroupDeviceVariablesGroup>
    List of device groups
    configurationGroupId string
    Configuration Group ID
    devices ConfigurationGroupDeviceVariablesDevice[]
    List of devices
    solution string
    Type of solution - Choices: mobility, sdwan, nfvirtual
    groups ConfigurationGroupDeviceVariablesGroup[]
    List of device groups
    configuration_group_id str
    Configuration Group ID
    devices Sequence[ConfigurationGroupDeviceVariablesDeviceArgs]
    List of devices
    solution str
    Type of solution - Choices: mobility, sdwan, nfvirtual
    groups Sequence[ConfigurationGroupDeviceVariablesGroupArgs]
    List of device groups
    configurationGroupId String
    Configuration Group ID
    devices List<Property Map>
    List of devices
    solution String
    Type of solution - Choices: mobility, sdwan, nfvirtual
    groups List<Property Map>
    List of device groups

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ConfigurationGroupDeviceVariables 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 str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ConfigurationGroupDeviceVariables Resource

    Get an existing ConfigurationGroupDeviceVariables 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?: ConfigurationGroupDeviceVariablesState, opts?: CustomResourceOptions): ConfigurationGroupDeviceVariables
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            configuration_group_id: Optional[str] = None,
            devices: Optional[Sequence[ConfigurationGroupDeviceVariablesDeviceArgs]] = None,
            groups: Optional[Sequence[ConfigurationGroupDeviceVariablesGroupArgs]] = None,
            solution: Optional[str] = None) -> ConfigurationGroupDeviceVariables
    func GetConfigurationGroupDeviceVariables(ctx *Context, name string, id IDInput, state *ConfigurationGroupDeviceVariablesState, opts ...ResourceOption) (*ConfigurationGroupDeviceVariables, error)
    public static ConfigurationGroupDeviceVariables Get(string name, Input<string> id, ConfigurationGroupDeviceVariablesState? state, CustomResourceOptions? opts = null)
    public static ConfigurationGroupDeviceVariables get(String name, Output<String> id, ConfigurationGroupDeviceVariablesState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    ConfigurationGroupId string
    Configuration Group ID
    Devices List<ConfigurationGroupDeviceVariablesDevice>
    List of devices
    Groups List<ConfigurationGroupDeviceVariablesGroup>
    List of device groups
    Solution string
    Type of solution - Choices: mobility, sdwan, nfvirtual
    ConfigurationGroupId string
    Configuration Group ID
    Devices []ConfigurationGroupDeviceVariablesDeviceArgs
    List of devices
    Groups []ConfigurationGroupDeviceVariablesGroupArgs
    List of device groups
    Solution string
    Type of solution - Choices: mobility, sdwan, nfvirtual
    configurationGroupId String
    Configuration Group ID
    devices List<ConfigurationGroupDeviceVariablesDevice>
    List of devices
    groups List<ConfigurationGroupDeviceVariablesGroup>
    List of device groups
    solution String
    Type of solution - Choices: mobility, sdwan, nfvirtual
    configurationGroupId string
    Configuration Group ID
    devices ConfigurationGroupDeviceVariablesDevice[]
    List of devices
    groups ConfigurationGroupDeviceVariablesGroup[]
    List of device groups
    solution string
    Type of solution - Choices: mobility, sdwan, nfvirtual
    configuration_group_id str
    Configuration Group ID
    devices Sequence[ConfigurationGroupDeviceVariablesDeviceArgs]
    List of devices
    groups Sequence[ConfigurationGroupDeviceVariablesGroupArgs]
    List of device groups
    solution str
    Type of solution - Choices: mobility, sdwan, nfvirtual
    configurationGroupId String
    Configuration Group ID
    devices List<Property Map>
    List of devices
    groups List<Property Map>
    List of device groups
    solution String
    Type of solution - Choices: mobility, sdwan, nfvirtual

    Supporting Types

    ConfigurationGroupDeviceVariablesDevice, ConfigurationGroupDeviceVariablesDeviceArgs

    deviceId String
    Device ID
    variables List<Property Map>
    List of variables

    ConfigurationGroupDeviceVariablesDeviceVariable, ConfigurationGroupDeviceVariablesDeviceVariableArgs

    Value string
    Variable value
    Name string
    Variable name
    Value string
    Variable value
    Name string
    Variable name
    value String
    Variable value
    name String
    Variable name
    value string
    Variable value
    name string
    Variable name
    value str
    Variable value
    name str
    Variable name
    value String
    Variable value
    name String
    Variable name

    ConfigurationGroupDeviceVariablesGroup, ConfigurationGroupDeviceVariablesGroupArgs

    name String
    Group name
    variables List<Property Map>
    List of variables

    ConfigurationGroupDeviceVariablesGroupVariable, ConfigurationGroupDeviceVariablesGroupVariableArgs

    Value string
    Variable value
    Name string
    Variable name
    Value string
    Variable value
    Name string
    Variable name
    value String
    Variable value
    name String
    Variable name
    value string
    Variable value
    name string
    Variable name
    value str
    Variable value
    name str
    Variable name
    value String
    Variable value
    name String
    Variable name

    Package Details

    Repository
    sdwan pulumi/pulumi-sdwan
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the sdwan Terraform Provider.
    sdwan logo
    Cisco Catalyst SD-WAN v0.1.1 published on Friday, May 31, 2024 by Pulumi