1. Packages
  2. Cisco Meraki Provider
  3. API Docs
  4. devices
  5. getLiveToolsWakeOnLan
Cisco Meraki v0.4.1 published on Saturday, Mar 15, 2025 by Pulumi

meraki.devices.getLiveToolsWakeOnLan

Explore with Pulumi AI

Cisco Meraki v0.4.1 published on Saturday, Mar 15, 2025 by Pulumi

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as meraki from "@pulumi/meraki";

const example = meraki.devices.getLiveToolsWakeOnLan({
    serial: "string",
    wakeOnLanId: "string",
});
export const merakiDevicesLiveToolsWakeOnLanExample = example.then(example => example.item);
Copy
import pulumi
import pulumi_meraki as meraki

example = meraki.devices.get_live_tools_wake_on_lan(serial="string",
    wake_on_lan_id="string")
pulumi.export("merakiDevicesLiveToolsWakeOnLanExample", example.item)
Copy
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.LookupLiveToolsWakeOnLan(ctx, &devices.LookupLiveToolsWakeOnLanArgs{
			Serial:      "string",
			WakeOnLanId: "string",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("merakiDevicesLiveToolsWakeOnLanExample", example.Item)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Meraki = Pulumi.Meraki;

return await Deployment.RunAsync(() => 
{
    var example = Meraki.Devices.GetLiveToolsWakeOnLan.Invoke(new()
    {
        Serial = "string",
        WakeOnLanId = "string",
    });

    return new Dictionary<string, object?>
    {
        ["merakiDevicesLiveToolsWakeOnLanExample"] = example.Apply(getLiveToolsWakeOnLanResult => getLiveToolsWakeOnLanResult.Item),
    };
});
Copy
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.GetLiveToolsWakeOnLanArgs;
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.getLiveToolsWakeOnLan(GetLiveToolsWakeOnLanArgs.builder()
            .serial("string")
            .wakeOnLanId("string")
            .build());

        ctx.export("merakiDevicesLiveToolsWakeOnLanExample", example.applyValue(getLiveToolsWakeOnLanResult -> getLiveToolsWakeOnLanResult.item()));
    }
}
Copy
variables:
  example:
    fn::invoke:
      function: meraki:devices:getLiveToolsWakeOnLan
      arguments:
        serial: string
        wakeOnLanId: string
outputs:
  merakiDevicesLiveToolsWakeOnLanExample: ${example.item}
Copy

