Zscaler Private Access v1.0.2 published on Friday, Jun 20, 2025 by Zscaler
zpa.getServiceEdgeAssistantSchedule
Use the zpa_service_edge_assistant_schedule data source to get information about Auto Delete frequency of the Service Edge for the specified customer in the Zscaler Private Access cloud.
NOTE - The
customer_idattribute is optional and not required during the configuration.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as zpa from "@bdzscaler/pulumi-zpa";
const _this = zpa.getServiceEdgeAssistantSchedule({
    customerId: "1234567891012",
});
import pulumi
import pulumi_zpa as zpa
this = zpa.get_service_edge_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.LookupServiceEdgeAssistantSchedule(ctx, &zpa.LookupServiceEdgeAssistantScheduleArgs{
			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.GetServiceEdgeAssistantSchedule.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.GetServiceEdgeAssistantScheduleArgs;
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.getServiceEdgeAssistantSchedule(GetServiceEdgeAssistantScheduleArgs.builder()
            .customerId("1234567891012")
            .build());
    }
}
variables:
  this:
    fn::invoke:
      function: zpa:getServiceEdgeAssistantSchedule
      arguments:
        customerId: '1234567891012'
Using getServiceEdgeAssistantSchedule
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 getServiceEdgeAssistantSchedule(args: GetServiceEdgeAssistantScheduleArgs, opts?: InvokeOptions): Promise<GetServiceEdgeAssistantScheduleResult>
function getServiceEdgeAssistantScheduleOutput(args: GetServiceEdgeAssistantScheduleOutputArgs, opts?: InvokeOptions): Output<GetServiceEdgeAssistantScheduleResult>def get_service_edge_assistant_schedule(customer_id: Optional[str] = None,
                                        id: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetServiceEdgeAssistantScheduleResult
def get_service_edge_assistant_schedule_output(customer_id: Optional[pulumi.Input[str]] = None,
                                        id: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetServiceEdgeAssistantScheduleResult]func LookupServiceEdgeAssistantSchedule(ctx *Context, args *LookupServiceEdgeAssistantScheduleArgs, opts ...InvokeOption) (*LookupServiceEdgeAssistantScheduleResult, error)
func LookupServiceEdgeAssistantScheduleOutput(ctx *Context, args *LookupServiceEdgeAssistantScheduleOutputArgs, opts ...InvokeOption) LookupServiceEdgeAssistantScheduleResultOutput> Note: This function is named LookupServiceEdgeAssistantSchedule in the Go SDK.
public static class GetServiceEdgeAssistantSchedule 
{
    public static Task<GetServiceEdgeAssistantScheduleResult> InvokeAsync(GetServiceEdgeAssistantScheduleArgs args, InvokeOptions? opts = null)
    public static Output<GetServiceEdgeAssistantScheduleResult> Invoke(GetServiceEdgeAssistantScheduleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetServiceEdgeAssistantScheduleResult> getServiceEdgeAssistantSchedule(GetServiceEdgeAssistantScheduleArgs args, InvokeOptions options)
public static Output<GetServiceEdgeAssistantScheduleResult> getServiceEdgeAssistantSchedule(GetServiceEdgeAssistantScheduleArgs args, InvokeOptions options)
fn::invoke:
  function: zpa:index/getServiceEdgeAssistantSchedule:getServiceEdgeAssistantSchedule
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CustomerId string
- Id string
- CustomerId string
- Id string
- customerId String
- id String
- customerId string
- id string
- customer_id str
- id str
- customerId String
- id String
getServiceEdgeAssistantSchedule Result
The following output properties are available:
- DeleteDisabled bool
- Enabled bool
- Frequency string
- FrequencyInterval string
- CustomerId string
- Id string
- DeleteDisabled bool
- Enabled bool
- 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
- delete_disabled bool
- enabled bool
- frequency str
- frequency_interval str
- customer_id str
- id str
- 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 zpaTerraform Provider.
 
