zpa.Provider
Explore with Pulumi AI
The provider type for the zpa 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,
backoff: Optional[bool] = None,
client_id: Optional[str] = None,
client_secret: Optional[str] = None,
customer_id: Optional[str] = None,
http_proxy: Optional[str] = None,
max_retries: Optional[int] = None,
max_wait_seconds: Optional[int] = None,
microtenant_id: Optional[str] = None,
min_wait_seconds: Optional[int] = None,
parallelism: Optional[int] = None,
private_key: Optional[str] = None,
request_timeout: Optional[int] = None,
use_legacy_client: Optional[bool] = None,
vanity_domain: Optional[str] = None,
zpa_client_id: Optional[str] = None,
zpa_client_secret: Optional[str] = None,
zpa_cloud: Optional[str] = None,
zpa_customer_id: 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:zpa
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:
- Backoff bool
- Use exponential back off strategy for rate limits.
- 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
- Customer
Id string - zpa customer id
It can also be sourced from the following environment variable:
ZPA_CUSTOMER_ID
- 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.
- Max
Wait intSeconds - maximum seconds to wait when rate limit is hit. We use exponential backoffs when backoff is enabled.
- Microtenant
Id string - zpa microtenant ID
- Min
Wait intSeconds - minimum seconds to wait when rate limit is hit. We use exponential backoffs when backoff is enabled.
- Parallelism int
- Number of concurrent requests to make within a resource where bulk operations are not possible. Take note of https://help.zscaler.com/zpa/understanding-rate-limiting.
- 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
. - Use
Legacy boolClient - Enables interaction with the ZPA legacy API framework
It can also be sourced from the following environment variable:
ZSCALER_USE_LEGACY_CLIENT
- Vanity
Domain string - Zscaler Vanity Domain
It can also be sourced from the following environment variable:
ZSCALER_VANITY_DOMAIN
- Zpa
Client stringId - zpa client id
It can also be sourced from the following environment variable:
ZPA_CLIENT_ID
- Zpa
Client stringSecret - zpa client secret
It can also be sourced from the following environment variable:
ZPA_CLIENT_SECRET
- Zpa
Cloud string - Cloud to use PRODUCTION, ZPATWO, BETA, GOV, GOVUS, PREVIEW, DEV, QA, QA2
It can also be sourced from the following environment variable:
ZPA_CLOUD
- Zpa
Customer stringId - zpa customer id
It can also be sourced from the following environment variable:
ZPA_CUSTOMER_ID
- Zscaler
Cloud string - Zscaler Cloud Name
It can also be sourced from the following environment variable:
ZSCALER_CLOUD
- Backoff bool
- Use exponential back off strategy for rate limits.
- 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
- Customer
Id string - zpa customer id
It can also be sourced from the following environment variable:
ZPA_CUSTOMER_ID
- 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.
- Max
Wait intSeconds - maximum seconds to wait when rate limit is hit. We use exponential backoffs when backoff is enabled.
- Microtenant
Id string - zpa microtenant ID
- Min
Wait intSeconds - minimum seconds to wait when rate limit is hit. We use exponential backoffs when backoff is enabled.
- Parallelism int
- Number of concurrent requests to make within a resource where bulk operations are not possible. Take note of https://help.zscaler.com/zpa/understanding-rate-limiting.
- 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
. - Use
Legacy boolClient - Enables interaction with the ZPA legacy API framework
It can also be sourced from the following environment variable:
ZSCALER_USE_LEGACY_CLIENT
- Vanity
Domain string - Zscaler Vanity Domain
It can also be sourced from the following environment variable:
ZSCALER_VANITY_DOMAIN
- Zpa
Client stringId - zpa client id
It can also be sourced from the following environment variable:
ZPA_CLIENT_ID
- Zpa
Client stringSecret - zpa client secret
It can also be sourced from the following environment variable:
ZPA_CLIENT_SECRET
- Zpa
Cloud string - Cloud to use PRODUCTION, ZPATWO, BETA, GOV, GOVUS, PREVIEW, DEV, QA, QA2
It can also be sourced from the following environment variable:
ZPA_CLOUD
- Zpa
Customer stringId - zpa customer id
It can also be sourced from the following environment variable:
ZPA_CUSTOMER_ID
- Zscaler
Cloud string - Zscaler Cloud Name
It can also be sourced from the following environment variable:
ZSCALER_CLOUD
- backoff Boolean
- Use exponential back off strategy for rate limits.
- 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
- customer
Id String - zpa customer id
It can also be sourced from the following environment variable:
ZPA_CUSTOMER_ID
- 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.
- max
Wait IntegerSeconds - maximum seconds to wait when rate limit is hit. We use exponential backoffs when backoff is enabled.
- microtenant
Id String - zpa microtenant ID
- min
Wait IntegerSeconds - minimum seconds to wait when rate limit is hit. We use exponential backoffs when backoff is enabled.
- parallelism Integer
- Number of concurrent requests to make within a resource where bulk operations are not possible. Take note of https://help.zscaler.com/zpa/understanding-rate-limiting.
- 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
. - use
Legacy BooleanClient - Enables interaction with the ZPA legacy API framework
It can also be sourced from the following environment variable:
ZSCALER_USE_LEGACY_CLIENT
- vanity
Domain String - Zscaler Vanity Domain
It can also be sourced from the following environment variable:
ZSCALER_VANITY_DOMAIN
- zpa
Client StringId - zpa client id
It can also be sourced from the following environment variable:
ZPA_CLIENT_ID
- zpa
Client StringSecret - zpa client secret
It can also be sourced from the following environment variable:
ZPA_CLIENT_SECRET
- zpa
Cloud String - Cloud to use PRODUCTION, ZPATWO, BETA, GOV, GOVUS, PREVIEW, DEV, QA, QA2
It can also be sourced from the following environment variable:
ZPA_CLOUD
- zpa
Customer StringId - zpa customer id
It can also be sourced from the following environment variable:
ZPA_CUSTOMER_ID
- zscaler
Cloud String - Zscaler Cloud Name
It can also be sourced from the following environment variable:
ZSCALER_CLOUD
- backoff boolean
- Use exponential back off strategy for rate limits.
- 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
- customer
Id string - zpa customer id
It can also be sourced from the following environment variable:
ZPA_CUSTOMER_ID
- 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.
- max
Wait numberSeconds - maximum seconds to wait when rate limit is hit. We use exponential backoffs when backoff is enabled.
- microtenant
Id string - zpa microtenant ID
- min
Wait numberSeconds - minimum seconds to wait when rate limit is hit. We use exponential backoffs when backoff is enabled.
- parallelism number
- Number of concurrent requests to make within a resource where bulk operations are not possible. Take note of https://help.zscaler.com/zpa/understanding-rate-limiting.
- 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
. - use
Legacy booleanClient - Enables interaction with the ZPA legacy API framework
It can also be sourced from the following environment variable:
ZSCALER_USE_LEGACY_CLIENT
- vanity
Domain string - Zscaler Vanity Domain
It can also be sourced from the following environment variable:
ZSCALER_VANITY_DOMAIN
- zpa
Client stringId - zpa client id
It can also be sourced from the following environment variable:
ZPA_CLIENT_ID
- zpa
Client stringSecret - zpa client secret
It can also be sourced from the following environment variable:
ZPA_CLIENT_SECRET
- zpa
Cloud string - Cloud to use PRODUCTION, ZPATWO, BETA, GOV, GOVUS, PREVIEW, DEV, QA, QA2
It can also be sourced from the following environment variable:
ZPA_CLOUD
- zpa
Customer stringId - zpa customer id
It can also be sourced from the following environment variable:
ZPA_CUSTOMER_ID
- zscaler
Cloud string - Zscaler Cloud Name
It can also be sourced from the following environment variable:
ZSCALER_CLOUD
- backoff bool
- Use exponential back off strategy for rate limits.
- 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
- customer_
id str - zpa customer id
It can also be sourced from the following environment variable:
ZPA_CUSTOMER_ID
- 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.
- max_
wait_ intseconds - maximum seconds to wait when rate limit is hit. We use exponential backoffs when backoff is enabled.
- microtenant_
id str - zpa microtenant ID
- min_
wait_ intseconds - minimum seconds to wait when rate limit is hit. We use exponential backoffs when backoff is enabled.
- parallelism int
- Number of concurrent requests to make within a resource where bulk operations are not possible. Take note of https://help.zscaler.com/zpa/understanding-rate-limiting.
- 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
. - use_
legacy_ boolclient - Enables interaction with the ZPA legacy API framework
It can also be sourced from the following environment variable:
ZSCALER_USE_LEGACY_CLIENT
- vanity_
domain str - Zscaler Vanity Domain
It can also be sourced from the following environment variable:
ZSCALER_VANITY_DOMAIN
- zpa_
client_ strid - zpa client id
It can also be sourced from the following environment variable:
ZPA_CLIENT_ID
- zpa_
client_ strsecret - zpa client secret
It can also be sourced from the following environment variable:
ZPA_CLIENT_SECRET
- zpa_
cloud str - Cloud to use PRODUCTION, ZPATWO, BETA, GOV, GOVUS, PREVIEW, DEV, QA, QA2
It can also be sourced from the following environment variable:
ZPA_CLOUD
- zpa_
customer_ strid - zpa customer id
It can also be sourced from the following environment variable:
ZPA_CUSTOMER_ID
- zscaler_
cloud str - Zscaler Cloud Name
It can also be sourced from the following environment variable:
ZSCALER_CLOUD
- backoff Boolean
- Use exponential back off strategy for rate limits.
- 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
- customer
Id String - zpa customer id
It can also be sourced from the following environment variable:
ZPA_CUSTOMER_ID
- 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.
- max
Wait NumberSeconds - maximum seconds to wait when rate limit is hit. We use exponential backoffs when backoff is enabled.
- microtenant
Id String - zpa microtenant ID
- min
Wait NumberSeconds - minimum seconds to wait when rate limit is hit. We use exponential backoffs when backoff is enabled.
- parallelism Number
- Number of concurrent requests to make within a resource where bulk operations are not possible. Take note of https://help.zscaler.com/zpa/understanding-rate-limiting.
- 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
. - use
Legacy BooleanClient - Enables interaction with the ZPA legacy API framework
It can also be sourced from the following environment variable:
ZSCALER_USE_LEGACY_CLIENT
- vanity
Domain String - Zscaler Vanity Domain
It can also be sourced from the following environment variable:
ZSCALER_VANITY_DOMAIN
- zpa
Client StringId - zpa client id
It can also be sourced from the following environment variable:
ZPA_CLIENT_ID
- zpa
Client StringSecret - zpa client secret
It can also be sourced from the following environment variable:
ZPA_CLIENT_SECRET
- zpa
Cloud String - Cloud to use PRODUCTION, ZPATWO, BETA, GOV, GOVUS, PREVIEW, DEV, QA, QA2
It can also be sourced from the following environment variable:
ZPA_CLOUD
- zpa
Customer StringId - zpa customer id
It can also be sourced from the following environment variable:
ZPA_CUSTOMER_ID
- 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
- zpa zscaler/pulumi-zpa
- License
- MIT
- Notes
- This Pulumi package is based on the
zpa
Terraform Provider.