UNPKG

@pulumi/meraki

Version:

A Pulumi package for creating and managing Cisco Meraki resources. Based on terraform-provider-meraki: version v0.2.0

108 lines (107 loc) 4.18 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as meraki from "@pulumi/meraki"; * * const example = meraki.organizations.getApplianceUplinksUsageByNetwork({ * organizationId: "string", * t0: "string", * t1: "string", * timespan: 1, * }); * export const merakiOrganizationsApplianceUplinksUsageByNetworkExample = example.then(example => example.items); * ``` */ export declare function getApplianceUplinksUsageByNetwork(args: GetApplianceUplinksUsageByNetworkArgs, opts?: pulumi.InvokeOptions): Promise<GetApplianceUplinksUsageByNetworkResult>; /** * A collection of arguments for invoking getApplianceUplinksUsageByNetwork. */ export interface GetApplianceUplinksUsageByNetworkArgs { /** * organizationId path parameter. Organization ID */ organizationId: string; /** * t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 365 days from today. */ t0?: string; /** * t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 14 days after t0. */ t1?: string; /** * timespan query parameter. The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 14 days. The default is 1 day. */ timespan?: number; } /** * A collection of values returned by getApplianceUplinksUsageByNetwork. */ export interface GetApplianceUplinksUsageByNetworkResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Array of ResponseApplianceGetOrganizationApplianceUplinksUsageByNetwork */ readonly items: outputs.organizations.GetApplianceUplinksUsageByNetworkItem[]; /** * organizationId path parameter. Organization ID */ readonly organizationId: string; /** * t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 365 days from today. */ readonly t0?: string; /** * t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 14 days after t0. */ readonly t1?: string; /** * timespan query parameter. The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 14 days. The default is 1 day. */ readonly timespan?: number; } /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as meraki from "@pulumi/meraki"; * * const example = meraki.organizations.getApplianceUplinksUsageByNetwork({ * organizationId: "string", * t0: "string", * t1: "string", * timespan: 1, * }); * export const merakiOrganizationsApplianceUplinksUsageByNetworkExample = example.then(example => example.items); * ``` */ export declare function getApplianceUplinksUsageByNetworkOutput(args: GetApplianceUplinksUsageByNetworkOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetApplianceUplinksUsageByNetworkResult>; /** * A collection of arguments for invoking getApplianceUplinksUsageByNetwork. */ export interface GetApplianceUplinksUsageByNetworkOutputArgs { /** * organizationId path parameter. Organization ID */ organizationId: pulumi.Input<string>; /** * t0 query parameter. The beginning of the timespan for the data. The maximum lookback period is 365 days from today. */ t0?: pulumi.Input<string>; /** * t1 query parameter. The end of the timespan for the data. t1 can be a maximum of 14 days after t0. */ t1?: pulumi.Input<string>; /** * timespan query parameter. The timespan for which the information will be fetched. If specifying timespan, do not specify parameters t0 and t1. The value must be in seconds and be less than or equal to 14 days. The default is 1 day. */ timespan?: pulumi.Input<number>; }