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

meraki.devices.getManagementInterface

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.devices.getManagementInterface({
        serial: "string",
    });
    export const merakiDevicesManagementInterfaceExample = example.then(example => example.item);
    
    import pulumi
    import pulumi_meraki as meraki
    
    example = meraki.devices.get_management_interface(serial="string")
    pulumi.export("merakiDevicesManagementInterfaceExample", example.item)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-meraki/sdk/go/meraki/devices"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := devices.LookupManagementInterface(ctx, &devices.LookupManagementInterfaceArgs{
    			Serial: "string",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("merakiDevicesManagementInterfaceExample", example.Item)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Meraki = Pulumi.Meraki;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Meraki.Devices.GetManagementInterface.Invoke(new()
        {
            Serial = "string",
        });
    
        return new Dictionary<string, object?>
        {
            ["merakiDevicesManagementInterfaceExample"] = example.Apply(getManagementInterfaceResult => getManagementInterfaceResult.Item),
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.meraki.devices.DevicesFunctions;
    import com.pulumi.meraki.devices.inputs.GetManagementInterfaceArgs;
    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 = DevicesFunctions.getManagementInterface(GetManagementInterfaceArgs.builder()
                .serial("string")
                .build());
    
            ctx.export("merakiDevicesManagementInterfaceExample", example.applyValue(getManagementInterfaceResult -> getManagementInterfaceResult.item()));
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: meraki:devices:getManagementInterface
          Arguments:
            serial: string
    outputs:
      merakiDevicesManagementInterfaceExample: ${example.item}
    

    Using getManagementInterface

    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 getManagementInterface(args: GetManagementInterfaceArgs, opts?: InvokeOptions): Promise<GetManagementInterfaceResult>
    function getManagementInterfaceOutput(args: GetManagementInterfaceOutputArgs, opts?: InvokeOptions): Output<GetManagementInterfaceResult>
    def get_management_interface(serial: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetManagementInterfaceResult
    def get_management_interface_output(serial: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetManagementInterfaceResult]
    func LookupManagementInterface(ctx *Context, args *LookupManagementInterfaceArgs, opts ...InvokeOption) (*LookupManagementInterfaceResult, error)
    func LookupManagementInterfaceOutput(ctx *Context, args *LookupManagementInterfaceOutputArgs, opts ...InvokeOption) LookupManagementInterfaceResultOutput

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

    public static class GetManagementInterface 
    {
        public static Task<GetManagementInterfaceResult> InvokeAsync(GetManagementInterfaceArgs args, InvokeOptions? opts = null)
        public static Output<GetManagementInterfaceResult> Invoke(GetManagementInterfaceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetManagementInterfaceResult> getManagementInterface(GetManagementInterfaceArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: meraki:devices/getManagementInterface:getManagementInterface
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Serial string
    serial path parameter.
    Serial string
    serial path parameter.
    serial String
    serial path parameter.
    serial string
    serial path parameter.
    serial str
    serial path parameter.
    serial String
    serial path parameter.

    getManagementInterface Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Item GetManagementInterfaceItem
    Serial string
    serial path parameter.
    Id string
    The provider-assigned unique ID for this managed resource.
    Item GetManagementInterfaceItem
    Serial string
    serial path parameter.
    id String
    The provider-assigned unique ID for this managed resource.
    item GetManagementInterfaceItem
    serial String
    serial path parameter.
    id string
    The provider-assigned unique ID for this managed resource.
    item GetManagementInterfaceItem
    serial string
    serial path parameter.
    id str
    The provider-assigned unique ID for this managed resource.
    item GetManagementInterfaceItem
    serial str
    serial path parameter.
    id String
    The provider-assigned unique ID for this managed resource.
    item Property Map
    serial String
    serial path parameter.

    Supporting Types

    GetManagementInterfaceItem

    ddnsHostnames Property Map
    Dynamic DNS hostnames.
    wan1 Property Map
    WAN 1 settings
    wan2 Property Map
    WAN 2 settings (only for MX devices)

    GetManagementInterfaceItemDdnsHostnames

    ActiveDdnsHostname string
    Active dynamic DNS hostname.
    DdnsHostnameWan1 string
    WAN 1 dynamic DNS hostname.
    DdnsHostnameWan2 string
    WAN 2 dynamic DNS hostname.
    ActiveDdnsHostname string
    Active dynamic DNS hostname.
    DdnsHostnameWan1 string
    WAN 1 dynamic DNS hostname.
    DdnsHostnameWan2 string
    WAN 2 dynamic DNS hostname.
    activeDdnsHostname String
    Active dynamic DNS hostname.
    ddnsHostnameWan1 String
    WAN 1 dynamic DNS hostname.
    ddnsHostnameWan2 String
    WAN 2 dynamic DNS hostname.
    activeDdnsHostname string
    Active dynamic DNS hostname.
    ddnsHostnameWan1 string
    WAN 1 dynamic DNS hostname.
    ddnsHostnameWan2 string
    WAN 2 dynamic DNS hostname.
    active_ddns_hostname str
    Active dynamic DNS hostname.
    ddns_hostname_wan1 str
    WAN 1 dynamic DNS hostname.
    ddns_hostname_wan2 str
    WAN 2 dynamic DNS hostname.
    activeDdnsHostname String
    Active dynamic DNS hostname.
    ddnsHostnameWan1 String
    WAN 1 dynamic DNS hostname.
    ddnsHostnameWan2 String
    WAN 2 dynamic DNS hostname.

    GetManagementInterfaceItemWan1

    StaticDns List<string>
    Up to two DNS IPs.
    StaticGatewayIp string
    The IP of the gateway on the WAN.
    StaticIp string
    The IP the device should use on the WAN.
    StaticSubnetMask string
    The subnet mask for the WAN.
    UsingStaticIp bool
    Configure the interface to have static IP settings or use DHCP.
    Vlan int
    The VLAN that management traffic should be tagged with. Applies whether usingStaticIp is true or false.
    WanEnabled string
    Enable or disable the interface (only for MX devices). Valid values are 'enabled', 'disabled', and 'not configured'.
    StaticDns []string
    Up to two DNS IPs.
    StaticGatewayIp string
    The IP of the gateway on the WAN.
    StaticIp string
    The IP the device should use on the WAN.
    StaticSubnetMask string
    The subnet mask for the WAN.
    UsingStaticIp bool
    Configure the interface to have static IP settings or use DHCP.
    Vlan int
    The VLAN that management traffic should be tagged with. Applies whether usingStaticIp is true or false.
    WanEnabled string
    Enable or disable the interface (only for MX devices). Valid values are 'enabled', 'disabled', and 'not configured'.
    staticDns List<String>
    Up to two DNS IPs.
    staticGatewayIp String
    The IP of the gateway on the WAN.
    staticIp String
    The IP the device should use on the WAN.
    staticSubnetMask String
    The subnet mask for the WAN.
    usingStaticIp Boolean
    Configure the interface to have static IP settings or use DHCP.
    vlan Integer
    The VLAN that management traffic should be tagged with. Applies whether usingStaticIp is true or false.
    wanEnabled String
    Enable or disable the interface (only for MX devices). Valid values are 'enabled', 'disabled', and 'not configured'.
    staticDns string[]
    Up to two DNS IPs.
    staticGatewayIp string
    The IP of the gateway on the WAN.
    staticIp string
    The IP the device should use on the WAN.
    staticSubnetMask string
    The subnet mask for the WAN.
    usingStaticIp boolean
    Configure the interface to have static IP settings or use DHCP.
    vlan number
    The VLAN that management traffic should be tagged with. Applies whether usingStaticIp is true or false.
    wanEnabled string
    Enable or disable the interface (only for MX devices). Valid values are 'enabled', 'disabled', and 'not configured'.
    static_dns Sequence[str]
    Up to two DNS IPs.
    static_gateway_ip str
    The IP of the gateway on the WAN.
    static_ip str
    The IP the device should use on the WAN.
    static_subnet_mask str
    The subnet mask for the WAN.
    using_static_ip bool
    Configure the interface to have static IP settings or use DHCP.
    vlan int
    The VLAN that management traffic should be tagged with. Applies whether usingStaticIp is true or false.
    wan_enabled str
    Enable or disable the interface (only for MX devices). Valid values are 'enabled', 'disabled', and 'not configured'.
    staticDns List<String>
    Up to two DNS IPs.
    staticGatewayIp String
    The IP of the gateway on the WAN.
    staticIp String
    The IP the device should use on the WAN.
    staticSubnetMask String
    The subnet mask for the WAN.
    usingStaticIp Boolean
    Configure the interface to have static IP settings or use DHCP.
    vlan Number
    The VLAN that management traffic should be tagged with. Applies whether usingStaticIp is true or false.
    wanEnabled String
    Enable or disable the interface (only for MX devices). Valid values are 'enabled', 'disabled', and 'not configured'.

    GetManagementInterfaceItemWan2

    StaticDns List<string>
    Up to two DNS IPs.
    StaticGatewayIp string
    The IP of the gateway on the WAN.
    StaticIp string
    The IP the device should use on the WAN.
    StaticSubnetMask string
    The subnet mask for the WAN.
    UsingStaticIp bool
    Configure the interface to have static IP settings or use DHCP.
    Vlan int
    The VLAN that management traffic should be tagged with. Applies whether usingStaticIp is true or false.
    WanEnabled string
    Enable or disable the interface (only for MX devices). Valid values are 'enabled', 'disabled', and 'not configured'.
    StaticDns []string
    Up to two DNS IPs.
    StaticGatewayIp string
    The IP of the gateway on the WAN.
    StaticIp string
    The IP the device should use on the WAN.
    StaticSubnetMask string
    The subnet mask for the WAN.
    UsingStaticIp bool
    Configure the interface to have static IP settings or use DHCP.
    Vlan int
    The VLAN that management traffic should be tagged with. Applies whether usingStaticIp is true or false.
    WanEnabled string
    Enable or disable the interface (only for MX devices). Valid values are 'enabled', 'disabled', and 'not configured'.
    staticDns List<String>
    Up to two DNS IPs.
    staticGatewayIp String
    The IP of the gateway on the WAN.
    staticIp String
    The IP the device should use on the WAN.
    staticSubnetMask String
    The subnet mask for the WAN.
    usingStaticIp Boolean
    Configure the interface to have static IP settings or use DHCP.
    vlan Integer
    The VLAN that management traffic should be tagged with. Applies whether usingStaticIp is true or false.
    wanEnabled String
    Enable or disable the interface (only for MX devices). Valid values are 'enabled', 'disabled', and 'not configured'.
    staticDns string[]
    Up to two DNS IPs.
    staticGatewayIp string
    The IP of the gateway on the WAN.
    staticIp string
    The IP the device should use on the WAN.
    staticSubnetMask string
    The subnet mask for the WAN.
    usingStaticIp boolean
    Configure the interface to have static IP settings or use DHCP.
    vlan number
    The VLAN that management traffic should be tagged with. Applies whether usingStaticIp is true or false.
    wanEnabled string
    Enable or disable the interface (only for MX devices). Valid values are 'enabled', 'disabled', and 'not configured'.
    static_dns Sequence[str]
    Up to two DNS IPs.
    static_gateway_ip str
    The IP of the gateway on the WAN.
    static_ip str
    The IP the device should use on the WAN.
    static_subnet_mask str
    The subnet mask for the WAN.
    using_static_ip bool
    Configure the interface to have static IP settings or use DHCP.
    vlan int
    The VLAN that management traffic should be tagged with. Applies whether usingStaticIp is true or false.
    wan_enabled str
    Enable or disable the interface (only for MX devices). Valid values are 'enabled', 'disabled', and 'not configured'.
    staticDns List<String>
    Up to two DNS IPs.
    staticGatewayIp String
    The IP of the gateway on the WAN.
    staticIp String
    The IP the device should use on the WAN.
    staticSubnetMask String
    The subnet mask for the WAN.
    usingStaticIp Boolean
    Configure the interface to have static IP settings or use DHCP.
    vlan Number
    The VLAN that management traffic should be tagged with. Applies whether usingStaticIp is true or false.
    wanEnabled String
    Enable or disable the interface (only for MX devices). Valid values are 'enabled', 'disabled', and 'not configured'.

    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