UNPKG

@bdzscaler/pulumi-zia

Version:

A Pulumi package for creating and managing zia cloud resources.

105 lines (104 loc) 4.07 kB
import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * * [Official documentation](https://help.zscaler.com/zia/about-cloud-application-instances) * * [API documentation](https://help.zscaler.com/zia/cloud-app-control-policy#/cloudApplicationInstances-post) * * The **zia_cloud_application_instance** resource allows the creation and management of cloud application instance. * * ## Example Usage * * ## Import * * Zscaler offers a dedicated tool called Zscaler-Terraformer to allow the automated import of ZIA configurations into Terraform-compliant HashiCorp Configuration Language. * * Visit * * **zia_cloud_application_instance** can be imported by using `<INSTANCE_ID>` or `<INSTANCE_NAME>` as the import ID. * * For example: * * ```sh * $ pulumi import zia:index/cloudApplicationInstance:CloudApplicationInstance example <instance_id> * ``` * * or * * ```sh * $ pulumi import zia:index/cloudApplicationInstance:CloudApplicationInstance example <instance_name> * ``` */ export declare class CloudApplicationInstance extends pulumi.CustomResource { /** * Get an existing CloudApplicationInstance 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?: CloudApplicationInstanceState, opts?: pulumi.CustomResourceOptions): CloudApplicationInstance; /** * Returns true if the given object is an instance of CloudApplicationInstance. 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 CloudApplicationInstance; readonly instanceId: pulumi.Output<number>; /** * List of identifiers for the cloud application instance. */ readonly instanceIdentifiers: pulumi.Output<outputs.CloudApplicationInstanceInstanceIdentifier[] | undefined>; /** * Type of the cloud application instance. */ readonly instanceType: pulumi.Output<string | undefined>; /** * Name of the cloud application instance. */ readonly name: pulumi.Output<string>; /** * Create a CloudApplicationInstance 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?: CloudApplicationInstanceArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CloudApplicationInstance resources. */ export interface CloudApplicationInstanceState { instanceId?: pulumi.Input<number>; /** * List of identifiers for the cloud application instance. */ instanceIdentifiers?: pulumi.Input<pulumi.Input<inputs.CloudApplicationInstanceInstanceIdentifier>[]>; /** * Type of the cloud application instance. */ instanceType?: pulumi.Input<string>; /** * Name of the cloud application instance. */ name?: pulumi.Input<string>; } /** * The set of arguments for constructing a CloudApplicationInstance resource. */ export interface CloudApplicationInstanceArgs { /** * List of identifiers for the cloud application instance. */ instanceIdentifiers?: pulumi.Input<pulumi.Input<inputs.CloudApplicationInstanceInstanceIdentifier>[]>; /** * Type of the cloud application instance. */ instanceType?: pulumi.Input<string>; /** * Name of the cloud application instance. */ name?: pulumi.Input<string>; }