published on Friday, Mar 13, 2026 by Zscaler
published on Friday, Mar 13, 2026 by Zscaler
The zia.SubCloud resource manages sub-cloud configurations in the Zscaler Internet Access (ZIA) cloud. Sub-clouds represent regional cloud instances with associated datacenters and exclusion rules. Create and update both use the same API operation. Deleting the Pulumi resource does not remove the underlying sub-cloud configuration.
Example Usage
Basic Sub-Cloud
Example coming soon!
Example coming soon!
Example coming soon!
import * as zia from "@bdzscaler/pulumi-zia";
const example = new zia.SubCloud("example", {
cloudId: 1,
exclusions: [{
datacenter: {
resourceId: 100,
name: "US-East",
country: "US",
},
country: "US",
}],
});
import zscaler_pulumi_zia as zia
example = zia.SubCloud("example",
cloud_id=1,
exclusions=[{
"datacenter": {
"resource_id": 100,
"name": "US-East",
"country": "US",
},
"country": "US",
}],
)
resources:
example:
type: zia:SubCloud
properties:
cloudId: 1
exclusions:
- datacenter:
resourceId: 100
name: US-East
country: US
country: US
Create SubCloud Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SubCloud(name: string, args: SubCloudArgs, opts?: CustomResourceOptions);@overload
def SubCloud(resource_name: str,
args: SubCloudArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SubCloud(resource_name: str,
opts: Optional[ResourceOptions] = None,
cloud_id: Optional[int] = None,
exclusions: Optional[Sequence[SubCloudExclusionInputArgs]] = None)func NewSubCloud(ctx *Context, name string, args SubCloudArgs, opts ...ResourceOption) (*SubCloud, error)public SubCloud(string name, SubCloudArgs args, CustomResourceOptions? opts = null)
public SubCloud(String name, SubCloudArgs args)
public SubCloud(String name, SubCloudArgs args, CustomResourceOptions options)
type: zia:SubCloud
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 SubCloudArgs
- 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 SubCloudArgs
- 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 SubCloudArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SubCloudArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SubCloudArgs
- 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 subCloudResource = new Zia.SubCloud("subCloudResource", new()
{
CloudId = 0,
Exclusions = new[]
{
new Zia.Inputs.SubCloudExclusionInputArgs
{
Country = "string",
Datacenter = new Zia.Inputs.SubCloudExclusionDatacenterInputArgs
{
ResourceId = 0,
Country = "string",
Name = "string",
},
EndTime = 0,
EndTimeUtc = "string",
},
},
});
example, err := zia.NewSubCloud(ctx, "subCloudResource", &zia.SubCloudArgs{
CloudId: pulumi.Int(0),
Exclusions: pulumizia.SubCloudExclusionInputArray{
&pulumizia.SubCloudExclusionInputArgs{
Country: pulumi.String("string"),
Datacenter: &pulumizia.SubCloudExclusionDatacenterInputArgs{
ResourceId: pulumi.Int(0),
Country: pulumi.String("string"),
Name: pulumi.String("string"),
},
EndTime: pulumi.Int(0),
EndTimeUtc: pulumi.String("string"),
},
},
})
var subCloudResource = new SubCloud("subCloudResource", SubCloudArgs.builder()
.cloudId(0)
.exclusions(SubCloudExclusionInputArgs.builder()
.country("string")
.datacenter(SubCloudExclusionDatacenterInputArgs.builder()
.resourceId(0)
.country("string")
.name("string")
.build())
.endTime(0)
.endTimeUtc("string")
.build())
.build());
sub_cloud_resource = zia.SubCloud("subCloudResource",
cloud_id=0,
exclusions=[{
"country": "string",
"datacenter": {
"resource_id": 0,
"country": "string",
"name": "string",
},
"end_time": 0,
"end_time_utc": "string",
}])
const subCloudResource = new zia.SubCloud("subCloudResource", {
cloudId: 0,
exclusions: [{
country: "string",
datacenter: {
resourceId: 0,
country: "string",
name: "string",
},
endTime: 0,
endTimeUtc: "string",
}],
});
type: zia:SubCloud
properties:
cloudId: 0
exclusions:
- country: string
datacenter:
country: string
name: string
resourceId: 0
endTime: 0
endTimeUtc: string
SubCloud 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 SubCloud resource accepts the following input properties:
- Cloud
Id int - The ID of the cloud to which this sub-cloud belongs.
- Exclusions
List<zscaler.
Pulumi Package. Zia. Inputs. Sub Cloud Exclusion Input> - List of datacenter exclusions for the sub-cloud.
- Cloud
Id int - The ID of the cloud to which this sub-cloud belongs.
- Exclusions
[]Sub
Cloud Exclusion Input Args - List of datacenter exclusions for the sub-cloud.
- cloud
Id Integer - The ID of the cloud to which this sub-cloud belongs.
- exclusions
List<Sub
Cloud Exclusion Input> - List of datacenter exclusions for the sub-cloud.
- cloud
Id number - The ID of the cloud to which this sub-cloud belongs.
- exclusions
Sub
Cloud Exclusion Input[] - List of datacenter exclusions for the sub-cloud.
- cloud_
id int - The ID of the cloud to which this sub-cloud belongs.
- exclusions
Sequence[Sub
Cloud Exclusion Input Args] - List of datacenter exclusions for the sub-cloud.
- cloud
Id Number - The ID of the cloud to which this sub-cloud belongs.
- exclusions List<Property Map>
- List of datacenter exclusions for the sub-cloud.
Outputs
All input properties are implicitly available as output properties. Additionally, the SubCloud resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Id string - The resource ID of the sub-cloud.
- Dcs
List<zscaler.
Pulumi Package. Zia. Outputs. Sub Cloud Dc Output> - List of datacenters associated with the sub-cloud.
- Name string
- The name of the sub-cloud.
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Id string - The resource ID of the sub-cloud.
- Dcs
[]Sub
Cloud Dc Output - List of datacenters associated with the sub-cloud.
- Name string
- The name of the sub-cloud.
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Id String - The resource ID of the sub-cloud.
- dcs
List<Sub
Cloud Dc Output> - List of datacenters associated with the sub-cloud.
- name String
- The name of the sub-cloud.
- id string
- The provider-assigned unique ID for this managed resource.
- resource
Id string - The resource ID of the sub-cloud.
- dcs
Sub
Cloud Dc Output[] - List of datacenters associated with the sub-cloud.
- name string
- The name of the sub-cloud.
- id str
- The provider-assigned unique ID for this managed resource.
- resource_
id str - The resource ID of the sub-cloud.
- dcs
Sequence[Sub
Cloud Dc Output] - List of datacenters associated with the sub-cloud.
- name str
- The name of the sub-cloud.
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Id String - The resource ID of the sub-cloud.
- dcs List<Property Map>
- List of datacenters associated with the sub-cloud.
- name String
- The name of the sub-cloud.
Supporting Types
SubCloudDcOutput, SubCloudDcOutputArgs
- Country string
- Name string
- Resource
Id int
- Country string
- Name string
- Resource
Id int
- country String
- name String
- resource
Id Integer
- country string
- name string
- resource
Id number
- country str
- name str
- resource_
id int
- country String
- name String
- resource
Id Number
SubCloudExclusionDatacenterInput, SubCloudExclusionDatacenterInputArgs
- Resource
Id int - Country string
- Name string
- Resource
Id int - Country string
- Name string
- resource
Id Integer - country String
- name String
- resource
Id number - country string
- name string
- resource_
id int - country str
- name str
- resource
Id Number - country String
- name String
SubCloudExclusionInput, SubCloudExclusionInputArgs
- Country string
- Datacenter
Sub
Cloud Exclusion Datacenter Input - End
Time int - End
Time stringUtc
- country String
- datacenter
Sub
Cloud Exclusion Datacenter Input - end
Time Integer - end
Time StringUtc
- country string
- datacenter
Sub
Cloud Exclusion Datacenter Input - end
Time number - end
Time stringUtc
- country String
- datacenter Property Map
- end
Time Number - end
Time StringUtc
Import
This resource uses a no-op delete. Import is not typically applicable for sub-cloud resources.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
published on Friday, Mar 13, 2026 by Zscaler
