Zscaler Private Access v0.0.12 published on Tuesday, Jul 30, 2024 by Zscaler
zpa.getAppConnectorAssistantSchedule
Explore with Pulumi AI
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 getAppConnectorAssistantSchedule
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 getAppConnectorAssistantSchedule(args: GetAppConnectorAssistantScheduleArgs, opts?: InvokeOptions): Promise<GetAppConnectorAssistantScheduleResult>
function getAppConnectorAssistantScheduleOutput(args: GetAppConnectorAssistantScheduleOutputArgs, opts?: InvokeOptions): Output<GetAppConnectorAssistantScheduleResult>
def get_app_connector_assistant_schedule(customer_id: Optional[str] = None,
id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAppConnectorAssistantScheduleResult
def get_app_connector_assistant_schedule_output(customer_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAppConnectorAssistantScheduleResult]
func LookupAppConnectorAssistantSchedule(ctx *Context, args *LookupAppConnectorAssistantScheduleArgs, opts ...InvokeOption) (*LookupAppConnectorAssistantScheduleResult, error)
func LookupAppConnectorAssistantScheduleOutput(ctx *Context, args *LookupAppConnectorAssistantScheduleOutputArgs, opts ...InvokeOption) LookupAppConnectorAssistantScheduleResultOutput
> Note: This function is named LookupAppConnectorAssistantSchedule
in the Go SDK.
public static class GetAppConnectorAssistantSchedule
{
public static Task<GetAppConnectorAssistantScheduleResult> InvokeAsync(GetAppConnectorAssistantScheduleArgs args, InvokeOptions? opts = null)
public static Output<GetAppConnectorAssistantScheduleResult> Invoke(GetAppConnectorAssistantScheduleInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAppConnectorAssistantScheduleResult> getAppConnectorAssistantSchedule(GetAppConnectorAssistantScheduleArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: zpa:index/getAppConnectorAssistantSchedule:getAppConnectorAssistantSchedule
arguments:
# arguments dictionary
The following arguments are supported:
- Customer
Id string - Id string
- Customer
Id string - Id string
- customer
Id String - id String
- customer
Id string - id string
- customer_
id str - id str
- customer
Id String - id String
getAppConnectorAssistantSchedule Result
The following output properties are available:
- Delete
Disabled bool - Enabled bool
- Frequency string
- Frequency
Interval string - Customer
Id string - Id string
- Delete
Disabled bool - Enabled bool
- Frequency string
- Frequency
Interval string - Customer
Id string - Id string
- delete
Disabled Boolean - enabled Boolean
- frequency String
- frequency
Interval String - customer
Id String - id String
- delete
Disabled boolean - enabled boolean
- frequency string
- frequency
Interval string - customer
Id string - id string
- delete_
disabled bool - enabled bool
- frequency str
- frequency_
interval str - customer_
id str - id str
- delete
Disabled Boolean - enabled Boolean
- frequency String
- frequency
Interval String - customer
Id String - id String
Package Details
- Repository
- zpa zscaler/pulumi-zpa
- License
- MIT
- Notes
- This Pulumi package is based on the
zpa
Terraform Provider.