zia.Provider
Explore with Pulumi AI
The provider type for the zia package. By default, resources use package-wide configuration
settings, however an explicit Provider
instance may be created and passed during resource
construction to achieve fine-grained programmatic control over provider settings. See the
documentation for more information.
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,
http_proxy: Optional[str] = None,
max_retries: Optional[int] = None,
parallelism: 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,
zscaler_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 - It can also be sourced from the following environment variable:
ZIA_API_KEY
- Client
Id string - zpa client id
It can also be sourced from the following environment variable:
ZSCALER_CLIENT_ID
- Client
Secret string - zpa client secret
It can also be sourced from the following environment variable:
ZSCALER_CLIENT_SECRET
- Http
Proxy string - Alternate HTTP proxy of scheme://hostname or scheme://hostname:port format
- Max
Retries int - maximum number of retries to attempt before erroring out.
- Parallelism int
- Number of concurrent requests to make within a resource where bulk operations are not possible. Take note of https://help.zscaler.com/oneapi/understanding-rate-limiting.
- Password string
- It can also be sourced from the following environment variable:
ZIA_PASSWORD
- Private
Key string - zpa private key
It can also be sourced from the following environment variable:
ZSCALER_PRIVATE_KEY
- Request
Timeout int - Timeout for single request (in seconds) which is made to Zscaler, the default is
0
(means no limit is set). The maximum value can be300
. - Sandbox
Cloud string - Zscaler Sandbox Cloud
It can also be sourced from the following environment variable:
ZSCALER_SANDBOX_CLOUD
- Sandbox
Token string - Zscaler Sandbox Token
It can also be sourced from the following environment variable:
ZSCALER_SANDBOX_TOKEN
- Use
Legacy boolClient - It can also be sourced from the following environment variable:
ZSCALER_USE_LEGACY_CLIENT
- Username string
- It can also be sourced from the following environment variable:
ZIA_USERNAME
- Vanity
Domain string - Zscaler Vanity Domain
It can also be sourced from the following environment variable:
ZSCALER_VANITY_DOMAIN
- Zia
Cloud string - It can also be sourced from the following environment variable:
ZIA_CLOUD
- Zscaler
Cloud string - Zscaler Cloud Name
It can also be sourced from the following environment variable:
ZSCALER_CLOUD
- Api
Key string - It can also be sourced from the following environment variable:
ZIA_API_KEY
- Client
Id string - zpa client id
It can also be sourced from the following environment variable:
ZSCALER_CLIENT_ID
- Client
Secret string - zpa client secret
It can also be sourced from the following environment variable:
ZSCALER_CLIENT_SECRET
- Http
Proxy string - Alternate HTTP proxy of scheme://hostname or scheme://hostname:port format
- Max
Retries int - maximum number of retries to attempt before erroring out.
- Parallelism int
- Number of concurrent requests to make within a resource where bulk operations are not possible. Take note of https://help.zscaler.com/oneapi/understanding-rate-limiting.
- Password string
- It can also be sourced from the following environment variable:
ZIA_PASSWORD
- Private
Key string - zpa private key
It can also be sourced from the following environment variable:
ZSCALER_PRIVATE_KEY
- Request
Timeout int - Timeout for single request (in seconds) which is made to Zscaler, the default is
0
(means no limit is set). The maximum value can be300
. - Sandbox
Cloud string - Zscaler Sandbox Cloud
It can also be sourced from the following environment variable:
ZSCALER_SANDBOX_CLOUD
- Sandbox
Token string - Zscaler Sandbox Token
It can also be sourced from the following environment variable:
ZSCALER_SANDBOX_TOKEN
- Use
Legacy boolClient - It can also be sourced from the following environment variable:
ZSCALER_USE_LEGACY_CLIENT
- Username string
- It can also be sourced from the following environment variable:
ZIA_USERNAME
- Vanity
Domain string - Zscaler Vanity Domain
It can also be sourced from the following environment variable:
ZSCALER_VANITY_DOMAIN
- Zia
Cloud string - It can also be sourced from the following environment variable:
ZIA_CLOUD
- Zscaler
Cloud string - Zscaler Cloud Name
It can also be sourced from the following environment variable:
ZSCALER_CLOUD
- api
Key String - It can also be sourced from the following environment variable:
ZIA_API_KEY
- client
Id String - zpa client id
It can also be sourced from the following environment variable:
ZSCALER_CLIENT_ID
- client
Secret String - zpa client secret
It can also be sourced from the following environment variable:
ZSCALER_CLIENT_SECRET
- http
Proxy String - Alternate HTTP proxy of scheme://hostname or scheme://hostname:port format
- max
Retries Integer - maximum number of retries to attempt before erroring out.
- parallelism Integer
- Number of concurrent requests to make within a resource where bulk operations are not possible. Take note of https://help.zscaler.com/oneapi/understanding-rate-limiting.
- password String
- It can also be sourced from the following environment variable:
ZIA_PASSWORD
- private
Key String - zpa private key
It can also be sourced from the following environment variable:
ZSCALER_PRIVATE_KEY
- request
Timeout Integer - Timeout for single request (in seconds) which is made to Zscaler, the default is
0
(means no limit is set). The maximum value can be300
. - sandbox
Cloud String - Zscaler Sandbox Cloud
It can also be sourced from the following environment variable:
ZSCALER_SANDBOX_CLOUD
- sandbox
Token String - Zscaler Sandbox Token
It can also be sourced from the following environment variable:
ZSCALER_SANDBOX_TOKEN
- use
Legacy BooleanClient - It can also be sourced from the following environment variable:
ZSCALER_USE_LEGACY_CLIENT
- username String
- It can also be sourced from the following environment variable:
ZIA_USERNAME
- vanity
Domain String - Zscaler Vanity Domain
It can also be sourced from the following environment variable:
ZSCALER_VANITY_DOMAIN
- zia
Cloud String - It can also be sourced from the following environment variable:
ZIA_CLOUD
- zscaler
Cloud String - Zscaler Cloud Name
It can also be sourced from the following environment variable:
ZSCALER_CLOUD
- api
Key string - It can also be sourced from the following environment variable:
ZIA_API_KEY
- client
Id string - zpa client id
It can also be sourced from the following environment variable:
ZSCALER_CLIENT_ID
- client
Secret string - zpa client secret
It can also be sourced from the following environment variable:
ZSCALER_CLIENT_SECRET
- http
Proxy string - Alternate HTTP proxy of scheme://hostname or scheme://hostname:port format
- max
Retries number - maximum number of retries to attempt before erroring out.
- parallelism number
- Number of concurrent requests to make within a resource where bulk operations are not possible. Take note of https://help.zscaler.com/oneapi/understanding-rate-limiting.
- password string
- It can also be sourced from the following environment variable:
ZIA_PASSWORD
- private
Key string - zpa private key
It can also be sourced from the following environment variable:
ZSCALER_PRIVATE_KEY
- request
Timeout number - Timeout for single request (in seconds) which is made to Zscaler, the default is
0
(means no limit is set). The maximum value can be300
. - sandbox
Cloud string - Zscaler Sandbox Cloud
It can also be sourced from the following environment variable:
ZSCALER_SANDBOX_CLOUD
- sandbox
Token string - Zscaler Sandbox Token
It can also be sourced from the following environment variable:
ZSCALER_SANDBOX_TOKEN
- use
Legacy booleanClient - It can also be sourced from the following environment variable:
ZSCALER_USE_LEGACY_CLIENT
- username string
- It can also be sourced from the following environment variable:
ZIA_USERNAME
- vanity
Domain string - Zscaler Vanity Domain
It can also be sourced from the following environment variable:
ZSCALER_VANITY_DOMAIN
- zia
Cloud string - It can also be sourced from the following environment variable:
ZIA_CLOUD
- zscaler
Cloud string - Zscaler Cloud Name
It can also be sourced from the following environment variable:
ZSCALER_CLOUD
- api_
key str - It can also be sourced from the following environment variable:
ZIA_API_KEY
- client_
id str - zpa client id
It can also be sourced from the following environment variable:
ZSCALER_CLIENT_ID
- client_
secret str - zpa client secret
It can also be sourced from the following environment variable:
ZSCALER_CLIENT_SECRET
- http_
proxy str - Alternate HTTP proxy of scheme://hostname or scheme://hostname:port format
- max_
retries int - maximum number of retries to attempt before erroring out.
- parallelism int
- Number of concurrent requests to make within a resource where bulk operations are not possible. Take note of https://help.zscaler.com/oneapi/understanding-rate-limiting.
- password str
- It can also be sourced from the following environment variable:
ZIA_PASSWORD
- private_
key str - zpa private key
It can also be sourced from the following environment variable:
ZSCALER_PRIVATE_KEY
- request_
timeout int - Timeout for single request (in seconds) which is made to Zscaler, the default is
0
(means no limit is set). The maximum value can be300
. - sandbox_
cloud str - Zscaler Sandbox Cloud
It can also be sourced from the following environment variable:
ZSCALER_SANDBOX_CLOUD
- sandbox_
token str - Zscaler Sandbox Token
It can also be sourced from the following environment variable:
ZSCALER_SANDBOX_TOKEN
- use_
legacy_ boolclient - It can also be sourced from the following environment variable:
ZSCALER_USE_LEGACY_CLIENT
- username str
- It can also be sourced from the following environment variable:
ZIA_USERNAME
- vanity_
domain str - Zscaler Vanity Domain
It can also be sourced from the following environment variable:
ZSCALER_VANITY_DOMAIN
- zia_
cloud str - It can also be sourced from the following environment variable:
ZIA_CLOUD
- zscaler_
cloud str - Zscaler Cloud Name
It can also be sourced from the following environment variable:
ZSCALER_CLOUD
- api
Key String - It can also be sourced from the following environment variable:
ZIA_API_KEY
- client
Id String - zpa client id
It can also be sourced from the following environment variable:
ZSCALER_CLIENT_ID
- client
Secret String - zpa client secret
It can also be sourced from the following environment variable:
ZSCALER_CLIENT_SECRET
- http
Proxy String - Alternate HTTP proxy of scheme://hostname or scheme://hostname:port format
- max
Retries Number - maximum number of retries to attempt before erroring out.
- parallelism Number
- Number of concurrent requests to make within a resource where bulk operations are not possible. Take note of https://help.zscaler.com/oneapi/understanding-rate-limiting.
- password String
- It can also be sourced from the following environment variable:
ZIA_PASSWORD
- private
Key String - zpa private key
It can also be sourced from the following environment variable:
ZSCALER_PRIVATE_KEY
- request
Timeout Number - Timeout for single request (in seconds) which is made to Zscaler, the default is
0
(means no limit is set). The maximum value can be300
. - sandbox
Cloud String - Zscaler Sandbox Cloud
It can also be sourced from the following environment variable:
ZSCALER_SANDBOX_CLOUD
- sandbox
Token String - Zscaler Sandbox Token
It can also be sourced from the following environment variable:
ZSCALER_SANDBOX_TOKEN
- use
Legacy BooleanClient - It can also be sourced from the following environment variable:
ZSCALER_USE_LEGACY_CLIENT
- username String
- It can also be sourced from the following environment variable:
ZIA_USERNAME
- vanity
Domain String - Zscaler Vanity Domain
It can also be sourced from the following environment variable:
ZSCALER_VANITY_DOMAIN
- zia
Cloud String - It can also be sourced from the following environment variable:
ZIA_CLOUD
- zscaler
Cloud String - Zscaler Cloud Name
It can also be sourced from the following environment variable:
ZSCALER_CLOUD
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.
Provider Resource Methods
TerraformConfig Method
This function returns a Terraform config object with terraform-namecased keys,to be used with the Terraform Module Provider.
Using TerraformConfig
terraformConfig(): Output<Provider.TerraformConfigResult>
def terraform_config() -> Output[Provider.Terraform_configResult]
func (r *Provider) TerraformConfig() (ProviderTerraformConfigResultOutput, error)
public Output<Provider.TerraformConfigResult> TerraformConfig()
TerraformConfig Result
- Result Dictionary<string, object>
- Result map[string]interface{}
- result Map<String,Object>
- result {[key: string]: any}
- result Mapping[str, Any]
- result Map<Any>
Package Details
- Repository
- zia zscaler/pulumi-zia
- License
- MIT
- Notes
- This Pulumi package is based on the
zia
Terraform Provider.