1. Packages
  2. Meraki Provider
  3. API Docs
  4. networks
  5. CellularGatewayConnectivityMonitoringDestinations
Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi

meraki.networks.CellularGatewayConnectivityMonitoringDestinations

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as meraki from "@pulumi/meraki";
    
    const example = new meraki.networks.CellularGatewayConnectivityMonitoringDestinations("example", {
        destinations: [{
            "default": false,
            description: "Google",
            ip: "8.8.8.8",
        }],
        networkId: "string",
    });
    export const merakiNetworksCellularGatewayConnectivityMonitoringDestinationsExample = example;
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.networks.CellularGatewayConnectivityMonitoringDestinations("example",
        destinations=[{
            "default": False,
            "description": "Google",
            "ip": "8.8.8.8",
        }],
        network_id="string")
    pulumi.export("merakiNetworksCellularGatewayConnectivityMonitoringDestinationsExample", example)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-meraki/sdk/go/meraki/networks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := networks.NewCellularGatewayConnectivityMonitoringDestinations(ctx, "example", &networks.CellularGatewayConnectivityMonitoringDestinationsArgs{
    			Destinations: networks.CellularGatewayConnectivityMonitoringDestinationsDestinationArray{
    				&networks.CellularGatewayConnectivityMonitoringDestinationsDestinationArgs{
    					Default:     pulumi.Bool(false),
    					Description: pulumi.String("Google"),
    					Ip:          pulumi.String("8.8.8.8"),
    				},
    			},
    			NetworkId: pulumi.String("string"),
    		})
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiNetworksCellularGatewayConnectivityMonitoringDestinationsExample", example)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Meraki = Pulumi.Meraki;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Meraki.Networks.CellularGatewayConnectivityMonitoringDestinations("example", new()
        {
            Destinations = new[]
            {
                new Meraki.Networks.Inputs.CellularGatewayConnectivityMonitoringDestinationsDestinationArgs
                {
                    Default = false,
                    Description = "Google",
                    Ip = "8.8.8.8",
                },
            },
            NetworkId = "string",
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiNetworksCellularGatewayConnectivityMonitoringDestinationsExample"] = example,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.networks.CellularGatewayConnectivityMonitoringDestinations;
    import com.pulumi.meraki.networks.CellularGatewayConnectivityMonitoringDestinationsArgs;
    import com.pulumi.meraki.networks.inputs.CellularGatewayConnectivityMonitoringDestinationsDestinationArgs;
    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 CellularGatewayConnectivityMonitoringDestinations("example", CellularGatewayConnectivityMonitoringDestinationsArgs.builder()
                .destinations(CellularGatewayConnectivityMonitoringDestinationsDestinationArgs.builder()
                    .default_(false)
                    .description("Google")
                    .ip("8.8.8.8")
                    .build())
                .networkId("string")
                .build());
    
            ctx.export("merakiNetworksCellularGatewayConnectivityMonitoringDestinationsExample", example);
        }
    }
    
    resources:
      example:
        type: meraki:networks:CellularGatewayConnectivityMonitoringDestinations
        properties:
          destinations:
            - default: false
              description: Google
              ip: 8.8.8.8
          networkId: string
    outputs:
      merakiNetworksCellularGatewayConnectivityMonitoringDestinationsExample: ${example}
    

    Create CellularGatewayConnectivityMonitoringDestinations Resource

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

    Constructor syntax

    new CellularGatewayConnectivityMonitoringDestinations(name: string, args: CellularGatewayConnectivityMonitoringDestinationsArgs, opts?: CustomResourceOptions);
    @overload
    def CellularGatewayConnectivityMonitoringDestinations(resource_name: str,
                                                          args: CellularGatewayConnectivityMonitoringDestinationsArgs,
                                                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def CellularGatewayConnectivityMonitoringDestinations(resource_name: str,
                                                          opts: Optional[ResourceOptions] = None,
                                                          network_id: Optional[str] = None,
                                                          destinations: Optional[Sequence[CellularGatewayConnectivityMonitoringDestinationsDestinationArgs]] = None)
    func NewCellularGatewayConnectivityMonitoringDestinations(ctx *Context, name string, args CellularGatewayConnectivityMonitoringDestinationsArgs, opts ...ResourceOption) (*CellularGatewayConnectivityMonitoringDestinations, error)
    public CellularGatewayConnectivityMonitoringDestinations(string name, CellularGatewayConnectivityMonitoringDestinationsArgs args, CustomResourceOptions? opts = null)
    public CellularGatewayConnectivityMonitoringDestinations(String name, CellularGatewayConnectivityMonitoringDestinationsArgs args)
    public CellularGatewayConnectivityMonitoringDestinations(String name, CellularGatewayConnectivityMonitoringDestinationsArgs args, CustomResourceOptions options)
    
    type: meraki:networks:CellularGatewayConnectivityMonitoringDestinations
    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 CellularGatewayConnectivityMonitoringDestinationsArgs
    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 CellularGatewayConnectivityMonitoringDestinationsArgs
    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 CellularGatewayConnectivityMonitoringDestinationsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CellularGatewayConnectivityMonitoringDestinationsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CellularGatewayConnectivityMonitoringDestinationsArgs
    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 cellularGatewayConnectivityMonitoringDestinationsResource = new Meraki.Networks.CellularGatewayConnectivityMonitoringDestinations("cellularGatewayConnectivityMonitoringDestinationsResource", new()
    {
        NetworkId = "string",
        Destinations = new[]
        {
            new Meraki.Networks.Inputs.CellularGatewayConnectivityMonitoringDestinationsDestinationArgs
            {
                Default = false,
                Description = "string",
                Ip = "string",
            },
        },
    });
    
    example, err := networks.NewCellularGatewayConnectivityMonitoringDestinations(ctx, "cellularGatewayConnectivityMonitoringDestinationsResource", &networks.CellularGatewayConnectivityMonitoringDestinationsArgs{
    	NetworkId: pulumi.String("string"),
    	Destinations: networks.CellularGatewayConnectivityMonitoringDestinationsDestinationArray{
    		&networks.CellularGatewayConnectivityMonitoringDestinationsDestinationArgs{
    			Default:     pulumi.Bool(false),
    			Description: pulumi.String("string"),
    			Ip:          pulumi.String("string"),
    		},
    	},
    })
    
    var cellularGatewayConnectivityMonitoringDestinationsResource = new CellularGatewayConnectivityMonitoringDestinations("cellularGatewayConnectivityMonitoringDestinationsResource", CellularGatewayConnectivityMonitoringDestinationsArgs.builder()
        .networkId("string")
        .destinations(CellularGatewayConnectivityMonitoringDestinationsDestinationArgs.builder()
            .default_(false)
            .description("string")
            .ip("string")
            .build())
        .build());
    
    cellular_gateway_connectivity_monitoring_destinations_resource = meraki.networks.CellularGatewayConnectivityMonitoringDestinations("cellularGatewayConnectivityMonitoringDestinationsResource",
        network_id="string",
        destinations=[meraki.networks.CellularGatewayConnectivityMonitoringDestinationsDestinationArgs(
            default=False,
            description="string",
            ip="string",
        )])
    
    const cellularGatewayConnectivityMonitoringDestinationsResource = new meraki.networks.CellularGatewayConnectivityMonitoringDestinations("cellularGatewayConnectivityMonitoringDestinationsResource", {
        networkId: "string",
        destinations: [{
            "default": false,
            description: "string",
            ip: "string",
        }],
    });
    
    type: meraki:networks:CellularGatewayConnectivityMonitoringDestinations
    properties:
        destinations:
            - default: false
              description: string
              ip: string
        networkId: string
    

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

    NetworkId string
    networkId path parameter. Network ID
    Destinations List<CellularGatewayConnectivityMonitoringDestinationsDestination>
    The list of connectivity monitoring destinations
    NetworkId string
    networkId path parameter. Network ID
    Destinations []CellularGatewayConnectivityMonitoringDestinationsDestinationArgs
    The list of connectivity monitoring destinations
    networkId String
    networkId path parameter. Network ID
    destinations List<CellularGatewayConnectivityMonitoringDestinationsDestination>
    The list of connectivity monitoring destinations
    networkId string
    networkId path parameter. Network ID
    destinations CellularGatewayConnectivityMonitoringDestinationsDestination[]
    The list of connectivity monitoring destinations
    network_id str
    networkId path parameter. Network ID
    destinations Sequence[CellularGatewayConnectivityMonitoringDestinationsDestinationArgs]
    The list of connectivity monitoring destinations
    networkId String
    networkId path parameter. Network ID
    destinations List<Property Map>
    The list of connectivity monitoring destinations

    Outputs

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

    Get an existing CellularGatewayConnectivityMonitoringDestinations 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?: CellularGatewayConnectivityMonitoringDestinationsState, opts?: CustomResourceOptions): CellularGatewayConnectivityMonitoringDestinations
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            destinations: Optional[Sequence[CellularGatewayConnectivityMonitoringDestinationsDestinationArgs]] = None,
            network_id: Optional[str] = None) -> CellularGatewayConnectivityMonitoringDestinations
    func GetCellularGatewayConnectivityMonitoringDestinations(ctx *Context, name string, id IDInput, state *CellularGatewayConnectivityMonitoringDestinationsState, opts ...ResourceOption) (*CellularGatewayConnectivityMonitoringDestinations, error)
    public static CellularGatewayConnectivityMonitoringDestinations Get(string name, Input<string> id, CellularGatewayConnectivityMonitoringDestinationsState? state, CustomResourceOptions? opts = null)
    public static CellularGatewayConnectivityMonitoringDestinations get(String name, Output<String> id, CellularGatewayConnectivityMonitoringDestinationsState 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:
    Destinations List<CellularGatewayConnectivityMonitoringDestinationsDestination>
    The list of connectivity monitoring destinations
    NetworkId string
    networkId path parameter. Network ID
    Destinations []CellularGatewayConnectivityMonitoringDestinationsDestinationArgs
    The list of connectivity monitoring destinations
    NetworkId string
    networkId path parameter. Network ID
    destinations List<CellularGatewayConnectivityMonitoringDestinationsDestination>
    The list of connectivity monitoring destinations
    networkId String
    networkId path parameter. Network ID
    destinations CellularGatewayConnectivityMonitoringDestinationsDestination[]
    The list of connectivity monitoring destinations
    networkId string
    networkId path parameter. Network ID
    destinations Sequence[CellularGatewayConnectivityMonitoringDestinationsDestinationArgs]
    The list of connectivity monitoring destinations
    network_id str
    networkId path parameter. Network ID
    destinations List<Property Map>
    The list of connectivity monitoring destinations
    networkId String
    networkId path parameter. Network ID

    Supporting Types

    CellularGatewayConnectivityMonitoringDestinationsDestination, CellularGatewayConnectivityMonitoringDestinationsDestinationArgs

    Default bool
    Boolean indicating whether this is the default testing destination (true) or not (false). Defaults to false. Only one default is allowed
    Description string
    Description of the testing destination. Optional, defaults to an empty string
    Ip string
    The IP address to test connectivity with
    Default bool
    Boolean indicating whether this is the default testing destination (true) or not (false). Defaults to false. Only one default is allowed
    Description string
    Description of the testing destination. Optional, defaults to an empty string
    Ip string
    The IP address to test connectivity with
    default_ Boolean
    Boolean indicating whether this is the default testing destination (true) or not (false). Defaults to false. Only one default is allowed
    description String
    Description of the testing destination. Optional, defaults to an empty string
    ip String
    The IP address to test connectivity with
    default boolean
    Boolean indicating whether this is the default testing destination (true) or not (false). Defaults to false. Only one default is allowed
    description string
    Description of the testing destination. Optional, defaults to an empty string
    ip string
    The IP address to test connectivity with
    default bool
    Boolean indicating whether this is the default testing destination (true) or not (false). Defaults to false. Only one default is allowed
    description str
    Description of the testing destination. Optional, defaults to an empty string
    ip str
    The IP address to test connectivity with
    default Boolean
    Boolean indicating whether this is the default testing destination (true) or not (false). Defaults to false. Only one default is allowed
    description String
    Description of the testing destination. Optional, defaults to an empty string
    ip String
    The IP address to test connectivity with

    Import

    $ pulumi import meraki:networks/cellularGatewayConnectivityMonitoringDestinations:CellularGatewayConnectivityMonitoringDestinations example "network_id"
    

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

    Package Details

    Repository
    meraki pulumi/pulumi-meraki
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the meraki Terraform Provider.
    meraki logo
    Cisco Meraki v0.3.2 published on Tuesday, Sep 24, 2024 by Pulumi