nutanix.SelfServiceAppRecoveryPoint
Explore with Pulumi AI
Run snapshot action in application to create recovery point.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pierskarsenbarg/nutanix";
const test = new nutanix.SelfServiceAppRecoveryPoint("test", {
actionName: "SNAPSHOT ACTION NAME",
appName: "NAME OF APPLICATION",
recoveryPointName: "RECOVERY POINT NAME",
});
import pulumi
import pulumi_nutanix as nutanix
test = nutanix.SelfServiceAppRecoveryPoint("test",
action_name="SNAPSHOT ACTION NAME",
app_name="NAME OF APPLICATION",
recovery_point_name="RECOVERY POINT NAME")
package main
import (
"github.com/pierskarsenbarg/pulumi-nutanix/sdk/go/nutanix"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := nutanix.NewSelfServiceAppRecoveryPoint(ctx, "test", &nutanix.SelfServiceAppRecoveryPointArgs{
ActionName: pulumi.String("SNAPSHOT ACTION NAME"),
AppName: pulumi.String("NAME OF APPLICATION"),
RecoveryPointName: pulumi.String("RECOVERY POINT NAME"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nutanix = PiersKarsenbarg.Nutanix;
return await Deployment.RunAsync(() =>
{
var test = new Nutanix.SelfServiceAppRecoveryPoint("test", new()
{
ActionName = "SNAPSHOT ACTION NAME",
AppName = "NAME OF APPLICATION",
RecoveryPointName = "RECOVERY POINT NAME",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nutanix.SelfServiceAppRecoveryPoint;
import com.pulumi.nutanix.SelfServiceAppRecoveryPointArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var test = new SelfServiceAppRecoveryPoint("test", SelfServiceAppRecoveryPointArgs.builder()
.actionName("SNAPSHOT ACTION NAME")
.appName("NAME OF APPLICATION")
.recoveryPointName("RECOVERY POINT NAME")
.build());
}
}
resources:
test:
type: nutanix:SelfServiceAppRecoveryPoint
properties:
actionName: SNAPSHOT ACTION NAME
appName: NAME OF APPLICATION
recoveryPointName: RECOVERY POINT NAME
Create SelfServiceAppRecoveryPoint Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SelfServiceAppRecoveryPoint(name: string, args: SelfServiceAppRecoveryPointArgs, opts?: CustomResourceOptions);
@overload
def SelfServiceAppRecoveryPoint(resource_name: str,
args: SelfServiceAppRecoveryPointArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SelfServiceAppRecoveryPoint(resource_name: str,
opts: Optional[ResourceOptions] = None,
action_name: Optional[str] = None,
app_name: Optional[str] = None,
app_uuid: Optional[str] = None,
recovery_point_name: Optional[str] = None)
func NewSelfServiceAppRecoveryPoint(ctx *Context, name string, args SelfServiceAppRecoveryPointArgs, opts ...ResourceOption) (*SelfServiceAppRecoveryPoint, error)
public SelfServiceAppRecoveryPoint(string name, SelfServiceAppRecoveryPointArgs args, CustomResourceOptions? opts = null)
public SelfServiceAppRecoveryPoint(String name, SelfServiceAppRecoveryPointArgs args)
public SelfServiceAppRecoveryPoint(String name, SelfServiceAppRecoveryPointArgs args, CustomResourceOptions options)
type: nutanix:SelfServiceAppRecoveryPoint
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 SelfServiceAppRecoveryPointArgs
- 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 SelfServiceAppRecoveryPointArgs
- 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 SelfServiceAppRecoveryPointArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SelfServiceAppRecoveryPointArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SelfServiceAppRecoveryPointArgs
- 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 selfServiceAppRecoveryPointResource = new Nutanix.SelfServiceAppRecoveryPoint("selfServiceAppRecoveryPointResource", new()
{
ActionName = "string",
AppName = "string",
AppUuid = "string",
RecoveryPointName = "string",
});
example, err := nutanix.NewSelfServiceAppRecoveryPoint(ctx, "selfServiceAppRecoveryPointResource", &nutanix.SelfServiceAppRecoveryPointArgs{
ActionName: pulumi.String("string"),
AppName: pulumi.String("string"),
AppUuid: pulumi.String("string"),
RecoveryPointName: pulumi.String("string"),
})
var selfServiceAppRecoveryPointResource = new SelfServiceAppRecoveryPoint("selfServiceAppRecoveryPointResource", SelfServiceAppRecoveryPointArgs.builder()
.actionName("string")
.appName("string")
.appUuid("string")
.recoveryPointName("string")
.build());
self_service_app_recovery_point_resource = nutanix.SelfServiceAppRecoveryPoint("selfServiceAppRecoveryPointResource",
action_name="string",
app_name="string",
app_uuid="string",
recovery_point_name="string")
const selfServiceAppRecoveryPointResource = new nutanix.SelfServiceAppRecoveryPoint("selfServiceAppRecoveryPointResource", {
actionName: "string",
appName: "string",
appUuid: "string",
recoveryPointName: "string",
});
type: nutanix:SelfServiceAppRecoveryPoint
properties:
actionName: string
appName: string
appUuid: string
recoveryPointName: string
SelfServiceAppRecoveryPoint 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 SelfServiceAppRecoveryPoint resource accepts the following input properties:
- Action
Name string - (Required) The name of the snapshot action to trigger.
- App
Name string - (Optional) The name of the application
- App
Uuid string - (Required) The UUID of the application.
Both (
app_name
andapp_uuid
) are optional but atleast one of them should be provided for resource to work.- Recovery
Point stringName - (Required) The name of recovery point.
- Action
Name string - (Required) The name of the snapshot action to trigger.
- App
Name string - (Optional) The name of the application
- App
Uuid string - (Required) The UUID of the application.
Both (
app_name
andapp_uuid
) are optional but atleast one of them should be provided for resource to work.- Recovery
Point stringName - (Required) The name of recovery point.
- action
Name String - (Required) The name of the snapshot action to trigger.
- app
Name String - (Optional) The name of the application
- app
Uuid String - (Required) The UUID of the application.
Both (
app_name
andapp_uuid
) are optional but atleast one of them should be provided for resource to work.- recovery
Point StringName - (Required) The name of recovery point.
- action
Name string - (Required) The name of the snapshot action to trigger.
- app
Name string - (Optional) The name of the application
- app
Uuid string - (Required) The UUID of the application.
Both (
app_name
andapp_uuid
) are optional but atleast one of them should be provided for resource to work.- recovery
Point stringName - (Required) The name of recovery point.
- action_
name str - (Required) The name of the snapshot action to trigger.
- app_
name str - (Optional) The name of the application
- app_
uuid str - (Required) The UUID of the application.
Both (
app_name
andapp_uuid
) are optional but atleast one of them should be provided for resource to work.- recovery_
point_ strname - (Required) The name of recovery point.
- action
Name String - (Required) The name of the snapshot action to trigger.
- app
Name String - (Optional) The name of the application
- app
Uuid String - (Required) The UUID of the application.
Both (
app_name
andapp_uuid
) are optional but atleast one of them should be provided for resource to work.- recovery
Point StringName - (Required) The name of recovery point.
Outputs
All input properties are implicitly available as output properties. Additionally, the SelfServiceAppRecoveryPoint 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 SelfServiceAppRecoveryPoint Resource
Get an existing SelfServiceAppRecoveryPoint 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?: SelfServiceAppRecoveryPointState, opts?: CustomResourceOptions): SelfServiceAppRecoveryPoint
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
action_name: Optional[str] = None,
app_name: Optional[str] = None,
app_uuid: Optional[str] = None,
recovery_point_name: Optional[str] = None) -> SelfServiceAppRecoveryPoint
func GetSelfServiceAppRecoveryPoint(ctx *Context, name string, id IDInput, state *SelfServiceAppRecoveryPointState, opts ...ResourceOption) (*SelfServiceAppRecoveryPoint, error)
public static SelfServiceAppRecoveryPoint Get(string name, Input<string> id, SelfServiceAppRecoveryPointState? state, CustomResourceOptions? opts = null)
public static SelfServiceAppRecoveryPoint get(String name, Output<String> id, SelfServiceAppRecoveryPointState state, CustomResourceOptions options)
resources: _: type: nutanix:SelfServiceAppRecoveryPoint 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.
- Action
Name string - (Required) The name of the snapshot action to trigger.
- App
Name string - (Optional) The name of the application
- App
Uuid string - (Required) The UUID of the application.
Both (
app_name
andapp_uuid
) are optional but atleast one of them should be provided for resource to work.- Recovery
Point stringName - (Required) The name of recovery point.
- Action
Name string - (Required) The name of the snapshot action to trigger.
- App
Name string - (Optional) The name of the application
- App
Uuid string - (Required) The UUID of the application.
Both (
app_name
andapp_uuid
) are optional but atleast one of them should be provided for resource to work.- Recovery
Point stringName - (Required) The name of recovery point.
- action
Name String - (Required) The name of the snapshot action to trigger.
- app
Name String - (Optional) The name of the application
- app
Uuid String - (Required) The UUID of the application.
Both (
app_name
andapp_uuid
) are optional but atleast one of them should be provided for resource to work.- recovery
Point StringName - (Required) The name of recovery point.
- action
Name string - (Required) The name of the snapshot action to trigger.
- app
Name string - (Optional) The name of the application
- app
Uuid string - (Required) The UUID of the application.
Both (
app_name
andapp_uuid
) are optional but atleast one of them should be provided for resource to work.- recovery
Point stringName - (Required) The name of recovery point.
- action_
name str - (Required) The name of the snapshot action to trigger.
- app_
name str - (Optional) The name of the application
- app_
uuid str - (Required) The UUID of the application.
Both (
app_name
andapp_uuid
) are optional but atleast one of them should be provided for resource to work.- recovery_
point_ strname - (Required) The name of recovery point.
- action
Name String - (Required) The name of the snapshot action to trigger.
- app
Name String - (Optional) The name of the application
- app
Uuid String - (Required) The UUID of the application.
Both (
app_name
andapp_uuid
) are optional but atleast one of them should be provided for resource to work.- recovery
Point StringName - (Required) The name of recovery point.
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nutanix
Terraform Provider.