1. Packages
  2. Zscaler Private Access (ZPA)
  3. API Docs
  4. getPRAApproval
Zscaler Private Access v0.0.10 published on Tuesday, Apr 9, 2024 by Zscaler

zpa.getPRAApproval

Explore with Pulumi AI

zpa logo
Zscaler Private Access v0.0.10 published on Tuesday, Apr 9, 2024 by Zscaler

    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:

    EmailIds List<string>
    Id string
    EmailIds []string
    Id string
    emailIds List<String>
    id String
    emailIds string[]
    id string
    email_ids Sequence[str]
    id str
    emailIds List<String>
    id String

    getPRAApproval Result

    The following output properties are available:

    Applications List<Zscaler.Zpa.Outputs.GetPRAApprovalApplication>
    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:
    WorkingHours List<Zscaler.Zpa.Outputs.GetPRAApprovalWorkingHour>
    EmailIds List<string>
    Id string
    Applications []GetPRAApprovalApplication
    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:
    WorkingHours []GetPRAApprovalWorkingHour
    EmailIds []string
    Id string
    applications List<GetPRAApprovalApplication>
    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:
    workingHours List<GetPRAApprovalWorkingHour>
    emailIds List<String>
    id String
    applications GetPRAApprovalApplication[]
    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:
    workingHours GetPRAApprovalWorkingHour[]
    emailIds string[]
    id string
    applications Sequence[GetPRAApprovalApplication]
    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[GetPRAApprovalWorkingHour]
    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:
    workingHours List<Property Map>
    emailIds List<String>
    id String

    Supporting Types

    GetPRAApprovalApplication

    Id string
    The unique identifier of the pra application segment
    Name string
    The name of the pra application segment
    Id string
    The unique identifier of the pra application segment
    Name string
    The name of the pra application segment
    id String
    The unique identifier of the pra application segment
    name String
    The name of the pra application segment
    id string
    The unique identifier of the pra application segment
    name string
    The name of the pra application segment
    id str
    The unique identifier of the pra application segment
    name str
    The name of the pra application segment
    id String
    The unique identifier of the pra application segment
    name String
    The name of the pra application segment

    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
    EndTimeCron string
    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
    StartTimeCron string
    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
    EndTimeCron string
    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
    StartTimeCron string
    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
    endTimeCron String
    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
    startTimeCron String
    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
    endTimeCron string
    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
    startTimeCron string
    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_cron str
    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_cron str
    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
    endTimeCron String
    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
    startTimeCron String
    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.
    zpa logo
    Zscaler Private Access v0.0.10 published on Tuesday, Apr 9, 2024 by Zscaler