1. Packages
  2. Checkpoint Provider
  3. API Docs
  4. ManagementRevertToRevision
checkpoint 2.9.0 published on Monday, Apr 14, 2025 by checkpointsw

checkpoint.ManagementRevertToRevision

Explore with Pulumi AI

Create ManagementRevertToRevision Resource

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

Constructor syntax

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

@overload
def ManagementRevertToRevision(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               management_revert_to_revision_id: Optional[str] = None,
                               to_session: Optional[str] = None)
func NewManagementRevertToRevision(ctx *Context, name string, args *ManagementRevertToRevisionArgs, opts ...ResourceOption) (*ManagementRevertToRevision, error)
public ManagementRevertToRevision(string name, ManagementRevertToRevisionArgs? args = null, CustomResourceOptions? opts = null)
public ManagementRevertToRevision(String name, ManagementRevertToRevisionArgs args)
public ManagementRevertToRevision(String name, ManagementRevertToRevisionArgs args, CustomResourceOptions options)
type: checkpoint:ManagementRevertToRevision
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 ManagementRevertToRevisionArgs
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 ManagementRevertToRevisionArgs
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 ManagementRevertToRevisionArgs
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 ManagementRevertToRevisionArgs
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. ManagementRevertToRevisionArgs
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 managementRevertToRevisionResource = new Checkpoint.ManagementRevertToRevision("managementRevertToRevisionResource", new()
{
    ManagementRevertToRevisionId = "string",
    ToSession = "string",
});
Copy
example, err := checkpoint.NewManagementRevertToRevision(ctx, "managementRevertToRevisionResource", &checkpoint.ManagementRevertToRevisionArgs{
ManagementRevertToRevisionId: pulumi.String("string"),
ToSession: pulumi.String("string"),
})
Copy
var managementRevertToRevisionResource = new ManagementRevertToRevision("managementRevertToRevisionResource", ManagementRevertToRevisionArgs.builder()
    .managementRevertToRevisionId("string")
    .toSession("string")
    .build());
Copy
management_revert_to_revision_resource = checkpoint.ManagementRevertToRevision("managementRevertToRevisionResource",
    management_revert_to_revision_id="string",
    to_session="string")
Copy
const managementRevertToRevisionResource = new checkpoint.ManagementRevertToRevision("managementRevertToRevisionResource", {
    managementRevertToRevisionId: "string",
    toSession: "string",
});
Copy
type: checkpoint:ManagementRevertToRevision
properties:
    managementRevertToRevisionId: string
    toSession: string
Copy

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

ManagementRevertToRevisionId string
ToSession string
Session unique identifier. Specify the session id you would like to revert your database to.
ManagementRevertToRevisionId string
ToSession string
Session unique identifier. Specify the session id you would like to revert your database to.
managementRevertToRevisionId String
toSession String
Session unique identifier. Specify the session id you would like to revert your database to.
managementRevertToRevisionId string
toSession string
Session unique identifier. Specify the session id you would like to revert your database to.
management_revert_to_revision_id str
to_session str
Session unique identifier. Specify the session id you would like to revert your database to.
managementRevertToRevisionId String
toSession String
Session unique identifier. Specify the session id you would like to revert your database to.

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
TaskId string
Asynchronous task unique identifier.
Id string
The provider-assigned unique ID for this managed resource.
TaskId string
Asynchronous task unique identifier.
id String
The provider-assigned unique ID for this managed resource.
taskId String
Asynchronous task unique identifier.
id string
The provider-assigned unique ID for this managed resource.
taskId string
Asynchronous task unique identifier.
id str
The provider-assigned unique ID for this managed resource.
task_id str
Asynchronous task unique identifier.
id String
The provider-assigned unique ID for this managed resource.
taskId String
Asynchronous task unique identifier.

Look up Existing ManagementRevertToRevision Resource

Get an existing ManagementRevertToRevision 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?: ManagementRevertToRevisionState, opts?: CustomResourceOptions): ManagementRevertToRevision
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        management_revert_to_revision_id: Optional[str] = None,
        task_id: Optional[str] = None,
        to_session: Optional[str] = None) -> ManagementRevertToRevision
func GetManagementRevertToRevision(ctx *Context, name string, id IDInput, state *ManagementRevertToRevisionState, opts ...ResourceOption) (*ManagementRevertToRevision, error)
public static ManagementRevertToRevision Get(string name, Input<string> id, ManagementRevertToRevisionState? state, CustomResourceOptions? opts = null)
public static ManagementRevertToRevision get(String name, Output<String> id, ManagementRevertToRevisionState state, CustomResourceOptions options)
resources:  _:    type: checkpoint:ManagementRevertToRevision    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:
ManagementRevertToRevisionId string
TaskId string
Asynchronous task unique identifier.
ToSession string
Session unique identifier. Specify the session id you would like to revert your database to.
ManagementRevertToRevisionId string
TaskId string
Asynchronous task unique identifier.
ToSession string
Session unique identifier. Specify the session id you would like to revert your database to.
managementRevertToRevisionId String
taskId String
Asynchronous task unique identifier.
toSession String
Session unique identifier. Specify the session id you would like to revert your database to.
managementRevertToRevisionId string
taskId string
Asynchronous task unique identifier.
toSession string
Session unique identifier. Specify the session id you would like to revert your database to.
management_revert_to_revision_id str
task_id str
Asynchronous task unique identifier.
to_session str
Session unique identifier. Specify the session id you would like to revert your database to.
managementRevertToRevisionId String
taskId String
Asynchronous task unique identifier.
toSession String
Session unique identifier. Specify the session id you would like to revert your database to.

Package Details

Repository
checkpoint checkpointsw/terraform-provider-checkpoint
License
Notes
This Pulumi package is based on the checkpoint Terraform Provider.