@pulumi/meraki
Version:
A Pulumi package for creating and managing Cisco Meraki resources. Based on terraform-provider-meraki: version v0.2.0
125 lines (124 loc) • 5.12 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as meraki from "@pulumi/meraki";
*
* const example = new meraki.organizations.PolicyObjectsGroups("example", {
* category: "NetworkObjectGroup",
* name: "Web Servers - Datacenter 10",
* objectIds: ["100"],
* organizationId: "string",
* });
* export const merakiOrganizationsPolicyObjectsGroupsExample = example;
* ```
*
* ## Import
*
* ```sh
* $ pulumi import meraki:organizations/policyObjectsGroups:PolicyObjectsGroups example "organization_id,policy_object_group_id"
* ```
*/
export declare class PolicyObjectsGroups extends pulumi.CustomResource {
/**
* Get an existing PolicyObjectsGroups 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?: PolicyObjectsGroupsState, opts?: pulumi.CustomResourceOptions): PolicyObjectsGroups;
/**
* Returns true if the given object is an instance of PolicyObjectsGroups. 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 PolicyObjectsGroups;
/**
* Category of a policy object group (one of: NetworkObjectGroup, GeoLocationGroup, PortObjectGroup, ApplicationGroup)
*/
readonly category: pulumi.Output<string>;
readonly createdAt: pulumi.Output<string>;
/**
* A name for the group of network addresses, unique within the organization (alphanumeric, space, dash, or underscore characters only)
*/
readonly name: pulumi.Output<string>;
readonly networkIds: pulumi.Output<string[]>;
/**
* A list of Policy Object ID's that this NetworkObjectGroup should be associated to (note: these ID's will replace the existing associated Policy Objects)
*/
readonly objectIds: pulumi.Output<string[]>;
/**
* organizationId path parameter. Organization ID
*/
readonly organizationId: pulumi.Output<string>;
/**
* policyObjectGroupId path parameter. Policy object group ID
*/
readonly policyObjectGroupId: pulumi.Output<string>;
readonly updatedAt: pulumi.Output<string>;
/**
* Create a PolicyObjectsGroups 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: PolicyObjectsGroupsArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering PolicyObjectsGroups resources.
*/
export interface PolicyObjectsGroupsState {
/**
* Category of a policy object group (one of: NetworkObjectGroup, GeoLocationGroup, PortObjectGroup, ApplicationGroup)
*/
category?: pulumi.Input<string>;
createdAt?: pulumi.Input<string>;
/**
* A name for the group of network addresses, unique within the organization (alphanumeric, space, dash, or underscore characters only)
*/
name?: pulumi.Input<string>;
networkIds?: pulumi.Input<pulumi.Input<string>[]>;
/**
* A list of Policy Object ID's that this NetworkObjectGroup should be associated to (note: these ID's will replace the existing associated Policy Objects)
*/
objectIds?: pulumi.Input<pulumi.Input<string>[]>;
/**
* organizationId path parameter. Organization ID
*/
organizationId?: pulumi.Input<string>;
/**
* policyObjectGroupId path parameter. Policy object group ID
*/
policyObjectGroupId?: pulumi.Input<string>;
updatedAt?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a PolicyObjectsGroups resource.
*/
export interface PolicyObjectsGroupsArgs {
/**
* Category of a policy object group (one of: NetworkObjectGroup, GeoLocationGroup, PortObjectGroup, ApplicationGroup)
*/
category?: pulumi.Input<string>;
/**
* A name for the group of network addresses, unique within the organization (alphanumeric, space, dash, or underscore characters only)
*/
name?: pulumi.Input<string>;
/**
* A list of Policy Object ID's that this NetworkObjectGroup should be associated to (note: these ID's will replace the existing associated Policy Objects)
*/
objectIds?: pulumi.Input<pulumi.Input<string>[]>;
/**
* organizationId path parameter. Organization ID
*/
organizationId: pulumi.Input<string>;
/**
* policyObjectGroupId path parameter. Policy object group ID
*/
policyObjectGroupId?: pulumi.Input<string>;
}