Zscaler Private Access v0.0.11 published on Saturday, May 4, 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: zpa:index/getPRAApproval:getPRAApproval
arguments:
# arguments dictionary
The following arguments are supported:
getPRAApproval Result
The following output properties are available:
- Applications
List<Zscaler.
Zpa. Outputs. Get PRAApproval Application> - Creation
Time string - End
Time string - Microtenant
Id 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.
- Modified
By string - Modified
Time string - Start
Time string - Status string
- (string) The status of the privileged approval. The supported values are:
- Working
Hours List<Zscaler.Zpa. Outputs. Get PRAApproval Working Hour> - Email
Ids List<string> - Id string
- Applications
[]Get
PRAApproval Application - Creation
Time string - End
Time string - Microtenant
Id 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.
- Modified
By string - Modified
Time string - Start
Time string - Status string
- (string) The status of the privileged approval. The supported values are:
- Working
Hours []GetPRAApproval Working Hour - Email
Ids []string - Id string
- applications
List<Get
PRAApproval Application> - creation
Time String - end
Time String - microtenant
Id 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.
- modified
By String - modified
Time String - start
Time String - status String
- (string) The status of the privileged approval. The supported values are:
- working
Hours List<GetPRAApproval Working Hour> - email
Ids List<String> - id String
- applications
Get
PRAApproval Application[] - creation
Time string - end
Time string - microtenant
Id 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.
- modified
By string - modified
Time string - start
Time string - status string
- (string) The status of the privileged approval. The supported values are:
- working
Hours GetPRAApproval Working Hour[] - email
Ids string[] - id string
- applications
Sequence[Get
PRAApproval 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:
- working_
hours Sequence[GetPRAApproval Working Hour] - email_
ids Sequence[str] - id str
- applications List<Property Map>
- creation
Time String - end
Time String - microtenant
Id 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.
- modified
By String - modified
Time String - start
Time String - status String
- (string) The status of the privileged approval. The supported values are:
- working
Hours List<Property Map> - email
Ids List<String> - id String
Supporting Types
GetPRAApprovalApplication
GetPRAApprovalWorkingHour
- Days List<string>
- The days of the week that you want to enable the privileged approval
- End
Time string - The end time that the user no longer has access to the privileged approval
- End
Time 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]
- Start
Time string - The start time that the user has access to the privileged approval
- Start
Time 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
- End
Time string - The end time that the user no longer has access to the privileged approval
- End
Time 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]
- Start
Time string - The start time that the user has access to the privileged approval
- Start
Time 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
- end
Time String - The end time that the user no longer has access to the privileged approval
- end
Time 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]
- start
Time String - The start time that the user has access to the privileged approval
- start
Time 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
- end
Time string - The end time that the user no longer has access to the privileged approval
- end
Time 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]
- start
Time string - The start time that the user has access to the privileged approval
- start
Time 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
- end
Time String - The end time that the user no longer has access to the privileged approval
- end
Time 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]
- start
Time String - The start time that the user has access to the privileged approval
- start
Time 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
zpa
Terraform Provider.