1. Packages
  2. Pulumi Cloud (Pulumi Service provider)
  3. API Docs
  4. TtlSchedule
Pulumi Cloud v0.27.1 published on Thursday, Nov 14, 2024 by Pulumi

pulumiservice.TtlSchedule

Explore with Pulumi AI

pulumiservice logo
Pulumi Cloud v0.27.1 published on Thursday, Nov 14, 2024 by Pulumi

    A scheduled stack destroy run.

    Create TtlSchedule Resource

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

    Constructor syntax

    new TtlSchedule(name: string, args: TtlScheduleArgs, opts?: CustomResourceOptions);
    @overload
    def TtlSchedule(resource_name: str,
                    args: TtlScheduleArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def TtlSchedule(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    organization: Optional[str] = None,
                    project: Optional[str] = None,
                    stack: Optional[str] = None,
                    timestamp: Optional[str] = None,
                    delete_after_destroy: Optional[bool] = None)
    func NewTtlSchedule(ctx *Context, name string, args TtlScheduleArgs, opts ...ResourceOption) (*TtlSchedule, error)
    public TtlSchedule(string name, TtlScheduleArgs args, CustomResourceOptions? opts = null)
    public TtlSchedule(String name, TtlScheduleArgs args)
    public TtlSchedule(String name, TtlScheduleArgs args, CustomResourceOptions options)
    
    type: pulumiservice:TtlSchedule
    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 TtlScheduleArgs
    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 TtlScheduleArgs
    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 TtlScheduleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TtlScheduleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TtlScheduleArgs
    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 ttlScheduleResource = new PulumiService.TtlSchedule("ttlScheduleResource", new()
    {
        Organization = "string",
        Project = "string",
        Stack = "string",
        Timestamp = "string",
        DeleteAfterDestroy = false,
    });
    
    example, err := pulumiservice.NewTtlSchedule(ctx, "ttlScheduleResource", &pulumiservice.TtlScheduleArgs{
    	Organization:       pulumi.String("string"),
    	Project:            pulumi.String("string"),
    	Stack:              pulumi.String("string"),
    	Timestamp:          pulumi.String("string"),
    	DeleteAfterDestroy: pulumi.Bool(false),
    })
    
    var ttlScheduleResource = new TtlSchedule("ttlScheduleResource", TtlScheduleArgs.builder()
        .organization("string")
        .project("string")
        .stack("string")
        .timestamp("string")
        .deleteAfterDestroy(false)
        .build());
    
    ttl_schedule_resource = pulumiservice.TtlSchedule("ttlScheduleResource",
        organization="string",
        project="string",
        stack="string",
        timestamp="string",
        delete_after_destroy=False)
    
    const ttlScheduleResource = new pulumiservice.TtlSchedule("ttlScheduleResource", {
        organization: "string",
        project: "string",
        stack: "string",
        timestamp: "string",
        deleteAfterDestroy: false,
    });
    
    type: pulumiservice:TtlSchedule
    properties:
        deleteAfterDestroy: false
        organization: string
        project: string
        stack: string
        timestamp: string
    

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

    Organization string
    Organization name.
    Project string
    Project name.
    Stack string
    Stack name.
    Timestamp string
    The time at which the schedule should run, in ISO 8601 format. Eg: 2020-01-01T00:00:00Z.
    DeleteAfterDestroy bool
    True if the stack and all associated history and settings should be deleted.
    Organization string
    Organization name.
    Project string
    Project name.
    Stack string
    Stack name.
    Timestamp string
    The time at which the schedule should run, in ISO 8601 format. Eg: 2020-01-01T00:00:00Z.
    DeleteAfterDestroy bool
    True if the stack and all associated history and settings should be deleted.
    organization String
    Organization name.
    project String
    Project name.
    stack String
    Stack name.
    timestamp String
    The time at which the schedule should run, in ISO 8601 format. Eg: 2020-01-01T00:00:00Z.
    deleteAfterDestroy Boolean
    True if the stack and all associated history and settings should be deleted.
    organization string
    Organization name.
    project string
    Project name.
    stack string
    Stack name.
    timestamp string
    The time at which the schedule should run, in ISO 8601 format. Eg: 2020-01-01T00:00:00Z.
    deleteAfterDestroy boolean
    True if the stack and all associated history and settings should be deleted.
    organization str
    Organization name.
    project str
    Project name.
    stack str
    Stack name.
    timestamp str
    The time at which the schedule should run, in ISO 8601 format. Eg: 2020-01-01T00:00:00Z.
    delete_after_destroy bool
    True if the stack and all associated history and settings should be deleted.
    organization String
    Organization name.
    project String
    Project name.
    stack String
    Stack name.
    timestamp String
    The time at which the schedule should run, in ISO 8601 format. Eg: 2020-01-01T00:00:00Z.
    deleteAfterDestroy Boolean
    True if the stack and all associated history and settings should be deleted.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TtlSchedule resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    ScheduleId string
    Schedule ID of the created schedule, assigned by Pulumi Cloud.
    Id string
    The provider-assigned unique ID for this managed resource.
    ScheduleId string
    Schedule ID of the created schedule, assigned by Pulumi Cloud.
    id String
    The provider-assigned unique ID for this managed resource.
    scheduleId String
    Schedule ID of the created schedule, assigned by Pulumi Cloud.
    id string
    The provider-assigned unique ID for this managed resource.
    scheduleId string
    Schedule ID of the created schedule, assigned by Pulumi Cloud.
    id str
    The provider-assigned unique ID for this managed resource.
    schedule_id str
    Schedule ID of the created schedule, assigned by Pulumi Cloud.
    id String
    The provider-assigned unique ID for this managed resource.
    scheduleId String
    Schedule ID of the created schedule, assigned by Pulumi Cloud.

    Package Details

    Repository
    pulumiservice pulumi/pulumi-pulumiservice
    License
    Apache-2.0
    pulumiservice logo
    Pulumi Cloud v0.27.1 published on Thursday, Nov 14, 2024 by Pulumi