Cisco Meraki v0.4.1 published on Saturday, Mar 15, 2025 by Pulumi
meraki.devices.getLiveToolsPing
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as meraki from "@pulumi/meraki";
const example = meraki.devices.getLiveToolsPing({
id: "string",
serial: "string",
});
export const merakiDevicesLiveToolsPingExample = example.then(example => example.item);
import pulumi
import pulumi_meraki as meraki
example = meraki.devices.get_live_tools_ping(id="string",
serial="string")
pulumi.export("merakiDevicesLiveToolsPingExample", 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.LookupLiveToolsPing(ctx, &devices.LookupLiveToolsPingArgs{
Id: "string",
Serial: "string",
}, nil)
if err != nil {
return err
}
ctx.Export("merakiDevicesLiveToolsPingExample", 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.GetLiveToolsPing.Invoke(new()
{
Id = "string",
Serial = "string",
});
return new Dictionary<string, object?>
{
["merakiDevicesLiveToolsPingExample"] = example.Apply(getLiveToolsPingResult => getLiveToolsPingResult.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.GetLiveToolsPingArgs;
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.getLiveToolsPing(GetLiveToolsPingArgs.builder()
.id("string")
.serial("string")
.build());
ctx.export("merakiDevicesLiveToolsPingExample", example.applyValue(getLiveToolsPingResult -> getLiveToolsPingResult.item()));
}
}
variables:
example:
fn::invoke:
function: meraki:devices:getLiveToolsPing
arguments:
id: string
serial: string
outputs:
merakiDevicesLiveToolsPingExample: ${example.item}
Using getLiveToolsPing
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 getLiveToolsPing(args: GetLiveToolsPingArgs, opts?: InvokeOptions): Promise<GetLiveToolsPingResult>
function getLiveToolsPingOutput(args: GetLiveToolsPingOutputArgs, opts?: InvokeOptions): Output<GetLiveToolsPingResult>
def get_live_tools_ping(id: Optional[str] = None,
serial: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLiveToolsPingResult
def get_live_tools_ping_output(id: Optional[pulumi.Input[str]] = None,
serial: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLiveToolsPingResult]
func LookupLiveToolsPing(ctx *Context, args *LookupLiveToolsPingArgs, opts ...InvokeOption) (*LookupLiveToolsPingResult, error)
func LookupLiveToolsPingOutput(ctx *Context, args *LookupLiveToolsPingOutputArgs, opts ...InvokeOption) LookupLiveToolsPingResultOutput
> Note: This function is named LookupLiveToolsPing
in the Go SDK.
public static class GetLiveToolsPing
{
public static Task<GetLiveToolsPingResult> InvokeAsync(GetLiveToolsPingArgs args, InvokeOptions? opts = null)
public static Output<GetLiveToolsPingResult> Invoke(GetLiveToolsPingInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLiveToolsPingResult> getLiveToolsPing(GetLiveToolsPingArgs args, InvokeOptions options)
public static Output<GetLiveToolsPingResult> getLiveToolsPing(GetLiveToolsPingArgs args, InvokeOptions options)
fn::invoke:
function: meraki:devices/getLiveToolsPing:getLiveToolsPing
arguments:
# arguments dictionary
The following arguments are supported:
getLiveToolsPing Result
The following output properties are available:
- Id string
- id path parameter.
- Item
Get
Live Tools Ping Item - Serial string
- serial path parameter.
- Id string
- id path parameter.
- Item
Get
Live Tools Ping Item - Serial string
- serial path parameter.
- id String
- id path parameter.
- item
Get
Live Tools Ping Item - serial String
- serial path parameter.
- id string
- id path parameter.
- item
Get
Live Tools Ping Item - serial string
- serial path parameter.
- id str
- id path parameter.
- item
Get
Live Tools Ping Item - serial str
- serial path parameter.
- id String
- id path parameter.
- item Property Map
- serial String
- serial path parameter.
Supporting Types
GetLiveToolsPingItem
- Ping
Id This property is required. string - Id to check the status of your ping request.
- Request
This property is required. GetLive Tools Ping Item Request - Ping request parameters
- Results
This property is required. GetLive Tools Ping Item Results - Results of the ping request.
- Status
This property is required. string - Status of the ping request.
- Url
This property is required. string - GET this url to check the status of your ping request.
- Ping
Id This property is required. string - Id to check the status of your ping request.
- Request
This property is required. GetLive Tools Ping Item Request - Ping request parameters
- Results
This property is required. GetLive Tools Ping Item Results - Results of the ping request.
- Status
This property is required. string - Status of the ping request.
- Url
This property is required. string - GET this url to check the status of your ping request.
- ping
Id This property is required. String - Id to check the status of your ping request.
- request
This property is required. GetLive Tools Ping Item Request - Ping request parameters
- results
This property is required. GetLive Tools Ping Item Results - Results of the ping request.
- status
This property is required. String - Status of the ping request.
- url
This property is required. String - GET this url to check the status of your ping request.
- ping
Id This property is required. string - Id to check the status of your ping request.
- request
This property is required. GetLive Tools Ping Item Request - Ping request parameters
- results
This property is required. GetLive Tools Ping Item Results - Results of the ping request.
- status
This property is required. string - Status of the ping request.
- url
This property is required. string - GET this url to check the status of your ping request.
- ping_
id This property is required. str - Id to check the status of your ping request.
- request
This property is required. GetLive Tools Ping Item Request - Ping request parameters
- results
This property is required. GetLive Tools Ping Item Results - Results of the ping request.
- status
This property is required. str - Status of the ping request.
- url
This property is required. str - GET this url to check the status of your ping request.
- ping
Id This property is required. String - Id to check the status of your ping request.
- request
This property is required. Property Map - Ping request parameters
- results
This property is required. Property Map - Results of the ping request.
- status
This property is required. String - Status of the ping request.
- url
This property is required. String - GET this url to check the status of your ping request.
GetLiveToolsPingItemRequest
GetLiveToolsPingItemResults
- Latencies
This property is required. GetLive Tools Ping Item Results Latencies - Packet latency stats
- Loss
This property is required. GetLive Tools Ping Item Results Loss - Lost packets
- Received
This property is required. int - Number of packets received
- Replies
This property is required. List<GetLive Tools Ping Item Results Reply> - Received packets
- Sent
This property is required. int - Number of packets sent
- Latencies
This property is required. GetLive Tools Ping Item Results Latencies - Packet latency stats
- Loss
This property is required. GetLive Tools Ping Item Results Loss - Lost packets
- Received
This property is required. int - Number of packets received
- Replies
This property is required. []GetLive Tools Ping Item Results Reply - Received packets
- Sent
This property is required. int - Number of packets sent
- latencies
This property is required. GetLive Tools Ping Item Results Latencies - Packet latency stats
- loss
This property is required. GetLive Tools Ping Item Results Loss - Lost packets
- received
This property is required. Integer - Number of packets received
- replies
This property is required. List<GetLive Tools Ping Item Results Reply> - Received packets
- sent
This property is required. Integer - Number of packets sent
- latencies
This property is required. GetLive Tools Ping Item Results Latencies - Packet latency stats
- loss
This property is required. GetLive Tools Ping Item Results Loss - Lost packets
- received
This property is required. number - Number of packets received
- replies
This property is required. GetLive Tools Ping Item Results Reply[] - Received packets
- sent
This property is required. number - Number of packets sent
- latencies
This property is required. GetLive Tools Ping Item Results Latencies - Packet latency stats
- loss
This property is required. GetLive Tools Ping Item Results Loss - Lost packets
- received
This property is required. int - Number of packets received
- replies
This property is required. Sequence[GetLive Tools Ping Item Results Reply] - Received packets
- sent
This property is required. int - Number of packets sent
- latencies
This property is required. Property Map - Packet latency stats
- loss
This property is required. Property Map - Lost packets
- received
This property is required. Number - Number of packets received
- replies
This property is required. List<Property Map> - Received packets
- sent
This property is required. Number - Number of packets sent
GetLiveToolsPingItemResultsLatencies
GetLiveToolsPingItemResultsLoss
- Percentage
This property is required. double - Percentage of packets lost
- Percentage
This property is required. float64 - Percentage of packets lost
- percentage
This property is required. Double - Percentage of packets lost
- percentage
This property is required. number - Percentage of packets lost
- percentage
This property is required. float - Percentage of packets lost
- percentage
This property is required. Number - Percentage of packets lost
GetLiveToolsPingItemResultsReply
- Latency
This property is required. double - Latency of the packet in milliseconds
- Sequence
Id This property is required. int - Sequence ID of the packet
- Size
This property is required. int - Size of the packet in bytes
- Latency
This property is required. float64 - Latency of the packet in milliseconds
- Sequence
Id This property is required. int - Sequence ID of the packet
- Size
This property is required. int - Size of the packet in bytes
- latency
This property is required. Double - Latency of the packet in milliseconds
- sequence
Id This property is required. Integer - Sequence ID of the packet
- size
This property is required. Integer - Size of the packet in bytes
- latency
This property is required. number - Latency of the packet in milliseconds
- sequence
Id This property is required. number - Sequence ID of the packet
- size
This property is required. number - Size of the packet in bytes
- latency
This property is required. float - Latency of the packet in milliseconds
- sequence_
id This property is required. int - Sequence ID of the packet
- size
This property is required. int - Size of the packet in bytes
- latency
This property is required. Number - Latency of the packet in milliseconds
- sequence
Id This property is required. Number - Sequence ID of the packet
- size
This property is required. Number - Size of the packet in bytes
Package Details
- Repository
- meraki pulumi/pulumi-meraki
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
meraki
Terraform Provider.