meraki.networks.ApplianceSingleLan
Explore with Pulumi AI
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={
"enabled": False,
"prefix_assignments": [{
"autonomous": False,
"origin": {
"interfaces": ["string"],
"type": "string",
},
"static_appliance_ip6": "string",
"static_prefix": "string",
}],
},
mandatory_dhcp={
"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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ApplianceSingleLan resource accepts the following input properties:
- Network
Id string - networkId path parameter. Network ID
- Appliance
Ip string - The local IP of the appliance on the single LAN
- Ipv6
Appliance
Single Lan Ipv6 - IPv6 configuration on the single LAN
- Mandatory
Dhcp ApplianceSingle Lan Mandatory Dhcp - 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 string - networkId path parameter. Network ID
- Appliance
Ip string - The local IP of the appliance on the single LAN
- Ipv6
Appliance
Single Lan Ipv6Args - IPv6 configuration on the single LAN
- Mandatory
Dhcp ApplianceSingle Lan Mandatory Dhcp Args - 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 String - networkId path parameter. Network ID
- appliance
Ip String - The local IP of the appliance on the single LAN
- ipv6
Appliance
Single Lan Ipv6 - IPv6 configuration on the single LAN
- mandatory
Dhcp ApplianceSingle Lan Mandatory Dhcp - 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 string - networkId path parameter. Network ID
- appliance
Ip string - The local IP of the appliance on the single LAN
- ipv6
Appliance
Single Lan Ipv6 - IPv6 configuration on the single LAN
- mandatory
Dhcp ApplianceSingle Lan Mandatory Dhcp - 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
Appliance
Single Lan Ipv6Args - IPv6 configuration on the single LAN
- mandatory_
dhcp ApplianceSingle Lan Mandatory Dhcp Args - 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
- network
Id String - networkId path parameter. Network ID
- appliance
Ip String - The local IP of the appliance on the single LAN
- ipv6 Property Map
- IPv6 configuration on the single LAN
- mandatory
Dhcp 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.
- Appliance
Ip string - The local IP of the appliance on the single LAN
- Ipv6
Appliance
Single Lan Ipv6 - IPv6 configuration on the single LAN
- Mandatory
Dhcp ApplianceSingle Lan Mandatory Dhcp - 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 string - networkId path parameter. Network ID
- Subnet string
- The subnet of the single LAN
- Appliance
Ip string - The local IP of the appliance on the single LAN
- Ipv6
Appliance
Single Lan Ipv6Args - IPv6 configuration on the single LAN
- Mandatory
Dhcp ApplianceSingle Lan Mandatory Dhcp Args - 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 string - networkId path parameter. Network ID
- Subnet string
- The subnet of the single LAN
- appliance
Ip String - The local IP of the appliance on the single LAN
- ipv6
Appliance
Single Lan Ipv6 - IPv6 configuration on the single LAN
- mandatory
Dhcp ApplianceSingle Lan Mandatory Dhcp - 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 String - networkId path parameter. Network ID
- subnet String
- The subnet of the single LAN
- appliance
Ip string - The local IP of the appliance on the single LAN
- ipv6
Appliance
Single Lan Ipv6 - IPv6 configuration on the single LAN
- mandatory
Dhcp ApplianceSingle Lan Mandatory Dhcp - 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 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
Appliance
Single Lan Ipv6Args - IPv6 configuration on the single LAN
- mandatory_
dhcp ApplianceSingle Lan Mandatory Dhcp Args - 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
- appliance
Ip String - The local IP of the appliance on the single LAN
- ipv6 Property Map
- IPv6 configuration on the single LAN
- mandatory
Dhcp 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
- network
Id 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
- Prefix
Assignments List<ApplianceSingle Lan Ipv6Prefix Assignment> - Prefix assignments on the single LAN
- Enabled bool
- Enable IPv6 on single LAN
- Prefix
Assignments []ApplianceSingle Lan Ipv6Prefix Assignment - Prefix assignments on the single LAN
- enabled Boolean
- Enable IPv6 on single LAN
- prefix
Assignments List<ApplianceSingle Lan Ipv6Prefix Assignment> - Prefix assignments on the single LAN
- enabled boolean
- Enable IPv6 on single LAN
- prefix
Assignments ApplianceSingle Lan Ipv6Prefix Assignment[] - Prefix assignments on the single LAN
- enabled bool
- Enable IPv6 on single LAN
- prefix_
assignments Sequence[ApplianceSingle Lan Ipv6Prefix Assignment] - Prefix assignments on the single LAN
- enabled Boolean
- Enable IPv6 on single LAN
- prefix
Assignments 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
Appliance
Single Lan Ipv6Prefix Assignment Origin - The origin of the prefix
- Static
Appliance stringIp6 - Manual configuration of the IPv6 Appliance IP
- Static
Prefix 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
Appliance
Single Lan Ipv6Prefix Assignment Origin - The origin of the prefix
- Static
Appliance stringIp6 - Manual configuration of the IPv6 Appliance IP
- Static
Prefix 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
Appliance
Single Lan Ipv6Prefix Assignment Origin - The origin of the prefix
- static
Appliance StringIp6 - Manual configuration of the IPv6 Appliance IP
- static
Prefix 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
Appliance
Single Lan Ipv6Prefix Assignment Origin - The origin of the prefix
- static
Appliance stringIp6 - Manual configuration of the IPv6 Appliance IP
- static
Prefix 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
Appliance
Single Lan Ipv6Prefix Assignment Origin - The origin of the prefix
- static_
appliance_ strip6 - 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
- static
Appliance StringIp6 - Manual configuration of the IPv6 Appliance IP
- static
Prefix 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.