Zscaler Private Access v0.0.12 published on Tuesday, Jul 30, 2024 by Zscaler
zpa.getPRAApproval
Explore with Pulumi AI
Use the zpa_pra_approval_controller data source to get information about a privileged remote access approval created in the Zscaler Private Access cloud.
Using getPRAApproval
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 getPRAApproval(args: GetPRAApprovalArgs, opts?: InvokeOptions): Promise<GetPRAApprovalResult>
function getPRAApprovalOutput(args: GetPRAApprovalOutputArgs, opts?: InvokeOptions): Output<GetPRAApprovalResult>def get_pra_approval(email_ids: Optional[Sequence[str]] = None,
                     id: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetPRAApprovalResult
def get_pra_approval_output(email_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                     id: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetPRAApprovalResult]func LookupPRAApproval(ctx *Context, args *LookupPRAApprovalArgs, opts ...InvokeOption) (*LookupPRAApprovalResult, error)
func LookupPRAApprovalOutput(ctx *Context, args *LookupPRAApprovalOutputArgs, opts ...InvokeOption) LookupPRAApprovalResultOutput> Note: This function is named LookupPRAApproval in the Go SDK.
public static class GetPRAApproval 
{
    public static Task<GetPRAApprovalResult> InvokeAsync(GetPRAApprovalArgs args, InvokeOptions? opts = null)
    public static Output<GetPRAApprovalResult> Invoke(GetPRAApprovalInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPRAApprovalResult> getPRAApproval(GetPRAApprovalArgs args, InvokeOptions options)
public static Output<GetPRAApprovalResult> getPRAApproval(GetPRAApprovalArgs args, InvokeOptions options)
fn::invoke:
  function: zpa:index/getPRAApproval:getPRAApproval
  arguments:
    # arguments dictionaryThe following arguments are supported:
getPRAApproval Result
The following output properties are available:
- Applications
List<Zscaler.Zpa. Outputs. Get PRAApproval Application> 
- CreationTime string
- EndTime string
- MicrotenantId string
- (string) The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, pass microtenantId as 0 when making requests to retrieve data from the Default Microtenant. Pass microtenantId as null to retrieve data from all customers associated with the tenant.
- ModifiedBy string
- ModifiedTime string
- StartTime string
- Status string
- (string) The status of the privileged approval. The supported values are:- INVALID: The privileged approval is invalid.
- ACTIVE: The privileged approval is currently available for the user.
- FUTURE: The privileged approval is available for a user at a set time in the future.
- EXPIRED: The privileged approval is no longer available for the user.
 
- WorkingHours List<Zscaler.Zpa. Outputs. Get PRAApproval Working Hour> 
- EmailIds List<string>
- Id string
- Applications
[]GetPRAApproval Application 
- CreationTime string
- EndTime string
- MicrotenantId string
- (string) The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, pass microtenantId as 0 when making requests to retrieve data from the Default Microtenant. Pass microtenantId as null to retrieve data from all customers associated with the tenant.
- ModifiedBy string
- ModifiedTime string
- StartTime string
- Status string
- (string) The status of the privileged approval. The supported values are:- INVALID: The privileged approval is invalid.
- ACTIVE: The privileged approval is currently available for the user.
- FUTURE: The privileged approval is available for a user at a set time in the future.
- EXPIRED: The privileged approval is no longer available for the user.
 
- WorkingHours []GetPRAApproval Working Hour 
- EmailIds []string
- Id string
- applications
List<GetPRAApproval Application> 
- creationTime String
- endTime String
- microtenantId String
- (string) The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, pass microtenantId as 0 when making requests to retrieve data from the Default Microtenant. Pass microtenantId as null to retrieve data from all customers associated with the tenant.
- modifiedBy String
- modifiedTime String
- startTime String
- status String
- (string) The status of the privileged approval. The supported values are:- INVALID: The privileged approval is invalid.
- ACTIVE: The privileged approval is currently available for the user.
- FUTURE: The privileged approval is available for a user at a set time in the future.
- EXPIRED: The privileged approval is no longer available for the user.
 
- workingHours List<GetPRAApproval Working Hour> 
- emailIds List<String>
- id String
- applications
GetPRAApproval Application[] 
- creationTime string
- endTime string
- microtenantId string
- (string) The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, pass microtenantId as 0 when making requests to retrieve data from the Default Microtenant. Pass microtenantId as null to retrieve data from all customers associated with the tenant.
- modifiedBy string
- modifiedTime string
- startTime string
- status string
- (string) The status of the privileged approval. The supported values are:- INVALID: The privileged approval is invalid.
- ACTIVE: The privileged approval is currently available for the user.
- FUTURE: The privileged approval is available for a user at a set time in the future.
- EXPIRED: The privileged approval is no longer available for the user.
 
- workingHours GetPRAApproval Working Hour[] 
- emailIds string[]
- id string
- applications
Sequence[GetPRAApproval Application] 
- creation_time str
- end_time str
- microtenant_id str
- (string) The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, pass microtenantId as 0 when making requests to retrieve data from the Default Microtenant. Pass microtenantId as null to retrieve data from all customers associated with the tenant.
- modified_by str
- modified_time str
- start_time str
- status str
- (string) The status of the privileged approval. The supported values are:- INVALID: The privileged approval is invalid.
- ACTIVE: The privileged approval is currently available for the user.
- FUTURE: The privileged approval is available for a user at a set time in the future.
- EXPIRED: The privileged approval is no longer available for the user.
 
- working_hours Sequence[GetPRAApproval Working Hour] 
- email_ids Sequence[str]
- id str
- applications List<Property Map>
- creationTime String
- endTime String
- microtenantId String
- (string) The unique identifier of the Microtenant for the ZPA tenant. If you are within the Default Microtenant, pass microtenantId as 0 when making requests to retrieve data from the Default Microtenant. Pass microtenantId as null to retrieve data from all customers associated with the tenant.
- modifiedBy String
- modifiedTime String
- startTime String
- status String
- (string) The status of the privileged approval. The supported values are:- INVALID: The privileged approval is invalid.
- ACTIVE: The privileged approval is currently available for the user.
- FUTURE: The privileged approval is available for a user at a set time in the future.
- EXPIRED: The privileged approval is no longer available for the user.
 
- workingHours List<Property Map>
- emailIds List<String>
- id String
Supporting Types
GetPRAApprovalApplication  
GetPRAApprovalWorkingHour   
- Days List<string>
- The days of the week that you want to enable the privileged approval
- EndTime string
- The end time that the user no longer has access to the privileged approval
- EndTime stringCron 
- The cron expression provided to configure the privileged approval end time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]The cron expression provided to configure the privileged approval end time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]
- StartTime string
- The start time that the user has access to the privileged approval
- StartTime stringCron 
- The cron expression provided to configure the privileged approval start time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]
- Timezone string
- The time zone for the time window of a privileged approval
- Days []string
- The days of the week that you want to enable the privileged approval
- EndTime string
- The end time that the user no longer has access to the privileged approval
- EndTime stringCron 
- The cron expression provided to configure the privileged approval end time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]The cron expression provided to configure the privileged approval end time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]
- StartTime string
- The start time that the user has access to the privileged approval
- StartTime stringCron 
- The cron expression provided to configure the privileged approval start time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]
- Timezone string
- The time zone for the time window of a privileged approval
- days List<String>
- The days of the week that you want to enable the privileged approval
- endTime String
- The end time that the user no longer has access to the privileged approval
- endTime StringCron 
- The cron expression provided to configure the privileged approval end time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]The cron expression provided to configure the privileged approval end time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]
- startTime String
- The start time that the user has access to the privileged approval
- startTime StringCron 
- The cron expression provided to configure the privileged approval start time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]
- timezone String
- The time zone for the time window of a privileged approval
- days string[]
- The days of the week that you want to enable the privileged approval
- endTime string
- The end time that the user no longer has access to the privileged approval
- endTime stringCron 
- The cron expression provided to configure the privileged approval end time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]The cron expression provided to configure the privileged approval end time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]
- startTime string
- The start time that the user has access to the privileged approval
- startTime stringCron 
- The cron expression provided to configure the privileged approval start time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]
- timezone string
- The time zone for the time window of a privileged approval
- days Sequence[str]
- The days of the week that you want to enable the privileged approval
- end_time str
- The end time that the user no longer has access to the privileged approval
- end_time_ strcron 
- The cron expression provided to configure the privileged approval end time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]The cron expression provided to configure the privileged approval end time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]
- start_time str
- The start time that the user has access to the privileged approval
- start_time_ strcron 
- The cron expression provided to configure the privileged approval start time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]
- timezone str
- The time zone for the time window of a privileged approval
- days List<String>
- The days of the week that you want to enable the privileged approval
- endTime String
- The end time that the user no longer has access to the privileged approval
- endTime StringCron 
- The cron expression provided to configure the privileged approval end time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]The cron expression provided to configure the privileged approval end time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]
- startTime String
- The start time that the user has access to the privileged approval
- startTime StringCron 
- The cron expression provided to configure the privileged approval start time working hours. The standard cron expression format is [Seconds][Minutes][Hours][Day of the Month][Month][Day of the Week][Year]
- timezone String
- The time zone for the time window of a privileged approval
Package Details
- Repository
- zpa zscaler/pulumi-zpa
- License
- MIT
- Notes
- This Pulumi package is based on the zpaTerraform Provider.
