sdwan.ConfigurationGroupDeviceVariables
Explore with Pulumi AI
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.
Constructor 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:
- Configuration
Group stringId - Configuration Group ID
- Devices
List<Configuration
Group Device Variables Device> - List of devices
- Solution string
- Type of solution - Choices:
mobility
,sdwan
,nfvirtual
- Groups
List<Configuration
Group Device Variables Group> - List of device groups
- Configuration
Group stringId - Configuration Group ID
- Devices
[]Configuration
Group Device Variables Device Args - List of devices
- Solution string
- Type of solution - Choices:
mobility
,sdwan
,nfvirtual
- Groups
[]Configuration
Group Device Variables Group Args - List of device groups
- configuration
Group StringId - Configuration Group ID
- devices
List<Configuration
Group Device Variables Device> - List of devices
- solution String
- Type of solution - Choices:
mobility
,sdwan
,nfvirtual
- groups
List<Configuration
Group Device Variables Group> - List of device groups
- configuration
Group stringId - Configuration Group ID
- devices
Configuration
Group Device Variables Device[] - List of devices
- solution string
- Type of solution - Choices:
mobility
,sdwan
,nfvirtual
- groups
Configuration
Group Device Variables Group[] - List of device groups
- configuration_
group_ strid - Configuration Group ID
- devices
Sequence[Configuration
Group Device Variables Device Args] - List of devices
- solution str
- Type of solution - Choices:
mobility
,sdwan
,nfvirtual
- groups
Sequence[Configuration
Group Device Variables Group Args] - List of device groups
- configuration
Group StringId - 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.
- Configuration
Group stringId - Configuration Group ID
- Devices
List<Configuration
Group Device Variables Device> - List of devices
- Groups
List<Configuration
Group Device Variables Group> - List of device groups
- Solution string
- Type of solution - Choices:
mobility
,sdwan
,nfvirtual
- Configuration
Group stringId - Configuration Group ID
- Devices
[]Configuration
Group Device Variables Device Args - List of devices
- Groups
[]Configuration
Group Device Variables Group Args - List of device groups
- Solution string
- Type of solution - Choices:
mobility
,sdwan
,nfvirtual
- configuration
Group StringId - Configuration Group ID
- devices
List<Configuration
Group Device Variables Device> - List of devices
- groups
List<Configuration
Group Device Variables Group> - List of device groups
- solution String
- Type of solution - Choices:
mobility
,sdwan
,nfvirtual
- configuration
Group stringId - Configuration Group ID
- devices
Configuration
Group Device Variables Device[] - List of devices
- groups
Configuration
Group Device Variables Group[] - List of device groups
- solution string
- Type of solution - Choices:
mobility
,sdwan
,nfvirtual
- configuration_
group_ strid - Configuration Group ID
- devices
Sequence[Configuration
Group Device Variables Device Args] - List of devices
- groups
Sequence[Configuration
Group Device Variables Group Args] - List of device groups
- solution str
- Type of solution - Choices:
mobility
,sdwan
,nfvirtual
- configuration
Group StringId - 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
- Device
Id string - Device ID
- Variables
List<Configuration
Group Device Variables Device Variable> - List of variables
- Device
Id string - Device ID
- Variables
[]Configuration
Group Device Variables Device Variable - List of variables
- device
Id String - Device ID
- variables
List<Configuration
Group Device Variables Device Variable> - List of variables
- device
Id string - Device ID
- variables
Configuration
Group Device Variables Device Variable[] - List of variables
- device_
id str - Device ID
- variables
Sequence[Configuration
Group Device Variables Device Variable] - List of variables
- device
Id String - Device ID
- variables List<Property Map>
- List of variables
ConfigurationGroupDeviceVariablesDeviceVariable, ConfigurationGroupDeviceVariablesDeviceVariableArgs
ConfigurationGroupDeviceVariablesGroup, ConfigurationGroupDeviceVariablesGroupArgs
- Name string
- Group name
- Variables
List<Configuration
Group Device Variables Group Variable> - List of variables
- Name string
- Group name
- Variables
[]Configuration
Group Device Variables Group Variable - List of variables
- name String
- Group name
- variables
List<Configuration
Group Device Variables Group Variable> - List of variables
- name string
- Group name
- variables
Configuration
Group Device Variables Group Variable[] - List of variables
- name str
- Group name
- variables
Sequence[Configuration
Group Device Variables Group Variable] - List of variables
- name String
- Group name
- variables List<Property Map>
- List of variables
ConfigurationGroupDeviceVariablesGroupVariable, ConfigurationGroupDeviceVariablesGroupVariableArgs
Package Details
- Repository
- sdwan pulumi/pulumi-sdwan
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
sdwan
Terraform Provider.