1. Packages
  2. Cisco Meraki
  3. API Docs
  4. networks
  5. ApplianceSingleLan
Cisco Meraki v0.2.10 published on Wednesday, Jul 24, 2024 by Pulumi

meraki.networks.ApplianceSingleLan

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.2.10 published on Wednesday, Jul 24, 2024 by Pulumi

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.networks.ApplianceSingleLan;
    import com.pulumi.meraki.networks.ApplianceSingleLanArgs;
    import com.pulumi.meraki.networks.inputs.ApplianceSingleLanIpv6Args;
    import com.pulumi.meraki.networks.inputs.ApplianceSingleLanMandatoryDhcpArgs;
    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 ApplianceSingleLan("example", ApplianceSingleLanArgs.builder()
                .applianceIp("string")
                .ipv6(ApplianceSingleLanIpv6Args.builder()
                    .enabled(false)
                    .prefix_assignments(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
                    .build())
                .mandatoryDhcp(ApplianceSingleLanMandatoryDhcpArgs.builder()
                    .enabled(false)
                    .build())
                .networkId("string")
                .subnet("string")
                .build());
    
            ctx.export("merakiNetworksApplianceSingleLanExample", example);
        }
    }
    
    resources:
      example:
        type: meraki:networks:ApplianceSingleLan
        properties:
          applianceIp: string
          ipv6:
            enabled: false
            prefix_assignments:
              - autonomous: false
                origin:
                  interfaces:
                    - string
                  type: string
                staticApplianceIp6: string
                staticPrefix: string
          mandatoryDhcp:
            enabled: false
          networkId: string
          subnet: string
    outputs:
      merakiNetworksApplianceSingleLanExample: ${example}
    

    Create ApplianceSingleLan Resource

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

    Constructor syntax

    new ApplianceSingleLan(name: string, args: ApplianceSingleLanArgs, opts?: CustomResourceOptions);
    @overload
    def ApplianceSingleLan(resource_name: str,
                           args: ApplianceSingleLanArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def ApplianceSingleLan(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           network_id: Optional[str] = None,
                           appliance_ip: Optional[str] = None,
                           ipv6: Optional[ApplianceSingleLanIpv6Args] = None,
                           mandatory_dhcp: Optional[ApplianceSingleLanMandatoryDhcpArgs] = None,
                           subnet: Optional[str] = None)
    func NewApplianceSingleLan(ctx *Context, name string, args ApplianceSingleLanArgs, opts ...ResourceOption) (*ApplianceSingleLan, error)
    public ApplianceSingleLan(string name, ApplianceSingleLanArgs args, CustomResourceOptions? opts = null)
    public ApplianceSingleLan(String name, ApplianceSingleLanArgs args)
    public ApplianceSingleLan(String name, ApplianceSingleLanArgs args, CustomResourceOptions options)
    
    type: meraki:networks:ApplianceSingleLan
    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 ApplianceSingleLanArgs
    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 ApplianceSingleLanArgs
    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 ApplianceSingleLanArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApplianceSingleLanArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApplianceSingleLanArgs
    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 applianceSingleLanResource = new Meraki.Networks.ApplianceSingleLan("applianceSingleLanResource", new()
    {
        NetworkId = "string",
        ApplianceIp = "string",
        Ipv6 = new Meraki.Networks.Inputs.ApplianceSingleLanIpv6Args
        {
            Enabled = false,
            PrefixAssignments = new[]
            {
                new Meraki.Networks.Inputs.ApplianceSingleLanIpv6PrefixAssignmentArgs
                {
                    Autonomous = false,
                    Origin = new Meraki.Networks.Inputs.ApplianceSingleLanIpv6PrefixAssignmentOriginArgs
                    {
                        Interfaces = new[]
                        {
                            "string",
                        },
                        Type = "string",
                    },
                    StaticApplianceIp6 = "string",
                    StaticPrefix = "string",
                },
            },
        },
        MandatoryDhcp = new Meraki.Networks.Inputs.ApplianceSingleLanMandatoryDhcpArgs
        {
            Enabled = false,
        },
        Subnet = "string",
    });
    
    example, err := networks.NewApplianceSingleLan(ctx, "applianceSingleLanResource", &networks.ApplianceSingleLanArgs{
    	NetworkId:   pulumi.String("string"),
    	ApplianceIp: pulumi.String("string"),
    	Ipv6: &networks.ApplianceSingleLanIpv6Args{
    		Enabled: pulumi.Bool(false),
    		PrefixAssignments: networks.ApplianceSingleLanIpv6PrefixAssignmentArray{
    			&networks.ApplianceSingleLanIpv6PrefixAssignmentArgs{
    				Autonomous: pulumi.Bool(false),
    				Origin: &networks.ApplianceSingleLanIpv6PrefixAssignmentOriginArgs{
    					Interfaces: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Type: pulumi.String("string"),
    				},
    				StaticApplianceIp6: pulumi.String("string"),
    				StaticPrefix:       pulumi.String("string"),
    			},
    		},
    	},
    	MandatoryDhcp: &networks.ApplianceSingleLanMandatoryDhcpArgs{
    		Enabled: pulumi.Bool(false),
    	},
    	Subnet: pulumi.String("string"),
    })
    
    var applianceSingleLanResource = new ApplianceSingleLan("applianceSingleLanResource", ApplianceSingleLanArgs.builder()
        .networkId("string")
        .applianceIp("string")
        .ipv6(ApplianceSingleLanIpv6Args.builder()
            .enabled(false)
            .prefixAssignments(ApplianceSingleLanIpv6PrefixAssignmentArgs.builder()
                .autonomous(false)
                .origin(ApplianceSingleLanIpv6PrefixAssignmentOriginArgs.builder()
                    .interfaces("string")
                    .type("string")
                    .build())
                .staticApplianceIp6("string")
                .staticPrefix("string")
                .build())
            .build())
        .mandatoryDhcp(ApplianceSingleLanMandatoryDhcpArgs.builder()
            .enabled(false)
            .build())
        .subnet("string")
        .build());
    
    appliance_single_lan_resource = meraki.networks.ApplianceSingleLan("applianceSingleLanResource",
        network_id="string",
        appliance_ip="string",
        ipv6=meraki.networks.ApplianceSingleLanIpv6Args(
            enabled=False,
            prefix_assignments=[meraki.networks.ApplianceSingleLanIpv6PrefixAssignmentArgs(
                autonomous=False,
                origin=meraki.networks.ApplianceSingleLanIpv6PrefixAssignmentOriginArgs(
                    interfaces=["string"],
                    type="string",
                ),
                static_appliance_ip6="string",
                static_prefix="string",
            )],
        ),
        mandatory_dhcp=meraki.networks.ApplianceSingleLanMandatoryDhcpArgs(
            enabled=False,
        ),
        subnet="string")
    
    const applianceSingleLanResource = new meraki.networks.ApplianceSingleLan("applianceSingleLanResource", {
        networkId: "string",
        applianceIp: "string",
        ipv6: {
            enabled: false,
            prefixAssignments: [{
                autonomous: false,
                origin: {
                    interfaces: ["string"],
                    type: "string",
                },
                staticApplianceIp6: "string",
                staticPrefix: "string",
            }],
        },
        mandatoryDhcp: {
            enabled: false,
        },
        subnet: "string",
    });
    
    type: meraki:networks:ApplianceSingleLan
    properties:
        applianceIp: string
        ipv6:
            enabled: false
            prefixAssignments:
                - autonomous: false
                  origin:
                    interfaces:
                        - string
                    type: string
                  staticApplianceIp6: string
                  staticPrefix: string
        mandatoryDhcp:
            enabled: false
        networkId: string
        subnet: string
    

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

    NetworkId string
    networkId path parameter. Network ID
    ApplianceIp string
    The local IP of the appliance on the single LAN
    Ipv6 ApplianceSingleLanIpv6
    IPv6 configuration on the single LAN
    MandatoryDhcp ApplianceSingleLanMandatoryDhcp
    Mandatory DHCP will enforce that clients connecting to this single LAN must use the IP address assigned by the DHCP server. Clients who use a static IP address won't be able to associate. Only available on firmware versions 17.0 and above
    Subnet string
    The subnet of the single LAN
    NetworkId string
    networkId path parameter. Network ID
    ApplianceIp string
    The local IP of the appliance on the single LAN
    Ipv6 ApplianceSingleLanIpv6Args
    IPv6 configuration on the single LAN
    MandatoryDhcp ApplianceSingleLanMandatoryDhcpArgs
    Mandatory DHCP will enforce that clients connecting to this single LAN must use the IP address assigned by the DHCP server. Clients who use a static IP address won't be able to associate. Only available on firmware versions 17.0 and above
    Subnet string
    The subnet of the single LAN
    networkId String
    networkId path parameter. Network ID
    applianceIp String
    The local IP of the appliance on the single LAN
    ipv6 ApplianceSingleLanIpv6
    IPv6 configuration on the single LAN
    mandatoryDhcp ApplianceSingleLanMandatoryDhcp
    Mandatory DHCP will enforce that clients connecting to this single LAN must use the IP address assigned by the DHCP server. Clients who use a static IP address won't be able to associate. Only available on firmware versions 17.0 and above
    subnet String
    The subnet of the single LAN
    networkId string
    networkId path parameter. Network ID
    applianceIp string
    The local IP of the appliance on the single LAN
    ipv6 ApplianceSingleLanIpv6
    IPv6 configuration on the single LAN
    mandatoryDhcp ApplianceSingleLanMandatoryDhcp
    Mandatory DHCP will enforce that clients connecting to this single LAN must use the IP address assigned by the DHCP server. Clients who use a static IP address won't be able to associate. Only available on firmware versions 17.0 and above
    subnet string
    The subnet of the single LAN
    network_id str
    networkId path parameter. Network ID
    appliance_ip str
    The local IP of the appliance on the single LAN
    ipv6 ApplianceSingleLanIpv6Args
    IPv6 configuration on the single LAN
    mandatory_dhcp ApplianceSingleLanMandatoryDhcpArgs
    Mandatory DHCP will enforce that clients connecting to this single LAN must use the IP address assigned by the DHCP server. Clients who use a static IP address won't be able to associate. Only available on firmware versions 17.0 and above
    subnet str
    The subnet of the single LAN
    networkId String
    networkId path parameter. Network ID
    applianceIp String
    The local IP of the appliance on the single LAN
    ipv6 Property Map
    IPv6 configuration on the single LAN
    mandatoryDhcp Property Map
    Mandatory DHCP will enforce that clients connecting to this single LAN must use the IP address assigned by the DHCP server. Clients who use a static IP address won't be able to associate. Only available on firmware versions 17.0 and above
    subnet String
    The subnet of the single LAN

    Outputs

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

    Get an existing ApplianceSingleLan 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?: ApplianceSingleLanState, opts?: CustomResourceOptions): ApplianceSingleLan
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            appliance_ip: Optional[str] = None,
            ipv6: Optional[ApplianceSingleLanIpv6Args] = None,
            mandatory_dhcp: Optional[ApplianceSingleLanMandatoryDhcpArgs] = None,
            network_id: Optional[str] = None,
            subnet: Optional[str] = None) -> ApplianceSingleLan
    func GetApplianceSingleLan(ctx *Context, name string, id IDInput, state *ApplianceSingleLanState, opts ...ResourceOption) (*ApplianceSingleLan, error)
    public static ApplianceSingleLan Get(string name, Input<string> id, ApplianceSingleLanState? state, CustomResourceOptions? opts = null)
    public static ApplianceSingleLan get(String name, Output<String> id, ApplianceSingleLanState 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:
    ApplianceIp string
    The local IP of the appliance on the single LAN
    Ipv6 ApplianceSingleLanIpv6
    IPv6 configuration on the single LAN
    MandatoryDhcp ApplianceSingleLanMandatoryDhcp
    Mandatory DHCP will enforce that clients connecting to this single LAN must use the IP address assigned by the DHCP server. Clients who use a static IP address won't be able to associate. Only available on firmware versions 17.0 and above
    NetworkId string
    networkId path parameter. Network ID
    Subnet string
    The subnet of the single LAN
    ApplianceIp string
    The local IP of the appliance on the single LAN
    Ipv6 ApplianceSingleLanIpv6Args
    IPv6 configuration on the single LAN
    MandatoryDhcp ApplianceSingleLanMandatoryDhcpArgs
    Mandatory DHCP will enforce that clients connecting to this single LAN must use the IP address assigned by the DHCP server. Clients who use a static IP address won't be able to associate. Only available on firmware versions 17.0 and above
    NetworkId string
    networkId path parameter. Network ID
    Subnet string
    The subnet of the single LAN
    applianceIp String
    The local IP of the appliance on the single LAN
    ipv6 ApplianceSingleLanIpv6
    IPv6 configuration on the single LAN
    mandatoryDhcp ApplianceSingleLanMandatoryDhcp
    Mandatory DHCP will enforce that clients connecting to this single LAN must use the IP address assigned by the DHCP server. Clients who use a static IP address won't be able to associate. Only available on firmware versions 17.0 and above
    networkId String
    networkId path parameter. Network ID
    subnet String
    The subnet of the single LAN
    applianceIp string
    The local IP of the appliance on the single LAN
    ipv6 ApplianceSingleLanIpv6
    IPv6 configuration on the single LAN
    mandatoryDhcp ApplianceSingleLanMandatoryDhcp
    Mandatory DHCP will enforce that clients connecting to this single LAN must use the IP address assigned by the DHCP server. Clients who use a static IP address won't be able to associate. Only available on firmware versions 17.0 and above
    networkId string
    networkId path parameter. Network ID
    subnet string
    The subnet of the single LAN
    appliance_ip str
    The local IP of the appliance on the single LAN
    ipv6 ApplianceSingleLanIpv6Args
    IPv6 configuration on the single LAN
    mandatory_dhcp ApplianceSingleLanMandatoryDhcpArgs
    Mandatory DHCP will enforce that clients connecting to this single LAN must use the IP address assigned by the DHCP server. Clients who use a static IP address won't be able to associate. Only available on firmware versions 17.0 and above
    network_id str
    networkId path parameter. Network ID
    subnet str
    The subnet of the single LAN
    applianceIp String
    The local IP of the appliance on the single LAN
    ipv6 Property Map
    IPv6 configuration on the single LAN
    mandatoryDhcp Property Map
    Mandatory DHCP will enforce that clients connecting to this single LAN must use the IP address assigned by the DHCP server. Clients who use a static IP address won't be able to associate. Only available on firmware versions 17.0 and above
    networkId String
    networkId path parameter. Network ID
    subnet String
    The subnet of the single LAN

    Supporting Types

    ApplianceSingleLanIpv6, ApplianceSingleLanIpv6Args

    Enabled bool
    Enable IPv6 on single LAN
    PrefixAssignments List<ApplianceSingleLanIpv6PrefixAssignment>
    Prefix assignments on the single LAN
    Enabled bool
    Enable IPv6 on single LAN
    PrefixAssignments []ApplianceSingleLanIpv6PrefixAssignment
    Prefix assignments on the single LAN
    enabled Boolean
    Enable IPv6 on single LAN
    prefixAssignments List<ApplianceSingleLanIpv6PrefixAssignment>
    Prefix assignments on the single LAN
    enabled boolean
    Enable IPv6 on single LAN
    prefixAssignments ApplianceSingleLanIpv6PrefixAssignment[]
    Prefix assignments on the single LAN
    enabled bool
    Enable IPv6 on single LAN
    prefix_assignments Sequence[ApplianceSingleLanIpv6PrefixAssignment]
    Prefix assignments on the single LAN
    enabled Boolean
    Enable IPv6 on single LAN
    prefixAssignments List<Property Map>
    Prefix assignments on the single LAN

    ApplianceSingleLanIpv6PrefixAssignment, ApplianceSingleLanIpv6PrefixAssignmentArgs

    Autonomous bool
    Auto assign a /64 prefix from the origin to the single LAN
    Origin ApplianceSingleLanIpv6PrefixAssignmentOrigin
    The origin of the prefix
    StaticApplianceIp6 string
    Manual configuration of the IPv6 Appliance IP
    StaticPrefix string
    Manual configuration of a /64 prefix on the single LAN
    Autonomous bool
    Auto assign a /64 prefix from the origin to the single LAN
    Origin ApplianceSingleLanIpv6PrefixAssignmentOrigin
    The origin of the prefix
    StaticApplianceIp6 string
    Manual configuration of the IPv6 Appliance IP
    StaticPrefix string
    Manual configuration of a /64 prefix on the single LAN
    autonomous Boolean
    Auto assign a /64 prefix from the origin to the single LAN
    origin ApplianceSingleLanIpv6PrefixAssignmentOrigin
    The origin of the prefix
    staticApplianceIp6 String
    Manual configuration of the IPv6 Appliance IP
    staticPrefix String
    Manual configuration of a /64 prefix on the single LAN
    autonomous boolean
    Auto assign a /64 prefix from the origin to the single LAN
    origin ApplianceSingleLanIpv6PrefixAssignmentOrigin
    The origin of the prefix
    staticApplianceIp6 string
    Manual configuration of the IPv6 Appliance IP
    staticPrefix string
    Manual configuration of a /64 prefix on the single LAN
    autonomous bool
    Auto assign a /64 prefix from the origin to the single LAN
    origin ApplianceSingleLanIpv6PrefixAssignmentOrigin
    The origin of the prefix
    static_appliance_ip6 str
    Manual configuration of the IPv6 Appliance IP
    static_prefix str
    Manual configuration of a /64 prefix on the single LAN
    autonomous Boolean
    Auto assign a /64 prefix from the origin to the single LAN
    origin Property Map
    The origin of the prefix
    staticApplianceIp6 String
    Manual configuration of the IPv6 Appliance IP
    staticPrefix String
    Manual configuration of a /64 prefix on the single LAN

    ApplianceSingleLanIpv6PrefixAssignmentOrigin, ApplianceSingleLanIpv6PrefixAssignmentOriginArgs

    Interfaces List<string>
    Interfaces associated with the prefix
    Type string
    Type of the origin
    Interfaces []string
    Interfaces associated with the prefix
    Type string
    Type of the origin
    interfaces List<String>
    Interfaces associated with the prefix
    type String
    Type of the origin
    interfaces string[]
    Interfaces associated with the prefix
    type string
    Type of the origin
    interfaces Sequence[str]
    Interfaces associated with the prefix
    type str
    Type of the origin
    interfaces List<String>
    Interfaces associated with the prefix
    type String
    Type of the origin

    ApplianceSingleLanMandatoryDhcp, ApplianceSingleLanMandatoryDhcpArgs

    Enabled bool
    Enable Mandatory DHCP on single LAN.
    Enabled bool
    Enable Mandatory DHCP on single LAN.
    enabled Boolean
    Enable Mandatory DHCP on single LAN.
    enabled boolean
    Enable Mandatory DHCP on single LAN.
    enabled bool
    Enable Mandatory DHCP on single LAN.
    enabled Boolean
    Enable Mandatory DHCP on single LAN.

    Import

    $ pulumi import meraki:networks/applianceSingleLan:ApplianceSingleLan 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.2.10 published on Wednesday, Jul 24, 2024 by Pulumi