Zscaler Private Access v1.0.1 published on Thursday, Jun 5, 2025 by Zscaler
zpa.getCustomerVersionProfile
Explore with Pulumi AI
Use the zpa_customer_version_profile data source to get information about all customer version profiles from the Zscaler Private Access cloud. This data source can be associated with an App Connector Group within the parameter version_profile_id
or version_profile_name
The customer version profile IDs are:
Default
=0
Previous Default
=1
New Release
=2
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@bdzscaler/pulumi-zpa";
const _default = zpa.getCustomerVersionProfile({
name: "Default",
});
const previousDefault = zpa.getCustomerVersionProfile({
name: "Previous Default",
});
const newRelease = zpa.getCustomerVersionProfile({
name: "New Release",
});
import pulumi
import pulumi_zpa as zpa
default = zpa.get_customer_version_profile(name="Default")
previous_default = zpa.get_customer_version_profile(name="Previous Default")
new_release = zpa.get_customer_version_profile(name="New Release")
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.GetCustomerVersionProfile(ctx, &zpa.GetCustomerVersionProfileArgs{
Name: "Default",
}, nil)
if err != nil {
return err
}
_, err = zpa.GetCustomerVersionProfile(ctx, &zpa.GetCustomerVersionProfileArgs{
Name: "Previous Default",
}, nil)
if err != nil {
return err
}
_, err = zpa.GetCustomerVersionProfile(ctx, &zpa.GetCustomerVersionProfileArgs{
Name: "New Release",
}, 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 @default = Zpa.GetCustomerVersionProfile.Invoke(new()
{
Name = "Default",
});
var previousDefault = Zpa.GetCustomerVersionProfile.Invoke(new()
{
Name = "Previous Default",
});
var newRelease = Zpa.GetCustomerVersionProfile.Invoke(new()
{
Name = "New Release",
});
});
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.GetCustomerVersionProfileArgs;
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 default = ZpaFunctions.getCustomerVersionProfile(GetCustomerVersionProfileArgs.builder()
.name("Default")
.build());
final var previousDefault = ZpaFunctions.getCustomerVersionProfile(GetCustomerVersionProfileArgs.builder()
.name("Previous Default")
.build());
final var newRelease = ZpaFunctions.getCustomerVersionProfile(GetCustomerVersionProfileArgs.builder()
.name("New Release")
.build());
}
}
variables:
default:
fn::invoke:
function: zpa:getCustomerVersionProfile
arguments:
name: Default
previousDefault:
fn::invoke:
function: zpa:getCustomerVersionProfile
arguments:
name: Previous Default
newRelease:
fn::invoke:
function: zpa:getCustomerVersionProfile
arguments:
name: New Release
Using getCustomerVersionProfile
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 getCustomerVersionProfile(args: GetCustomerVersionProfileArgs, opts?: InvokeOptions): Promise<GetCustomerVersionProfileResult>
function getCustomerVersionProfileOutput(args: GetCustomerVersionProfileOutputArgs, opts?: InvokeOptions): Output<GetCustomerVersionProfileResult>
def get_customer_version_profile(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCustomerVersionProfileResult
def get_customer_version_profile_output(name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCustomerVersionProfileResult]
func GetCustomerVersionProfile(ctx *Context, args *GetCustomerVersionProfileArgs, opts ...InvokeOption) (*GetCustomerVersionProfileResult, error)
func GetCustomerVersionProfileOutput(ctx *Context, args *GetCustomerVersionProfileOutputArgs, opts ...InvokeOption) GetCustomerVersionProfileResultOutput
> Note: This function is named GetCustomerVersionProfile
in the Go SDK.
public static class GetCustomerVersionProfile
{
public static Task<GetCustomerVersionProfileResult> InvokeAsync(GetCustomerVersionProfileArgs args, InvokeOptions? opts = null)
public static Output<GetCustomerVersionProfileResult> Invoke(GetCustomerVersionProfileInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCustomerVersionProfileResult> getCustomerVersionProfile(GetCustomerVersionProfileArgs args, InvokeOptions options)
public static Output<GetCustomerVersionProfileResult> getCustomerVersionProfile(GetCustomerVersionProfileArgs args, InvokeOptions options)
fn::invoke:
function: zpa:index/getCustomerVersionProfile:getCustomerVersionProfile
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- Name string
- name String
- name string
- name str
- name String
getCustomerVersionProfile Result
The following output properties are available:
- Creation
Time string - Custom
Scope List<zscaler.Customer Ids Pulumi Package. Zpa. Outputs. Get Customer Version Profile Custom Scope Customer Id> - Custom
Scope List<zscaler.Request Customer Ids Pulumi Package. Zpa. Outputs. Get Customer Version Profile Custom Scope Request Customer Id> - Customer
Id string - Description string
- Id string
- Modified
By string - Modified
Time string - Name string
- Number
Of stringAssistants - Number
Of stringCustomers - Number
Of stringPrivate Brokers - Number
Of stringSite Controllers - Number
Of stringUpdated Assistants - Number
Of stringUpdated Private Brokers - Number
Of stringUpdated Site Controllers - Upgrade
Priority string - Versions
List<zscaler.
Pulumi Package. Zpa. Outputs. Get Customer Version Profile Version> - Visibility
Scope string
- Creation
Time string - Custom
Scope []GetCustomer Ids Customer Version Profile Custom Scope Customer Id - Custom
Scope []GetRequest Customer Ids Customer Version Profile Custom Scope Request Customer Id - Customer
Id string - Description string
- Id string
- Modified
By string - Modified
Time string - Name string
- Number
Of stringAssistants - Number
Of stringCustomers - Number
Of stringPrivate Brokers - Number
Of stringSite Controllers - Number
Of stringUpdated Assistants - Number
Of stringUpdated Private Brokers - Number
Of stringUpdated Site Controllers - Upgrade
Priority string - Versions
[]Get
Customer Version Profile Version - Visibility
Scope string
- creation
Time String - custom
Scope List<GetCustomer Ids Customer Version Profile Custom Scope Customer Id> - custom
Scope List<GetRequest Customer Ids Customer Version Profile Custom Scope Request Customer Id> - customer
Id String - description String
- id String
- modified
By String - modified
Time String - name String
- number
Of StringAssistants - number
Of StringCustomers - number
Of StringPrivate Brokers - number
Of StringSite Controllers - number
Of StringUpdated Assistants - number
Of StringUpdated Private Brokers - number
Of StringUpdated Site Controllers - upgrade
Priority String - versions
List<Get
Customer Version Profile Version> - visibility
Scope String
- creation
Time string - custom
Scope GetCustomer Ids Customer Version Profile Custom Scope Customer Id[] - custom
Scope GetRequest Customer Ids Customer Version Profile Custom Scope Request Customer Id[] - customer
Id string - description string
- id string
- modified
By string - modified
Time string - name string
- number
Of stringAssistants - number
Of stringCustomers - number
Of stringPrivate Brokers - number
Of stringSite Controllers - number
Of stringUpdated Assistants - number
Of stringUpdated Private Brokers - number
Of stringUpdated Site Controllers - upgrade
Priority string - versions
Get
Customer Version Profile Version[] - visibility
Scope string
- creation_
time str - custom_
scope_ Sequence[Getcustomer_ ids Customer Version Profile Custom Scope Customer Id] - custom_
scope_ Sequence[Getrequest_ customer_ ids Customer Version Profile Custom Scope Request Customer Id] - customer_
id str - description str
- id str
- modified_
by str - modified_
time str - name str
- number_
of_ strassistants - number_
of_ strcustomers - number_
of_ strprivate_ brokers - number_
of_ strsite_ controllers - number_
of_ strupdated_ assistants - number_
of_ strupdated_ private_ brokers - number_
of_ strupdated_ site_ controllers - upgrade_
priority str - versions
Sequence[Get
Customer Version Profile Version] - visibility_
scope str
- creation
Time String - custom
Scope List<Property Map>Customer Ids - custom
Scope List<Property Map>Request Customer Ids - customer
Id String - description String
- id String
- modified
By String - modified
Time String - name String
- number
Of StringAssistants - number
Of StringCustomers - number
Of StringPrivate Brokers - number
Of StringSite Controllers - number
Of StringUpdated Assistants - number
Of StringUpdated Private Brokers - number
Of StringUpdated Site Controllers - upgrade
Priority String - versions List<Property Map>
- visibility
Scope String
Supporting Types
GetCustomerVersionProfileCustomScopeCustomerId
- Customer
Id string - Exclude
Constellation bool - Is
Partner bool - Name string
- Customer
Id string - Exclude
Constellation bool - Is
Partner bool - Name string
- customer
Id String - exclude
Constellation Boolean - is
Partner Boolean - name String
- customer
Id string - exclude
Constellation boolean - is
Partner boolean - name string
- customer_
id str - exclude_
constellation bool - is_
partner bool - name str
- customer
Id String - exclude
Constellation Boolean - is
Partner Boolean - name String
GetCustomerVersionProfileCustomScopeRequestCustomerId
- Add
Customer List<string>Ids - Delete
Customer List<string>Ids
- Add
Customer []stringIds - Delete
Customer []stringIds
- add
Customer List<String>Ids - delete
Customer List<String>Ids
- add
Customer string[]Ids - delete
Customer string[]Ids
- add_
customer_ Sequence[str]ids - delete_
customer_ Sequence[str]ids
- add
Customer List<String>Ids - delete
Customer List<String>Ids
GetCustomerVersionProfileVersion
- Creation
Time string - Customer
Id string - Id string
- Modified
By string - Modified
Time string - Platform string
- Restart
After stringUptime In Days - Role string
- Version string
- Version
Profile stringGid
- Creation
Time string - Customer
Id string - Id string
- Modified
By string - Modified
Time string - Platform string
- Restart
After stringUptime In Days - Role string
- Version string
- Version
Profile stringGid
- creation
Time String - customer
Id String - id String
- modified
By String - modified
Time String - platform String
- restart
After StringUptime In Days - role String
- version String
- version
Profile StringGid
- creation
Time string - customer
Id string - id string
- modified
By string - modified
Time string - platform string
- restart
After stringUptime In Days - role string
- version string
- version
Profile stringGid
- creation_
time str - customer_
id str - id str
- modified_
by str - modified_
time str - platform str
- restart_
after_ struptime_ in_ days - role str
- version str
- version_
profile_ strgid
- creation
Time String - customer
Id String - id String
- modified
By String - modified
Time String - platform String
- restart
After StringUptime In Days - role String
- version String
- version
Profile StringGid
Package Details
- Repository
- zpa zscaler/pulumi-zpa
- License
- MIT
- Notes
- This Pulumi package is based on the
zpa
Terraform Provider.