Viewing docs for pulumi-resource-zia v1.3.8
published on Friday, Mar 13, 2026 by Zscaler
published on Friday, Mar 13, 2026 by Zscaler
Viewing docs for pulumi-resource-zia v1.3.8
published on Friday, Mar 13, 2026 by Zscaler
published on Friday, Mar 13, 2026 by Zscaler
Create Provider Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Provider(name: string, args?: ProviderArgs, opts?: CustomResourceOptions);@overload
def Provider(resource_name: str,
args: Optional[ProviderArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Provider(resource_name: str,
opts: Optional[ResourceOptions] = None,
api_key: Optional[str] = None,
client_id: Optional[str] = None,
client_secret: Optional[str] = None,
cloud: Optional[str] = None,
debug: Optional[bool] = None,
http_proxy: Optional[str] = None,
max_retries: Optional[int] = None,
password: Optional[str] = None,
private_key: Optional[str] = None,
request_timeout: Optional[int] = None,
sandbox_cloud: Optional[str] = None,
sandbox_token: Optional[str] = None,
use_legacy_client: Optional[bool] = None,
username: Optional[str] = None,
vanity_domain: Optional[str] = None,
zia_cloud: Optional[str] = None)func NewProvider(ctx *Context, name string, args *ProviderArgs, opts ...ResourceOption) (*Provider, error)public Provider(string name, ProviderArgs? args = null, CustomResourceOptions? opts = null)
public Provider(String name, ProviderArgs args)
public Provider(String name, ProviderArgs args, CustomResourceOptions options)
type: pulumi:providers:zia
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 ProviderArgs
- 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 ProviderArgs
- 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 ProviderArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProviderArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Provider 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 Provider resource accepts the following input properties:
- Api
Key string - (Legacy) The API key for ZIA. Can also be set via the
ZIA_API_KEYenvironment variable. Prefer OAuth2 credentials instead. - Client
Id string - The OAuth2 client ID for authenticating with the Zscaler API. Can also be set via the
ZSCALER_CLIENT_IDenvironment variable. - Client
Secret string - The OAuth2 client secret for authenticating with the Zscaler API. Can also be set via the
ZSCALER_CLIENT_SECRETenvironment variable. - Cloud string
- The Zscaler cloud name (e.g. 'zscaler', 'zscalerone', 'zscalertwo', 'zscalerthree', 'zscloud', 'zscalerbeta', 'zscalergov'). Can also be set via the
ZSCALER_CLOUDenvironment variable. - Debug bool
- If true, enables verbose Zscaler SDK logging (API requests/responses). Logs are written to stderr and optionally to the file specified by the
ZSCALER_SDK_LOG_FILEenvironment variable. - Http
Proxy string - HTTP proxy URL for API requests (e.g. 'http://proxy.example.com:8080'). Can also be set via the
ZSCALER_HTTP_PROXYenvironment variable. - Max
Retries int - Maximum number of retries for API requests. Default is determined by the SDK.
- Password string
- (Legacy) The admin password for ZIA. Can also be set via the
ZIA_PASSWORDenvironment variable. Prefer OAuth2 credentials instead. - Private
Key string - The private key for service principal authentication. Can also be set via the
ZSCALER_PRIVATE_KEYenvironment variable. - Request
Timeout int - Timeout in seconds for API requests.
- Sandbox
Cloud string - The Zscaler Sandbox cloud name. Can also be set via the
ZIA_SANDBOX_CLOUDenvironment variable. - Sandbox
Token string - The API token for Zscaler Sandbox. Can also be set via the
ZIA_SANDBOX_TOKENenvironment variable. - Use
Legacy boolClient - If true, use the legacy ZIA client authentication instead of OAuth2.
- Username string
- (Legacy) The admin username for ZIA. Can also be set via the
ZIA_USERNAMEenvironment variable. Prefer OAuth2 credentials instead. - Vanity
Domain string - The vanity domain for your Zscaler organization. Can also be set via the
ZSCALER_VANITY_DOMAINenvironment variable. - Zia
Cloud string - (Legacy) The ZIA cloud name. Can also be set via the
ZIA_CLOUDenvironment variable. Prefer the 'cloud' parameter instead.
- Api
Key string - (Legacy) The API key for ZIA. Can also be set via the
ZIA_API_KEYenvironment variable. Prefer OAuth2 credentials instead. - Client
Id string - The OAuth2 client ID for authenticating with the Zscaler API. Can also be set via the
ZSCALER_CLIENT_IDenvironment variable. - Client
Secret string - The OAuth2 client secret for authenticating with the Zscaler API. Can also be set via the
ZSCALER_CLIENT_SECRETenvironment variable. - Cloud string
- The Zscaler cloud name (e.g. 'zscaler', 'zscalerone', 'zscalertwo', 'zscalerthree', 'zscloud', 'zscalerbeta', 'zscalergov'). Can also be set via the
ZSCALER_CLOUDenvironment variable. - Debug bool
- If true, enables verbose Zscaler SDK logging (API requests/responses). Logs are written to stderr and optionally to the file specified by the
ZSCALER_SDK_LOG_FILEenvironment variable. - Http
Proxy string - HTTP proxy URL for API requests (e.g. 'http://proxy.example.com:8080'). Can also be set via the
ZSCALER_HTTP_PROXYenvironment variable. - Max
Retries int - Maximum number of retries for API requests. Default is determined by the SDK.
- Password string
- (Legacy) The admin password for ZIA. Can also be set via the
ZIA_PASSWORDenvironment variable. Prefer OAuth2 credentials instead. - Private
Key string - The private key for service principal authentication. Can also be set via the
ZSCALER_PRIVATE_KEYenvironment variable. - Request
Timeout int - Timeout in seconds for API requests.
- Sandbox
Cloud string - The Zscaler Sandbox cloud name. Can also be set via the
ZIA_SANDBOX_CLOUDenvironment variable. - Sandbox
Token string - The API token for Zscaler Sandbox. Can also be set via the
ZIA_SANDBOX_TOKENenvironment variable. - Use
Legacy boolClient - If true, use the legacy ZIA client authentication instead of OAuth2.
- Username string
- (Legacy) The admin username for ZIA. Can also be set via the
ZIA_USERNAMEenvironment variable. Prefer OAuth2 credentials instead. - Vanity
Domain string - The vanity domain for your Zscaler organization. Can also be set via the
ZSCALER_VANITY_DOMAINenvironment variable. - Zia
Cloud string - (Legacy) The ZIA cloud name. Can also be set via the
ZIA_CLOUDenvironment variable. Prefer the 'cloud' parameter instead.
- api
Key String - (Legacy) The API key for ZIA. Can also be set via the
ZIA_API_KEYenvironment variable. Prefer OAuth2 credentials instead. - client
Id String - The OAuth2 client ID for authenticating with the Zscaler API. Can also be set via the
ZSCALER_CLIENT_IDenvironment variable. - client
Secret String - The OAuth2 client secret for authenticating with the Zscaler API. Can also be set via the
ZSCALER_CLIENT_SECRETenvironment variable. - cloud String
- The Zscaler cloud name (e.g. 'zscaler', 'zscalerone', 'zscalertwo', 'zscalerthree', 'zscloud', 'zscalerbeta', 'zscalergov'). Can also be set via the
ZSCALER_CLOUDenvironment variable. - debug Boolean
- If true, enables verbose Zscaler SDK logging (API requests/responses). Logs are written to stderr and optionally to the file specified by the
ZSCALER_SDK_LOG_FILEenvironment variable. - http
Proxy String - HTTP proxy URL for API requests (e.g. 'http://proxy.example.com:8080'). Can also be set via the
ZSCALER_HTTP_PROXYenvironment variable. - max
Retries Integer - Maximum number of retries for API requests. Default is determined by the SDK.
- password String
- (Legacy) The admin password for ZIA. Can also be set via the
ZIA_PASSWORDenvironment variable. Prefer OAuth2 credentials instead. - private
Key String - The private key for service principal authentication. Can also be set via the
ZSCALER_PRIVATE_KEYenvironment variable. - request
Timeout Integer - Timeout in seconds for API requests.
- sandbox
Cloud String - The Zscaler Sandbox cloud name. Can also be set via the
ZIA_SANDBOX_CLOUDenvironment variable. - sandbox
Token String - The API token for Zscaler Sandbox. Can also be set via the
ZIA_SANDBOX_TOKENenvironment variable. - use
Legacy BooleanClient - If true, use the legacy ZIA client authentication instead of OAuth2.
- username String
- (Legacy) The admin username for ZIA. Can also be set via the
ZIA_USERNAMEenvironment variable. Prefer OAuth2 credentials instead. - vanity
Domain String - The vanity domain for your Zscaler organization. Can also be set via the
ZSCALER_VANITY_DOMAINenvironment variable. - zia
Cloud String - (Legacy) The ZIA cloud name. Can also be set via the
ZIA_CLOUDenvironment variable. Prefer the 'cloud' parameter instead.
- api
Key string - (Legacy) The API key for ZIA. Can also be set via the
ZIA_API_KEYenvironment variable. Prefer OAuth2 credentials instead. - client
Id string - The OAuth2 client ID for authenticating with the Zscaler API. Can also be set via the
ZSCALER_CLIENT_IDenvironment variable. - client
Secret string - The OAuth2 client secret for authenticating with the Zscaler API. Can also be set via the
ZSCALER_CLIENT_SECRETenvironment variable. - cloud string
- The Zscaler cloud name (e.g. 'zscaler', 'zscalerone', 'zscalertwo', 'zscalerthree', 'zscloud', 'zscalerbeta', 'zscalergov'). Can also be set via the
ZSCALER_CLOUDenvironment variable. - debug boolean
- If true, enables verbose Zscaler SDK logging (API requests/responses). Logs are written to stderr and optionally to the file specified by the
ZSCALER_SDK_LOG_FILEenvironment variable. - http
Proxy string - HTTP proxy URL for API requests (e.g. 'http://proxy.example.com:8080'). Can also be set via the
ZSCALER_HTTP_PROXYenvironment variable. - max
Retries number - Maximum number of retries for API requests. Default is determined by the SDK.
- password string
- (Legacy) The admin password for ZIA. Can also be set via the
ZIA_PASSWORDenvironment variable. Prefer OAuth2 credentials instead. - private
Key string - The private key for service principal authentication. Can also be set via the
ZSCALER_PRIVATE_KEYenvironment variable. - request
Timeout number - Timeout in seconds for API requests.
- sandbox
Cloud string - The Zscaler Sandbox cloud name. Can also be set via the
ZIA_SANDBOX_CLOUDenvironment variable. - sandbox
Token string - The API token for Zscaler Sandbox. Can also be set via the
ZIA_SANDBOX_TOKENenvironment variable. - use
Legacy booleanClient - If true, use the legacy ZIA client authentication instead of OAuth2.
- username string
- (Legacy) The admin username for ZIA. Can also be set via the
ZIA_USERNAMEenvironment variable. Prefer OAuth2 credentials instead. - vanity
Domain string - The vanity domain for your Zscaler organization. Can also be set via the
ZSCALER_VANITY_DOMAINenvironment variable. - zia
Cloud string - (Legacy) The ZIA cloud name. Can also be set via the
ZIA_CLOUDenvironment variable. Prefer the 'cloud' parameter instead.
- api_
key str - (Legacy) The API key for ZIA. Can also be set via the
ZIA_API_KEYenvironment variable. Prefer OAuth2 credentials instead. - client_
id str - The OAuth2 client ID for authenticating with the Zscaler API. Can also be set via the
ZSCALER_CLIENT_IDenvironment variable. - client_
secret str - The OAuth2 client secret for authenticating with the Zscaler API. Can also be set via the
ZSCALER_CLIENT_SECRETenvironment variable. - cloud str
- The Zscaler cloud name (e.g. 'zscaler', 'zscalerone', 'zscalertwo', 'zscalerthree', 'zscloud', 'zscalerbeta', 'zscalergov'). Can also be set via the
ZSCALER_CLOUDenvironment variable. - debug bool
- If true, enables verbose Zscaler SDK logging (API requests/responses). Logs are written to stderr and optionally to the file specified by the
ZSCALER_SDK_LOG_FILEenvironment variable. - http_
proxy str - HTTP proxy URL for API requests (e.g. 'http://proxy.example.com:8080'). Can also be set via the
ZSCALER_HTTP_PROXYenvironment variable. - max_
retries int - Maximum number of retries for API requests. Default is determined by the SDK.
- password str
- (Legacy) The admin password for ZIA. Can also be set via the
ZIA_PASSWORDenvironment variable. Prefer OAuth2 credentials instead. - private_
key str - The private key for service principal authentication. Can also be set via the
ZSCALER_PRIVATE_KEYenvironment variable. - request_
timeout int - Timeout in seconds for API requests.
- sandbox_
cloud str - The Zscaler Sandbox cloud name. Can also be set via the
ZIA_SANDBOX_CLOUDenvironment variable. - sandbox_
token str - The API token for Zscaler Sandbox. Can also be set via the
ZIA_SANDBOX_TOKENenvironment variable. - use_
legacy_ boolclient - If true, use the legacy ZIA client authentication instead of OAuth2.
- username str
- (Legacy) The admin username for ZIA. Can also be set via the
ZIA_USERNAMEenvironment variable. Prefer OAuth2 credentials instead. - vanity_
domain str - The vanity domain for your Zscaler organization. Can also be set via the
ZSCALER_VANITY_DOMAINenvironment variable. - zia_
cloud str - (Legacy) The ZIA cloud name. Can also be set via the
ZIA_CLOUDenvironment variable. Prefer the 'cloud' parameter instead.
- api
Key String - (Legacy) The API key for ZIA. Can also be set via the
ZIA_API_KEYenvironment variable. Prefer OAuth2 credentials instead. - client
Id String - The OAuth2 client ID for authenticating with the Zscaler API. Can also be set via the
ZSCALER_CLIENT_IDenvironment variable. - client
Secret String - The OAuth2 client secret for authenticating with the Zscaler API. Can also be set via the
ZSCALER_CLIENT_SECRETenvironment variable. - cloud String
- The Zscaler cloud name (e.g. 'zscaler', 'zscalerone', 'zscalertwo', 'zscalerthree', 'zscloud', 'zscalerbeta', 'zscalergov'). Can also be set via the
ZSCALER_CLOUDenvironment variable. - debug Boolean
- If true, enables verbose Zscaler SDK logging (API requests/responses). Logs are written to stderr and optionally to the file specified by the
ZSCALER_SDK_LOG_FILEenvironment variable. - http
Proxy String - HTTP proxy URL for API requests (e.g. 'http://proxy.example.com:8080'). Can also be set via the
ZSCALER_HTTP_PROXYenvironment variable. - max
Retries Number - Maximum number of retries for API requests. Default is determined by the SDK.
- password String
- (Legacy) The admin password for ZIA. Can also be set via the
ZIA_PASSWORDenvironment variable. Prefer OAuth2 credentials instead. - private
Key String - The private key for service principal authentication. Can also be set via the
ZSCALER_PRIVATE_KEYenvironment variable. - request
Timeout Number - Timeout in seconds for API requests.
- sandbox
Cloud String - The Zscaler Sandbox cloud name. Can also be set via the
ZIA_SANDBOX_CLOUDenvironment variable. - sandbox
Token String - The API token for Zscaler Sandbox. Can also be set via the
ZIA_SANDBOX_TOKENenvironment variable. - use
Legacy BooleanClient - If true, use the legacy ZIA client authentication instead of OAuth2.
- username String
- (Legacy) The admin username for ZIA. Can also be set via the
ZIA_USERNAMEenvironment variable. Prefer OAuth2 credentials instead. - vanity
Domain String - The vanity domain for your Zscaler organization. Can also be set via the
ZSCALER_VANITY_DOMAINenvironment variable. - zia
Cloud String - (Legacy) The ZIA cloud name. Can also be set via the
ZIA_CLOUDenvironment variable. Prefer the 'cloud' parameter instead.
Outputs
All input properties are implicitly available as output properties. Additionally, the Provider resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
Viewing docs for pulumi-resource-zia v1.3.8
published on Friday, Mar 13, 2026 by Zscaler
published on Friday, Mar 13, 2026 by Zscaler
