1. Packages
  2. Zscaler Internet Access (ZIA)
  3. API Docs
  4. CloudApplicationInstance
Viewing docs for pulumi-resource-zia v1.3.4
published on Tuesday, Mar 10, 2026 by Zscaler
zia logo
Viewing docs for pulumi-resource-zia v1.3.4
published on Tuesday, Mar 10, 2026 by Zscaler

    The zia_cloud_application_instance resource manages cloud application instances in the Zscaler Internet Access (ZIA) cloud service. Cloud application instances allow you to define specific tenants or instances of cloud applications for granular policy control.

    Example Usage

    Cloud Application Instance

    Example coming soon!

    Example coming soon!

    Example coming soon!

    import * as zia from "@bdzscaler/pulumi-zia";
    
    const example = new zia.CloudApplicationInstance("example", {
        name: "Example Instance",
        instanceType: "SALESFORCE",
        instanceIdentifiers: [{
            instanceIdentifier: "example.my.salesforce.com",
            identifierType: "URL",
        }],
    });
    
    import zscaler_pulumi_zia as zia
    
    example = zia.CloudApplicationInstance("example",
        name="Example Instance",
        instance_type="SALESFORCE",
        instance_identifiers=[{
            "instance_identifier": "example.my.salesforce.com",
            "identifier_type": "URL",
        }],
    )
    
    resources:
      example:
        type: zia:CloudApplicationInstance
        properties:
          name: Example Instance
          instanceType: SALESFORCE
          instanceIdentifiers:
            - instanceIdentifier: example.my.salesforce.com
              identifierType: URL
    

    Create CloudApplicationInstance Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CloudApplicationInstance(name: string, args?: CloudApplicationInstanceArgs, opts?: CustomResourceOptions);
    @overload
    def CloudApplicationInstance(resource_name: str,
                                 args: Optional[CloudApplicationInstanceArgs] = None,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def CloudApplicationInstance(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 instance_identifiers: Optional[Sequence[InstanceIdentifierInputArgs]] = None,
                                 instance_type: Optional[str] = None,
                                 name: Optional[str] = None)
    func NewCloudApplicationInstance(ctx *Context, name string, args *CloudApplicationInstanceArgs, opts ...ResourceOption) (*CloudApplicationInstance, error)
    public CloudApplicationInstance(string name, CloudApplicationInstanceArgs? args = null, CustomResourceOptions? opts = null)
    public CloudApplicationInstance(String name, CloudApplicationInstanceArgs args)
    public CloudApplicationInstance(String name, CloudApplicationInstanceArgs args, CustomResourceOptions options)
    
    type: zia:CloudApplicationInstance
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CloudApplicationInstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CloudApplicationInstanceArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CloudApplicationInstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CloudApplicationInstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CloudApplicationInstanceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var cloudApplicationInstanceResource = new Zia.CloudApplicationInstance("cloudApplicationInstanceResource", new()
    {
        InstanceIdentifiers = new[]
        {
            new Zia.Inputs.InstanceIdentifierInputArgs
            {
                IdentifierType = "string",
                InstanceId = 0,
                InstanceIdentifier = "string",
                InstanceIdentifierName = "string",
            },
        },
        InstanceType = "string",
        Name = "string",
    });
    
    example, err := zia.NewCloudApplicationInstance(ctx, "cloudApplicationInstanceResource", &zia.CloudApplicationInstanceArgs{
    	InstanceIdentifiers: pulumizia.InstanceIdentifierInputArray{
    		&pulumizia.InstanceIdentifierInputArgs{
    			IdentifierType:         pulumi.String("string"),
    			InstanceId:             pulumi.Int(0),
    			InstanceIdentifier:     pulumi.String("string"),
    			InstanceIdentifierName: pulumi.String("string"),
    		},
    	},
    	InstanceType: pulumi.String("string"),
    	Name:         pulumi.String("string"),
    })
    
    var cloudApplicationInstanceResource = new CloudApplicationInstance("cloudApplicationInstanceResource", CloudApplicationInstanceArgs.builder()
        .instanceIdentifiers(InstanceIdentifierInputArgs.builder()
            .identifierType("string")
            .instanceId(0)
            .instanceIdentifier("string")
            .instanceIdentifierName("string")
            .build())
        .instanceType("string")
        .name("string")
        .build());
    
    cloud_application_instance_resource = zia.CloudApplicationInstance("cloudApplicationInstanceResource",
        instance_identifiers=[{
            "identifier_type": "string",
            "instance_id": 0,
            "instance_identifier": "string",
            "instance_identifier_name": "string",
        }],
        instance_type="string",
        name="string")
    
    const cloudApplicationInstanceResource = new zia.CloudApplicationInstance("cloudApplicationInstanceResource", {
        instanceIdentifiers: [{
            identifierType: "string",
            instanceId: 0,
            instanceIdentifier: "string",
            instanceIdentifierName: "string",
        }],
        instanceType: "string",
        name: "string",
    });
    
    type: zia:CloudApplicationInstance
    properties:
        instanceIdentifiers:
            - identifierType: string
              instanceId: 0
              instanceIdentifier: string
              instanceIdentifierName: string
        instanceType: string
        name: string
    

    CloudApplicationInstance Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The CloudApplicationInstance resource accepts the following input properties:

    InstanceIdentifiers List<zscaler.PulumiPackage.Zia.Inputs.InstanceIdentifierInput>
    List of instance identifiers for the cloud application.
    InstanceType string
    The type of cloud application (e.g. SALESFORCE, SLACK, OFFICE365).
    Name string
    The name of the cloud application instance.
    InstanceIdentifiers []InstanceIdentifierInputArgs
    List of instance identifiers for the cloud application.
    InstanceType string
    The type of cloud application (e.g. SALESFORCE, SLACK, OFFICE365).
    Name string
    The name of the cloud application instance.
    instanceIdentifiers List<InstanceIdentifierInput>
    List of instance identifiers for the cloud application.
    instanceType String
    The type of cloud application (e.g. SALESFORCE, SLACK, OFFICE365).
    name String
    The name of the cloud application instance.
    instanceIdentifiers InstanceIdentifierInput[]
    List of instance identifiers for the cloud application.
    instanceType string
    The type of cloud application (e.g. SALESFORCE, SLACK, OFFICE365).
    name string
    The name of the cloud application instance.
    instance_identifiers Sequence[InstanceIdentifierInputArgs]
    List of instance identifiers for the cloud application.
    instance_type str
    The type of cloud application (e.g. SALESFORCE, SLACK, OFFICE365).
    name str
    The name of the cloud application instance.
    instanceIdentifiers List<Property Map>
    List of instance identifiers for the cloud application.
    instanceType String
    The type of cloud application (e.g. SALESFORCE, SLACK, OFFICE365).
    name String
    The name of the cloud application instance.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CloudApplicationInstance resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId int
    The system-generated ID of the cloud application instance.
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId int
    The system-generated ID of the cloud application instance.
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId Integer
    The system-generated ID of the cloud application instance.
    id string
    The provider-assigned unique ID for this managed resource.
    instanceId number
    The system-generated ID of the cloud application instance.
    id str
    The provider-assigned unique ID for this managed resource.
    instance_id int
    The system-generated ID of the cloud application instance.
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId Number
    The system-generated ID of the cloud application instance.

    Supporting Types

    InstanceIdentifierInput, InstanceIdentifierInputArgs

    Import

    An existing Cloud Application Instance can be imported using its resource ID, e.g.

    $ pulumi import zia:index:CloudApplicationInstance example 12345
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    zia zscaler/pulumi-zia
    License
    zia logo
    Viewing docs for pulumi-resource-zia v1.3.4
    published on Tuesday, Mar 10, 2026 by Zscaler
      Try Pulumi Cloud free. Your team will thank you.