meraki.networks.SwitchDhcpServerPolicyArpInspectionTrustedServers
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as meraki from "@pulumi/meraki";
const example = new meraki.networks.SwitchDhcpServerPolicyArpInspectionTrustedServers("example", {
ipv4: {
address: "1.2.3.4",
},
mac: "00:11:22:33:44:55",
networkId: "string",
vlan: 100,
});
export const merakiNetworksSwitchDhcpServerPolicyArpInspectionTrustedServersExample = example;
import pulumi
import pulumi_meraki as meraki
example = meraki.networks.SwitchDhcpServerPolicyArpInspectionTrustedServers("example",
ipv4={
"address": "1.2.3.4",
},
mac="00:11:22:33:44:55",
network_id="string",
vlan=100)
pulumi.export("merakiNetworksSwitchDhcpServerPolicyArpInspectionTrustedServersExample", 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.NewSwitchDhcpServerPolicyArpInspectionTrustedServers(ctx, "example", &networks.SwitchDhcpServerPolicyArpInspectionTrustedServersArgs{
Ipv4: &networks.SwitchDhcpServerPolicyArpInspectionTrustedServersIpv4Args{
Address: pulumi.String("1.2.3.4"),
},
Mac: pulumi.String("00:11:22:33:44:55"),
NetworkId: pulumi.String("string"),
Vlan: pulumi.Int(100),
})
if err != nil {
return err
}
ctx.Export("merakiNetworksSwitchDhcpServerPolicyArpInspectionTrustedServersExample", 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.SwitchDhcpServerPolicyArpInspectionTrustedServers("example", new()
{
Ipv4 = new Meraki.Networks.Inputs.SwitchDhcpServerPolicyArpInspectionTrustedServersIpv4Args
{
Address = "1.2.3.4",
},
Mac = "00:11:22:33:44:55",
NetworkId = "string",
Vlan = 100,
});
return new Dictionary<string, object?>
{
["merakiNetworksSwitchDhcpServerPolicyArpInspectionTrustedServersExample"] = example,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.meraki.networks.SwitchDhcpServerPolicyArpInspectionTrustedServers;
import com.pulumi.meraki.networks.SwitchDhcpServerPolicyArpInspectionTrustedServersArgs;
import com.pulumi.meraki.networks.inputs.SwitchDhcpServerPolicyArpInspectionTrustedServersIpv4Args;
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 SwitchDhcpServerPolicyArpInspectionTrustedServers("example", SwitchDhcpServerPolicyArpInspectionTrustedServersArgs.builder()
.ipv4(SwitchDhcpServerPolicyArpInspectionTrustedServersIpv4Args.builder()
.address("1.2.3.4")
.build())
.mac("00:11:22:33:44:55")
.networkId("string")
.vlan(100)
.build());
ctx.export("merakiNetworksSwitchDhcpServerPolicyArpInspectionTrustedServersExample", example);
}
}
resources:
example:
type: meraki:networks:SwitchDhcpServerPolicyArpInspectionTrustedServers
properties:
ipv4:
address: 1.2.3.4
mac: 00:11:22:33:44:55
networkId: string
vlan: 100
outputs:
merakiNetworksSwitchDhcpServerPolicyArpInspectionTrustedServersExample: ${example}
Create SwitchDhcpServerPolicyArpInspectionTrustedServers Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SwitchDhcpServerPolicyArpInspectionTrustedServers(name: string, args: SwitchDhcpServerPolicyArpInspectionTrustedServersArgs, opts?: CustomResourceOptions);
@overload
def SwitchDhcpServerPolicyArpInspectionTrustedServers(resource_name: str,
args: SwitchDhcpServerPolicyArpInspectionTrustedServersArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SwitchDhcpServerPolicyArpInspectionTrustedServers(resource_name: str,
opts: Optional[ResourceOptions] = None,
network_id: Optional[str] = None,
ipv4: Optional[SwitchDhcpServerPolicyArpInspectionTrustedServersIpv4Args] = None,
mac: Optional[str] = None,
trusted_server_id: Optional[str] = None,
vlan: Optional[int] = None)
func NewSwitchDhcpServerPolicyArpInspectionTrustedServers(ctx *Context, name string, args SwitchDhcpServerPolicyArpInspectionTrustedServersArgs, opts ...ResourceOption) (*SwitchDhcpServerPolicyArpInspectionTrustedServers, error)
public SwitchDhcpServerPolicyArpInspectionTrustedServers(string name, SwitchDhcpServerPolicyArpInspectionTrustedServersArgs args, CustomResourceOptions? opts = null)
public SwitchDhcpServerPolicyArpInspectionTrustedServers(String name, SwitchDhcpServerPolicyArpInspectionTrustedServersArgs args)
public SwitchDhcpServerPolicyArpInspectionTrustedServers(String name, SwitchDhcpServerPolicyArpInspectionTrustedServersArgs args, CustomResourceOptions options)
type: meraki:networks:SwitchDhcpServerPolicyArpInspectionTrustedServers
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 SwitchDhcpServerPolicyArpInspectionTrustedServersArgs
- 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 SwitchDhcpServerPolicyArpInspectionTrustedServersArgs
- 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 SwitchDhcpServerPolicyArpInspectionTrustedServersArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SwitchDhcpServerPolicyArpInspectionTrustedServersArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SwitchDhcpServerPolicyArpInspectionTrustedServersArgs
- 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 switchDhcpServerPolicyArpInspectionTrustedServersResource = new Meraki.Networks.SwitchDhcpServerPolicyArpInspectionTrustedServers("switchDhcpServerPolicyArpInspectionTrustedServersResource", new()
{
NetworkId = "string",
Ipv4 = new Meraki.Networks.Inputs.SwitchDhcpServerPolicyArpInspectionTrustedServersIpv4Args
{
Address = "string",
},
Mac = "string",
TrustedServerId = "string",
Vlan = 0,
});
example, err := networks.NewSwitchDhcpServerPolicyArpInspectionTrustedServers(ctx, "switchDhcpServerPolicyArpInspectionTrustedServersResource", &networks.SwitchDhcpServerPolicyArpInspectionTrustedServersArgs{
NetworkId: pulumi.String("string"),
Ipv4: &networks.SwitchDhcpServerPolicyArpInspectionTrustedServersIpv4Args{
Address: pulumi.String("string"),
},
Mac: pulumi.String("string"),
TrustedServerId: pulumi.String("string"),
Vlan: pulumi.Int(0),
})
var switchDhcpServerPolicyArpInspectionTrustedServersResource = new SwitchDhcpServerPolicyArpInspectionTrustedServers("switchDhcpServerPolicyArpInspectionTrustedServersResource", SwitchDhcpServerPolicyArpInspectionTrustedServersArgs.builder()
.networkId("string")
.ipv4(SwitchDhcpServerPolicyArpInspectionTrustedServersIpv4Args.builder()
.address("string")
.build())
.mac("string")
.trustedServerId("string")
.vlan(0)
.build());
switch_dhcp_server_policy_arp_inspection_trusted_servers_resource = meraki.networks.SwitchDhcpServerPolicyArpInspectionTrustedServers("switchDhcpServerPolicyArpInspectionTrustedServersResource",
network_id="string",
ipv4={
"address": "string",
},
mac="string",
trusted_server_id="string",
vlan=0)
const switchDhcpServerPolicyArpInspectionTrustedServersResource = new meraki.networks.SwitchDhcpServerPolicyArpInspectionTrustedServers("switchDhcpServerPolicyArpInspectionTrustedServersResource", {
networkId: "string",
ipv4: {
address: "string",
},
mac: "string",
trustedServerId: "string",
vlan: 0,
});
type: meraki:networks:SwitchDhcpServerPolicyArpInspectionTrustedServers
properties:
ipv4:
address: string
mac: string
networkId: string
trustedServerId: string
vlan: 0
SwitchDhcpServerPolicyArpInspectionTrustedServers 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 SwitchDhcpServerPolicyArpInspectionTrustedServers resource accepts the following input properties:
- Network
Id string - networkId path parameter. Network ID
- Ipv4
Switch
Dhcp Server Policy Arp Inspection Trusted Servers Ipv4 - IPv4 attributes of the trusted server.
- Mac string
- Mac address of the trusted server.
- Trusted
Server stringId - ID of the trusted server.
- Vlan int
- Vlan ID of the trusted server.
- Network
Id string - networkId path parameter. Network ID
- Ipv4
Switch
Dhcp Server Policy Arp Inspection Trusted Servers Ipv4Args - IPv4 attributes of the trusted server.
- Mac string
- Mac address of the trusted server.
- Trusted
Server stringId - ID of the trusted server.
- Vlan int
- Vlan ID of the trusted server.
- network
Id String - networkId path parameter. Network ID
- ipv4
Switch
Dhcp Server Policy Arp Inspection Trusted Servers Ipv4 - IPv4 attributes of the trusted server.
- mac String
- Mac address of the trusted server.
- trusted
Server StringId - ID of the trusted server.
- vlan Integer
- Vlan ID of the trusted server.
- network
Id string - networkId path parameter. Network ID
- ipv4
Switch
Dhcp Server Policy Arp Inspection Trusted Servers Ipv4 - IPv4 attributes of the trusted server.
- mac string
- Mac address of the trusted server.
- trusted
Server stringId - ID of the trusted server.
- vlan number
- Vlan ID of the trusted server.
- network_
id str - networkId path parameter. Network ID
- ipv4
Switch
Dhcp Server Policy Arp Inspection Trusted Servers Ipv4Args - IPv4 attributes of the trusted server.
- mac str
- Mac address of the trusted server.
- trusted_
server_ strid - ID of the trusted server.
- vlan int
- Vlan ID of the trusted server.
- network
Id String - networkId path parameter. Network ID
- ipv4 Property Map
- IPv4 attributes of the trusted server.
- mac String
- Mac address of the trusted server.
- trusted
Server StringId - ID of the trusted server.
- vlan Number
- Vlan ID of the trusted server.
Outputs
All input properties are implicitly available as output properties. Additionally, the SwitchDhcpServerPolicyArpInspectionTrustedServers 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 SwitchDhcpServerPolicyArpInspectionTrustedServers Resource
Get an existing SwitchDhcpServerPolicyArpInspectionTrustedServers 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?: SwitchDhcpServerPolicyArpInspectionTrustedServersState, opts?: CustomResourceOptions): SwitchDhcpServerPolicyArpInspectionTrustedServers
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
ipv4: Optional[SwitchDhcpServerPolicyArpInspectionTrustedServersIpv4Args] = None,
mac: Optional[str] = None,
network_id: Optional[str] = None,
trusted_server_id: Optional[str] = None,
vlan: Optional[int] = None) -> SwitchDhcpServerPolicyArpInspectionTrustedServers
func GetSwitchDhcpServerPolicyArpInspectionTrustedServers(ctx *Context, name string, id IDInput, state *SwitchDhcpServerPolicyArpInspectionTrustedServersState, opts ...ResourceOption) (*SwitchDhcpServerPolicyArpInspectionTrustedServers, error)
public static SwitchDhcpServerPolicyArpInspectionTrustedServers Get(string name, Input<string> id, SwitchDhcpServerPolicyArpInspectionTrustedServersState? state, CustomResourceOptions? opts = null)
public static SwitchDhcpServerPolicyArpInspectionTrustedServers get(String name, Output<String> id, SwitchDhcpServerPolicyArpInspectionTrustedServersState 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.
- Ipv4
Switch
Dhcp Server Policy Arp Inspection Trusted Servers Ipv4 - IPv4 attributes of the trusted server.
- Mac string
- Mac address of the trusted server.
- Network
Id string - networkId path parameter. Network ID
- Trusted
Server stringId - ID of the trusted server.
- Vlan int
- Vlan ID of the trusted server.
- Ipv4
Switch
Dhcp Server Policy Arp Inspection Trusted Servers Ipv4Args - IPv4 attributes of the trusted server.
- Mac string
- Mac address of the trusted server.
- Network
Id string - networkId path parameter. Network ID
- Trusted
Server stringId - ID of the trusted server.
- Vlan int
- Vlan ID of the trusted server.
- ipv4
Switch
Dhcp Server Policy Arp Inspection Trusted Servers Ipv4 - IPv4 attributes of the trusted server.
- mac String
- Mac address of the trusted server.
- network
Id String - networkId path parameter. Network ID
- trusted
Server StringId - ID of the trusted server.
- vlan Integer
- Vlan ID of the trusted server.
- ipv4
Switch
Dhcp Server Policy Arp Inspection Trusted Servers Ipv4 - IPv4 attributes of the trusted server.
- mac string
- Mac address of the trusted server.
- network
Id string - networkId path parameter. Network ID
- trusted
Server stringId - ID of the trusted server.
- vlan number
- Vlan ID of the trusted server.
- ipv4
Switch
Dhcp Server Policy Arp Inspection Trusted Servers Ipv4Args - IPv4 attributes of the trusted server.
- mac str
- Mac address of the trusted server.
- network_
id str - networkId path parameter. Network ID
- trusted_
server_ strid - ID of the trusted server.
- vlan int
- Vlan ID of the trusted server.
- ipv4 Property Map
- IPv4 attributes of the trusted server.
- mac String
- Mac address of the trusted server.
- network
Id String - networkId path parameter. Network ID
- trusted
Server StringId - ID of the trusted server.
- vlan Number
- Vlan ID of the trusted server.
Supporting Types
SwitchDhcpServerPolicyArpInspectionTrustedServersIpv4, SwitchDhcpServerPolicyArpInspectionTrustedServersIpv4Args
- Address string
- IPv4 address of the trusted server.
- Address string
- IPv4 address of the trusted server.
- address String
- IPv4 address of the trusted server.
- address string
- IPv4 address of the trusted server.
- address str
- IPv4 address of the trusted server.
- address String
- IPv4 address of the trusted server.
Import
$ pulumi import meraki:networks/switchDhcpServerPolicyArpInspectionTrustedServers:SwitchDhcpServerPolicyArpInspectionTrustedServers 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.