published on Monday, Nov 24, 2025 by Piers Karsenbarg
published on Monday, Nov 24, 2025 by Piers Karsenbarg
Describes recovery points (snapshots taken) present in an NCM Self Service Application.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pierskarsenbarg/nutanix";
const test = nutanix.getSelfServiceAppSnapshots({
appName: "NAME OF APPLICATION",
length: 250,
offset: 0,
});
import pulumi
import pulumi_nutanix as nutanix
test = nutanix.get_self_service_app_snapshots(app_name="NAME OF APPLICATION",
length=250,
offset=0)
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.GetSelfServiceAppSnapshots(ctx, &nutanix.GetSelfServiceAppSnapshotsArgs{
AppName: pulumi.StringRef("NAME OF APPLICATION"),
Length: 250,
Offset: 0,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nutanix = Pulumi.Nutanix;
return await Deployment.RunAsync(() =>
{
var test = Nutanix.GetSelfServiceAppSnapshots.Invoke(new()
{
AppName = "NAME OF APPLICATION",
Length = 250,
Offset = 0,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nutanix.NutanixFunctions;
import com.pulumi.nutanix.inputs.GetSelfServiceAppSnapshotsArgs;
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) {
final var test = NutanixFunctions.getSelfServiceAppSnapshots(GetSelfServiceAppSnapshotsArgs.builder()
.appName("NAME OF APPLICATION")
.length(250)
.offset(0)
.build());
}
}
variables:
test:
fn::invoke:
function: nutanix:getSelfServiceAppSnapshots
arguments:
appName: NAME OF APPLICATION
length: 250
offset: 0
Using getSelfServiceAppSnapshots
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSelfServiceAppSnapshots(args: GetSelfServiceAppSnapshotsArgs, opts?: InvokeOptions): Promise<GetSelfServiceAppSnapshotsResult>
function getSelfServiceAppSnapshotsOutput(args: GetSelfServiceAppSnapshotsOutputArgs, opts?: InvokeOptions): Output<GetSelfServiceAppSnapshotsResult>def get_self_service_app_snapshots(app_name: Optional[str] = None,
app_uuid: Optional[str] = None,
length: Optional[int] = None,
offset: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetSelfServiceAppSnapshotsResult
def get_self_service_app_snapshots_output(app_name: Optional[pulumi.Input[str]] = None,
app_uuid: Optional[pulumi.Input[str]] = None,
length: Optional[pulumi.Input[int]] = None,
offset: Optional[pulumi.Input[int]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSelfServiceAppSnapshotsResult]func GetSelfServiceAppSnapshots(ctx *Context, args *GetSelfServiceAppSnapshotsArgs, opts ...InvokeOption) (*GetSelfServiceAppSnapshotsResult, error)
func GetSelfServiceAppSnapshotsOutput(ctx *Context, args *GetSelfServiceAppSnapshotsOutputArgs, opts ...InvokeOption) GetSelfServiceAppSnapshotsResultOutput> Note: This function is named GetSelfServiceAppSnapshots in the Go SDK.
public static class GetSelfServiceAppSnapshots
{
public static Task<GetSelfServiceAppSnapshotsResult> InvokeAsync(GetSelfServiceAppSnapshotsArgs args, InvokeOptions? opts = null)
public static Output<GetSelfServiceAppSnapshotsResult> Invoke(GetSelfServiceAppSnapshotsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSelfServiceAppSnapshotsResult> getSelfServiceAppSnapshots(GetSelfServiceAppSnapshotsArgs args, InvokeOptions options)
public static Output<GetSelfServiceAppSnapshotsResult> getSelfServiceAppSnapshots(GetSelfServiceAppSnapshotsArgs args, InvokeOptions options)
fn::invoke:
function: nutanix:index/getSelfServiceAppSnapshots:getSelfServiceAppSnapshots
arguments:
# arguments dictionaryThe following arguments are supported:
- Length int
- (Required) The number of snapshots to retrieve.
- Offset int
- (Required) The index of the first snapshot to return (for pagination). Default value: 0
- App
Name string - (Optional) The name of the application.
- App
Uuid string - (Optional) The UUID of the application.
Both (
app_nameandapp_uuid) are optional but atleast one of them to be provided for this data source to work.
- Length int
- (Required) The number of snapshots to retrieve.
- Offset int
- (Required) The index of the first snapshot to return (for pagination). Default value: 0
- App
Name string - (Optional) The name of the application.
- App
Uuid string - (Optional) The UUID of the application.
Both (
app_nameandapp_uuid) are optional but atleast one of them to be provided for this data source to work.
- length Integer
- (Required) The number of snapshots to retrieve.
- offset Integer
- (Required) The index of the first snapshot to return (for pagination). Default value: 0
- app
Name String - (Optional) The name of the application.
- app
Uuid String - (Optional) The UUID of the application.
Both (
app_nameandapp_uuid) are optional but atleast one of them to be provided for this data source to work.
- length number
- (Required) The number of snapshots to retrieve.
- offset number
- (Required) The index of the first snapshot to return (for pagination). Default value: 0
- app
Name string - (Optional) The name of the application.
- app
Uuid string - (Optional) The UUID of the application.
Both (
app_nameandapp_uuid) are optional but atleast one of them to be provided for this data source to work.
- length int
- (Required) The number of snapshots to retrieve.
- offset int
- (Required) The index of the first snapshot to return (for pagination). Default value: 0
- app_
name str - (Optional) The name of the application.
- app_
uuid str - (Optional) The UUID of the application.
Both (
app_nameandapp_uuid) are optional but atleast one of them to be provided for this data source to work.
- length Number
- (Required) The number of snapshots to retrieve.
- offset Number
- (Required) The index of the first snapshot to return (for pagination). Default value: 0
- app
Name String - (Optional) The name of the application.
- app
Uuid String - (Optional) The UUID of the application.
Both (
app_nameandapp_uuid) are optional but atleast one of them to be provided for this data source to work.
getSelfServiceAppSnapshots Result
The following output properties are available:
- Api
Version string - The API version used to retrieve the snapshot data.
- Entities
List<Piers
Karsenbarg. Nutanix. Outputs. Get Self Service App Snapshots Entity> - Id string
- The provider-assigned unique ID for this managed resource.
- Kind string
- The type of resource represented by the snapshot specification.
- Length int
- (Required) The number of snapshots to retrieve.
- Offset int
- (Required) The index of the first snapshot to return (for pagination). Default value: 0
- Total
Matches int - The total number of recovery points available for the application.
- App
Name string - App
Uuid string
- Api
Version string - The API version used to retrieve the snapshot data.
- Entities
[]Get
Self Service App Snapshots Entity - Id string
- The provider-assigned unique ID for this managed resource.
- Kind string
- The type of resource represented by the snapshot specification.
- Length int
- (Required) The number of snapshots to retrieve.
- Offset int
- (Required) The index of the first snapshot to return (for pagination). Default value: 0
- Total
Matches int - The total number of recovery points available for the application.
- App
Name string - App
Uuid string
- api
Version String - The API version used to retrieve the snapshot data.
- entities
List<Get
Self Service App Snapshots Entity> - id String
- The provider-assigned unique ID for this managed resource.
- kind String
- The type of resource represented by the snapshot specification.
- length Integer
- (Required) The number of snapshots to retrieve.
- offset Integer
- (Required) The index of the first snapshot to return (for pagination). Default value: 0
- total
Matches Integer - The total number of recovery points available for the application.
- app
Name String - app
Uuid String
- api
Version string - The API version used to retrieve the snapshot data.
- entities
Get
Self Service App Snapshots Entity[] - id string
- The provider-assigned unique ID for this managed resource.
- kind string
- The type of resource represented by the snapshot specification.
- length number
- (Required) The number of snapshots to retrieve.
- offset number
- (Required) The index of the first snapshot to return (for pagination). Default value: 0
- total
Matches number - The total number of recovery points available for the application.
- app
Name string - app
Uuid string
- api_
version str - The API version used to retrieve the snapshot data.
- entities
Sequence[Get
Self Service App Snapshots Entity] - id str
- The provider-assigned unique ID for this managed resource.
- kind str
- The type of resource represented by the snapshot specification.
- length int
- (Required) The number of snapshots to retrieve.
- offset int
- (Required) The index of the first snapshot to return (for pagination). Default value: 0
- total_
matches int - The total number of recovery points available for the application.
- app_
name str - app_
uuid str
- api
Version String - The API version used to retrieve the snapshot data.
- entities List<Property Map>
- id String
- The provider-assigned unique ID for this managed resource.
- kind String
- The type of resource represented by the snapshot specification.
- length Number
- (Required) The number of snapshots to retrieve.
- offset Number
- (Required) The index of the first snapshot to return (for pagination). Default value: 0
- total
Matches Number - The total number of recovery points available for the application.
- app
Name String - app
Uuid String
Supporting Types
GetSelfServiceAppSnapshotsEntity
- Action
Name string - The name of the action to run to create the snapshot.
- Api
Version string - The API version used to retrieve the snapshot data.
- Creation
Time string - The creation time of the snapshot.
- Description string
- The description of the snapshot.
- Kind string
- The type of resource represented by the snapshot specification.
- Last
Update stringTime - The last update time of the snapshot.
- Name string
- The name of the recovery point.
- Recovery
Point List<PiersInfo Lists Karsenbarg. Nutanix. Inputs. Get Self Service App Snapshots Entity Recovery Point Info List> - The recovery_point_info_list contains information about recovery points for the snapshots. Each recovery point has the following attributes:
- Spec Dictionary<string, string>
- The spec block contains the specification details for the snapshot
- Spec
Version int - The version of the snapshot specification.
- Type string
- The type of the snapshot.
- Uuid string
- The UUID of the snapshot.
- Action
Name string - The name of the action to run to create the snapshot.
- Api
Version string - The API version used to retrieve the snapshot data.
- Creation
Time string - The creation time of the snapshot.
- Description string
- The description of the snapshot.
- Kind string
- The type of resource represented by the snapshot specification.
- Last
Update stringTime - The last update time of the snapshot.
- Name string
- The name of the recovery point.
- Recovery
Point []GetInfo Lists Self Service App Snapshots Entity Recovery Point Info List - The recovery_point_info_list contains information about recovery points for the snapshots. Each recovery point has the following attributes:
- Spec map[string]string
- The spec block contains the specification details for the snapshot
- Spec
Version int - The version of the snapshot specification.
- Type string
- The type of the snapshot.
- Uuid string
- The UUID of the snapshot.
- action
Name String - The name of the action to run to create the snapshot.
- api
Version String - The API version used to retrieve the snapshot data.
- creation
Time String - The creation time of the snapshot.
- description String
- The description of the snapshot.
- kind String
- The type of resource represented by the snapshot specification.
- last
Update StringTime - The last update time of the snapshot.
- name String
- The name of the recovery point.
- recovery
Point List<GetInfo Lists Self Service App Snapshots Entity Recovery Point Info List> - The recovery_point_info_list contains information about recovery points for the snapshots. Each recovery point has the following attributes:
- spec Map<String,String>
- The spec block contains the specification details for the snapshot
- spec
Version Integer - The version of the snapshot specification.
- type String
- The type of the snapshot.
- uuid String
- The UUID of the snapshot.
- action
Name string - The name of the action to run to create the snapshot.
- api
Version string - The API version used to retrieve the snapshot data.
- creation
Time string - The creation time of the snapshot.
- description string
- The description of the snapshot.
- kind string
- The type of resource represented by the snapshot specification.
- last
Update stringTime - The last update time of the snapshot.
- name string
- The name of the recovery point.
- recovery
Point GetInfo Lists Self Service App Snapshots Entity Recovery Point Info List[] - The recovery_point_info_list contains information about recovery points for the snapshots. Each recovery point has the following attributes:
- spec {[key: string]: string}
- The spec block contains the specification details for the snapshot
- spec
Version number - The version of the snapshot specification.
- type string
- The type of the snapshot.
- uuid string
- The UUID of the snapshot.
- action_
name str - The name of the action to run to create the snapshot.
- api_
version str - The API version used to retrieve the snapshot data.
- creation_
time str - The creation time of the snapshot.
- description str
- The description of the snapshot.
- kind str
- The type of resource represented by the snapshot specification.
- last_
update_ strtime - The last update time of the snapshot.
- name str
- The name of the recovery point.
- recovery_
point_ Sequence[Getinfo_ lists Self Service App Snapshots Entity Recovery Point Info List] - The recovery_point_info_list contains information about recovery points for the snapshots. Each recovery point has the following attributes:
- spec Mapping[str, str]
- The spec block contains the specification details for the snapshot
- spec_
version int - The version of the snapshot specification.
- type str
- The type of the snapshot.
- uuid str
- The UUID of the snapshot.
- action
Name String - The name of the action to run to create the snapshot.
- api
Version String - The API version used to retrieve the snapshot data.
- creation
Time String - The creation time of the snapshot.
- description String
- The description of the snapshot.
- kind String
- The type of resource represented by the snapshot specification.
- last
Update StringTime - The last update time of the snapshot.
- name String
- The name of the recovery point.
- recovery
Point List<Property Map>Info Lists - The recovery_point_info_list contains information about recovery points for the snapshots. Each recovery point has the following attributes:
- spec Map<String>
- The spec block contains the specification details for the snapshot
- spec
Version Number - The version of the snapshot specification.
- type String
- The type of the snapshot.
- uuid String
- The UUID of the snapshot.
GetSelfServiceAppSnapshotsEntityRecoveryPointInfoList
- Config
Spec Dictionary<string, string>Reference - A map containing configuration specification references for the recovery point.
- Creation
Time double - The creation time of the snapshot.
- Expiration
Time double - The expiration time of the recovery point.
- Id string
- The ID of the recovery point.
- Kind string
- The type of resource represented by the snapshot specification.
- Location
Agnostic stringUuid - The UUID for the location-agnostic reference of the recovery point.
- Name string
- The name of the recovery point.
- Recovery
Point stringType - The type of recovery point.
- Service
References List<string> - A list of service references related to the recovery point.
- Snapshot
Id string - The ID of the snapshot associated with the recovery point.
- Config
Spec map[string]stringReference - A map containing configuration specification references for the recovery point.
- Creation
Time float64 - The creation time of the snapshot.
- Expiration
Time float64 - The expiration time of the recovery point.
- Id string
- The ID of the recovery point.
- Kind string
- The type of resource represented by the snapshot specification.
- Location
Agnostic stringUuid - The UUID for the location-agnostic reference of the recovery point.
- Name string
- The name of the recovery point.
- Recovery
Point stringType - The type of recovery point.
- Service
References []string - A list of service references related to the recovery point.
- Snapshot
Id string - The ID of the snapshot associated with the recovery point.
- config
Spec Map<String,String>Reference - A map containing configuration specification references for the recovery point.
- creation
Time Double - The creation time of the snapshot.
- expiration
Time Double - The expiration time of the recovery point.
- id String
- The ID of the recovery point.
- kind String
- The type of resource represented by the snapshot specification.
- location
Agnostic StringUuid - The UUID for the location-agnostic reference of the recovery point.
- name String
- The name of the recovery point.
- recovery
Point StringType - The type of recovery point.
- service
References List<String> - A list of service references related to the recovery point.
- snapshot
Id String - The ID of the snapshot associated with the recovery point.
- config
Spec {[key: string]: string}Reference - A map containing configuration specification references for the recovery point.
- creation
Time number - The creation time of the snapshot.
- expiration
Time number - The expiration time of the recovery point.
- id string
- The ID of the recovery point.
- kind string
- The type of resource represented by the snapshot specification.
- location
Agnostic stringUuid - The UUID for the location-agnostic reference of the recovery point.
- name string
- The name of the recovery point.
- recovery
Point stringType - The type of recovery point.
- service
References string[] - A list of service references related to the recovery point.
- snapshot
Id string - The ID of the snapshot associated with the recovery point.
- config_
spec_ Mapping[str, str]reference - A map containing configuration specification references for the recovery point.
- creation_
time float - The creation time of the snapshot.
- expiration_
time float - The expiration time of the recovery point.
- id str
- The ID of the recovery point.
- kind str
- The type of resource represented by the snapshot specification.
- location_
agnostic_ struuid - The UUID for the location-agnostic reference of the recovery point.
- name str
- The name of the recovery point.
- recovery_
point_ strtype - The type of recovery point.
- service_
references Sequence[str] - A list of service references related to the recovery point.
- snapshot_
id str - The ID of the snapshot associated with the recovery point.
- config
Spec Map<String>Reference - A map containing configuration specification references for the recovery point.
- creation
Time Number - The creation time of the snapshot.
- expiration
Time Number - The expiration time of the recovery point.
- id String
- The ID of the recovery point.
- kind String
- The type of resource represented by the snapshot specification.
- location
Agnostic StringUuid - The UUID for the location-agnostic reference of the recovery point.
- name String
- The name of the recovery point.
- recovery
Point StringType - The type of recovery point.
- service
References List<String> - A list of service references related to the recovery point.
- snapshot
Id String - The ID of the snapshot associated with the recovery point.
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nutanixTerraform Provider.
published on Monday, Nov 24, 2025 by Piers Karsenbarg
