sdwan.ConfigurationGroup
Explore with Pulumi AI
This resource can manage a Configuration Group .
- Minimum SD-WAN Manager version:
20.12.0
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sdwan from "@pulumi/sdwan";
const example = new sdwan.ConfigurationGroup("example", {
name: "CG_1",
description: "My config group 1",
solution: "sdwan",
featureProfiles: [{
id: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
}],
});
import pulumi
import pulumi_sdwan as sdwan
example = sdwan.ConfigurationGroup("example",
name="CG_1",
description="My config group 1",
solution="sdwan",
feature_profiles=[sdwan.ConfigurationGroupFeatureProfileArgs(
id="f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
)])
package main
import (
"github.com/pulumi/pulumi-sdwan/sdk/go/sdwan"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := sdwan.NewConfigurationGroup(ctx, "example", &sdwan.ConfigurationGroupArgs{
Name: pulumi.String("CG_1"),
Description: pulumi.String("My config group 1"),
Solution: pulumi.String("sdwan"),
FeatureProfiles: sdwan.ConfigurationGroupFeatureProfileArray{
&sdwan.ConfigurationGroupFeatureProfileArgs{
Id: pulumi.String("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Sdwan = Pulumi.Sdwan;
return await Deployment.RunAsync(() =>
{
var example = new Sdwan.ConfigurationGroup("example", new()
{
Name = "CG_1",
Description = "My config group 1",
Solution = "sdwan",
FeatureProfiles = new[]
{
new Sdwan.Inputs.ConfigurationGroupFeatureProfileArgs
{
Id = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.sdwan.ConfigurationGroup;
import com.pulumi.sdwan.ConfigurationGroupArgs;
import com.pulumi.sdwan.inputs.ConfigurationGroupFeatureProfileArgs;
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 ConfigurationGroup("example", ConfigurationGroupArgs.builder()
.name("CG_1")
.description("My config group 1")
.solution("sdwan")
.featureProfiles(ConfigurationGroupFeatureProfileArgs.builder()
.id("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac")
.build())
.build());
}
}
resources:
example:
type: sdwan:ConfigurationGroup
properties:
name: CG_1
description: My config group 1
solution: sdwan
featureProfiles:
- id: f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac
Create ConfigurationGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ConfigurationGroup(name: string, args: ConfigurationGroupArgs, opts?: CustomResourceOptions);
@overload
def ConfigurationGroup(resource_name: str,
args: ConfigurationGroupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ConfigurationGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
solution: Optional[str] = None,
feature_profiles: Optional[Sequence[ConfigurationGroupFeatureProfileArgs]] = None,
name: Optional[str] = None,
topology_devices: Optional[Sequence[ConfigurationGroupTopologyDeviceArgs]] = None,
topology_site_devices: Optional[int] = None)
func NewConfigurationGroup(ctx *Context, name string, args ConfigurationGroupArgs, opts ...ResourceOption) (*ConfigurationGroup, error)
public ConfigurationGroup(string name, ConfigurationGroupArgs args, CustomResourceOptions? opts = null)
public ConfigurationGroup(String name, ConfigurationGroupArgs args)
public ConfigurationGroup(String name, ConfigurationGroupArgs args, CustomResourceOptions options)
type: sdwan:ConfigurationGroup
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 ConfigurationGroupArgs
- 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 ConfigurationGroupArgs
- 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 ConfigurationGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConfigurationGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConfigurationGroupArgs
- 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 configurationGroupResource = new Sdwan.ConfigurationGroup("configurationGroupResource", new()
{
Description = "string",
Solution = "string",
FeatureProfiles = new[]
{
new Sdwan.Inputs.ConfigurationGroupFeatureProfileArgs
{
Id = "string",
},
},
Name = "string",
TopologyDevices = new[]
{
new Sdwan.Inputs.ConfigurationGroupTopologyDeviceArgs
{
CriteriaAttribute = "string",
CriteriaValue = "string",
UnsupportedFeatures = new[]
{
new Sdwan.Inputs.ConfigurationGroupTopologyDeviceUnsupportedFeatureArgs
{
ParcelId = "string",
ParcelType = "string",
},
},
},
},
TopologySiteDevices = 0,
});
example, err := sdwan.NewConfigurationGroup(ctx, "configurationGroupResource", &sdwan.ConfigurationGroupArgs{
Description: pulumi.String("string"),
Solution: pulumi.String("string"),
FeatureProfiles: sdwan.ConfigurationGroupFeatureProfileArray{
&sdwan.ConfigurationGroupFeatureProfileArgs{
Id: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
TopologyDevices: sdwan.ConfigurationGroupTopologyDeviceArray{
&sdwan.ConfigurationGroupTopologyDeviceArgs{
CriteriaAttribute: pulumi.String("string"),
CriteriaValue: pulumi.String("string"),
UnsupportedFeatures: sdwan.ConfigurationGroupTopologyDeviceUnsupportedFeatureArray{
&sdwan.ConfigurationGroupTopologyDeviceUnsupportedFeatureArgs{
ParcelId: pulumi.String("string"),
ParcelType: pulumi.String("string"),
},
},
},
},
TopologySiteDevices: pulumi.Int(0),
})
var configurationGroupResource = new ConfigurationGroup("configurationGroupResource", ConfigurationGroupArgs.builder()
.description("string")
.solution("string")
.featureProfiles(ConfigurationGroupFeatureProfileArgs.builder()
.id("string")
.build())
.name("string")
.topologyDevices(ConfigurationGroupTopologyDeviceArgs.builder()
.criteriaAttribute("string")
.criteriaValue("string")
.unsupportedFeatures(ConfigurationGroupTopologyDeviceUnsupportedFeatureArgs.builder()
.parcelId("string")
.parcelType("string")
.build())
.build())
.topologySiteDevices(0)
.build());
configuration_group_resource = sdwan.ConfigurationGroup("configurationGroupResource",
description="string",
solution="string",
feature_profiles=[sdwan.ConfigurationGroupFeatureProfileArgs(
id="string",
)],
name="string",
topology_devices=[sdwan.ConfigurationGroupTopologyDeviceArgs(
criteria_attribute="string",
criteria_value="string",
unsupported_features=[sdwan.ConfigurationGroupTopologyDeviceUnsupportedFeatureArgs(
parcel_id="string",
parcel_type="string",
)],
)],
topology_site_devices=0)
const configurationGroupResource = new sdwan.ConfigurationGroup("configurationGroupResource", {
description: "string",
solution: "string",
featureProfiles: [{
id: "string",
}],
name: "string",
topologyDevices: [{
criteriaAttribute: "string",
criteriaValue: "string",
unsupportedFeatures: [{
parcelId: "string",
parcelType: "string",
}],
}],
topologySiteDevices: 0,
});
type: sdwan:ConfigurationGroup
properties:
description: string
featureProfiles:
- id: string
name: string
solution: string
topologyDevices:
- criteriaAttribute: string
criteriaValue: string
unsupportedFeatures:
- parcelId: string
parcelType: string
topologySiteDevices: 0
ConfigurationGroup 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 ConfigurationGroup resource accepts the following input properties:
- Description string
- Description
- Solution string
- Type of solution - Choices:
mobility
,sdwan
,nfvirtual
- Feature
Profiles List<ConfigurationGroup Feature Profile> - List of feature profiles
- Name string
- The name of the configuration group
- Topology
Devices List<ConfigurationGroup Topology Device> - List of topology device types
- Topology
Site intDevices - Number of devices per site - Range:
1
-20
- Description string
- Description
- Solution string
- Type of solution - Choices:
mobility
,sdwan
,nfvirtual
- Feature
Profiles []ConfigurationGroup Feature Profile Args - List of feature profiles
- Name string
- The name of the configuration group
- Topology
Devices []ConfigurationGroup Topology Device Args - List of topology device types
- Topology
Site intDevices - Number of devices per site - Range:
1
-20
- description String
- Description
- solution String
- Type of solution - Choices:
mobility
,sdwan
,nfvirtual
- feature
Profiles List<ConfigurationGroup Feature Profile> - List of feature profiles
- name String
- The name of the configuration group
- topology
Devices List<ConfigurationGroup Topology Device> - List of topology device types
- topology
Site IntegerDevices - Number of devices per site - Range:
1
-20
- description string
- Description
- solution string
- Type of solution - Choices:
mobility
,sdwan
,nfvirtual
- feature
Profiles ConfigurationGroup Feature Profile[] - List of feature profiles
- name string
- The name of the configuration group
- topology
Devices ConfigurationGroup Topology Device[] - List of topology device types
- topology
Site numberDevices - Number of devices per site - Range:
1
-20
- description str
- Description
- solution str
- Type of solution - Choices:
mobility
,sdwan
,nfvirtual
- feature_
profiles Sequence[ConfigurationGroup Feature Profile Args] - List of feature profiles
- name str
- The name of the configuration group
- topology_
devices Sequence[ConfigurationGroup Topology Device Args] - List of topology device types
- topology_
site_ intdevices - Number of devices per site - Range:
1
-20
- description String
- Description
- solution String
- Type of solution - Choices:
mobility
,sdwan
,nfvirtual
- feature
Profiles List<Property Map> - List of feature profiles
- name String
- The name of the configuration group
- topology
Devices List<Property Map> - List of topology device types
- topology
Site NumberDevices - Number of devices per site - Range:
1
-20
Outputs
All input properties are implicitly available as output properties. Additionally, the ConfigurationGroup 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 ConfigurationGroup Resource
Get an existing ConfigurationGroup 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?: ConfigurationGroupState, opts?: CustomResourceOptions): ConfigurationGroup
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
feature_profiles: Optional[Sequence[ConfigurationGroupFeatureProfileArgs]] = None,
name: Optional[str] = None,
solution: Optional[str] = None,
topology_devices: Optional[Sequence[ConfigurationGroupTopologyDeviceArgs]] = None,
topology_site_devices: Optional[int] = None) -> ConfigurationGroup
func GetConfigurationGroup(ctx *Context, name string, id IDInput, state *ConfigurationGroupState, opts ...ResourceOption) (*ConfigurationGroup, error)
public static ConfigurationGroup Get(string name, Input<string> id, ConfigurationGroupState? state, CustomResourceOptions? opts = null)
public static ConfigurationGroup get(String name, Output<String> id, ConfigurationGroupState 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.
- Description string
- Description
- Feature
Profiles List<ConfigurationGroup Feature Profile> - List of feature profiles
- Name string
- The name of the configuration group
- Solution string
- Type of solution - Choices:
mobility
,sdwan
,nfvirtual
- Topology
Devices List<ConfigurationGroup Topology Device> - List of topology device types
- Topology
Site intDevices - Number of devices per site - Range:
1
-20
- Description string
- Description
- Feature
Profiles []ConfigurationGroup Feature Profile Args - List of feature profiles
- Name string
- The name of the configuration group
- Solution string
- Type of solution - Choices:
mobility
,sdwan
,nfvirtual
- Topology
Devices []ConfigurationGroup Topology Device Args - List of topology device types
- Topology
Site intDevices - Number of devices per site - Range:
1
-20
- description String
- Description
- feature
Profiles List<ConfigurationGroup Feature Profile> - List of feature profiles
- name String
- The name of the configuration group
- solution String
- Type of solution - Choices:
mobility
,sdwan
,nfvirtual
- topology
Devices List<ConfigurationGroup Topology Device> - List of topology device types
- topology
Site IntegerDevices - Number of devices per site - Range:
1
-20
- description string
- Description
- feature
Profiles ConfigurationGroup Feature Profile[] - List of feature profiles
- name string
- The name of the configuration group
- solution string
- Type of solution - Choices:
mobility
,sdwan
,nfvirtual
- topology
Devices ConfigurationGroup Topology Device[] - List of topology device types
- topology
Site numberDevices - Number of devices per site - Range:
1
-20
- description str
- Description
- feature_
profiles Sequence[ConfigurationGroup Feature Profile Args] - List of feature profiles
- name str
- The name of the configuration group
- solution str
- Type of solution - Choices:
mobility
,sdwan
,nfvirtual
- topology_
devices Sequence[ConfigurationGroup Topology Device Args] - List of topology device types
- topology_
site_ intdevices - Number of devices per site - Range:
1
-20
- description String
- Description
- feature
Profiles List<Property Map> - List of feature profiles
- name String
- The name of the configuration group
- solution String
- Type of solution - Choices:
mobility
,sdwan
,nfvirtual
- topology
Devices List<Property Map> - List of topology device types
- topology
Site NumberDevices - Number of devices per site - Range:
1
-20
Supporting Types
ConfigurationGroupFeatureProfile, ConfigurationGroupFeatureProfileArgs
- Id string
- Feature profile ID
- Id string
- Feature profile ID
- id String
- Feature profile ID
- id string
- Feature profile ID
- id str
- Feature profile ID
- id String
- Feature profile ID
ConfigurationGroupTopologyDevice, ConfigurationGroupTopologyDeviceArgs
- Criteria
Attribute string - Criteria attribute
- Choices:
tag
- Choices:
- Criteria
Value string - Criteria value
- Unsupported
Features List<ConfigurationGroup Topology Device Unsupported Feature> - List of unsupported features
- Criteria
Attribute string - Criteria attribute
- Choices:
tag
- Choices:
- Criteria
Value string - Criteria value
- Unsupported
Features []ConfigurationGroup Topology Device Unsupported Feature - List of unsupported features
- criteria
Attribute String - Criteria attribute
- Choices:
tag
- Choices:
- criteria
Value String - Criteria value
- unsupported
Features List<ConfigurationGroup Topology Device Unsupported Feature> - List of unsupported features
- criteria
Attribute string - Criteria attribute
- Choices:
tag
- Choices:
- criteria
Value string - Criteria value
- unsupported
Features ConfigurationGroup Topology Device Unsupported Feature[] - List of unsupported features
- criteria_
attribute str - Criteria attribute
- Choices:
tag
- Choices:
- criteria_
value str - Criteria value
- unsupported_
features Sequence[ConfigurationGroup Topology Device Unsupported Feature] - List of unsupported features
- criteria
Attribute String - Criteria attribute
- Choices:
tag
- Choices:
- criteria
Value String - Criteria value
- unsupported
Features List<Property Map> - List of unsupported features
ConfigurationGroupTopologyDeviceUnsupportedFeature, ConfigurationGroupTopologyDeviceUnsupportedFeatureArgs
- Parcel
Id string - Parcel ID
- Parcel
Type string - Parcel type
- Choices:
wan/vpn/interface/gre
,wan/vpn/interface/ethernet
,wan/vpn/interface/cellular
,wan/vpn/interface/ipsec
,wan/vpn/interface/serial
,routing/ospf
,lan/vpn/interface/ethernet
,lan/vpn/interface/svi
,lan/vpn/interface/ipsec
,lan/vpn
- Choices:
- Parcel
Id string - Parcel ID
- Parcel
Type string - Parcel type
- Choices:
wan/vpn/interface/gre
,wan/vpn/interface/ethernet
,wan/vpn/interface/cellular
,wan/vpn/interface/ipsec
,wan/vpn/interface/serial
,routing/ospf
,lan/vpn/interface/ethernet
,lan/vpn/interface/svi
,lan/vpn/interface/ipsec
,lan/vpn
- Choices:
- parcel
Id String - Parcel ID
- parcel
Type String - Parcel type
- Choices:
wan/vpn/interface/gre
,wan/vpn/interface/ethernet
,wan/vpn/interface/cellular
,wan/vpn/interface/ipsec
,wan/vpn/interface/serial
,routing/ospf
,lan/vpn/interface/ethernet
,lan/vpn/interface/svi
,lan/vpn/interface/ipsec
,lan/vpn
- Choices:
- parcel
Id string - Parcel ID
- parcel
Type string - Parcel type
- Choices:
wan/vpn/interface/gre
,wan/vpn/interface/ethernet
,wan/vpn/interface/cellular
,wan/vpn/interface/ipsec
,wan/vpn/interface/serial
,routing/ospf
,lan/vpn/interface/ethernet
,lan/vpn/interface/svi
,lan/vpn/interface/ipsec
,lan/vpn
- Choices:
- parcel_
id str - Parcel ID
- parcel_
type str - Parcel type
- Choices:
wan/vpn/interface/gre
,wan/vpn/interface/ethernet
,wan/vpn/interface/cellular
,wan/vpn/interface/ipsec
,wan/vpn/interface/serial
,routing/ospf
,lan/vpn/interface/ethernet
,lan/vpn/interface/svi
,lan/vpn/interface/ipsec
,lan/vpn
- Choices:
- parcel
Id String - Parcel ID
- parcel
Type String - Parcel type
- Choices:
wan/vpn/interface/gre
,wan/vpn/interface/ethernet
,wan/vpn/interface/cellular
,wan/vpn/interface/ipsec
,wan/vpn/interface/serial
,routing/ospf
,lan/vpn/interface/ethernet
,lan/vpn/interface/svi
,lan/vpn/interface/ipsec
,lan/vpn
- Choices:
Import
$ pulumi import sdwan:index/configurationGroup:ConfigurationGroup example "f6b2c44c-693c-4763-b010-895aa3d236bd"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- sdwan pulumi/pulumi-sdwan
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
sdwan
Terraform Provider.