zpa.ProvisioningKey
Explore with Pulumi AI
Import
Zscaler offers a dedicated tool called Zscaler-Terraformer to allow the automated import of ZPA configurations into Terraform-compliant HashiCorp Configuration Language.
Visit
Provisioning key can be imported by using <PROVISIONING KEY ID>
or <PROVISIONING KEY NAME>
as the import ID.
For example:
$ pulumi import zpa:index/provisioningKey:ProvisioningKey example <provisioning_key_id>
or
$ pulumi import zpa:index/provisioningKey:ProvisioningKey example <provisioning_key_name>
Create ProvisioningKey Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ProvisioningKey(name: string, args: ProvisioningKeyArgs, opts?: CustomResourceOptions);
@overload
def ProvisioningKey(resource_name: str,
args: ProvisioningKeyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ProvisioningKey(resource_name: str,
opts: Optional[ResourceOptions] = None,
enrollment_cert_id: Optional[str] = None,
zcomponent_id: Optional[str] = None,
association_type: Optional[str] = None,
max_usage: Optional[str] = None,
enabled: Optional[bool] = None,
ip_acls: Optional[Sequence[str]] = None,
provisioning_key_value: Optional[str] = None,
microtenant_id: Optional[str] = None,
name: Optional[str] = None,
ui_config: Optional[str] = None,
usage_count: Optional[str] = None,
app_connector_group_id: Optional[str] = None,
zcomponent_name: Optional[str] = None)
func NewProvisioningKey(ctx *Context, name string, args ProvisioningKeyArgs, opts ...ResourceOption) (*ProvisioningKey, error)
public ProvisioningKey(string name, ProvisioningKeyArgs args, CustomResourceOptions? opts = null)
public ProvisioningKey(String name, ProvisioningKeyArgs args)
public ProvisioningKey(String name, ProvisioningKeyArgs args, CustomResourceOptions options)
type: zpa:ProvisioningKey
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 ProvisioningKeyArgs
- 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 ProvisioningKeyArgs
- 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 ProvisioningKeyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProvisioningKeyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProvisioningKeyArgs
- 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 provisioningKeyResource = new Zpa.ProvisioningKey("provisioningKeyResource", new()
{
EnrollmentCertId = "string",
ZcomponentId = "string",
AssociationType = "string",
MaxUsage = "string",
Enabled = false,
IpAcls = new[]
{
"string",
},
ProvisioningKeyValue = "string",
MicrotenantId = "string",
Name = "string",
UiConfig = "string",
UsageCount = "string",
AppConnectorGroupId = "string",
ZcomponentName = "string",
});
example, err := zpa.NewProvisioningKey(ctx, "provisioningKeyResource", &zpa.ProvisioningKeyArgs{
EnrollmentCertId: pulumi.String("string"),
ZcomponentId: pulumi.String("string"),
AssociationType: pulumi.String("string"),
MaxUsage: pulumi.String("string"),
Enabled: pulumi.Bool(false),
IpAcls: pulumi.StringArray{
pulumi.String("string"),
},
ProvisioningKeyValue: pulumi.String("string"),
MicrotenantId: pulumi.String("string"),
Name: pulumi.String("string"),
UiConfig: pulumi.String("string"),
UsageCount: pulumi.String("string"),
AppConnectorGroupId: pulumi.String("string"),
ZcomponentName: pulumi.String("string"),
})
var provisioningKeyResource = new ProvisioningKey("provisioningKeyResource", ProvisioningKeyArgs.builder()
.enrollmentCertId("string")
.zcomponentId("string")
.associationType("string")
.maxUsage("string")
.enabled(false)
.ipAcls("string")
.ProvisioningKeyValue("string")
.microtenantId("string")
.name("string")
.uiConfig("string")
.usageCount("string")
.appConnectorGroupId("string")
.zcomponentName("string")
.build());
provisioning_key_resource = zpa.ProvisioningKey("provisioningKeyResource",
enrollment_cert_id="string",
zcomponent_id="string",
association_type="string",
max_usage="string",
enabled=False,
ip_acls=["string"],
provisioning_key_value="string",
microtenant_id="string",
name="string",
ui_config="string",
usage_count="string",
app_connector_group_id="string",
zcomponent_name="string")
const provisioningKeyResource = new zpa.ProvisioningKey("provisioningKeyResource", {
enrollmentCertId: "string",
zcomponentId: "string",
associationType: "string",
maxUsage: "string",
enabled: false,
ipAcls: ["string"],
ProvisioningKeyValue: "string",
microtenantId: "string",
name: "string",
uiConfig: "string",
usageCount: "string",
appConnectorGroupId: "string",
zcomponentName: "string",
});
type: zpa:ProvisioningKey
properties:
ProvisioningKeyValue: string
appConnectorGroupId: string
associationType: string
enabled: false
enrollmentCertId: string
ipAcls:
- string
maxUsage: string
microtenantId: string
name: string
uiConfig: string
usageCount: string
zcomponentId: string
zcomponentName: string
ProvisioningKey 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 ProvisioningKey resource accepts the following input properties:
- Association
Type string - Specifies the provisioning key type for App Connectors or ZPA Private Service Edges. The supported values are CONNECTOR_GRP and SERVICE_EDGE_GRP.
- Enrollment
Cert stringId - ID of the enrollment certificate that can be used for this provisioning key.
- Max
Usage string - The maximum number of instances where this provisioning key can be used for enrolling an App Connector or Service Edge.
- Zcomponent
Id string - ID of the existing App Connector or Service Edge Group.
- App
Connector stringGroup Id - Enabled bool
- Whether the provisioning key is enabled or not. Supported values: true, false
- Ip
Acls List<string> - Microtenant
Id string - Name string
- Name of the provisioning key.
- Provisioning
Key stringValue - read only field. Ignored in PUT/POST calls.
- Ui
Config string - Usage
Count string - The provisioning key utilization count.
- Zcomponent
Name string - Read only property. Applicable only for GET calls, ignored in PUT/POST calls.
- Association
Type string - Specifies the provisioning key type for App Connectors or ZPA Private Service Edges. The supported values are CONNECTOR_GRP and SERVICE_EDGE_GRP.
- Enrollment
Cert stringId - ID of the enrollment certificate that can be used for this provisioning key.
- Max
Usage string - The maximum number of instances where this provisioning key can be used for enrolling an App Connector or Service Edge.
- Zcomponent
Id string - ID of the existing App Connector or Service Edge Group.
- App
Connector stringGroup Id - Enabled bool
- Whether the provisioning key is enabled or not. Supported values: true, false
- Ip
Acls []string - Microtenant
Id string - Name string
- Name of the provisioning key.
- Provisioning
Key stringValue - read only field. Ignored in PUT/POST calls.
- Ui
Config string - Usage
Count string - The provisioning key utilization count.
- Zcomponent
Name string - Read only property. Applicable only for GET calls, ignored in PUT/POST calls.
- association
Type String - Specifies the provisioning key type for App Connectors or ZPA Private Service Edges. The supported values are CONNECTOR_GRP and SERVICE_EDGE_GRP.
- enrollment
Cert StringId - ID of the enrollment certificate that can be used for this provisioning key.
- max
Usage String - The maximum number of instances where this provisioning key can be used for enrolling an App Connector or Service Edge.
- zcomponent
Id String - ID of the existing App Connector or Service Edge Group.
- Provisioning
Key StringValue - read only field. Ignored in PUT/POST calls.
- app
Connector StringGroup Id - enabled Boolean
- Whether the provisioning key is enabled or not. Supported values: true, false
- ip
Acls List<String> - microtenant
Id String - name String
- Name of the provisioning key.
- ui
Config String - usage
Count String - The provisioning key utilization count.
- zcomponent
Name String - Read only property. Applicable only for GET calls, ignored in PUT/POST calls.
- association
Type string - Specifies the provisioning key type for App Connectors or ZPA Private Service Edges. The supported values are CONNECTOR_GRP and SERVICE_EDGE_GRP.
- enrollment
Cert stringId - ID of the enrollment certificate that can be used for this provisioning key.
- max
Usage string - The maximum number of instances where this provisioning key can be used for enrolling an App Connector or Service Edge.
- zcomponent
Id string - ID of the existing App Connector or Service Edge Group.
- Provisioning
Key stringValue - read only field. Ignored in PUT/POST calls.
- app
Connector stringGroup Id - enabled boolean
- Whether the provisioning key is enabled or not. Supported values: true, false
- ip
Acls string[] - microtenant
Id string - name string
- Name of the provisioning key.
- ui
Config string - usage
Count string - The provisioning key utilization count.
- zcomponent
Name string - Read only property. Applicable only for GET calls, ignored in PUT/POST calls.
- association_
type str - Specifies the provisioning key type for App Connectors or ZPA Private Service Edges. The supported values are CONNECTOR_GRP and SERVICE_EDGE_GRP.
- enrollment_
cert_ strid - ID of the enrollment certificate that can be used for this provisioning key.
- max_
usage str - The maximum number of instances where this provisioning key can be used for enrolling an App Connector or Service Edge.
- zcomponent_
id str - ID of the existing App Connector or Service Edge Group.
- app_
connector_ strgroup_ id - enabled bool
- Whether the provisioning key is enabled or not. Supported values: true, false
- ip_
acls Sequence[str] - microtenant_
id str - name str
- Name of the provisioning key.
- provisioning_
key_ strvalue - read only field. Ignored in PUT/POST calls.
- ui_
config str - usage_
count str - The provisioning key utilization count.
- zcomponent_
name str - Read only property. Applicable only for GET calls, ignored in PUT/POST calls.
- association
Type String - Specifies the provisioning key type for App Connectors or ZPA Private Service Edges. The supported values are CONNECTOR_GRP and SERVICE_EDGE_GRP.
- enrollment
Cert StringId - ID of the enrollment certificate that can be used for this provisioning key.
- max
Usage String - The maximum number of instances where this provisioning key can be used for enrolling an App Connector or Service Edge.
- zcomponent
Id String - ID of the existing App Connector or Service Edge Group.
- Provisioning
Key StringValue - read only field. Ignored in PUT/POST calls.
- app
Connector StringGroup Id - enabled Boolean
- Whether the provisioning key is enabled or not. Supported values: true, false
- ip
Acls List<String> - microtenant
Id String - name String
- Name of the provisioning key.
- ui
Config String - usage
Count String - The provisioning key utilization count.
- zcomponent
Name String - Read only property. Applicable only for GET calls, ignored in PUT/POST calls.
Outputs
All input properties are implicitly available as output properties. Additionally, the ProvisioningKey resource produces the following output properties:
- App
Connector stringGroup Name - Read only property. Applicable only for GET calls, ignored in PUT/POST calls.
- Id string
- The provider-assigned unique ID for this managed resource.
- App
Connector stringGroup Name - Read only property. Applicable only for GET calls, ignored in PUT/POST calls.
- Id string
- The provider-assigned unique ID for this managed resource.
- app
Connector StringGroup Name - Read only property. Applicable only for GET calls, ignored in PUT/POST calls.
- id String
- The provider-assigned unique ID for this managed resource.
- app
Connector stringGroup Name - Read only property. Applicable only for GET calls, ignored in PUT/POST calls.
- id string
- The provider-assigned unique ID for this managed resource.
- app_
connector_ strgroup_ name - Read only property. Applicable only for GET calls, ignored in PUT/POST calls.
- id str
- The provider-assigned unique ID for this managed resource.
- app
Connector StringGroup Name - Read only property. Applicable only for GET calls, ignored in PUT/POST calls.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ProvisioningKey Resource
Get an existing ProvisioningKey resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ProvisioningKeyState, opts?: CustomResourceOptions): ProvisioningKey
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
provisioning_key_value: Optional[str] = None,
app_connector_group_id: Optional[str] = None,
app_connector_group_name: Optional[str] = None,
association_type: Optional[str] = None,
enabled: Optional[bool] = None,
enrollment_cert_id: Optional[str] = None,
ip_acls: Optional[Sequence[str]] = None,
max_usage: Optional[str] = None,
microtenant_id: Optional[str] = None,
name: Optional[str] = None,
ui_config: Optional[str] = None,
usage_count: Optional[str] = None,
zcomponent_id: Optional[str] = None,
zcomponent_name: Optional[str] = None) -> ProvisioningKey
func GetProvisioningKey(ctx *Context, name string, id IDInput, state *ProvisioningKeyState, opts ...ResourceOption) (*ProvisioningKey, error)
public static ProvisioningKey Get(string name, Input<string> id, ProvisioningKeyState? state, CustomResourceOptions? opts = null)
public static ProvisioningKey get(String name, Output<String> id, ProvisioningKeyState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- App
Connector stringGroup Id - App
Connector stringGroup Name - Read only property. Applicable only for GET calls, ignored in PUT/POST calls.
- Association
Type string - Specifies the provisioning key type for App Connectors or ZPA Private Service Edges. The supported values are CONNECTOR_GRP and SERVICE_EDGE_GRP.
- Enabled bool
- Whether the provisioning key is enabled or not. Supported values: true, false
- Enrollment
Cert stringId - ID of the enrollment certificate that can be used for this provisioning key.
- Ip
Acls List<string> - Max
Usage string - The maximum number of instances where this provisioning key can be used for enrolling an App Connector or Service Edge.
- Microtenant
Id string - Name string
- Name of the provisioning key.
- Provisioning
Key stringValue - read only field. Ignored in PUT/POST calls.
- Ui
Config string - Usage
Count string - The provisioning key utilization count.
- Zcomponent
Id string - ID of the existing App Connector or Service Edge Group.
- Zcomponent
Name string - Read only property. Applicable only for GET calls, ignored in PUT/POST calls.
- App
Connector stringGroup Id - App
Connector stringGroup Name - Read only property. Applicable only for GET calls, ignored in PUT/POST calls.
- Association
Type string - Specifies the provisioning key type for App Connectors or ZPA Private Service Edges. The supported values are CONNECTOR_GRP and SERVICE_EDGE_GRP.
- Enabled bool
- Whether the provisioning key is enabled or not. Supported values: true, false
- Enrollment
Cert stringId - ID of the enrollment certificate that can be used for this provisioning key.
- Ip
Acls []string - Max
Usage string - The maximum number of instances where this provisioning key can be used for enrolling an App Connector or Service Edge.
- Microtenant
Id string - Name string
- Name of the provisioning key.
- Provisioning
Key stringValue - read only field. Ignored in PUT/POST calls.
- Ui
Config string - Usage
Count string - The provisioning key utilization count.
- Zcomponent
Id string - ID of the existing App Connector or Service Edge Group.
- Zcomponent
Name string - Read only property. Applicable only for GET calls, ignored in PUT/POST calls.
- Provisioning
Key StringValue - read only field. Ignored in PUT/POST calls.
- app
Connector StringGroup Id - app
Connector StringGroup Name - Read only property. Applicable only for GET calls, ignored in PUT/POST calls.
- association
Type String - Specifies the provisioning key type for App Connectors or ZPA Private Service Edges. The supported values are CONNECTOR_GRP and SERVICE_EDGE_GRP.
- enabled Boolean
- Whether the provisioning key is enabled or not. Supported values: true, false
- enrollment
Cert StringId - ID of the enrollment certificate that can be used for this provisioning key.
- ip
Acls List<String> - max
Usage String - The maximum number of instances where this provisioning key can be used for enrolling an App Connector or Service Edge.
- microtenant
Id String - name String
- Name of the provisioning key.
- ui
Config String - usage
Count String - The provisioning key utilization count.
- zcomponent
Id String - ID of the existing App Connector or Service Edge Group.
- zcomponent
Name String - Read only property. Applicable only for GET calls, ignored in PUT/POST calls.
- Provisioning
Key stringValue - read only field. Ignored in PUT/POST calls.
- app
Connector stringGroup Id - app
Connector stringGroup Name - Read only property. Applicable only for GET calls, ignored in PUT/POST calls.
- association
Type string - Specifies the provisioning key type for App Connectors or ZPA Private Service Edges. The supported values are CONNECTOR_GRP and SERVICE_EDGE_GRP.
- enabled boolean
- Whether the provisioning key is enabled or not. Supported values: true, false
- enrollment
Cert stringId - ID of the enrollment certificate that can be used for this provisioning key.
- ip
Acls string[] - max
Usage string - The maximum number of instances where this provisioning key can be used for enrolling an App Connector or Service Edge.
- microtenant
Id string - name string
- Name of the provisioning key.
- ui
Config string - usage
Count string - The provisioning key utilization count.
- zcomponent
Id string - ID of the existing App Connector or Service Edge Group.
- zcomponent
Name string - Read only property. Applicable only for GET calls, ignored in PUT/POST calls.
- app_
connector_ strgroup_ id - app_
connector_ strgroup_ name - Read only property. Applicable only for GET calls, ignored in PUT/POST calls.
- association_
type str - Specifies the provisioning key type for App Connectors or ZPA Private Service Edges. The supported values are CONNECTOR_GRP and SERVICE_EDGE_GRP.
- enabled bool
- Whether the provisioning key is enabled or not. Supported values: true, false
- enrollment_
cert_ strid - ID of the enrollment certificate that can be used for this provisioning key.
- ip_
acls Sequence[str] - max_
usage str - The maximum number of instances where this provisioning key can be used for enrolling an App Connector or Service Edge.
- microtenant_
id str - name str
- Name of the provisioning key.
- provisioning_
key_ strvalue - read only field. Ignored in PUT/POST calls.
- ui_
config str - usage_
count str - The provisioning key utilization count.
- zcomponent_
id str - ID of the existing App Connector or Service Edge Group.
- zcomponent_
name str - Read only property. Applicable only for GET calls, ignored in PUT/POST calls.
- Provisioning
Key StringValue - read only field. Ignored in PUT/POST calls.
- app
Connector StringGroup Id - app
Connector StringGroup Name - Read only property. Applicable only for GET calls, ignored in PUT/POST calls.
- association
Type String - Specifies the provisioning key type for App Connectors or ZPA Private Service Edges. The supported values are CONNECTOR_GRP and SERVICE_EDGE_GRP.
- enabled Boolean
- Whether the provisioning key is enabled or not. Supported values: true, false
- enrollment
Cert StringId - ID of the enrollment certificate that can be used for this provisioning key.
- ip
Acls List<String> - max
Usage String - The maximum number of instances where this provisioning key can be used for enrolling an App Connector or Service Edge.
- microtenant
Id String - name String
- Name of the provisioning key.
- ui
Config String - usage
Count String - The provisioning key utilization count.
- zcomponent
Id String - ID of the existing App Connector or Service Edge Group.
- zcomponent
Name String - Read only property. Applicable only for GET calls, ignored in PUT/POST calls.
Package Details
- Repository
- zpa zscaler/pulumi-zpa
- License
- MIT
- Notes
- This Pulumi package is based on the
zpa
Terraform Provider.