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

rootly logo
Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly

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

    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 string
    End time for schedule rotation active time
    StartTime string
    Start time for schedule rotation active time
    ScheduleRotationId string
    EndTime string
    End time for schedule rotation active time
    StartTime string
    Start time for schedule rotation active time
    ScheduleRotationId string
    endTime String
    End time for schedule rotation active time
    startTime String
    Start time for schedule rotation active time
    scheduleRotationId String
    endTime string
    End time for schedule rotation active time
    startTime string
    Start time for schedule rotation active time
    scheduleRotationId string
    end_time str
    End time for schedule rotation active time
    start_time str
    Start time for schedule rotation active time
    schedule_rotation_id str
    endTime String
    End time for schedule rotation active time
    startTime String
    Start time for schedule rotation active time
    scheduleRotationId 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)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    EndTime string
    End time for schedule rotation active time
    ScheduleRotationId string
    StartTime string
    Start time for schedule rotation active time
    EndTime string
    End time for schedule rotation active time
    ScheduleRotationId string
    StartTime string
    Start time for schedule rotation active time
    endTime String
    End time for schedule rotation active time
    scheduleRotationId String
    startTime String
    Start time for schedule rotation active time
    endTime string
    End time for schedule rotation active time
    scheduleRotationId string
    startTime string
    Start time for schedule rotation active time
    end_time str
    End time for schedule rotation active time
    schedule_rotation_id str
    start_time str
    Start time for schedule rotation active time
    endTime String
    End time for schedule rotation active time
    scheduleRotationId 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.
    rootly logo
    Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly