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

zpa.getAssistantSchedule

Explore with Pulumi AI

zpa logo
Zscaler Private Access v0.0.12 published on Tuesday, Jul 30, 2024 by Zscaler
    Deprecated: zpa.index/getassistantschedule.getAssistantSchedule has been deprecated in favor of zpa.index/getappconnectorassistantschedule.getAppConnectorAssistantSchedule

    Use the zpa_app_connector_assistant_schedule data source to get information about Auto Delete frequency of the App Connector for the specified customer in the Zscaler Private Access cloud.

    NOTE - The customer_id attribute is optional and not required during the configuration.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as zpa from "@pulumi/zpa";
    
    const this = zpa.getAppConnectorAssistantSchedule({
        customerId: "1234567891012",
    });
    
    import pulumi
    import pulumi_zpa as zpa
    
    this = zpa.get_app_connector_assistant_schedule(customer_id="1234567891012")
    
    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.LookupAppConnectorAssistantSchedule(ctx, &zpa.LookupAppConnectorAssistantScheduleArgs{
    			CustomerId: pulumi.StringRef("1234567891012"),
    		}, 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 @this = Zpa.GetAppConnectorAssistantSchedule.Invoke(new()
        {
            CustomerId = "1234567891012",
        });
    
    });
    
    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.GetAppConnectorAssistantScheduleArgs;
    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 this = ZpaFunctions.getAppConnectorAssistantSchedule(GetAppConnectorAssistantScheduleArgs.builder()
                .customerId("1234567891012")
                .build());
    
        }
    }
    
    variables:
      this:
        fn::invoke:
          Function: zpa:getAppConnectorAssistantSchedule
          Arguments:
            customerId: '1234567891012'
    

    Using getAssistantSchedule

    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 getAssistantSchedule(args: GetAssistantScheduleArgs, opts?: InvokeOptions): Promise<GetAssistantScheduleResult>
    function getAssistantScheduleOutput(args: GetAssistantScheduleOutputArgs, opts?: InvokeOptions): Output<GetAssistantScheduleResult>
    def get_assistant_schedule(customer_id: Optional[str] = None,
                               id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetAssistantScheduleResult
    def get_assistant_schedule_output(customer_id: Optional[pulumi.Input[str]] = None,
                               id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetAssistantScheduleResult]
    func LookupAssistantSchedule(ctx *Context, args *LookupAssistantScheduleArgs, opts ...InvokeOption) (*LookupAssistantScheduleResult, error)
    func LookupAssistantScheduleOutput(ctx *Context, args *LookupAssistantScheduleOutputArgs, opts ...InvokeOption) LookupAssistantScheduleResultOutput

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

    public static class GetAssistantSchedule 
    {
        public static Task<GetAssistantScheduleResult> InvokeAsync(GetAssistantScheduleArgs args, InvokeOptions? opts = null)
        public static Output<GetAssistantScheduleResult> Invoke(GetAssistantScheduleInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAssistantScheduleResult> getAssistantSchedule(GetAssistantScheduleArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: zpa:index/getAssistantSchedule:getAssistantSchedule
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CustomerId string
    Id string
    CustomerId string
    Id string
    customerId String
    id String
    customerId string
    id string
    customerId String
    id String

    getAssistantSchedule Result

    The following output properties are available:

    deleteDisabled Boolean
    enabled Boolean
    frequency String
    frequencyInterval String
    customerId String
    id String
    deleteDisabled boolean
    enabled boolean
    frequency string
    frequencyInterval string
    customerId string
    id string
    deleteDisabled Boolean
    enabled Boolean
    frequency String
    frequencyInterval String
    customerId String
    id String

    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