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

meraki.networks.ApplianceVlansSettings

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.ApplianceVlansSettings("example", {
        networkId: "string",
        vlansEnabled: true,
    });
    export const merakiNetworksApplianceVlansSettingsExample = example;
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.networks.ApplianceVlansSettings("example",
        network_id="string",
        vlans_enabled=True)
    pulumi.export("merakiNetworksApplianceVlansSettingsExample", 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.NewApplianceVlansSettings(ctx, "example", &networks.ApplianceVlansSettingsArgs{
    			NetworkId:    pulumi.String("string"),
    			VlansEnabled: pulumi.Bool(true),
    		})
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiNetworksApplianceVlansSettingsExample", 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.ApplianceVlansSettings("example", new()
        {
            NetworkId = "string",
            VlansEnabled = true,
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiNetworksApplianceVlansSettingsExample"] = example,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.networks.ApplianceVlansSettings;
    import com.pulumi.meraki.networks.ApplianceVlansSettingsArgs;
    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 ApplianceVlansSettings("example", ApplianceVlansSettingsArgs.builder()
                .networkId("string")
                .vlansEnabled(true)
                .build());
    
            ctx.export("merakiNetworksApplianceVlansSettingsExample", example);
        }
    }
    
    resources:
      example:
        type: meraki:networks:ApplianceVlansSettings
        properties:
          networkId: string
          vlansEnabled: true
    outputs:
      merakiNetworksApplianceVlansSettingsExample: ${example}
    

    Create ApplianceVlansSettings Resource

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

    Constructor syntax

    new ApplianceVlansSettings(name: string, args: ApplianceVlansSettingsArgs, opts?: CustomResourceOptions);
    @overload
    def ApplianceVlansSettings(resource_name: str,
                               args: ApplianceVlansSettingsArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def ApplianceVlansSettings(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               network_id: Optional[str] = None,
                               vlans_enabled: Optional[bool] = None)
    func NewApplianceVlansSettings(ctx *Context, name string, args ApplianceVlansSettingsArgs, opts ...ResourceOption) (*ApplianceVlansSettings, error)
    public ApplianceVlansSettings(string name, ApplianceVlansSettingsArgs args, CustomResourceOptions? opts = null)
    public ApplianceVlansSettings(String name, ApplianceVlansSettingsArgs args)
    public ApplianceVlansSettings(String name, ApplianceVlansSettingsArgs args, CustomResourceOptions options)
    
    type: meraki:networks:ApplianceVlansSettings
    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 ApplianceVlansSettingsArgs
    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 ApplianceVlansSettingsArgs
    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 ApplianceVlansSettingsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApplianceVlansSettingsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApplianceVlansSettingsArgs
    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 applianceVlansSettingsResource = new Meraki.Networks.ApplianceVlansSettings("applianceVlansSettingsResource", new()
    {
        NetworkId = "string",
        VlansEnabled = false,
    });
    
    example, err := networks.NewApplianceVlansSettings(ctx, "applianceVlansSettingsResource", &networks.ApplianceVlansSettingsArgs{
    	NetworkId:    pulumi.String("string"),
    	VlansEnabled: pulumi.Bool(false),
    })
    
    var applianceVlansSettingsResource = new ApplianceVlansSettings("applianceVlansSettingsResource", ApplianceVlansSettingsArgs.builder()
        .networkId("string")
        .vlansEnabled(false)
        .build());
    
    appliance_vlans_settings_resource = meraki.networks.ApplianceVlansSettings("applianceVlansSettingsResource",
        network_id="string",
        vlans_enabled=False)
    
    const applianceVlansSettingsResource = new meraki.networks.ApplianceVlansSettings("applianceVlansSettingsResource", {
        networkId: "string",
        vlansEnabled: false,
    });
    
    type: meraki:networks:ApplianceVlansSettings
    properties:
        networkId: string
        vlansEnabled: false
    

    ApplianceVlansSettings Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ApplianceVlansSettings resource accepts the following input properties:

    NetworkId string
    networkId path parameter. Network ID
    VlansEnabled bool
    Boolean indicating whether VLANs are enabled (true) or disabled (false) for the network
    NetworkId string
    networkId path parameter. Network ID
    VlansEnabled bool
    Boolean indicating whether VLANs are enabled (true) or disabled (false) for the network
    networkId String
    networkId path parameter. Network ID
    vlansEnabled Boolean
    Boolean indicating whether VLANs are enabled (true) or disabled (false) for the network
    networkId string
    networkId path parameter. Network ID
    vlansEnabled boolean
    Boolean indicating whether VLANs are enabled (true) or disabled (false) for the network
    network_id str
    networkId path parameter. Network ID
    vlans_enabled bool
    Boolean indicating whether VLANs are enabled (true) or disabled (false) for the network
    networkId String
    networkId path parameter. Network ID
    vlansEnabled Boolean
    Boolean indicating whether VLANs are enabled (true) or disabled (false) for the network

    Outputs

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

    Get an existing ApplianceVlansSettings 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?: ApplianceVlansSettingsState, opts?: CustomResourceOptions): ApplianceVlansSettings
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            network_id: Optional[str] = None,
            vlans_enabled: Optional[bool] = None) -> ApplianceVlansSettings
    func GetApplianceVlansSettings(ctx *Context, name string, id IDInput, state *ApplianceVlansSettingsState, opts ...ResourceOption) (*ApplianceVlansSettings, error)
    public static ApplianceVlansSettings Get(string name, Input<string> id, ApplianceVlansSettingsState? state, CustomResourceOptions? opts = null)
    public static ApplianceVlansSettings get(String name, Output<String> id, ApplianceVlansSettingsState 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:
    NetworkId string
    networkId path parameter. Network ID
    VlansEnabled bool
    Boolean indicating whether VLANs are enabled (true) or disabled (false) for the network
    NetworkId string
    networkId path parameter. Network ID
    VlansEnabled bool
    Boolean indicating whether VLANs are enabled (true) or disabled (false) for the network
    networkId String
    networkId path parameter. Network ID
    vlansEnabled Boolean
    Boolean indicating whether VLANs are enabled (true) or disabled (false) for the network
    networkId string
    networkId path parameter. Network ID
    vlansEnabled boolean
    Boolean indicating whether VLANs are enabled (true) or disabled (false) for the network
    network_id str
    networkId path parameter. Network ID
    vlans_enabled bool
    Boolean indicating whether VLANs are enabled (true) or disabled (false) for the network
    networkId String
    networkId path parameter. Network ID
    vlansEnabled Boolean
    Boolean indicating whether VLANs are enabled (true) or disabled (false) for the network

    Import

    $ pulumi import meraki:networks/applianceVlansSettings:ApplianceVlansSettings 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