published on Friday, Sep 11, 2026 by incident-io
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.
Create ScheduleBeta Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ScheduleBeta(name: string, args: ScheduleBetaArgs, opts?: CustomResourceOptions);@overload
def ScheduleBeta(resource_name: str,
args: ScheduleBetaArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ScheduleBeta(resource_name: str,
opts: Optional[ResourceOptions] = None,
timezone: Optional[str] = None,
holidays_public_config: Optional[ScheduleBetaHolidaysPublicConfigArgs] = None,
name: Optional[str] = None,
team_ids: Optional[Sequence[str]] = None)func NewScheduleBeta(ctx *Context, name string, args ScheduleBetaArgs, opts ...ResourceOption) (*ScheduleBeta, error)public ScheduleBeta(string name, ScheduleBetaArgs args, CustomResourceOptions? opts = null)
public ScheduleBeta(String name, ScheduleBetaArgs args)
public ScheduleBeta(String name, ScheduleBetaArgs args, CustomResourceOptions options)
type: incident:ScheduleBeta
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "incident_schedule_beta" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ScheduleBetaArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ScheduleBetaArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ScheduleBetaArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ScheduleBetaArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ScheduleBetaArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var scheduleBetaResource = new Incident.ScheduleBeta("scheduleBetaResource", new()
{
Timezone = "string",
HolidaysPublicConfig = new Incident.Inputs.ScheduleBetaHolidaysPublicConfigArgs
{
CountryCodes = new[]
{
"string",
},
},
Name = "string",
TeamIds = new[]
{
"string",
},
});
example, err := incident.NewScheduleBeta(ctx, "scheduleBetaResource", &incident.ScheduleBetaArgs{
Timezone: pulumi.String("string"),
HolidaysPublicConfig: &incident.ScheduleBetaHolidaysPublicConfigArgs{
CountryCodes: pulumi.StringArray{
pulumi.String("string"),
},
},
Name: pulumi.String("string"),
TeamIds: pulumi.StringArray{
pulumi.String("string"),
},
})
resource "incident_schedule_beta" "scheduleBetaResource" {
lifecycle {
create_before_destroy = true
}
timezone = "string"
holidays_public_config = {
country_codes = ["string"]
}
name = "string"
team_ids = ["string"]
}
var scheduleBetaResource = new ScheduleBeta("scheduleBetaResource", ScheduleBetaArgs.builder()
.timezone("string")
.holidaysPublicConfig(ScheduleBetaHolidaysPublicConfigArgs.builder()
.countryCodes("string")
.build())
.name("string")
.teamIds("string")
.build());
schedule_beta_resource = incident.ScheduleBeta("scheduleBetaResource",
timezone="string",
holidays_public_config={
"country_codes": ["string"],
},
name="string",
team_ids=["string"])
const scheduleBetaResource = new incident.ScheduleBeta("scheduleBetaResource", {
timezone: "string",
holidaysPublicConfig: {
countryCodes: ["string"],
},
name: "string",
teamIds: ["string"],
});
type: incident:ScheduleBeta
properties:
holidaysPublicConfig:
countryCodes:
- string
name: string
teamIds:
- string
timezone: string
ScheduleBeta Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ScheduleBeta resource accepts the following input properties:
- Timezone string
- Timezone the schedule's rotations are anchored to, as an IANA name. Changing this replaces the schedule: a timezone is what its rotations are anchored to, and we don't support moving an existing schedule to another one.
- Holidays
Public ScheduleConfig Beta Holidays Public Config - Public holidays to show on this schedule. Omit the block entirely to show none.
- Name string
- Human readable name for the schedule
- 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. Changing this replaces the schedule: a timezone is what its rotations are anchored to, and we don't support moving an existing schedule to another one.
- Holidays
Public ScheduleConfig Beta Holidays Public Config Args - Public holidays to show on this schedule. Omit the block entirely to show none.
- Name string
- Human readable name for the schedule
- Team
Ids []string - IDs of teams that own this schedule
- timezone string
- Timezone the schedule's rotations are anchored to, as an IANA name. Changing this replaces the schedule: a timezone is what its rotations are anchored to, and we don't support moving an existing schedule to another one.
- holidays_
public_ objectconfig - Public holidays to show on this schedule. Omit the block entirely to show none.
- name string
- Human readable name for the schedule
- 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. Changing this replaces the schedule: a timezone is what its rotations are anchored to, and we don't support moving an existing schedule to another one.
- holidays
Public ScheduleConfig Beta Holidays Public Config - Public holidays to show on this schedule. Omit the block entirely to show none.
- name String
- Human readable name for the schedule
- 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. Changing this replaces the schedule: a timezone is what its rotations are anchored to, and we don't support moving an existing schedule to another one.
- holidays
Public ScheduleConfig Beta Holidays Public Config - Public holidays to show on this schedule. Omit the block entirely to show none.
- name string
- Human readable name for the schedule
- team
Ids string[] - IDs of teams that own this schedule
- timezone str
- Timezone the schedule's rotations are anchored to, as an IANA name. Changing this replaces the schedule: a timezone is what its rotations are anchored to, and we don't support moving an existing schedule to another one.
- holidays_
public_ Scheduleconfig Beta Holidays Public Config Args - Public holidays to show on this schedule. Omit the block entirely to show none.
- name str
- Human readable name for the schedule
- team_
ids Sequence[str] - IDs of teams that own this schedule
- timezone String
- Timezone the schedule's rotations are anchored to, as an IANA name. Changing this replaces the schedule: a timezone is what its rotations are anchored to, and we don't support moving an existing schedule to another one.
- holidays
Public Property MapConfig - Public holidays to show on this schedule. Omit the block entirely to show none.
- name String
- Human readable name for the schedule
- team
Ids List<String> - IDs of teams that own this schedule
Outputs
All input properties are implicitly available as output properties. Additionally, the ScheduleBeta resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ScheduleBeta Resource
Get an existing ScheduleBeta resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ScheduleBetaState, opts?: CustomResourceOptions): ScheduleBeta@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
holidays_public_config: Optional[ScheduleBetaHolidaysPublicConfigArgs] = None,
name: Optional[str] = None,
team_ids: Optional[Sequence[str]] = None,
timezone: Optional[str] = None) -> ScheduleBetafunc GetScheduleBeta(ctx *Context, name string, id IDInput, state *ScheduleBetaState, opts ...ResourceOption) (*ScheduleBeta, error)public static ScheduleBeta Get(string name, Input<string> id, ScheduleBetaState? state, CustomResourceOptions? opts = null)public static ScheduleBeta get(String name, Output<String> id, ScheduleBetaState state, CustomResourceOptions options)resources: _: type: incident:ScheduleBeta get: id: ${id}import {
to = incident_schedule_beta.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Holidays
Public ScheduleConfig Beta Holidays Public Config - Public holidays to show on this schedule. Omit the block entirely to show none.
- Name string
- Human readable name for the schedule
- 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. Changing this replaces the schedule: a timezone is what its rotations are anchored to, and we don't support moving an existing schedule to another one.
- Holidays
Public ScheduleConfig Beta Holidays Public Config Args - Public holidays to show on this schedule. Omit the block entirely to show none.
- Name string
- Human readable name for the schedule
- Team
Ids []string - IDs of teams that own this schedule
- Timezone string
- Timezone the schedule's rotations are anchored to, as an IANA name. Changing this replaces the schedule: a timezone is what its rotations are anchored to, and we don't support moving an existing schedule to another one.
- holidays_
public_ objectconfig - Public holidays to show on this schedule. Omit the block entirely to show none.
- name string
- Human readable name for the schedule
- 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. Changing this replaces the schedule: a timezone is what its rotations are anchored to, and we don't support moving an existing schedule to another one.
- holidays
Public ScheduleConfig Beta Holidays Public Config - Public holidays to show on this schedule. Omit the block entirely to show none.
- name String
- Human readable name for the schedule
- 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. Changing this replaces the schedule: a timezone is what its rotations are anchored to, and we don't support moving an existing schedule to another one.
- holidays
Public ScheduleConfig Beta Holidays Public Config - Public holidays to show on this schedule. Omit the block entirely to show none.
- name string
- Human readable name for the schedule
- team
Ids string[] - IDs of teams that own this schedule
- timezone string
- Timezone the schedule's rotations are anchored to, as an IANA name. Changing this replaces the schedule: a timezone is what its rotations are anchored to, and we don't support moving an existing schedule to another one.
- holidays_
public_ Scheduleconfig Beta Holidays Public Config Args - Public holidays to show on this schedule. Omit the block entirely to show none.
- name str
- Human readable name for the schedule
- 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. Changing this replaces the schedule: a timezone is what its rotations are anchored to, and we don't support moving an existing schedule to another one.
- holidays
Public Property MapConfig - Public holidays to show on this schedule. Omit the block entirely to show none.
- name String
- Human readable name for the schedule
- 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. Changing this replaces the schedule: a timezone is what its rotations are anchored to, and we don't support moving an existing schedule to another one.
Supporting Types
ScheduleBetaHolidaysPublicConfig, ScheduleBetaHolidaysPublicConfigArgs
- Country
Codes List<string> - ISO 3166-1 alpha-2 country codes for the countries that this schedule is configured to view holidays for
- Country
Codes []string - ISO 3166-1 alpha-2 country codes for the countries that this schedule is configured to view holidays for
- country_
codes list(string) - ISO 3166-1 alpha-2 country codes for the countries that this schedule is configured to view holidays for
- country
Codes List<String> - ISO 3166-1 alpha-2 country codes for the countries that this schedule is configured to view holidays for
- country
Codes string[] - ISO 3166-1 alpha-2 country codes for the countries that this schedule is configured to view holidays for
- country_
codes Sequence[str] - ISO 3166-1 alpha-2 country codes for the countries that this schedule is configured to view holidays for
- country
Codes List<String> - ISO 3166-1 alpha-2 country codes for the countries that this schedule is configured to view holidays for
Package Details
- Repository
- incident incident-io/terraform-provider-incident
- License
- Notes
- This Pulumi package is based on the
incidentTerraform Provider.
published on Friday, Sep 11, 2026 by incident-io