1. Packages
  2. Nutanix
  3. API Docs
  4. getSelfServiceApp
Nutanix v0.8.0 published on Sunday, May 11, 2025 by Piers Karsenbarg

nutanix.getSelfServiceApp

Explore with Pulumi AI

nutanix logo
Nutanix v0.8.0 published on Sunday, May 11, 2025 by Piers Karsenbarg

    Describes an Application (app) in NCM Self Service.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as nutanix from "@pierskarsenbarg/nutanix";
    import * as nutanix from "@pulumi/nutanix";
    
    const testSelfServiceAppProvision = new nutanix.SelfServiceAppProvision("testSelfServiceAppProvision", {
        bpName: "NAME OF BLUEPRINT IN SERVER",
        appName: "NAME OF APP YOU WANT TO SET",
        appDescription: "DESCRIPTION OF APP",
    });
    const testSelfServiceApp = nutanix.getSelfServiceAppOutput({
        appUuid: testSelfServiceAppProvision.id,
    });
    
    import pulumi
    import pulumi_nutanix as nutanix
    
    test_self_service_app_provision = nutanix.SelfServiceAppProvision("testSelfServiceAppProvision",
        bp_name="NAME OF BLUEPRINT IN SERVER",
        app_name="NAME OF APP YOU WANT TO SET",
        app_description="DESCRIPTION OF APP")
    test_self_service_app = nutanix.get_self_service_app_output(app_uuid=test_self_service_app_provision.id)
    
    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 {
    		testSelfServiceAppProvision, err := nutanix.NewSelfServiceAppProvision(ctx, "testSelfServiceAppProvision", &nutanix.SelfServiceAppProvisionArgs{
    			BpName:         pulumi.String("NAME OF BLUEPRINT IN SERVER"),
    			AppName:        pulumi.String("NAME OF APP YOU WANT TO SET"),
    			AppDescription: pulumi.String("DESCRIPTION OF APP"),
    		})
    		if err != nil {
    			return err
    		}
    		_ = nutanix.GetSelfServiceAppOutput(ctx, nutanix.GetSelfServiceAppOutputArgs{
    			AppUuid: testSelfServiceAppProvision.ID(),
    		}, nil)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Nutanix = PiersKarsenbarg.Nutanix;
    using Nutanix = Pulumi.Nutanix;
    
    return await Deployment.RunAsync(() => 
    {
        var testSelfServiceAppProvision = new Nutanix.SelfServiceAppProvision("testSelfServiceAppProvision", new()
        {
            BpName = "NAME OF BLUEPRINT IN SERVER",
            AppName = "NAME OF APP YOU WANT TO SET",
            AppDescription = "DESCRIPTION OF APP",
        });
    
        var testSelfServiceApp = Nutanix.GetSelfServiceApp.Invoke(new()
        {
            AppUuid = testSelfServiceAppProvision.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.nutanix.SelfServiceAppProvision;
    import com.pulumi.nutanix.SelfServiceAppProvisionArgs;
    import com.pulumi.nutanix.NutanixFunctions;
    import com.pulumi.nutanix.inputs.GetSelfServiceAppArgs;
    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 testSelfServiceAppProvision = new SelfServiceAppProvision("testSelfServiceAppProvision", SelfServiceAppProvisionArgs.builder()
                .bpName("NAME OF BLUEPRINT IN SERVER")
                .appName("NAME OF APP YOU WANT TO SET")
                .appDescription("DESCRIPTION OF APP")
                .build());
    
            final var testSelfServiceApp = NutanixFunctions.getSelfServiceApp(GetSelfServiceAppArgs.builder()
                .appUuid(testSelfServiceAppProvision.id())
                .build());
    
        }
    }
    
    resources:
      testSelfServiceAppProvision:
        type: nutanix:SelfServiceAppProvision
        properties:
          bpName: NAME OF BLUEPRINT IN SERVER
          appName: NAME OF APP YOU WANT TO SET
          appDescription: DESCRIPTION OF APP
    variables:
      testSelfServiceApp:
        fn::invoke:
          function: nutanix:getSelfServiceApp
          arguments:
            appUuid: ${testSelfServiceAppProvision.id}
    

    Using getSelfServiceApp

    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 getSelfServiceApp(args: GetSelfServiceAppArgs, opts?: InvokeOptions): Promise<GetSelfServiceAppResult>
    function getSelfServiceAppOutput(args: GetSelfServiceAppOutputArgs, opts?: InvokeOptions): Output<GetSelfServiceAppResult>
    def get_self_service_app(app_uuid: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetSelfServiceAppResult
    def get_self_service_app_output(app_uuid: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetSelfServiceAppResult]
    func GetSelfServiceApp(ctx *Context, args *GetSelfServiceAppArgs, opts ...InvokeOption) (*GetSelfServiceAppResult, error)
    func GetSelfServiceAppOutput(ctx *Context, args *GetSelfServiceAppOutputArgs, opts ...InvokeOption) GetSelfServiceAppResultOutput

    > Note: This function is named GetSelfServiceApp in the Go SDK.

    public static class GetSelfServiceApp 
    {
        public static Task<GetSelfServiceAppResult> InvokeAsync(GetSelfServiceAppArgs args, InvokeOptions? opts = null)
        public static Output<GetSelfServiceAppResult> Invoke(GetSelfServiceAppInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSelfServiceAppResult> getSelfServiceApp(GetSelfServiceAppArgs args, InvokeOptions options)
    public static Output<GetSelfServiceAppResult> getSelfServiceApp(GetSelfServiceAppArgs args, InvokeOptions options)
    
    fn::invoke:
      function: nutanix:index/getSelfServiceApp:getSelfServiceApp
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AppUuid string
    • (Required) The UUID of an app you want to get data from.
    AppUuid string
    • (Required) The UUID of an app you want to get data from.
    appUuid String
    • (Required) The UUID of an app you want to get data from.
    appUuid string
    • (Required) The UUID of an app you want to get data from.
    app_uuid str
    • (Required) The UUID of an app you want to get data from.
    appUuid String
    • (Required) The UUID of an app you want to get data from.

    getSelfServiceApp Result

    The following output properties are available:

    Actions List<PiersKarsenbarg.Nutanix.Outputs.GetSelfServiceAppAction>
    ApiVersion string
    • The API version used for the application.
    AppDescription string
    • The description of the Self Service Application.
    AppName string
    • The name of the Self Service Application.
    AppSummaries List<PiersKarsenbarg.Nutanix.Outputs.GetSelfServiceAppAppSummary>
    AppUuid string
    Id string
    The provider-assigned unique ID for this managed resource.
    Spec string
    • The specification of the Self Service Application.
    State string
    • The state of the application (e.g., Running, Provisioning, etc.).
    Status string
    • The current status of the application.
    Vms List<PiersKarsenbarg.Nutanix.Outputs.GetSelfServiceAppVm>
    Actions []GetSelfServiceAppAction
    ApiVersion string
    • The API version used for the application.
    AppDescription string
    • The description of the Self Service Application.
    AppName string
    • The name of the Self Service Application.
    AppSummaries []GetSelfServiceAppAppSummary
    AppUuid string
    Id string
    The provider-assigned unique ID for this managed resource.
    Spec string
    • The specification of the Self Service Application.
    State string
    • The state of the application (e.g., Running, Provisioning, etc.).
    Status string
    • The current status of the application.
    Vms []GetSelfServiceAppVm
    actions List<GetSelfServiceAppAction>
    apiVersion String
    • The API version used for the application.
    appDescription String
    • The description of the Self Service Application.
    appName String
    • The name of the Self Service Application.
    appSummaries List<GetSelfServiceAppAppSummary>
    appUuid String
    id String
    The provider-assigned unique ID for this managed resource.
    spec String
    • The specification of the Self Service Application.
    state String
    • The state of the application (e.g., Running, Provisioning, etc.).
    status String
    • The current status of the application.
    vms List<GetSelfServiceAppVm>
    actions GetSelfServiceAppAction[]
    apiVersion string
    • The API version used for the application.
    appDescription string
    • The description of the Self Service Application.
    appName string
    • The name of the Self Service Application.
    appSummaries GetSelfServiceAppAppSummary[]
    appUuid string
    id string
    The provider-assigned unique ID for this managed resource.
    spec string
    • The specification of the Self Service Application.
    state string
    • The state of the application (e.g., Running, Provisioning, etc.).
    status string
    • The current status of the application.
    vms GetSelfServiceAppVm[]
    actions Sequence[GetSelfServiceAppAction]
    api_version str
    • The API version used for the application.
    app_description str
    • The description of the Self Service Application.
    app_name str
    • The name of the Self Service Application.
    app_summaries Sequence[GetSelfServiceAppAppSummary]
    app_uuid str
    id str
    The provider-assigned unique ID for this managed resource.
    spec str
    • The specification of the Self Service Application.
    state str
    • The state of the application (e.g., Running, Provisioning, etc.).
    status str
    • The current status of the application.
    vms Sequence[GetSelfServiceAppVm]
    actions List<Property Map>
    apiVersion String
    • The API version used for the application.
    appDescription String
    • The description of the Self Service Application.
    appName String
    • The name of the Self Service Application.
    appSummaries List<Property Map>
    appUuid String
    id String
    The provider-assigned unique ID for this managed resource.
    spec String
    • The specification of the Self Service Application.
    state String
    • The state of the application (e.g., Running, Provisioning, etc.).
    status String
    • The current status of the application.
    vms List<Property Map>

    Supporting Types

    GetSelfServiceAppAction

    Description string
    A description of the action.
    Name string
    The name of the action.
    Uuid string
    The UUID of the action.
    Description string
    A description of the action.
    Name string
    The name of the action.
    Uuid string
    The UUID of the action.
    description String
    A description of the action.
    name String
    The name of the action.
    uuid String
    The UUID of the action.
    description string
    A description of the action.
    name string
    The name of the action.
    uuid string
    The UUID of the action.
    description str
    A description of the action.
    name str
    The name of the action.
    uuid str
    The UUID of the action.
    description String
    A description of the action.
    name String
    The name of the action.
    uuid String
    The UUID of the action.

    GetSelfServiceAppAppSummary

    ApplicationProfile string
    The profile assigned to the application.
    ApplicationUuid string
    The UUID of the application.
    Blueprint string
    The blueprint associated with the application.
    CreatedOn string
    The timestamp when the application was created.
    LastUpdatedOn string
    The timestamp when the application was last updated.
    Owner string
    The owner of the application.
    Project string
    The project associated with the application.
    ApplicationProfile string
    The profile assigned to the application.
    ApplicationUuid string
    The UUID of the application.
    Blueprint string
    The blueprint associated with the application.
    CreatedOn string
    The timestamp when the application was created.
    LastUpdatedOn string
    The timestamp when the application was last updated.
    Owner string
    The owner of the application.
    Project string
    The project associated with the application.
    applicationProfile String
    The profile assigned to the application.
    applicationUuid String
    The UUID of the application.
    blueprint String
    The blueprint associated with the application.
    createdOn String
    The timestamp when the application was created.
    lastUpdatedOn String
    The timestamp when the application was last updated.
    owner String
    The owner of the application.
    project String
    The project associated with the application.
    applicationProfile string
    The profile assigned to the application.
    applicationUuid string
    The UUID of the application.
    blueprint string
    The blueprint associated with the application.
    createdOn string
    The timestamp when the application was created.
    lastUpdatedOn string
    The timestamp when the application was last updated.
    owner string
    The owner of the application.
    project string
    The project associated with the application.
    application_profile str
    The profile assigned to the application.
    application_uuid str
    The UUID of the application.
    blueprint str
    The blueprint associated with the application.
    created_on str
    The timestamp when the application was created.
    last_updated_on str
    The timestamp when the application was last updated.
    owner str
    The owner of the application.
    project str
    The project associated with the application.
    applicationProfile String
    The profile assigned to the application.
    applicationUuid String
    The UUID of the application.
    blueprint String
    The blueprint associated with the application.
    createdOn String
    The timestamp when the application was created.
    lastUpdatedOn String
    The timestamp when the application was last updated.
    owner String
    The owner of the application.
    project String
    The project associated with the application.

    GetSelfServiceAppVm

    Categories Dictionary<string, string>
    • A map of categories applied to the VM. Each key is a category name, and the value is the category value.
    ClusterInfos List<PiersKarsenbarg.Nutanix.Inputs.GetSelfServiceAppVmClusterInfo>
    • Cluster-related information for the VM.
    Configurations List<PiersKarsenbarg.Nutanix.Inputs.GetSelfServiceAppVmConfiguration>
    • Configuration details for the VM.
    Nics List<PiersKarsenbarg.Nutanix.Inputs.GetSelfServiceAppVmNic>
    • A list of network interfaces attached to the VM.
    Categories map[string]string
    • A map of categories applied to the VM. Each key is a category name, and the value is the category value.
    ClusterInfos []GetSelfServiceAppVmClusterInfo
    • Cluster-related information for the VM.
    Configurations []GetSelfServiceAppVmConfiguration
    • Configuration details for the VM.
    Nics []GetSelfServiceAppVmNic
    • A list of network interfaces attached to the VM.
    categories Map<String,String>
    • A map of categories applied to the VM. Each key is a category name, and the value is the category value.
    clusterInfos List<GetSelfServiceAppVmClusterInfo>
    • Cluster-related information for the VM.
    configurations List<GetSelfServiceAppVmConfiguration>
    • Configuration details for the VM.
    nics List<GetSelfServiceAppVmNic>
    • A list of network interfaces attached to the VM.
    categories {[key: string]: string}
    • A map of categories applied to the VM. Each key is a category name, and the value is the category value.
    clusterInfos GetSelfServiceAppVmClusterInfo[]
    • Cluster-related information for the VM.
    configurations GetSelfServiceAppVmConfiguration[]
    • Configuration details for the VM.
    nics GetSelfServiceAppVmNic[]
    • A list of network interfaces attached to the VM.
    categories Mapping[str, str]
    • A map of categories applied to the VM. Each key is a category name, and the value is the category value.
    cluster_infos Sequence[GetSelfServiceAppVmClusterInfo]
    • Cluster-related information for the VM.
    configurations Sequence[GetSelfServiceAppVmConfiguration]
    • Configuration details for the VM.
    nics Sequence[GetSelfServiceAppVmNic]
    • A list of network interfaces attached to the VM.
    categories Map<String>
    • A map of categories applied to the VM. Each key is a category name, and the value is the category value.
    clusterInfos List<Property Map>
    • Cluster-related information for the VM.
    configurations List<Property Map>
    • Configuration details for the VM.
    nics List<Property Map>
    • A list of network interfaces attached to the VM.

    GetSelfServiceAppVmClusterInfo

    ClusterName string
    • The name of the cluster.
    ClusterUuid string
    • The UUID of the cluster.
    ClusterName string
    • The name of the cluster.
    ClusterUuid string
    • The UUID of the cluster.
    clusterName String
    • The name of the cluster.
    clusterUuid String
    • The UUID of the cluster.
    clusterName string
    • The name of the cluster.
    clusterUuid string
    • The UUID of the cluster.
    cluster_name str
    • The name of the cluster.
    cluster_uuid str
    • The UUID of the cluster.
    clusterName String
    • The name of the cluster.
    clusterUuid String
    • The UUID of the cluster.

    GetSelfServiceAppVmConfiguration

    Cores double
    • Number of CPU cores.
    Image string
    • The VM image used.
    IpAddress string
    • IP address of the VM.
    Memory double
    • Memory allocated to the VM.
    Name string
    The name of the action.
    Vcpus double
    • Number of virtual CPUs assigned to the VM.
    VmUuid string
    • The UUID of the VM.
    Cores float64
    • Number of CPU cores.
    Image string
    • The VM image used.
    IpAddress string
    • IP address of the VM.
    Memory float64
    • Memory allocated to the VM.
    Name string
    The name of the action.
    Vcpus float64
    • Number of virtual CPUs assigned to the VM.
    VmUuid string
    • The UUID of the VM.
    cores Double
    • Number of CPU cores.
    image String
    • The VM image used.
    ipAddress String
    • IP address of the VM.
    memory Double
    • Memory allocated to the VM.
    name String
    The name of the action.
    vcpus Double
    • Number of virtual CPUs assigned to the VM.
    vmUuid String
    • The UUID of the VM.
    cores number
    • Number of CPU cores.
    image string
    • The VM image used.
    ipAddress string
    • IP address of the VM.
    memory number
    • Memory allocated to the VM.
    name string
    The name of the action.
    vcpus number
    • Number of virtual CPUs assigned to the VM.
    vmUuid string
    • The UUID of the VM.
    cores float
    • Number of CPU cores.
    image str
    • The VM image used.
    ip_address str
    • IP address of the VM.
    memory float
    • Memory allocated to the VM.
    name str
    The name of the action.
    vcpus float
    • Number of virtual CPUs assigned to the VM.
    vm_uuid str
    • The UUID of the VM.
    cores Number
    • Number of CPU cores.
    image String
    • The VM image used.
    ipAddress String
    • IP address of the VM.
    memory Number
    • Memory allocated to the VM.
    name String
    The name of the action.
    vcpus Number
    • Number of virtual CPUs assigned to the VM.
    vmUuid String
    • The UUID of the VM.

    GetSelfServiceAppVmNic

    MacAddress string
    • The MAC address of the VM's network interface.
    Subnet string
    • The subnet the VM's network interface is attached to.
    Type string
    • The type of network interface.
    MacAddress string
    • The MAC address of the VM's network interface.
    Subnet string
    • The subnet the VM's network interface is attached to.
    Type string
    • The type of network interface.
    macAddress String
    • The MAC address of the VM's network interface.
    subnet String
    • The subnet the VM's network interface is attached to.
    type String
    • The type of network interface.
    macAddress string
    • The MAC address of the VM's network interface.
    subnet string
    • The subnet the VM's network interface is attached to.
    type string
    • The type of network interface.
    mac_address str
    • The MAC address of the VM's network interface.
    subnet str
    • The subnet the VM's network interface is attached to.
    type str
    • The type of network interface.
    macAddress String
    • The MAC address of the VM's network interface.
    subnet String
    • The subnet the VM's network interface is attached to.
    type String
    • The type of network interface.

    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.8.0 published on Sunday, May 11, 2025 by Piers Karsenbarg