Nutanix v0.8.0 published on Sunday, May 11, 2025 by Piers Karsenbarg
nutanix.getSelfServiceApp
Explore with Pulumi AI
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:
- App
Uuid string - (Required) The UUID of an app you want to get data from.
- App
Uuid string - (Required) The UUID of an app you want to get data from.
- app
Uuid String - (Required) The UUID of an app you want to get data from.
- app
Uuid 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.
- app
Uuid String - (Required) The UUID of an app you want to get data from.
getSelfServiceApp Result
The following output properties are available:
- Actions
List<Piers
Karsenbarg. Nutanix. Outputs. Get Self Service App Action> - Api
Version string - The API version used for the application.
- App
Description string - The description of the Self Service Application.
- App
Name string - The name of the Self Service Application.
- App
Summaries List<PiersKarsenbarg. Nutanix. Outputs. Get Self Service App App Summary> - App
Uuid 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<Piers
Karsenbarg. Nutanix. Outputs. Get Self Service App Vm>
- Actions
[]Get
Self Service App Action - Api
Version string - The API version used for the application.
- App
Description string - The description of the Self Service Application.
- App
Name string - The name of the Self Service Application.
- App
Summaries []GetSelf Service App App Summary - App
Uuid 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
[]Get
Self Service App Vm
- actions
List<Get
Self Service App Action> - api
Version String - The API version used for the application.
- app
Description String - The description of the Self Service Application.
- app
Name String - The name of the Self Service Application.
- app
Summaries List<GetSelf Service App App Summary> - app
Uuid 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<Get
Self Service App Vm>
- actions
Get
Self Service App Action[] - api
Version string - The API version used for the application.
- app
Description string - The description of the Self Service Application.
- app
Name string - The name of the Self Service Application.
- app
Summaries GetSelf Service App App Summary[] - app
Uuid 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
Get
Self Service App Vm[]
- actions
Sequence[Get
Self Service App Action] - 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[GetSelf Service App App Summary] - 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[Get
Self Service App Vm]
- actions List<Property Map>
- api
Version String - The API version used for the application.
- app
Description String - The description of the Self Service Application.
- app
Name String - The name of the Self Service Application.
- app
Summaries List<Property Map> - app
Uuid 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
- Application
Profile string - The profile assigned to the application.
- Application
Uuid string - The UUID of the application.
- Blueprint string
- The blueprint associated with the application.
- Created
On string - The timestamp when the application was created.
- Last
Updated stringOn - 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 string - The profile assigned to the application.
- Application
Uuid string - The UUID of the application.
- Blueprint string
- The blueprint associated with the application.
- Created
On string - The timestamp when the application was created.
- Last
Updated stringOn - 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 String - The profile assigned to the application.
- application
Uuid String - The UUID of the application.
- blueprint String
- The blueprint associated with the application.
- created
On String - The timestamp when the application was created.
- last
Updated StringOn - 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 string - The profile assigned to the application.
- application
Uuid string - The UUID of the application.
- blueprint string
- The blueprint associated with the application.
- created
On string - The timestamp when the application was created.
- last
Updated stringOn - 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_ stron - The timestamp when the application was last updated.
- owner str
- The owner of the application.
- project str
- The project associated with the application.
- application
Profile String - The profile assigned to the application.
- application
Uuid String - The UUID of the application.
- blueprint String
- The blueprint associated with the application.
- created
On String - The timestamp when the application was created.
- last
Updated StringOn - 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.
- Cluster
Infos List<PiersKarsenbarg. Nutanix. Inputs. Get Self Service App Vm Cluster Info> - Cluster-related information for the VM.
- Configurations
List<Piers
Karsenbarg. Nutanix. Inputs. Get Self Service App Vm Configuration> - Configuration details for the VM.
- Nics
List<Piers
Karsenbarg. Nutanix. Inputs. Get Self Service App Vm Nic> - 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.
- Cluster
Infos []GetSelf Service App Vm Cluster Info - Cluster-related information for the VM.
- Configurations
[]Get
Self Service App Vm Configuration - Configuration details for the VM.
- Nics
[]Get
Self Service App Vm Nic - 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.
- cluster
Infos List<GetSelf Service App Vm Cluster Info> - Cluster-related information for the VM.
- configurations
List<Get
Self Service App Vm Configuration> - Configuration details for the VM.
- nics
List<Get
Self Service App Vm Nic> - 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.
- cluster
Infos GetSelf Service App Vm Cluster Info[] - Cluster-related information for the VM.
- configurations
Get
Self Service App Vm Configuration[] - Configuration details for the VM.
- nics
Get
Self Service App Vm Nic[] - 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[GetSelf Service App Vm Cluster Info] - Cluster-related information for the VM.
- configurations
Sequence[Get
Self Service App Vm Configuration] - Configuration details for the VM.
- nics
Sequence[Get
Self Service App Vm Nic] - 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.
- cluster
Infos 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
- Cluster
Name string - The name of the cluster.
- Cluster
Uuid string - The UUID of the cluster.
- Cluster
Name string - The name of the cluster.
- Cluster
Uuid string - The UUID of the cluster.
- cluster
Name String - The name of the cluster.
- cluster
Uuid String - The UUID of the cluster.
- cluster
Name string - The name of the cluster.
- cluster
Uuid string - The UUID of the cluster.
- cluster_
name str - The name of the cluster.
- cluster_
uuid str - The UUID of the cluster.
- cluster
Name String - The name of the cluster.
- cluster
Uuid String - The UUID of the cluster.
GetSelfServiceAppVmConfiguration
GetSelfServiceAppVmNic
- Mac
Address 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 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 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 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.
- mac
Address 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.