Zscaler Private Access v0.0.12 published on Tuesday, Jul 30, 2024 by Zscaler
zpa.getProvisioningKey
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@pulumi/zpa";
const example = zpa.getProvisioningKey({
associationType: "CONNECTOR_GRP",
name: "Provisioning_Key",
});
import pulumi
import pulumi_zpa as zpa
example = zpa.get_provisioning_key(association_type="CONNECTOR_GRP",
name="Provisioning_Key")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/zscaler/pulumi-zpa/sdk/go/zpa"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := zpa.LookupProvisioningKey(ctx, &zpa.LookupProvisioningKeyArgs{
AssociationType: "CONNECTOR_GRP",
Name: pulumi.StringRef("Provisioning_Key"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zpa = Pulumi.Zpa;
return await Deployment.RunAsync(() =>
{
var example = Zpa.GetProvisioningKey.Invoke(new()
{
AssociationType = "CONNECTOR_GRP",
Name = "Provisioning_Key",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zpa.ZpaFunctions;
import com.pulumi.zpa.inputs.GetProvisioningKeyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = ZpaFunctions.getProvisioningKey(GetProvisioningKeyArgs.builder()
.associationType("CONNECTOR_GRP")
.name("Provisioning_Key")
.build());
}
}
variables:
example:
fn::invoke:
Function: zpa:getProvisioningKey
Arguments:
associationType: CONNECTOR_GRP
name: Provisioning_Key
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@pulumi/zpa";
const example = zpa.getProvisioningKey({
associationType: "SERVICE_EDGE_GRP",
name: "Provisioning_Key",
});
import pulumi
import pulumi_zpa as zpa
example = zpa.get_provisioning_key(association_type="SERVICE_EDGE_GRP",
name="Provisioning_Key")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/zscaler/pulumi-zpa/sdk/go/zpa"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := zpa.LookupProvisioningKey(ctx, &zpa.LookupProvisioningKeyArgs{
AssociationType: "SERVICE_EDGE_GRP",
Name: pulumi.StringRef("Provisioning_Key"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Zpa = Pulumi.Zpa;
return await Deployment.RunAsync(() =>
{
var example = Zpa.GetProvisioningKey.Invoke(new()
{
AssociationType = "SERVICE_EDGE_GRP",
Name = "Provisioning_Key",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.zpa.ZpaFunctions;
import com.pulumi.zpa.inputs.GetProvisioningKeyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = ZpaFunctions.getProvisioningKey(GetProvisioningKeyArgs.builder()
.associationType("SERVICE_EDGE_GRP")
.name("Provisioning_Key")
.build());
}
}
variables:
example:
fn::invoke:
Function: zpa:getProvisioningKey
Arguments:
associationType: SERVICE_EDGE_GRP
name: Provisioning_Key
Using getProvisioningKey
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getProvisioningKey(args: GetProvisioningKeyArgs, opts?: InvokeOptions): Promise<GetProvisioningKeyResult>
function getProvisioningKeyOutput(args: GetProvisioningKeyOutputArgs, opts?: InvokeOptions): Output<GetProvisioningKeyResult>
def get_provisioning_key(association_type: Optional[str] = None,
id: Optional[str] = None,
microtenant_id: Optional[str] = None,
microtenant_name: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetProvisioningKeyResult
def get_provisioning_key_output(association_type: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
microtenant_id: Optional[pulumi.Input[str]] = None,
microtenant_name: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProvisioningKeyResult]
func LookupProvisioningKey(ctx *Context, args *LookupProvisioningKeyArgs, opts ...InvokeOption) (*LookupProvisioningKeyResult, error)
func LookupProvisioningKeyOutput(ctx *Context, args *LookupProvisioningKeyOutputArgs, opts ...InvokeOption) LookupProvisioningKeyResultOutput
> Note: This function is named LookupProvisioningKey
in the Go SDK.
public static class GetProvisioningKey
{
public static Task<GetProvisioningKeyResult> InvokeAsync(GetProvisioningKeyArgs args, InvokeOptions? opts = null)
public static Output<GetProvisioningKeyResult> Invoke(GetProvisioningKeyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetProvisioningKeyResult> getProvisioningKey(GetProvisioningKeyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: zpa:index/getProvisioningKey:getProvisioningKey
arguments:
# arguments dictionary
The following arguments are supported:
- Association
Type string - Id string
- Microtenant
Id string - Microtenant
Name string - Name string
- Association
Type string - Id string
- Microtenant
Id string - Microtenant
Name string - Name string
- association
Type String - id String
- microtenant
Id String - microtenant
Name String - name String
- association
Type string - id string
- microtenant
Id string - microtenant
Name string - name string
- association_
type str - id str
- microtenant_
id str - microtenant_
name str - name str
- association
Type String - id String
- microtenant
Id String - microtenant
Name String - name String
getProvisioningKey Result
The following output properties are available:
- App
Connector stringGroup Id - App
Connector stringGroup Name - Association
Type string - Creation
Time string - Enabled bool
- Enrollment
Cert stringId - Enrollment
Cert stringName - Expiration
In stringEpoch Sec - Ip
Acls List<string> - Max
Usage string - Modified
Time string - Modifiedby string
- Provisioning
Key string - Ui
Config string - Usage
Count string - Zcomponent
Id string - Zcomponent
Name string - Id string
- Microtenant
Id string - Microtenant
Name string - Name string
- App
Connector stringGroup Id - App
Connector stringGroup Name - Association
Type string - Creation
Time string - Enabled bool
- Enrollment
Cert stringId - Enrollment
Cert stringName - Expiration
In stringEpoch Sec - Ip
Acls []string - Max
Usage string - Modified
Time string - Modifiedby string
- Provisioning
Key string - Ui
Config string - Usage
Count string - Zcomponent
Id string - Zcomponent
Name string - Id string
- Microtenant
Id string - Microtenant
Name string - Name string
- app
Connector StringGroup Id - app
Connector StringGroup Name - association
Type String - creation
Time String - enabled Boolean
- enrollment
Cert StringId - enrollment
Cert StringName - expiration
In StringEpoch Sec - ip
Acls List<String> - max
Usage String - modified
Time String - modifiedby String
- provisioning
Key String - ui
Config String - usage
Count String - zcomponent
Id String - zcomponent
Name String - id String
- microtenant
Id String - microtenant
Name String - name String
- app
Connector stringGroup Id - app
Connector stringGroup Name - association
Type string - creation
Time string - enabled boolean
- enrollment
Cert stringId - enrollment
Cert stringName - expiration
In stringEpoch Sec - ip
Acls string[] - max
Usage string - modified
Time string - modifiedby string
- provisioning
Key string - ui
Config string - usage
Count string - zcomponent
Id string - zcomponent
Name string - id string
- microtenant
Id string - microtenant
Name string - name string
- app_
connector_ strgroup_ id - app_
connector_ strgroup_ name - association_
type str - creation_
time str - enabled bool
- enrollment_
cert_ strid - enrollment_
cert_ strname - expiration_
in_ strepoch_ sec - ip_
acls Sequence[str] - max_
usage str - modified_
time str - modifiedby str
- provisioning_
key str - ui_
config str - usage_
count str - zcomponent_
id str - zcomponent_
name str - id str
- microtenant_
id str - microtenant_
name str - name str
- app
Connector StringGroup Id - app
Connector StringGroup Name - association
Type String - creation
Time String - enabled Boolean
- enrollment
Cert StringId - enrollment
Cert StringName - expiration
In StringEpoch Sec - ip
Acls List<String> - max
Usage String - modified
Time String - modifiedby String
- provisioning
Key String - ui
Config String - usage
Count String - zcomponent
Id String - zcomponent
Name String - id String
- microtenant
Id String - microtenant
Name String - name String
Package Details
- Repository
- zpa zscaler/pulumi-zpa
- License
- MIT
- Notes
- This Pulumi package is based on the
zpa
Terraform Provider.