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

sdwan.ConfigurationGroupDeploy

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 Deploy .

    • 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.ConfigurationGroupDeploy("example", {
        configurationGroupId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
        devices: [{
            id: "C8K-15411CCC-D476-0B3B-21F2-5D6AC387EE7B",
        }],
    });
    
    import pulumi
    import pulumi_sdwan as sdwan
    
    example = sdwan.ConfigurationGroupDeploy("example",
        configuration_group_id="f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
        devices=[sdwan.ConfigurationGroupDeployDeviceArgs(
            id="C8K-15411CCC-D476-0B3B-21F2-5D6AC387EE7B",
        )])
    
    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.NewConfigurationGroupDeploy(ctx, "example", &sdwan.ConfigurationGroupDeployArgs{
    			ConfigurationGroupId: pulumi.String("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"),
    			Devices: sdwan.ConfigurationGroupDeployDeviceArray{
    				&sdwan.ConfigurationGroupDeployDeviceArgs{
    					Id: pulumi.String("C8K-15411CCC-D476-0B3B-21F2-5D6AC387EE7B"),
    				},
    			},
    		})
    		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.ConfigurationGroupDeploy("example", new()
        {
            ConfigurationGroupId = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
            Devices = new[]
            {
                new Sdwan.Inputs.ConfigurationGroupDeployDeviceArgs
                {
                    Id = "C8K-15411CCC-D476-0B3B-21F2-5D6AC387EE7B",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sdwan.ConfigurationGroupDeploy;
    import com.pulumi.sdwan.ConfigurationGroupDeployArgs;
    import com.pulumi.sdwan.inputs.ConfigurationGroupDeployDeviceArgs;
    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 ConfigurationGroupDeploy("example", ConfigurationGroupDeployArgs.builder()        
                .configurationGroupId("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac")
                .devices(ConfigurationGroupDeployDeviceArgs.builder()
                    .id("C8K-15411CCC-D476-0B3B-21F2-5D6AC387EE7B")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: sdwan:ConfigurationGroupDeploy
        properties:
          configurationGroupId: f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac
          devices:
            - id: C8K-15411CCC-D476-0B3B-21F2-5D6AC387EE7B
    

    Create ConfigurationGroupDeploy Resource

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

    Constructor syntax

    new ConfigurationGroupDeploy(name: string, args: ConfigurationGroupDeployArgs, opts?: CustomResourceOptions);
    @overload
    def ConfigurationGroupDeploy(resource_name: str,
                                 args: ConfigurationGroupDeployArgs,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def ConfigurationGroupDeploy(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 configuration_group_id: Optional[str] = None,
                                 devices: Optional[Sequence[ConfigurationGroupDeployDeviceArgs]] = None)
    func NewConfigurationGroupDeploy(ctx *Context, name string, args ConfigurationGroupDeployArgs, opts ...ResourceOption) (*ConfigurationGroupDeploy, error)
    public ConfigurationGroupDeploy(string name, ConfigurationGroupDeployArgs args, CustomResourceOptions? opts = null)
    public ConfigurationGroupDeploy(String name, ConfigurationGroupDeployArgs args)
    public ConfigurationGroupDeploy(String name, ConfigurationGroupDeployArgs args, CustomResourceOptions options)
    
    type: sdwan:ConfigurationGroupDeploy
    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 ConfigurationGroupDeployArgs
    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 ConfigurationGroupDeployArgs
    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 ConfigurationGroupDeployArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ConfigurationGroupDeployArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ConfigurationGroupDeployArgs
    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 configurationGroupDeployResource = new Sdwan.ConfigurationGroupDeploy("configurationGroupDeployResource", new()
    {
        ConfigurationGroupId = "string",
        Devices = new[]
        {
            new Sdwan.Inputs.ConfigurationGroupDeployDeviceArgs
            {
                Id = "string",
            },
        },
    });
    
    example, err := sdwan.NewConfigurationGroupDeploy(ctx, "configurationGroupDeployResource", &sdwan.ConfigurationGroupDeployArgs{
    	ConfigurationGroupId: pulumi.String("string"),
    	Devices: sdwan.ConfigurationGroupDeployDeviceArray{
    		&sdwan.ConfigurationGroupDeployDeviceArgs{
    			Id: pulumi.String("string"),
    		},
    	},
    })
    
    var configurationGroupDeployResource = new ConfigurationGroupDeploy("configurationGroupDeployResource", ConfigurationGroupDeployArgs.builder()
        .configurationGroupId("string")
        .devices(ConfigurationGroupDeployDeviceArgs.builder()
            .id("string")
            .build())
        .build());
    
    configuration_group_deploy_resource = sdwan.ConfigurationGroupDeploy("configurationGroupDeployResource",
        configuration_group_id="string",
        devices=[sdwan.ConfigurationGroupDeployDeviceArgs(
            id="string",
        )])
    
    const configurationGroupDeployResource = new sdwan.ConfigurationGroupDeploy("configurationGroupDeployResource", {
        configurationGroupId: "string",
        devices: [{
            id: "string",
        }],
    });
    
    type: sdwan:ConfigurationGroupDeploy
    properties:
        configurationGroupId: string
        devices:
            - id: string
    

    ConfigurationGroupDeploy 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 ConfigurationGroupDeploy resource accepts the following input properties:

    ConfigurationGroupId string
    Configuration Group ID
    Devices List<ConfigurationGroupDeployDevice>
    List of devices
    ConfigurationGroupId string
    Configuration Group ID
    Devices []ConfigurationGroupDeployDeviceArgs
    List of devices
    configurationGroupId String
    Configuration Group ID
    devices List<ConfigurationGroupDeployDevice>
    List of devices
    configurationGroupId string
    Configuration Group ID
    devices ConfigurationGroupDeployDevice[]
    List of devices
    configurationGroupId String
    Configuration Group ID
    devices List<Property Map>
    List of devices

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ConfigurationGroupDeploy 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 ConfigurationGroupDeploy Resource

    Get an existing ConfigurationGroupDeploy 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?: ConfigurationGroupDeployState, opts?: CustomResourceOptions): ConfigurationGroupDeploy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            configuration_group_id: Optional[str] = None,
            devices: Optional[Sequence[ConfigurationGroupDeployDeviceArgs]] = None) -> ConfigurationGroupDeploy
    func GetConfigurationGroupDeploy(ctx *Context, name string, id IDInput, state *ConfigurationGroupDeployState, opts ...ResourceOption) (*ConfigurationGroupDeploy, error)
    public static ConfigurationGroupDeploy Get(string name, Input<string> id, ConfigurationGroupDeployState? state, CustomResourceOptions? opts = null)
    public static ConfigurationGroupDeploy get(String name, Output<String> id, ConfigurationGroupDeployState 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<ConfigurationGroupDeployDevice>
    List of devices
    ConfigurationGroupId string
    Configuration Group ID
    Devices []ConfigurationGroupDeployDeviceArgs
    List of devices
    configurationGroupId String
    Configuration Group ID
    devices List<ConfigurationGroupDeployDevice>
    List of devices
    configurationGroupId string
    Configuration Group ID
    devices ConfigurationGroupDeployDevice[]
    List of devices
    configurationGroupId String
    Configuration Group ID
    devices List<Property Map>
    List of devices

    Supporting Types

    ConfigurationGroupDeployDevice, ConfigurationGroupDeployDeviceArgs

    Id string
    Device ID
    Id string
    Device ID
    id String
    Device ID
    id string
    Device ID
    id str
    Device ID
    id String
    Device ID

    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