UNPKG

@pulumi/meraki

Version:

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

122 lines (121 loc) 5.74 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.getSmSentryPoliciesAssignmentsByNetwork({ * endingBefore: "string", * networkIds: ["string"], * organizationId: "string", * perPage: 1, * startingAfter: "string", * }); * export const merakiOrganizationsSmSentryPoliciesAssignmentsByNetworkExample = example.then(example => example.items); * ``` */ export declare function getSmSentryPoliciesAssignmentsByNetwork(args: GetSmSentryPoliciesAssignmentsByNetworkArgs, opts?: pulumi.InvokeOptions): Promise<GetSmSentryPoliciesAssignmentsByNetworkResult>; /** * A collection of arguments for invoking getSmSentryPoliciesAssignmentsByNetwork. */ export interface GetSmSentryPoliciesAssignmentsByNetworkArgs { /** * 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 Sentry Policies by Network Id */ 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 50. */ perPage?: number; /** * 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; } /** * A collection of values returned by getSmSentryPoliciesAssignmentsByNetwork. */ export interface GetSmSentryPoliciesAssignmentsByNetworkResult { /** * 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 ResponseSmGetOrganizationSmSentryPoliciesAssignmentsByNetwork */ readonly items: outputs.organizations.GetSmSentryPoliciesAssignmentsByNetworkItem[]; /** * networkIds query parameter. Optional parameter to filter Sentry Policies by Network Id */ 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 50. */ readonly perPage?: number; /** * 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; } /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as meraki from "@pulumi/meraki"; * * const example = meraki.organizations.getSmSentryPoliciesAssignmentsByNetwork({ * endingBefore: "string", * networkIds: ["string"], * organizationId: "string", * perPage: 1, * startingAfter: "string", * }); * export const merakiOrganizationsSmSentryPoliciesAssignmentsByNetworkExample = example.then(example => example.items); * ``` */ export declare function getSmSentryPoliciesAssignmentsByNetworkOutput(args: GetSmSentryPoliciesAssignmentsByNetworkOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSmSentryPoliciesAssignmentsByNetworkResult>; /** * A collection of arguments for invoking getSmSentryPoliciesAssignmentsByNetwork. */ export interface GetSmSentryPoliciesAssignmentsByNetworkOutputArgs { /** * 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 Sentry Policies by Network Id */ 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 50. */ perPage?: pulumi.Input<number>; /** * 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>; }