1. Packages
  2. Cisco Meraki
  3. API Docs
  4. networks
  5. getSwitchDhcpServerPolicyArpInspectionTrustedServers
Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi

meraki.networks.getSwitchDhcpServerPolicyArpInspectionTrustedServers

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as meraki from "@pulumi/meraki";
    
    const example = meraki.networks.getSwitchDhcpServerPolicyArpInspectionTrustedServers({
        endingBefore: "string",
        networkId: "string",
        perPage: 1,
        startingAfter: "string",
    });
    export const merakiNetworksSwitchDhcpServerPolicyArpInspectionTrustedServersExample = example.then(example => example.items);
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.networks.get_switch_dhcp_server_policy_arp_inspection_trusted_servers(ending_before="string",
        network_id="string",
        per_page=1,
        starting_after="string")
    pulumi.export("merakiNetworksSwitchDhcpServerPolicyArpInspectionTrustedServersExample", example.items)
    
    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.LookupSwitchDhcpServerPolicyArpInspectionTrustedServers(ctx, &networks.LookupSwitchDhcpServerPolicyArpInspectionTrustedServersArgs{
    			EndingBefore:  pulumi.StringRef("string"),
    			NetworkId:     "string",
    			PerPage:       pulumi.IntRef(1),
    			StartingAfter: pulumi.StringRef("string"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiNetworksSwitchDhcpServerPolicyArpInspectionTrustedServersExample", example.Items)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Meraki = Pulumi.Meraki;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Meraki.Networks.GetSwitchDhcpServerPolicyArpInspectionTrustedServers.Invoke(new()
        {
            EndingBefore = "string",
            NetworkId = "string",
            PerPage = 1,
            StartingAfter = "string",
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiNetworksSwitchDhcpServerPolicyArpInspectionTrustedServersExample"] = example.Apply(getSwitchDhcpServerPolicyArpInspectionTrustedServersResult => getSwitchDhcpServerPolicyArpInspectionTrustedServersResult.Items),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.networks.NetworksFunctions;
    import com.pulumi.meraki.networks.inputs.GetSwitchDhcpServerPolicyArpInspectionTrustedServersArgs;
    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) {
            final var example = NetworksFunctions.getSwitchDhcpServerPolicyArpInspectionTrustedServers(GetSwitchDhcpServerPolicyArpInspectionTrustedServersArgs.builder()
                .endingBefore("string")
                .networkId("string")
                .perPage(1)
                .startingAfter("string")
                .build());
    
            ctx.export("merakiNetworksSwitchDhcpServerPolicyArpInspectionTrustedServersExample", example.applyValue(getSwitchDhcpServerPolicyArpInspectionTrustedServersResult -> getSwitchDhcpServerPolicyArpInspectionTrustedServersResult.items()));
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: meraki:networks:getSwitchDhcpServerPolicyArpInspectionTrustedServers
          Arguments:
            endingBefore: string
            networkId: string
            perPage: 1
            startingAfter: string
    outputs:
      merakiNetworksSwitchDhcpServerPolicyArpInspectionTrustedServersExample: ${example.items}
    

    Using getSwitchDhcpServerPolicyArpInspectionTrustedServers

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getSwitchDhcpServerPolicyArpInspectionTrustedServers(args: GetSwitchDhcpServerPolicyArpInspectionTrustedServersArgs, opts?: InvokeOptions): Promise<GetSwitchDhcpServerPolicyArpInspectionTrustedServersResult>
    function getSwitchDhcpServerPolicyArpInspectionTrustedServersOutput(args: GetSwitchDhcpServerPolicyArpInspectionTrustedServersOutputArgs, opts?: InvokeOptions): Output<GetSwitchDhcpServerPolicyArpInspectionTrustedServersResult>
    def get_switch_dhcp_server_policy_arp_inspection_trusted_servers(ending_before: Optional[str] = None,
                                                                     network_id: Optional[str] = None,
                                                                     per_page: Optional[int] = None,
                                                                     starting_after: Optional[str] = None,
                                                                     opts: Optional[InvokeOptions] = None) -> GetSwitchDhcpServerPolicyArpInspectionTrustedServersResult
    def get_switch_dhcp_server_policy_arp_inspection_trusted_servers_output(ending_before: Optional[pulumi.Input[str]] = None,
                                                                     network_id: Optional[pulumi.Input[str]] = None,
                                                                     per_page: Optional[pulumi.Input[int]] = None,
                                                                     starting_after: Optional[pulumi.Input[str]] = None,
                                                                     opts: Optional[InvokeOptions] = None) -> Output[GetSwitchDhcpServerPolicyArpInspectionTrustedServersResult]
    func LookupSwitchDhcpServerPolicyArpInspectionTrustedServers(ctx *Context, args *LookupSwitchDhcpServerPolicyArpInspectionTrustedServersArgs, opts ...InvokeOption) (*LookupSwitchDhcpServerPolicyArpInspectionTrustedServersResult, error)
    func LookupSwitchDhcpServerPolicyArpInspectionTrustedServersOutput(ctx *Context, args *LookupSwitchDhcpServerPolicyArpInspectionTrustedServersOutputArgs, opts ...InvokeOption) LookupSwitchDhcpServerPolicyArpInspectionTrustedServersResultOutput

    > Note: This function is named LookupSwitchDhcpServerPolicyArpInspectionTrustedServers in the Go SDK.

    public static class GetSwitchDhcpServerPolicyArpInspectionTrustedServers 
    {
        public static Task<GetSwitchDhcpServerPolicyArpInspectionTrustedServersResult> InvokeAsync(GetSwitchDhcpServerPolicyArpInspectionTrustedServersArgs args, InvokeOptions? opts = null)
        public static Output<GetSwitchDhcpServerPolicyArpInspectionTrustedServersResult> Invoke(GetSwitchDhcpServerPolicyArpInspectionTrustedServersInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSwitchDhcpServerPolicyArpInspectionTrustedServersResult> getSwitchDhcpServerPolicyArpInspectionTrustedServers(GetSwitchDhcpServerPolicyArpInspectionTrustedServersArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: meraki:networks/getSwitchDhcpServerPolicyArpInspectionTrustedServers:getSwitchDhcpServerPolicyArpInspectionTrustedServers
      arguments:
        # arguments dictionary

    The following arguments are supported:

    NetworkId string
    networkId path parameter. Network ID
    EndingBefore string
    endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    PerPage int
    perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
    StartingAfter string
    startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    NetworkId string
    networkId path parameter. Network ID
    EndingBefore string
    endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    PerPage int
    perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
    StartingAfter string
    startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    networkId String
    networkId path parameter. Network ID
    endingBefore String
    endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    perPage Integer
    perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
    startingAfter String
    startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    networkId string
    networkId path parameter. Network ID
    endingBefore string
    endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    perPage number
    perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
    startingAfter string
    startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    network_id str
    networkId path parameter. Network ID
    ending_before str
    endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    per_page int
    perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
    starting_after str
    startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    networkId String
    networkId path parameter. Network ID
    endingBefore String
    endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    perPage Number
    perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
    startingAfter String
    startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.

    getSwitchDhcpServerPolicyArpInspectionTrustedServers Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Items List<GetSwitchDhcpServerPolicyArpInspectionTrustedServersItem>
    Array of ResponseSwitchGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServers
    NetworkId string
    networkId path parameter. Network ID
    EndingBefore string
    endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    PerPage int
    perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
    StartingAfter string
    startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    Id string
    The provider-assigned unique ID for this managed resource.
    Items []GetSwitchDhcpServerPolicyArpInspectionTrustedServersItem
    Array of ResponseSwitchGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServers
    NetworkId string
    networkId path parameter. Network ID
    EndingBefore string
    endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    PerPage int
    perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
    StartingAfter string
    startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    id String
    The provider-assigned unique ID for this managed resource.
    items List<GetSwitchDhcpServerPolicyArpInspectionTrustedServersItem>
    Array of ResponseSwitchGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServers
    networkId String
    networkId path parameter. Network ID
    endingBefore String
    endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    perPage Integer
    perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
    startingAfter String
    startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    id string
    The provider-assigned unique ID for this managed resource.
    items GetSwitchDhcpServerPolicyArpInspectionTrustedServersItem[]
    Array of ResponseSwitchGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServers
    networkId string
    networkId path parameter. Network ID
    endingBefore string
    endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    perPage number
    perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
    startingAfter string
    startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    id str
    The provider-assigned unique ID for this managed resource.
    items Sequence[GetSwitchDhcpServerPolicyArpInspectionTrustedServersItem]
    Array of ResponseSwitchGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServers
    network_id str
    networkId path parameter. Network ID
    ending_before str
    endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    per_page int
    perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
    starting_after str
    startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    id String
    The provider-assigned unique ID for this managed resource.
    items List<Property Map>
    Array of ResponseSwitchGetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServers
    networkId String
    networkId path parameter. Network ID
    endingBefore String
    endingBefore query parameter. A token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
    perPage Number
    perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000.
    startingAfter String
    startingAfter query parameter. A token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.

    Supporting Types

    GetSwitchDhcpServerPolicyArpInspectionTrustedServersItem

    Ipv4 GetSwitchDhcpServerPolicyArpInspectionTrustedServersItemIpv4
    IPv4 attributes of the trusted server.
    Mac string
    Mac address of the trusted server.
    TrustedServerId string
    ID of the trusted server.
    Vlan int
    Vlan ID of the trusted server.
    Ipv4 GetSwitchDhcpServerPolicyArpInspectionTrustedServersItemIpv4
    IPv4 attributes of the trusted server.
    Mac string
    Mac address of the trusted server.
    TrustedServerId string
    ID of the trusted server.
    Vlan int
    Vlan ID of the trusted server.
    ipv4 GetSwitchDhcpServerPolicyArpInspectionTrustedServersItemIpv4
    IPv4 attributes of the trusted server.
    mac String
    Mac address of the trusted server.
    trustedServerId String
    ID of the trusted server.
    vlan Integer
    Vlan ID of the trusted server.
    ipv4 GetSwitchDhcpServerPolicyArpInspectionTrustedServersItemIpv4
    IPv4 attributes of the trusted server.
    mac string
    Mac address of the trusted server.
    trustedServerId string
    ID of the trusted server.
    vlan number
    Vlan ID of the trusted server.
    ipv4 GetSwitchDhcpServerPolicyArpInspectionTrustedServersItemIpv4
    IPv4 attributes of the trusted server.
    mac str
    Mac address of the trusted server.
    trusted_server_id str
    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.
    trustedServerId String
    ID of the trusted server.
    vlan Number
    Vlan ID of the trusted server.

    GetSwitchDhcpServerPolicyArpInspectionTrustedServersItemIpv4

    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.

    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.4 published on Friday, Jun 14, 2024 by Pulumi