@pulumi/meraki
Version:
A Pulumi package for creating and managing Cisco Meraki resources. Based on terraform-provider-meraki: version v0.2.0
190 lines (189 loc) • 6.34 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.PolicyObjects("example", {
* category: "network",
* cidr: "10.0.0.0/24",
* fqdn: "example.com",
* groupIds: ["8"],
* ip: "1.2.3.4",
* mask: "255.255.0.0",
* name: "Web Servers - Datacenter 10",
* organizationId: "string",
* type: "cidr",
* });
* export const merakiOrganizationsPolicyObjectsExample = example;
* ```
*
* ## Import
*
* ```sh
* $ pulumi import meraki:organizations/policyObjects:PolicyObjects example "organization_id,policy_object_id"
* ```
*/
export declare class PolicyObjects extends pulumi.CustomResource {
/**
* Get an existing PolicyObjects 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?: PolicyObjectsState, opts?: pulumi.CustomResourceOptions): PolicyObjects;
/**
* Returns true if the given object is an instance of PolicyObjects. 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 PolicyObjects;
/**
* Category of a policy object (one of: adaptivePolicy, network)
*/
readonly category: pulumi.Output<string>;
/**
* CIDR Value of a policy object (e.g. 10.11.12.1/24")
*/
readonly cidr: pulumi.Output<string>;
readonly createdAt: pulumi.Output<string>;
/**
* Fully qualified domain name of policy object (e.g. "example.com")
*/
readonly fqdn: pulumi.Output<string>;
/**
* The IDs of policy object groups the policy object belongs to
*/
readonly groupIds: pulumi.Output<string[]>;
/**
* IP Address of a policy object (e.g. "1.2.3.4")
*/
readonly ip: pulumi.Output<string>;
/**
* Mask of a policy object (e.g. "255.255.0.0")
*/
readonly mask: pulumi.Output<string>;
/**
* Name of a policy object, unique within the organization (alphanumeric, space, dash, or underscore characters only)
*/
readonly name: pulumi.Output<string>;
readonly networkIds: pulumi.Output<string[]>;
/**
* organizationId path parameter. Organization ID
*/
readonly organizationId: pulumi.Output<string>;
/**
* policyObjectId path parameter. Policy object ID
*/
readonly policyObjectId: pulumi.Output<string>;
/**
* Type of a policy object (one of: adaptivePolicyIpv4Cidr, cidr, fqdn, ipAndMask)
*/
readonly type: pulumi.Output<string>;
readonly updatedAt: pulumi.Output<string>;
/**
* Create a PolicyObjects 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: PolicyObjectsArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering PolicyObjects resources.
*/
export interface PolicyObjectsState {
/**
* Category of a policy object (one of: adaptivePolicy, network)
*/
category?: pulumi.Input<string>;
/**
* CIDR Value of a policy object (e.g. 10.11.12.1/24")
*/
cidr?: pulumi.Input<string>;
createdAt?: pulumi.Input<string>;
/**
* Fully qualified domain name of policy object (e.g. "example.com")
*/
fqdn?: pulumi.Input<string>;
/**
* The IDs of policy object groups the policy object belongs to
*/
groupIds?: pulumi.Input<pulumi.Input<string>[]>;
/**
* IP Address of a policy object (e.g. "1.2.3.4")
*/
ip?: pulumi.Input<string>;
/**
* Mask of a policy object (e.g. "255.255.0.0")
*/
mask?: pulumi.Input<string>;
/**
* Name of a policy object, unique within the organization (alphanumeric, space, dash, or underscore characters only)
*/
name?: pulumi.Input<string>;
networkIds?: pulumi.Input<pulumi.Input<string>[]>;
/**
* organizationId path parameter. Organization ID
*/
organizationId?: pulumi.Input<string>;
/**
* policyObjectId path parameter. Policy object ID
*/
policyObjectId?: pulumi.Input<string>;
/**
* Type of a policy object (one of: adaptivePolicyIpv4Cidr, cidr, fqdn, ipAndMask)
*/
type?: pulumi.Input<string>;
updatedAt?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a PolicyObjects resource.
*/
export interface PolicyObjectsArgs {
/**
* Category of a policy object (one of: adaptivePolicy, network)
*/
category?: pulumi.Input<string>;
/**
* CIDR Value of a policy object (e.g. 10.11.12.1/24")
*/
cidr?: pulumi.Input<string>;
/**
* Fully qualified domain name of policy object (e.g. "example.com")
*/
fqdn?: pulumi.Input<string>;
/**
* The IDs of policy object groups the policy object belongs to
*/
groupIds?: pulumi.Input<pulumi.Input<string>[]>;
/**
* IP Address of a policy object (e.g. "1.2.3.4")
*/
ip?: pulumi.Input<string>;
/**
* Mask of a policy object (e.g. "255.255.0.0")
*/
mask?: pulumi.Input<string>;
/**
* Name of a policy object, unique within the organization (alphanumeric, space, dash, or underscore characters only)
*/
name?: pulumi.Input<string>;
/**
* organizationId path parameter. Organization ID
*/
organizationId: pulumi.Input<string>;
/**
* policyObjectId path parameter. Policy object ID
*/
policyObjectId?: pulumi.Input<string>;
/**
* Type of a policy object (one of: adaptivePolicyIpv4Cidr, cidr, fqdn, ipAndMask)
*/
type?: pulumi.Input<string>;
}