1. Packages
  2. Awx Provider
  3. API Docs
  4. getSchedule
awx 0.29.1 published on Monday, Apr 14, 2025 by denouche

awx.getSchedule

Explore with Pulumi AI

awx 0.29.1 published on Monday, Apr 14, 2025 by denouche

TBD

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as awx from "@pulumi/awx";

const _default = awx.getSchedule({
    name: "private_services",
});
Copy
import pulumi
import pulumi_awx as awx

default = awx.get_schedule(name="private_services")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/awx/awx"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := awx.LookupSchedule(ctx, &awx.LookupScheduleArgs{
			Name: pulumi.StringRef("private_services"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Awx = Pulumi.Awx;

return await Deployment.RunAsync(() => 
{
    var @default = Awx.GetSchedule.Invoke(new()
    {
        Name = "private_services",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.awx.AwxFunctions;
import com.pulumi.awx.inputs.GetScheduleArgs;
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 default = AwxFunctions.getSchedule(GetScheduleArgs.builder()
            .name("private_services")
            .build());

    }
}
Copy
variables:
  default:
    fn::invoke:
      function: awx:getSchedule
      arguments:
        name: private_services
Copy

Using getSchedule

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 getSchedule(args: GetScheduleArgs, opts?: InvokeOptions): Promise<GetScheduleResult>
function getScheduleOutput(args: GetScheduleOutputArgs, opts?: InvokeOptions): Output<GetScheduleResult>
Copy
def get_schedule(id: Optional[float] = None,
                 name: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetScheduleResult
def get_schedule_output(id: Optional[pulumi.Input[float]] = None,
                 name: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetScheduleResult]
Copy
func LookupSchedule(ctx *Context, args *LookupScheduleArgs, opts ...InvokeOption) (*LookupScheduleResult, error)
func LookupScheduleOutput(ctx *Context, args *LookupScheduleOutputArgs, opts ...InvokeOption) LookupScheduleResultOutput
Copy

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

public static class GetSchedule 
{
    public static Task<GetScheduleResult> InvokeAsync(GetScheduleArgs args, InvokeOptions? opts = null)
    public static Output<GetScheduleResult> Invoke(GetScheduleInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetScheduleResult> getSchedule(GetScheduleArgs args, InvokeOptions options)
public static Output<GetScheduleResult> getSchedule(GetScheduleArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: awx:index/getSchedule:getSchedule
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id double
Name string
Id float64
Name string
id Double
name String
id number
name string
id float
name str
id Number
name String

getSchedule Result

The following output properties are available:

Id double
Name string
Id float64
Name string
id Double
name String
id number
name string
id float
name str
id Number
name String

Package Details

Repository
awx denouche/terraform-provider-awx
License
Notes
This Pulumi package is based on the awx Terraform Provider.
awx 0.29.1 published on Monday, Apr 14, 2025 by denouche