Zscaler Private Access v1.0.2 published on Friday, Jun 20, 2025 by Zscaler
zpa.getCustomerVersionProfile
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 dictionaryThe following arguments are supported:
- Name string
- Name string
- name String
- name string
- name str
- name String
getCustomerVersionProfile Result
The following output properties are available:
- CreationTime string
- CustomScope List<zscaler.Customer Ids Pulumi Package. Zpa. Outputs. Get Customer Version Profile Custom Scope Customer Id> 
- CustomScope List<zscaler.Request Customer Ids Pulumi Package. Zpa. Outputs. Get Customer Version Profile Custom Scope Request Customer Id> 
- CustomerId string
- Description string
- Id string
- ModifiedBy string
- ModifiedTime string
- Name string
- NumberOf stringAssistants 
- NumberOf stringCustomers 
- NumberOf stringPrivate Brokers 
- NumberOf stringSite Controllers 
- NumberOf stringUpdated Assistants 
- NumberOf stringUpdated Private Brokers 
- NumberOf stringUpdated Site Controllers 
- UpgradePriority string
- Versions
List<zscaler.Pulumi Package. Zpa. Outputs. Get Customer Version Profile Version> 
- VisibilityScope string
- CreationTime string
- CustomScope []GetCustomer Ids Customer Version Profile Custom Scope Customer Id 
- CustomScope []GetRequest Customer Ids Customer Version Profile Custom Scope Request Customer Id 
- CustomerId string
- Description string
- Id string
- ModifiedBy string
- ModifiedTime string
- Name string
- NumberOf stringAssistants 
- NumberOf stringCustomers 
- NumberOf stringPrivate Brokers 
- NumberOf stringSite Controllers 
- NumberOf stringUpdated Assistants 
- NumberOf stringUpdated Private Brokers 
- NumberOf stringUpdated Site Controllers 
- UpgradePriority string
- Versions
[]GetCustomer Version Profile Version 
- VisibilityScope string
- creationTime String
- customScope List<GetCustomer Ids Customer Version Profile Custom Scope Customer Id> 
- customScope List<GetRequest Customer Ids Customer Version Profile Custom Scope Request Customer Id> 
- customerId String
- description String
- id String
- modifiedBy String
- modifiedTime String
- name String
- numberOf StringAssistants 
- numberOf StringCustomers 
- numberOf StringPrivate Brokers 
- numberOf StringSite Controllers 
- numberOf StringUpdated Assistants 
- numberOf StringUpdated Private Brokers 
- numberOf StringUpdated Site Controllers 
- upgradePriority String
- versions
List<GetCustomer Version Profile Version> 
- visibilityScope String
- creationTime string
- customScope GetCustomer Ids Customer Version Profile Custom Scope Customer Id[] 
- customScope GetRequest Customer Ids Customer Version Profile Custom Scope Request Customer Id[] 
- customerId string
- description string
- id string
- modifiedBy string
- modifiedTime string
- name string
- numberOf stringAssistants 
- numberOf stringCustomers 
- numberOf stringPrivate Brokers 
- numberOf stringSite Controllers 
- numberOf stringUpdated Assistants 
- numberOf stringUpdated Private Brokers 
- numberOf stringUpdated Site Controllers 
- upgradePriority string
- versions
GetCustomer Version Profile Version[] 
- visibilityScope 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[GetCustomer Version Profile Version] 
- visibility_scope str
- creationTime String
- customScope List<Property Map>Customer Ids 
- customScope List<Property Map>Request Customer Ids 
- customerId String
- description String
- id String
- modifiedBy String
- modifiedTime String
- name String
- numberOf StringAssistants 
- numberOf StringCustomers 
- numberOf StringPrivate Brokers 
- numberOf StringSite Controllers 
- numberOf StringUpdated Assistants 
- numberOf StringUpdated Private Brokers 
- numberOf StringUpdated Site Controllers 
- upgradePriority String
- versions List<Property Map>
- visibilityScope String
Supporting Types
GetCustomerVersionProfileCustomScopeCustomerId       
- CustomerId string
- ExcludeConstellation bool
- IsPartner bool
- Name string
- CustomerId string
- ExcludeConstellation bool
- IsPartner bool
- Name string
- customerId String
- excludeConstellation Boolean
- isPartner Boolean
- name String
- customerId string
- excludeConstellation boolean
- isPartner boolean
- name string
- customer_id str
- exclude_constellation bool
- is_partner bool
- name str
- customerId String
- excludeConstellation Boolean
- isPartner Boolean
- name String
GetCustomerVersionProfileCustomScopeRequestCustomerId        
- AddCustomer List<string>Ids 
- DeleteCustomer List<string>Ids 
- AddCustomer []stringIds 
- DeleteCustomer []stringIds 
- addCustomer List<String>Ids 
- deleteCustomer List<String>Ids 
- addCustomer string[]Ids 
- deleteCustomer string[]Ids 
- add_customer_ Sequence[str]ids 
- delete_customer_ Sequence[str]ids 
- addCustomer List<String>Ids 
- deleteCustomer List<String>Ids 
GetCustomerVersionProfileVersion    
- CreationTime string
- CustomerId string
- Id string
- ModifiedBy string
- ModifiedTime string
- Platform string
- RestartAfter stringUptime In Days 
- Role string
- Version string
- VersionProfile stringGid 
- CreationTime string
- CustomerId string
- Id string
- ModifiedBy string
- ModifiedTime string
- Platform string
- RestartAfter stringUptime In Days 
- Role string
- Version string
- VersionProfile stringGid 
- creationTime String
- customerId String
- id String
- modifiedBy String
- modifiedTime String
- platform String
- restartAfter StringUptime In Days 
- role String
- version String
- versionProfile StringGid 
- creationTime string
- customerId string
- id string
- modifiedBy string
- modifiedTime string
- platform string
- restartAfter stringUptime In Days 
- role string
- version string
- versionProfile 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 
- creationTime String
- customerId String
- id String
- modifiedBy String
- modifiedTime String
- platform String
- restartAfter StringUptime In Days 
- role String
- version String
- versionProfile StringGid 
Package Details
- Repository
- zpa zscaler/pulumi-zpa
- License
- MIT
- Notes
- This Pulumi package is based on the zpaTerraform Provider.
 
