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 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 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 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 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 String
- The unique name of the resource.
- args 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",
});
example, err := checkpoint.NewManagementRevertToRevision(ctx, "managementRevertToRevisionResource", &checkpoint.ManagementRevertToRevisionArgs{
ManagementRevertToRevisionId: pulumi.String("string"),
ToSession: pulumi.String("string"),
})
var managementRevertToRevisionResource = new ManagementRevertToRevision("managementRevertToRevisionResource", ManagementRevertToRevisionArgs.builder()
.managementRevertToRevisionId("string")
.toSession("string")
.build());
management_revert_to_revision_resource = checkpoint.ManagementRevertToRevision("managementRevertToRevisionResource",
management_revert_to_revision_id="string",
to_session="string")
const managementRevertToRevisionResource = new checkpoint.ManagementRevertToRevision("managementRevertToRevisionResource", {
managementRevertToRevisionId: "string",
toSession: "string",
});
type: checkpoint:ManagementRevertToRevision
properties:
managementRevertToRevisionId: string
toSession: string
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:
- Management
Revert stringTo Revision Id - To
Session string - Session unique identifier. Specify the session id you would like to revert your database to.
- Management
Revert stringTo Revision Id - To
Session string - Session unique identifier. Specify the session id you would like to revert your database to.
- management
Revert StringTo Revision Id - to
Session String - Session unique identifier. Specify the session id you would like to revert your database to.
- management
Revert stringTo Revision Id - to
Session string - Session unique identifier. Specify the session id you would like to revert your database to.
- management_
revert_ strto_ revision_ id - to_
session str - Session unique identifier. Specify the session id you would like to revert your database to.
- management
Revert StringTo Revision Id - to
Session 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:
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
- 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.
- Management
Revert stringTo Revision Id - Task
Id string - Asynchronous task unique identifier.
- To
Session string - Session unique identifier. Specify the session id you would like to revert your database to.
- Management
Revert stringTo Revision Id - Task
Id string - Asynchronous task unique identifier.
- To
Session string - Session unique identifier. Specify the session id you would like to revert your database to.
- management
Revert StringTo Revision Id - task
Id String - Asynchronous task unique identifier.
- to
Session String - Session unique identifier. Specify the session id you would like to revert your database to.
- management
Revert stringTo Revision Id - task
Id string - Asynchronous task unique identifier.
- to
Session string - Session unique identifier. Specify the session id you would like to revert your database to.
- management_
revert_ strto_ revision_ id - 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.
- management
Revert StringTo Revision Id - task
Id String - Asynchronous task unique identifier.
- to
Session 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.