UNPKG

@pulumi/meraki

Version:

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

135 lines (134 loc) 5.14 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as meraki from "@pulumi/meraki"; * * const example = new meraki.organizations.AdaptivePolicyGroups("example", { * description: "Group of XYZ Corp Employees", * name: "Employee Group", * organizationId: "string", * policyObjects: [{ * id: "2345", * name: "Example Policy Object", * }], * sgt: 1000, * }); * export const merakiOrganizationsAdaptivePolicyGroupsExample = example; * ``` * * ## Import * * ```sh * $ pulumi import meraki:organizations/adaptivePolicyGroups:AdaptivePolicyGroups example "id,organization_id" * ``` */ export declare class AdaptivePolicyGroups extends pulumi.CustomResource { /** * Get an existing AdaptivePolicyGroups resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AdaptivePolicyGroupsState, opts?: pulumi.CustomResourceOptions): AdaptivePolicyGroups; /** * Returns true if the given object is an instance of AdaptivePolicyGroups. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is AdaptivePolicyGroups; readonly createdAt: pulumi.Output<string>; /** * Description of the group (default: "") */ readonly description: pulumi.Output<string>; readonly groupId: pulumi.Output<string>; readonly isDefaultGroup: pulumi.Output<boolean>; /** * Name of the group */ readonly name: pulumi.Output<string>; /** * organizationId path parameter. Organization ID */ readonly organizationId: pulumi.Output<string>; /** * The policy objects that belong to this group; traffic from addresses specified by these policy objects will be tagged with this group's SGT value if no other tagging scheme is being used (each requires one unique attribute) () */ readonly policyObjects: pulumi.Output<outputs.organizations.AdaptivePolicyGroupsPolicyObject[]>; readonly requiredIpMappings: pulumi.Output<string[]>; /** * SGT value of the group */ readonly sgt: pulumi.Output<number>; readonly updatedAt: pulumi.Output<string>; /** * Create a AdaptivePolicyGroups resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AdaptivePolicyGroupsArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AdaptivePolicyGroups resources. */ export interface AdaptivePolicyGroupsState { createdAt?: pulumi.Input<string>; /** * Description of the group (default: "") */ description?: pulumi.Input<string>; groupId?: pulumi.Input<string>; isDefaultGroup?: pulumi.Input<boolean>; /** * Name of the group */ name?: pulumi.Input<string>; /** * organizationId path parameter. Organization ID */ organizationId?: pulumi.Input<string>; /** * The policy objects that belong to this group; traffic from addresses specified by these policy objects will be tagged with this group's SGT value if no other tagging scheme is being used (each requires one unique attribute) () */ policyObjects?: pulumi.Input<pulumi.Input<inputs.organizations.AdaptivePolicyGroupsPolicyObject>[]>; requiredIpMappings?: pulumi.Input<pulumi.Input<string>[]>; /** * SGT value of the group */ sgt?: pulumi.Input<number>; updatedAt?: pulumi.Input<string>; } /** * The set of arguments for constructing a AdaptivePolicyGroups resource. */ export interface AdaptivePolicyGroupsArgs { /** * Description of the group (default: "") */ description?: pulumi.Input<string>; /** * Name of the group */ name?: pulumi.Input<string>; /** * organizationId path parameter. Organization ID */ organizationId: pulumi.Input<string>; /** * The policy objects that belong to this group; traffic from addresses specified by these policy objects will be tagged with this group's SGT value if no other tagging scheme is being used (each requires one unique attribute) () */ policyObjects?: pulumi.Input<pulumi.Input<inputs.organizations.AdaptivePolicyGroupsPolicyObject>[]>; /** * SGT value of the group */ sgt?: pulumi.Input<number>; }