1. Registry
  2. Packages
  3. Incident Provider
  4. API Docs
  5. getScheduleBeta
Viewing docs for incident 7.0.0
published on Friday, Sep 11, 2026 by incident-io
Viewing docs for incident 7.0.0
published on Friday, Sep 11, 2026 by incident-io

    incident.ScheduleBeta was renamed to incident.Schedule in v7.0.

    This name still works and still manages the same thing, so upgrading to v7 needs no change to a configuration that uses it. It is deprecated: every plan naming it warns, and it will be removed in v8.0.

    To move onto the new name:

    import * as pulumi from "@pulumi/pulumi";
    
    import pulumi
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    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) {
        }
    }
    
    {}
    
    Example coming soon!
    

    Both names are the same resource, backed by the same schema and the same API, so the move carries your state across and the plan after it is empty. See incident.Schedule for the documentation.

    Using getScheduleBeta

    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 getScheduleBeta(args: GetScheduleBetaArgs, opts?: InvokeOptions): Promise<GetScheduleBetaResult>
    function getScheduleBetaOutput(args: GetScheduleBetaOutputArgs, opts?: InvokeOutputOptions): Output<GetScheduleBetaResult>
    def get_schedule_beta(id: Optional[str] = None,
                          name: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetScheduleBetaResult
    def get_schedule_beta_output(id: pulumi.Input[Optional[str]] = None,
                          name: pulumi.Input[Optional[str]] = None,
                          opts: Optional[InvokeOutputOptions] = None) -> Output[GetScheduleBetaResult]
    func LookupScheduleBeta(ctx *Context, args *LookupScheduleBetaArgs, opts ...InvokeOption) (*LookupScheduleBetaResult, error)
    func LookupScheduleBetaOutput(ctx *Context, args *LookupScheduleBetaOutputArgs, opts ...InvokeOption) LookupScheduleBetaResultOutput

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

    public static class GetScheduleBeta 
    {
        public static Task<GetScheduleBetaResult> InvokeAsync(GetScheduleBetaArgs args, InvokeOptions? opts = null)
        public static Output<GetScheduleBetaResult> Invoke(GetScheduleBetaInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetScheduleBetaResult> Invoke(GetScheduleBetaInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetScheduleBetaResult> getScheduleBeta(GetScheduleBetaArgs args, InvokeOptions options)
    public static Output<GetScheduleBetaResult> getScheduleBeta(GetScheduleBetaArgs args, InvokeOptions options)
    public static Output<GetScheduleBetaResult> getScheduleBeta(GetScheduleBetaArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: incident:index/getScheduleBeta:getScheduleBeta
      arguments:
        # arguments dictionary
    data "incident_get_schedule_beta" "name" {
        # arguments
    }

    The following arguments are supported:

    Id string
    Look up the schedule by ID.
    Name string
    Look up the schedule by name. Names aren't unique, so this fails if more than one schedule matches.
    Id string
    Look up the schedule by ID.
    Name string
    Look up the schedule by name. Names aren't unique, so this fails if more than one schedule matches.
    id string
    Look up the schedule by ID.
    name string
    Look up the schedule by name. Names aren't unique, so this fails if more than one schedule matches.
    id String
    Look up the schedule by ID.
    name String
    Look up the schedule by name. Names aren't unique, so this fails if more than one schedule matches.
    id string
    Look up the schedule by ID.
    name string
    Look up the schedule by name. Names aren't unique, so this fails if more than one schedule matches.
    id str
    Look up the schedule by ID.
    name str
    Look up the schedule by name. Names aren't unique, so this fails if more than one schedule matches.
    id String
    Look up the schedule by ID.
    name String
    Look up the schedule by name. Names aren't unique, so this fails if more than one schedule matches.

    getScheduleBeta Result

    The following output properties are available:

    Id string
    Look up the schedule by ID.
    Name string
    Look up the schedule by name. Names aren't unique, so this fails if more than one schedule matches.
    TeamIds List<string>
    IDs of teams that own this schedule
    Timezone string
    Timezone the schedule's rotations are anchored to, as an IANA name
    Id string
    Look up the schedule by ID.
    Name string
    Look up the schedule by name. Names aren't unique, so this fails if more than one schedule matches.
    TeamIds []string
    IDs of teams that own this schedule
    Timezone string
    Timezone the schedule's rotations are anchored to, as an IANA name
    id string
    Look up the schedule by ID.
    name string
    Look up the schedule by name. Names aren't unique, so this fails if more than one schedule matches.
    team_ids list(string)
    IDs of teams that own this schedule
    timezone string
    Timezone the schedule's rotations are anchored to, as an IANA name
    id String
    Look up the schedule by ID.
    name String
    Look up the schedule by name. Names aren't unique, so this fails if more than one schedule matches.
    teamIds List<String>
    IDs of teams that own this schedule
    timezone String
    Timezone the schedule's rotations are anchored to, as an IANA name
    id string
    Look up the schedule by ID.
    name string
    Look up the schedule by name. Names aren't unique, so this fails if more than one schedule matches.
    teamIds string[]
    IDs of teams that own this schedule
    timezone string
    Timezone the schedule's rotations are anchored to, as an IANA name
    id str
    Look up the schedule by ID.
    name str
    Look up the schedule by name. Names aren't unique, so this fails if more than one schedule matches.
    team_ids Sequence[str]
    IDs of teams that own this schedule
    timezone str
    Timezone the schedule's rotations are anchored to, as an IANA name
    id String
    Look up the schedule by ID.
    name String
    Look up the schedule by name. Names aren't unique, so this fails if more than one schedule matches.
    teamIds List<String>
    IDs of teams that own this schedule
    timezone String
    Timezone the schedule's rotations are anchored to, as an IANA name

    Package Details

    Repository
    incident incident-io/terraform-provider-incident
    License
    Notes
    This Pulumi package is based on the incident Terraform Provider.
    Viewing docs for incident 7.0.0
    published on Friday, Sep 11, 2026 by incident-io

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial