UNPKG

@pulumi/meraki

Version:

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

178 lines (177 loc) 9.08 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.getDevicesPowerModulesStatusesByDevice({ * endingBefore: "string", * networkIds: ["string"], * organizationId: "string", * perPage: 1, * productTypes: ["string"], * serials: ["string"], * startingAfter: "string", * tags: ["string"], * tagsFilterType: "string", * }); * export const merakiOrganizationsDevicesPowerModulesStatusesByDeviceExample = example.then(example => example.items); * ``` */ export declare function getDevicesPowerModulesStatusesByDevice(args: GetDevicesPowerModulesStatusesByDeviceArgs, opts?: pulumi.InvokeOptions): Promise<GetDevicesPowerModulesStatusesByDeviceResult>; /** * A collection of arguments for invoking getDevicesPowerModulesStatusesByDevice. */ export interface GetDevicesPowerModulesStatusesByDeviceArgs { /** * 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. */ endingBefore?: string; /** * networkIds query parameter. Optional parameter to filter device availabilities by network ID. This filter uses multiple exact matches. */ networkIds?: string[]; /** * organizationId path parameter. Organization ID */ organizationId: string; /** * perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000. */ perPage?: number; /** * productTypes query parameter. Optional parameter to filter device availabilities by device product types. This filter uses multiple exact matches. */ productTypes?: string[]; /** * serials query parameter. Optional parameter to filter device availabilities by device serial numbers. This filter uses multiple exact matches. */ serials?: 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. */ startingAfter?: string; /** * tags query parameter. An optional parameter to filter devices by tags. The filtering is case-sensitive. If tags are included, 'tagsFilterType' should also be included (see below). This filter uses multiple exact matches. */ tags?: string[]; /** * tagsFilterType query parameter. An optional parameter of value 'withAnyTags' or 'withAllTags' to indicate whether to return devices which contain ANY or ALL of the included tags. If no type is included, 'withAnyTags' will be selected. */ tagsFilterType?: string; } /** * A collection of values returned by getDevicesPowerModulesStatusesByDevice. */ export interface GetDevicesPowerModulesStatusesByDeviceResult { /** * 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. */ readonly endingBefore?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Array of ResponseOrganizationsGetOrganizationDevicesPowerModulesStatusesByDevice */ readonly items: outputs.organizations.GetDevicesPowerModulesStatusesByDeviceItem[]; /** * networkIds query parameter. Optional parameter to filter device availabilities by network ID. This filter uses multiple exact matches. */ readonly networkIds?: string[]; /** * organizationId path parameter. Organization ID */ readonly organizationId: string; /** * perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000. */ readonly perPage?: number; /** * productTypes query parameter. Optional parameter to filter device availabilities by device product types. This filter uses multiple exact matches. */ readonly productTypes?: string[]; /** * serials query parameter. Optional parameter to filter device availabilities by device serial numbers. This filter uses multiple exact matches. */ readonly serials?: 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. */ readonly startingAfter?: string; /** * tags query parameter. An optional parameter to filter devices by tags. The filtering is case-sensitive. If tags are included, 'tagsFilterType' should also be included (see below). This filter uses multiple exact matches. */ readonly tags?: string[]; /** * tagsFilterType query parameter. An optional parameter of value 'withAnyTags' or 'withAllTags' to indicate whether to return devices which contain ANY or ALL of the included tags. If no type is included, 'withAnyTags' will be selected. */ readonly tagsFilterType?: string; } /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as meraki from "@pulumi/meraki"; * * const example = meraki.organizations.getDevicesPowerModulesStatusesByDevice({ * endingBefore: "string", * networkIds: ["string"], * organizationId: "string", * perPage: 1, * productTypes: ["string"], * serials: ["string"], * startingAfter: "string", * tags: ["string"], * tagsFilterType: "string", * }); * export const merakiOrganizationsDevicesPowerModulesStatusesByDeviceExample = example.then(example => example.items); * ``` */ export declare function getDevicesPowerModulesStatusesByDeviceOutput(args: GetDevicesPowerModulesStatusesByDeviceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDevicesPowerModulesStatusesByDeviceResult>; /** * A collection of arguments for invoking getDevicesPowerModulesStatusesByDevice. */ export interface GetDevicesPowerModulesStatusesByDeviceOutputArgs { /** * 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. */ endingBefore?: pulumi.Input<string>; /** * networkIds query parameter. Optional parameter to filter device availabilities by network ID. This filter uses multiple exact matches. */ networkIds?: pulumi.Input<pulumi.Input<string>[]>; /** * organizationId path parameter. Organization ID */ organizationId: pulumi.Input<string>; /** * perPage query parameter. The number of entries per page returned. Acceptable range is 3 1000. Default is 1000. */ perPage?: pulumi.Input<number>; /** * productTypes query parameter. Optional parameter to filter device availabilities by device product types. This filter uses multiple exact matches. */ productTypes?: pulumi.Input<pulumi.Input<string>[]>; /** * serials query parameter. Optional parameter to filter device availabilities by device serial numbers. This filter uses multiple exact matches. */ serials?: pulumi.Input<pulumi.Input<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. */ startingAfter?: pulumi.Input<string>; /** * tags query parameter. An optional parameter to filter devices by tags. The filtering is case-sensitive. If tags are included, 'tagsFilterType' should also be included (see below). This filter uses multiple exact matches. */ tags?: pulumi.Input<pulumi.Input<string>[]>; /** * tagsFilterType query parameter. An optional parameter of value 'withAnyTags' or 'withAllTags' to indicate whether to return devices which contain ANY or ALL of the included tags. If no type is included, 'withAnyTags' will be selected. */ tagsFilterType?: pulumi.Input<string>; }