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

meraki.networks.ApplianceConnectivityMonitoringDestinations

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.ApplianceConnectivityMonitoringDestinations("example", {
        destinations: [{
            "default": false,
            description: "Google",
            ip: "8.8.8.8",
        }],
        networkId: "string",
    });
    export const merakiNetworksApplianceConnectivityMonitoringDestinationsExample = example;
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.networks.ApplianceConnectivityMonitoringDestinations("example",
        destinations=[{
            "default": False,
            "description": "Google",
            "ip": "8.8.8.8",
        }],
        network_id="string")
    pulumi.export("merakiNetworksApplianceConnectivityMonitoringDestinationsExample", 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.NewApplianceConnectivityMonitoringDestinations(ctx, "example", &networks.ApplianceConnectivityMonitoringDestinationsArgs{
    			Destinations: networks.ApplianceConnectivityMonitoringDestinationsDestinationArray{
    				&networks.ApplianceConnectivityMonitoringDestinationsDestinationArgs{
    					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("merakiNetworksApplianceConnectivityMonitoringDestinationsExample", 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.ApplianceConnectivityMonitoringDestinations("example", new()
        {
            Destinations = new[]
            {
                new Meraki.Networks.Inputs.ApplianceConnectivityMonitoringDestinationsDestinationArgs
                {
                    Default = false,
                    Description = "Google",
                    Ip = "8.8.8.8",
                },
            },
            NetworkId = "string",
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiNetworksApplianceConnectivityMonitoringDestinationsExample"] = example,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.networks.ApplianceConnectivityMonitoringDestinations;
    import com.pulumi.meraki.networks.ApplianceConnectivityMonitoringDestinationsArgs;
    import com.pulumi.meraki.networks.inputs.ApplianceConnectivityMonitoringDestinationsDestinationArgs;
    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 ApplianceConnectivityMonitoringDestinations("example", ApplianceConnectivityMonitoringDestinationsArgs.builder()
                .destinations(ApplianceConnectivityMonitoringDestinationsDestinationArgs.builder()
                    .default_(false)
                    .description("Google")
                    .ip("8.8.8.8")
                    .build())
                .networkId("string")
                .build());
    
            ctx.export("merakiNetworksApplianceConnectivityMonitoringDestinationsExample", example);
        }
    }
    
    resources:
      example:
        type: meraki:networks:ApplianceConnectivityMonitoringDestinations
        properties:
          destinations:
            - default: false
              description: Google
              ip: 8.8.8.8
          networkId: string
    outputs:
      merakiNetworksApplianceConnectivityMonitoringDestinationsExample: ${example}
    

    Create ApplianceConnectivityMonitoringDestinations Resource

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

    Constructor syntax

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

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

    NetworkId string
    networkId path parameter. Network ID
    Destinations List<ApplianceConnectivityMonitoringDestinationsDestination>
    The list of connectivity monitoring destinations
    NetworkId string
    networkId path parameter. Network ID
    Destinations []ApplianceConnectivityMonitoringDestinationsDestinationArgs
    The list of connectivity monitoring destinations
    networkId String
    networkId path parameter. Network ID
    destinations List<ApplianceConnectivityMonitoringDestinationsDestination>
    The list of connectivity monitoring destinations
    networkId string
    networkId path parameter. Network ID
    destinations ApplianceConnectivityMonitoringDestinationsDestination[]
    The list of connectivity monitoring destinations
    network_id str
    networkId path parameter. Network ID
    destinations Sequence[ApplianceConnectivityMonitoringDestinationsDestinationArgs]
    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 ApplianceConnectivityMonitoringDestinations 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 ApplianceConnectivityMonitoringDestinations Resource

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

    ApplianceConnectivityMonitoringDestinationsDestination, ApplianceConnectivityMonitoringDestinationsDestinationArgs

    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 null
    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 null
    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 null
    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 null
    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 null
    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 null
    ip String
    The IP address to test connectivity with

    Import

    $ pulumi import meraki:networks/applianceConnectivityMonitoringDestinations:ApplianceConnectivityMonitoringDestinations 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