1. Packages
  2. Nutanix
  3. API Docs
  4. getSelfServiceAppSnapshots
Nutanix v0.10.0 published on Monday, Sep 1, 2025 by Piers Karsenbarg

nutanix.getSelfServiceAppSnapshots

Start a Neo task
Explain and create a nutanix.getSelfServiceAppSnapshots resource
nutanix logo
Nutanix v0.10.0 published on Monday, Sep 1, 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 dictionary

    The 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
    AppName string
    • (Optional) The name of the application.
    AppUuid string
    • (Optional) The UUID of the application.

    Both (app_name and app_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
    AppName string
    • (Optional) The name of the application.
    AppUuid string
    • (Optional) The UUID of the application.

    Both (app_name and app_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
    appName String
    • (Optional) The name of the application.
    appUuid String
    • (Optional) The UUID of the application.

    Both (app_name and app_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
    appName string
    • (Optional) The name of the application.
    appUuid string
    • (Optional) The UUID of the application.

    Both (app_name and app_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_name and app_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
    appName String
    • (Optional) The name of the application.
    appUuid String
    • (Optional) The UUID of the application.

    Both (app_name and app_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:

    ApiVersion string
    • The API version used to retrieve the snapshot data.
    Entities List<PiersKarsenbarg.Nutanix.Outputs.GetSelfServiceAppSnapshotsEntity>
    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
    TotalMatches int
    • The total number of recovery points available for the application.
    AppName string
    AppUuid string
    ApiVersion string
    • The API version used to retrieve the snapshot data.
    Entities []GetSelfServiceAppSnapshotsEntity
    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
    TotalMatches int
    • The total number of recovery points available for the application.
    AppName string
    AppUuid string
    apiVersion String
    • The API version used to retrieve the snapshot data.
    entities List<GetSelfServiceAppSnapshotsEntity>
    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
    totalMatches Integer
    • The total number of recovery points available for the application.
    appName String
    appUuid String
    apiVersion string
    • The API version used to retrieve the snapshot data.
    entities GetSelfServiceAppSnapshotsEntity[]
    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
    totalMatches number
    • The total number of recovery points available for the application.
    appName string
    appUuid string
    api_version str
    • The API version used to retrieve the snapshot data.
    entities Sequence[GetSelfServiceAppSnapshotsEntity]
    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
    apiVersion 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
    totalMatches Number
    • The total number of recovery points available for the application.
    appName String
    appUuid String

    Supporting Types

    GetSelfServiceAppSnapshotsEntity

    ActionName string
    • The name of the action to run to create the snapshot.
    ApiVersion string
    • The API version used to retrieve the snapshot data.
    CreationTime 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.
    LastUpdateTime string
    • The last update time of the snapshot.
    Name string
    • The name of the recovery point.
    RecoveryPointInfoLists List<PiersKarsenbarg.Nutanix.Inputs.GetSelfServiceAppSnapshotsEntityRecoveryPointInfoList>
    • 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
    SpecVersion int
    • The version of the snapshot specification.
    Type string
    • The type of the snapshot.
    Uuid string
    • The UUID of the snapshot.
    ActionName string
    • The name of the action to run to create the snapshot.
    ApiVersion string
    • The API version used to retrieve the snapshot data.
    CreationTime 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.
    LastUpdateTime string
    • The last update time of the snapshot.
    Name string
    • The name of the recovery point.
    RecoveryPointInfoLists []GetSelfServiceAppSnapshotsEntityRecoveryPointInfoList
    • 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
    SpecVersion int
    • The version of the snapshot specification.
    Type string
    • The type of the snapshot.
    Uuid string
    • The UUID of the snapshot.
    actionName String
    • The name of the action to run to create the snapshot.
    apiVersion String
    • The API version used to retrieve the snapshot data.
    creationTime 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.
    lastUpdateTime String
    • The last update time of the snapshot.
    name String
    • The name of the recovery point.
    recoveryPointInfoLists List<GetSelfServiceAppSnapshotsEntityRecoveryPointInfoList>
    • 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
    specVersion Integer
    • The version of the snapshot specification.
    type String
    • The type of the snapshot.
    uuid String
    • The UUID of the snapshot.
    actionName string
    • The name of the action to run to create the snapshot.
    apiVersion string
    • The API version used to retrieve the snapshot data.
    creationTime 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.
    lastUpdateTime string
    • The last update time of the snapshot.
    name string
    • The name of the recovery point.
    recoveryPointInfoLists GetSelfServiceAppSnapshotsEntityRecoveryPointInfoList[]
    • 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
    specVersion 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_time str
    • The last update time of the snapshot.
    name str
    • The name of the recovery point.
    recovery_point_info_lists Sequence[GetSelfServiceAppSnapshotsEntityRecoveryPointInfoList]
    • 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.
    actionName String
    • The name of the action to run to create the snapshot.
    apiVersion String
    • The API version used to retrieve the snapshot data.
    creationTime 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.
    lastUpdateTime String
    • The last update time of the snapshot.
    name String
    • The name of the recovery point.
    recoveryPointInfoLists List<Property Map>
    • 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
    specVersion Number
    • The version of the snapshot specification.
    type String
    • The type of the snapshot.
    uuid String
    • The UUID of the snapshot.

    GetSelfServiceAppSnapshotsEntityRecoveryPointInfoList

    ConfigSpecReference Dictionary<string, string>
    • A map containing configuration specification references for the recovery point.
    CreationTime double
    • The creation time of the snapshot.
    ExpirationTime 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.
    LocationAgnosticUuid string
    • The UUID for the location-agnostic reference of the recovery point.
    Name string
    • The name of the recovery point.
    RecoveryPointType string
    • The type of recovery point.
    ServiceReferences List<string>
    • A list of service references related to the recovery point.
    SnapshotId string
    • The ID of the snapshot associated with the recovery point.
    ConfigSpecReference map[string]string
    • A map containing configuration specification references for the recovery point.
    CreationTime float64
    • The creation time of the snapshot.
    ExpirationTime 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.
    LocationAgnosticUuid string
    • The UUID for the location-agnostic reference of the recovery point.
    Name string
    • The name of the recovery point.
    RecoveryPointType string
    • The type of recovery point.
    ServiceReferences []string
    • A list of service references related to the recovery point.
    SnapshotId string
    • The ID of the snapshot associated with the recovery point.
    configSpecReference Map<String,String>
    • A map containing configuration specification references for the recovery point.
    creationTime Double
    • The creation time of the snapshot.
    expirationTime 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.
    locationAgnosticUuid String
    • The UUID for the location-agnostic reference of the recovery point.
    name String
    • The name of the recovery point.
    recoveryPointType String
    • The type of recovery point.
    serviceReferences List<String>
    • A list of service references related to the recovery point.
    snapshotId String
    • The ID of the snapshot associated with the recovery point.
    configSpecReference {[key: string]: string}
    • A map containing configuration specification references for the recovery point.
    creationTime number
    • The creation time of the snapshot.
    expirationTime 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.
    locationAgnosticUuid string
    • The UUID for the location-agnostic reference of the recovery point.
    name string
    • The name of the recovery point.
    recoveryPointType string
    • The type of recovery point.
    serviceReferences string[]
    • A list of service references related to the recovery point.
    snapshotId string
    • The ID of the snapshot associated with the recovery point.
    config_spec_reference Mapping[str, str]
    • 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_uuid str
    • The UUID for the location-agnostic reference of the recovery point.
    name str
    • The name of the recovery point.
    recovery_point_type str
    • 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.
    configSpecReference Map<String>
    • A map containing configuration specification references for the recovery point.
    creationTime Number
    • The creation time of the snapshot.
    expirationTime 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.
    locationAgnosticUuid String
    • The UUID for the location-agnostic reference of the recovery point.
    name String
    • The name of the recovery point.
    recoveryPointType String
    • The type of recovery point.
    serviceReferences List<String>
    • A list of service references related to the recovery point.
    snapshotId 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 nutanix Terraform Provider.
    nutanix logo
    Nutanix v0.10.0 published on Monday, Sep 1, 2025 by Piers Karsenbarg
      Meet Neo: Your AI Platform Teammate