1. Packages
  2. Zscaler Private Access (ZPA)
  3. API Docs
  4. getPraApprovalController
Zscaler Private Access v0.0.12 published on Tuesday, Jul 30, 2024 by Zscaler

zpa.getPraApprovalController

Explore with Pulumi AI

zpa logo
Zscaler Private Access v0.0.12 published on Tuesday, Jul 30, 2024 by Zscaler
    Deprecated: zpa.index/getpraapprovalcontroller.getPraApprovalController has been deprecated in favor of zpa.index/getpraapproval.getPRAApproval

    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 getPraApprovalController

    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 getPraApprovalController(args: GetPraApprovalControllerArgs, opts?: InvokeOptions): Promise<GetPraApprovalControllerResult>
    function getPraApprovalControllerOutput(args: GetPraApprovalControllerOutputArgs, opts?: InvokeOptions): Output<GetPraApprovalControllerResult>
    def get_pra_approval_controller(email_ids: Optional[Sequence[str]] = None,
                                    id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetPraApprovalControllerResult
    def get_pra_approval_controller_output(email_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                    id: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetPraApprovalControllerResult]
    func LookupPraApprovalController(ctx *Context, args *LookupPraApprovalControllerArgs, opts ...InvokeOption) (*LookupPraApprovalControllerResult, error)
    func LookupPraApprovalControllerOutput(ctx *Context, args *LookupPraApprovalControllerOutputArgs, opts ...InvokeOption) LookupPraApprovalControllerResultOutput

    > Note: This function is named LookupPraApprovalController in the Go SDK.

    public static class GetPraApprovalController 
    {
        public static Task<GetPraApprovalControllerResult> InvokeAsync(GetPraApprovalControllerArgs args, InvokeOptions? opts = null)
        public static Output<GetPraApprovalControllerResult> Invoke(GetPraApprovalControllerInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPraApprovalControllerResult> getPraApprovalController(GetPraApprovalControllerArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: zpa:index/getPraApprovalController:getPraApprovalController
      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

    getPraApprovalController Result

    The following output properties are available:

    Applications List<Zscaler.Zpa.Outputs.GetPraApprovalControllerApplication>
    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.GetPraApprovalControllerWorkingHour>
    EmailIds List<string>
    Id string
    Applications []GetPraApprovalControllerApplication
    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 []GetPraApprovalControllerWorkingHour
    EmailIds []string
    Id string
    applications List<GetPraApprovalControllerApplication>
    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<GetPraApprovalControllerWorkingHour>
    emailIds List<String>
    id String
    applications GetPraApprovalControllerApplication[]
    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 GetPraApprovalControllerWorkingHour[]
    emailIds string[]
    id string
    applications Sequence[GetPraApprovalControllerApplication]
    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[GetPraApprovalControllerWorkingHour]
    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

    GetPraApprovalControllerApplication

    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

    GetPraApprovalControllerWorkingHour

    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.12 published on Tuesday, Jul 30, 2024 by Zscaler