Using getLiveToolsWakeOnLan

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 getLiveToolsWakeOnLan(args: GetLiveToolsWakeOnLanArgs, opts?: InvokeOptions): Promise<GetLiveToolsWakeOnLanResult>
function getLiveToolsWakeOnLanOutput(args: GetLiveToolsWakeOnLanOutputArgs, opts?: InvokeOptions): Output<GetLiveToolsWakeOnLanResult>
Copy
def get_live_tools_wake_on_lan(serial: Optional[str] = None,
                               wake_on_lan_id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetLiveToolsWakeOnLanResult
def get_live_tools_wake_on_lan_output(serial: Optional[pulumi.Input[str]] = None,
                               wake_on_lan_id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetLiveToolsWakeOnLanResult]
Copy
func LookupLiveToolsWakeOnLan(ctx *Context, args *LookupLiveToolsWakeOnLanArgs, opts ...InvokeOption) (*LookupLiveToolsWakeOnLanResult, error)
func LookupLiveToolsWakeOnLanOutput(ctx *Context, args *LookupLiveToolsWakeOnLanOutputArgs, opts ...InvokeOption) LookupLiveToolsWakeOnLanResultOutput
Copy

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

public static class GetLiveToolsWakeOnLan 
{
    public static Task<GetLiveToolsWakeOnLanResult> InvokeAsync(GetLiveToolsWakeOnLanArgs args, InvokeOptions? opts = null)
    public static Output<GetLiveToolsWakeOnLanResult> Invoke(GetLiveToolsWakeOnLanInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetLiveToolsWakeOnLanResult> getLiveToolsWakeOnLan(GetLiveToolsWakeOnLanArgs args, InvokeOptions options)
public static Output<GetLiveToolsWakeOnLanResult> getLiveToolsWakeOnLan(GetLiveToolsWakeOnLanArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: meraki:devices/getLiveToolsWakeOnLan:getLiveToolsWakeOnLan
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Serial This property is required. string
serial path parameter.
WakeOnLanId This property is required. string
wakeOnLanId path parameter. Wake on lan ID
Serial This property is required. string
serial path parameter.
WakeOnLanId This property is required. string
wakeOnLanId path parameter. Wake on lan ID
serial This property is required. String
serial path parameter.
wakeOnLanId This property is required. String
wakeOnLanId path parameter. Wake on lan ID
serial This property is required. string
serial path parameter.
wakeOnLanId This property is required. string
wakeOnLanId path parameter. Wake on lan ID
serial This property is required. str
serial path parameter.
wake_on_lan_id This property is required. str
wakeOnLanId path parameter. Wake on lan ID
serial This property is required. String
serial path parameter.
wakeOnLanId This property is required. String
wakeOnLanId path parameter. Wake on lan ID

getLiveToolsWakeOnLan Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Item GetLiveToolsWakeOnLanItem
Serial string
serial path parameter.
WakeOnLanId string
wakeOnLanId path parameter. Wake on lan ID
Id string
The provider-assigned unique ID for this managed resource.
Item GetLiveToolsWakeOnLanItem
Serial string
serial path parameter.
WakeOnLanId string
wakeOnLanId path parameter. Wake on lan ID
id String
The provider-assigned unique ID for this managed resource.
item GetLiveToolsWakeOnLanItem
serial String
serial path parameter.
wakeOnLanId String
wakeOnLanId path parameter. Wake on lan ID
id string
The provider-assigned unique ID for this managed resource.
item GetLiveToolsWakeOnLanItem
serial string
serial path parameter.
wakeOnLanId string
wakeOnLanId path parameter. Wake on lan ID
id str
The provider-assigned unique ID for this managed resource.
item GetLiveToolsWakeOnLanItem
serial str
serial path parameter.
wake_on_lan_id str
wakeOnLanId path parameter. Wake on lan ID
id String
The provider-assigned unique ID for this managed resource.
item Property Map
serial String
serial path parameter.
wakeOnLanId String
wakeOnLanId path parameter. Wake on lan ID

Supporting Types

GetLiveToolsWakeOnLanItem

Error This property is required. string
An error message for a failed execution
Request This property is required. GetLiveToolsWakeOnLanItemRequest
The parameters of the Wake-on-LAN request
Status This property is required. string
Status of the Wake-on-LAN request
Url This property is required. string
GET this url to check the status of your ping request
WakeOnLanId This property is required. string
ID of the Wake-on-LAN job
Error This property is required. string
An error message for a failed execution
Request This property is required. GetLiveToolsWakeOnLanItemRequest
The parameters of the Wake-on-LAN request
Status This property is required. string
Status of the Wake-on-LAN request
Url This property is required. string
GET this url to check the status of your ping request
WakeOnLanId This property is required. string
ID of the Wake-on-LAN job
error This property is required. String
An error message for a failed execution
request This property is required. GetLiveToolsWakeOnLanItemRequest
The parameters of the Wake-on-LAN request
status This property is required. String
Status of the Wake-on-LAN request
url This property is required. String
GET this url to check the status of your ping request
wakeOnLanId This property is required. String
ID of the Wake-on-LAN job
error This property is required. string
An error message for a failed execution
request This property is required. GetLiveToolsWakeOnLanItemRequest
The parameters of the Wake-on-LAN request
status This property is required. string
Status of the Wake-on-LAN request
url This property is required. string
GET this url to check the status of your ping request
wakeOnLanId This property is required. string
ID of the Wake-on-LAN job
error This property is required. str
An error message for a failed execution
request This property is required. GetLiveToolsWakeOnLanItemRequest
The parameters of the Wake-on-LAN request
status This property is required. str
Status of the Wake-on-LAN request
url This property is required. str
GET this url to check the status of your ping request
wake_on_lan_id This property is required. str
ID of the Wake-on-LAN job
error This property is required. String
An error message for a failed execution
request This property is required. Property Map
The parameters of the Wake-on-LAN request
status This property is required. String
Status of the Wake-on-LAN request
url This property is required. String
GET this url to check the status of your ping request
wakeOnLanId This property is required. String
ID of the Wake-on-LAN job

GetLiveToolsWakeOnLanItemRequest

Mac This property is required. string
The target's MAC address
Serial This property is required. string
Device serial number
VlanId This property is required. int
The target's VLAN (1 to 4094)
Mac This property is required. string
The target's MAC address
Serial This property is required. string
Device serial number
VlanId This property is required. int
The target's VLAN (1 to 4094)
mac This property is required. String
The target's MAC address
serial This property is required. String
Device serial number
vlanId This property is required. Integer
The target's VLAN (1 to 4094)
mac This property is required. string
The target's MAC address
serial This property is required. string
Device serial number
vlanId This property is required. number
The target's VLAN (1 to 4094)
mac This property is required. str
The target's MAC address
serial This property is required. str
Device serial number
vlan_id This property is required. int
The target's VLAN (1 to 4094)
mac This property is required. String
The target's MAC address
serial This property is required. String
Device serial number
vlanId This property is required. Number
The target's VLAN (1 to 4094)

Package Details

Repository
meraki pulumi/pulumi-meraki
License
Apache-2.0
Notes
This Pulumi package is based on the meraki Terraform Provider.
Cisco Meraki v0.4.1 published on Saturday, Mar 15, 2025 by Pulumi