1. Packages
  2. Rootly
  3. API Docs
  4. ScheduleRotationActiveTime
Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly

rootly.ScheduleRotationActiveTime

Explore with Pulumi AI

Create ScheduleRotationActiveTime Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ScheduleRotationActiveTime(name: string, args: ScheduleRotationActiveTimeArgs, opts?: CustomResourceOptions);
@overload
def ScheduleRotationActiveTime(resource_name: str,
                               args: ScheduleRotationActiveTimeArgs,
                               opts: Optional[ResourceOptions] = None)

@overload
def ScheduleRotationActiveTime(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               end_time: Optional[str] = None,
                               start_time: Optional[str] = None,
                               schedule_rotation_id: Optional[str] = None)
func NewScheduleRotationActiveTime(ctx *Context, name string, args ScheduleRotationActiveTimeArgs, opts ...ResourceOption) (*ScheduleRotationActiveTime, error)
public ScheduleRotationActiveTime(string name, ScheduleRotationActiveTimeArgs args, CustomResourceOptions? opts = null)
public ScheduleRotationActiveTime(String name, ScheduleRotationActiveTimeArgs args)
public ScheduleRotationActiveTime(String name, ScheduleRotationActiveTimeArgs args, CustomResourceOptions options)
type: rootly:ScheduleRotationActiveTime
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ScheduleRotationActiveTimeArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ScheduleRotationActiveTimeArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ScheduleRotationActiveTimeArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ScheduleRotationActiveTimeArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ScheduleRotationActiveTimeArgs
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 scheduleRotationActiveTimeResource = new Rootly.ScheduleRotationActiveTime("scheduleRotationActiveTimeResource", new()
{
    EndTime = "string",
    StartTime = "string",
    ScheduleRotationId = "string",
});
Copy
example, err := rootly.NewScheduleRotationActiveTime(ctx, "scheduleRotationActiveTimeResource", &rootly.ScheduleRotationActiveTimeArgs{
	EndTime:            pulumi.String("string"),
	StartTime:          pulumi.String("string"),
	ScheduleRotationId: pulumi.String("string"),
})
Copy
var scheduleRotationActiveTimeResource = new ScheduleRotationActiveTime("scheduleRotationActiveTimeResource", ScheduleRotationActiveTimeArgs.builder()
    .endTime("string")
    .startTime("string")
    .scheduleRotationId("string")
    .build());
Copy
schedule_rotation_active_time_resource = rootly.ScheduleRotationActiveTime("scheduleRotationActiveTimeResource",
    end_time="string",
    start_time="string",
    schedule_rotation_id="string")
Copy
const scheduleRotationActiveTimeResource = new rootly.ScheduleRotationActiveTime("scheduleRotationActiveTimeResource", {
    endTime: "string",
    startTime: "string",
    scheduleRotationId: "string",
});
Copy
type: rootly:ScheduleRotationActiveTime
properties:
    endTime: string
    scheduleRotationId: string
    startTime: string
Copy

ScheduleRotationActiveTime 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 ScheduleRotationActiveTime resource accepts the following input properties:

EndTime This property is required. string
End time for schedule rotation active time
StartTime This property is required. string
Start time for schedule rotation active time
ScheduleRotationId Changes to this property will trigger replacement. string
EndTime This property is required. string
End time for schedule rotation active time
StartTime This property is required. string
Start time for schedule rotation active time
ScheduleRotationId Changes to this property will trigger replacement. string
endTime This property is required. String
End time for schedule rotation active time
startTime This property is required. String
Start time for schedule rotation active time
scheduleRotationId Changes to this property will trigger replacement. String
endTime This property is required. string
End time for schedule rotation active time
startTime This property is required. string
Start time for schedule rotation active time
scheduleRotationId Changes to this property will trigger replacement. string
end_time This property is required. str
End time for schedule rotation active time
start_time This property is required. str
Start time for schedule rotation active time
schedule_rotation_id Changes to this property will trigger replacement. str
endTime This property is required. String
End time for schedule rotation active time
startTime This property is required. String
Start time for schedule rotation active time
scheduleRotationId Changes to this property will trigger replacement. String

Outputs

All input properties are implicitly available as output properties. Additionally, the ScheduleRotationActiveTime 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 str
The provider-assigned unique ID for this managed resource.
id String
The provider-assigned unique ID for this managed resource.

Look up Existing ScheduleRotationActiveTime Resource

Get an existing ScheduleRotationActiveTime 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?: ScheduleRotationActiveTimeState, opts?: CustomResourceOptions): ScheduleRotationActiveTime
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        end_time: Optional[str] = None,
        schedule_rotation_id: Optional[str] = None,
        start_time: Optional[str] = None) -> ScheduleRotationActiveTime
func GetScheduleRotationActiveTime(ctx *Context, name string, id IDInput, state *ScheduleRotationActiveTimeState, opts ...ResourceOption) (*ScheduleRotationActiveTime, error)
public static ScheduleRotationActiveTime Get(string name, Input<string> id, ScheduleRotationActiveTimeState? state, CustomResourceOptions? opts = null)
public static ScheduleRotationActiveTime get(String name, Output<String> id, ScheduleRotationActiveTimeState state, CustomResourceOptions options)
resources:  _:    type: rootly:ScheduleRotationActiveTime    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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.
The following state arguments are supported:
EndTime string
End time for schedule rotation active time
ScheduleRotationId Changes to this property will trigger replacement. string
StartTime string
Start time for schedule rotation active time
EndTime string
End time for schedule rotation active time
ScheduleRotationId Changes to this property will trigger replacement. string
StartTime string
Start time for schedule rotation active time
endTime String
End time for schedule rotation active time
scheduleRotationId Changes to this property will trigger replacement. String
startTime String
Start time for schedule rotation active time
endTime string
End time for schedule rotation active time
scheduleRotationId Changes to this property will trigger replacement. string
startTime string
Start time for schedule rotation active time
end_time str
End time for schedule rotation active time
schedule_rotation_id Changes to this property will trigger replacement. str
start_time str
Start time for schedule rotation active time
endTime String
End time for schedule rotation active time
scheduleRotationId Changes to this property will trigger replacement. String
startTime String
Start time for schedule rotation active time

Package Details

Repository
rootly rootlyhq/pulumi-rootly
License
Apache-2.0
Notes
This Pulumi package is based on the rootly Terraform Provider.