Nutanix v0.0.52 published on Friday, Jun 7, 2024 by Piers Karsenbarg
nutanix.getNdbProfile
Explore with Pulumi AI
Describes a profile in Nutanix Database Service
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pulumi/nutanix";
const profile1 = nutanix.getNdbProfile({
profileType: "Network",
profileName: "TEST_NETWORK_PROFILE",
});
export const profile = profile1;
import pulumi
import pulumi_nutanix as nutanix
profile1 = nutanix.get_ndb_profile(profile_type="Network",
profile_name="TEST_NETWORK_PROFILE")
pulumi.export("profile", profile1)
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 {
profile1, err := nutanix.LookupNdbProfile(ctx, &nutanix.LookupNdbProfileArgs{
ProfileType: pulumi.StringRef("Network"),
ProfileName: pulumi.StringRef("TEST_NETWORK_PROFILE"),
}, nil)
if err != nil {
return err
}
ctx.Export("profile", profile1)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nutanix = Pulumi.Nutanix;
return await Deployment.RunAsync(() =>
{
var profile1 = Nutanix.GetNdbProfile.Invoke(new()
{
ProfileType = "Network",
ProfileName = "TEST_NETWORK_PROFILE",
});
return new Dictionary<string, object?>
{
["profile"] = profile1,
};
});
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.GetNdbProfileArgs;
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 profile1 = NutanixFunctions.getNdbProfile(GetNdbProfileArgs.builder()
.profileType("Network")
.profileName("TEST_NETWORK_PROFILE")
.build());
ctx.export("profile", profile1.applyValue(getNdbProfileResult -> getNdbProfileResult));
}
}
variables:
profile1:
fn::invoke:
Function: nutanix:getNdbProfile
Arguments:
profileType: Network
profileName: TEST_NETWORK_PROFILE
outputs:
profile: ${profile1}
Using getNdbProfile
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 getNdbProfile(args: GetNdbProfileArgs, opts?: InvokeOptions): Promise<GetNdbProfileResult>
function getNdbProfileOutput(args: GetNdbProfileOutputArgs, opts?: InvokeOptions): Output<GetNdbProfileResult>
def get_ndb_profile(engine: Optional[str] = None,
profile_id: Optional[str] = None,
profile_name: Optional[str] = None,
profile_type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNdbProfileResult
def get_ndb_profile_output(engine: Optional[pulumi.Input[str]] = None,
profile_id: Optional[pulumi.Input[str]] = None,
profile_name: Optional[pulumi.Input[str]] = None,
profile_type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNdbProfileResult]
func LookupNdbProfile(ctx *Context, args *LookupNdbProfileArgs, opts ...InvokeOption) (*LookupNdbProfileResult, error)
func LookupNdbProfileOutput(ctx *Context, args *LookupNdbProfileOutputArgs, opts ...InvokeOption) LookupNdbProfileResultOutput
> Note: This function is named LookupNdbProfile
in the Go SDK.
public static class GetNdbProfile
{
public static Task<GetNdbProfileResult> InvokeAsync(GetNdbProfileArgs args, InvokeOptions? opts = null)
public static Output<GetNdbProfileResult> Invoke(GetNdbProfileInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNdbProfileResult> getNdbProfile(GetNdbProfileArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: nutanix:index/getNdbProfile:getNdbProfile
arguments:
# arguments dictionary
The following arguments are supported:
- Engine string
- Database engine. For eg. postgres_database
- Profile
Id string - Profile ID for query
- Profile
Name string - Profile Name for query
- Profile
Type string - Profile type. Types: Software, Compute, Network and Database_Parameter
- Engine string
- Database engine. For eg. postgres_database
- Profile
Id string - Profile ID for query
- Profile
Name string - Profile Name for query
- Profile
Type string - Profile type. Types: Software, Compute, Network and Database_Parameter
- engine String
- Database engine. For eg. postgres_database
- profile
Id String - Profile ID for query
- profile
Name String - Profile Name for query
- profile
Type String - Profile type. Types: Software, Compute, Network and Database_Parameter
- engine string
- Database engine. For eg. postgres_database
- profile
Id string - Profile ID for query
- profile
Name string - Profile Name for query
- profile
Type string - Profile type. Types: Software, Compute, Network and Database_Parameter
- engine str
- Database engine. For eg. postgres_database
- profile_
id str - Profile ID for query
- profile_
name str - Profile Name for query
- profile_
type str - Profile type. Types: Software, Compute, Network and Database_Parameter
- engine String
- Database engine. For eg. postgres_database
- profile
Id String - Profile ID for query
- profile
Name String - Profile Name for query
- profile
Type String - Profile type. Types: Software, Compute, Network and Database_Parameter
getNdbProfile Result
The following output properties are available:
- Assoc
Databases List<string> - associated databases
- Assoc
Db List<string>Servers - associated DB servers
- Cluster
Availabilities List<PiersKarsenbarg. Nutanix. Outputs. Get Ndb Profile Cluster Availability> - list of clusters availability
- Db
Version string - database version
- Description string
- description of profile
- Engine
Type string - database engine type
- Id string
- id of profile
- Latest
Version string - latest version for engine software
- Latest
Version stringId - ID of latest version for engine software
- Name string
- profile name
- Nx
Cluster stringId - era cluster ID
- Owner string
- owner name
- Status string
- status of profile
- System
Profile bool - if system profile or not
- Topology string
- topology
- Type string
- Versions
List<Piers
Karsenbarg. Nutanix. Outputs. Get Ndb Profile Version> - profile's different version config
- Engine string
- Profile
Id string - Profile
Name string - Profile
Type string
- Assoc
Databases []string - associated databases
- Assoc
Db []stringServers - associated DB servers
- Cluster
Availabilities []GetNdb Profile Cluster Availability - list of clusters availability
- Db
Version string - database version
- Description string
- description of profile
- Engine
Type string - database engine type
- Id string
- id of profile
- Latest
Version string - latest version for engine software
- Latest
Version stringId - ID of latest version for engine software
- Name string
- profile name
- Nx
Cluster stringId - era cluster ID
- Owner string
- owner name
- Status string
- status of profile
- System
Profile bool - if system profile or not
- Topology string
- topology
- Type string
- Versions
[]Get
Ndb Profile Version - profile's different version config
- Engine string
- Profile
Id string - Profile
Name string - Profile
Type string
- assoc
Databases List<String> - associated databases
- assoc
Db List<String>Servers - associated DB servers
- cluster
Availabilities List<GetNdb Profile Cluster Availability> - list of clusters availability
- db
Version String - database version
- description String
- description of profile
- engine
Type String - database engine type
- id String
- id of profile
- latest
Version String - latest version for engine software
- latest
Version StringId - ID of latest version for engine software
- name String
- profile name
- nx
Cluster StringId - era cluster ID
- owner String
- owner name
- status String
- status of profile
- system
Profile Boolean - if system profile or not
- topology String
- topology
- type String
- versions
List<Get
Ndb Profile Version> - profile's different version config
- engine String
- profile
Id String - profile
Name String - profile
Type String
- assoc
Databases string[] - associated databases
- assoc
Db string[]Servers - associated DB servers
- cluster
Availabilities GetNdb Profile Cluster Availability[] - list of clusters availability
- db
Version string - database version
- description string
- description of profile
- engine
Type string - database engine type
- id string
- id of profile
- latest
Version string - latest version for engine software
- latest
Version stringId - ID of latest version for engine software
- name string
- profile name
- nx
Cluster stringId - era cluster ID
- owner string
- owner name
- status string
- status of profile
- system
Profile boolean - if system profile or not
- topology string
- topology
- type string
- versions
Get
Ndb Profile Version[] - profile's different version config
- engine string
- profile
Id string - profile
Name string - profile
Type string
- assoc_
databases Sequence[str] - associated databases
- assoc_
db_ Sequence[str]servers - associated DB servers
- cluster_
availabilities Sequence[GetNdb Profile Cluster Availability] - list of clusters availability
- db_
version str - database version
- description str
- description of profile
- engine_
type str - database engine type
- id str
- id of profile
- latest_
version str - latest version for engine software
- latest_
version_ strid - ID of latest version for engine software
- name str
- profile name
- nx_
cluster_ strid - era cluster ID
- owner str
- owner name
- status str
- status of profile
- system_
profile bool - if system profile or not
- topology str
- topology
- type str
- versions
Sequence[Get
Ndb Profile Version] - profile's different version config
- engine str
- profile_
id str - profile_
name str - profile_
type str
- assoc
Databases List<String> - associated databases
- assoc
Db List<String>Servers - associated DB servers
- cluster
Availabilities List<Property Map> - list of clusters availability
- db
Version String - database version
- description String
- description of profile
- engine
Type String - database engine type
- id String
- id of profile
- latest
Version String - latest version for engine software
- latest
Version StringId - ID of latest version for engine software
- name String
- profile name
- nx
Cluster StringId - era cluster ID
- owner String
- owner name
- status String
- status of profile
- system
Profile Boolean - if system profile or not
- topology String
- topology
- type String
- versions List<Property Map>
- profile's different version config
- engine String
- profile
Id String - profile
Name String - profile
Type String
Supporting Types
GetNdbProfileClusterAvailability
- Date
Created string - Date
Modified string - Nx
Cluster stringId - era cluster ID
- Owner
Id string - Profile
Id string - Profile ID for query
- Status string
- status of profile
- Date
Created string - Date
Modified string - Nx
Cluster stringId - era cluster ID
- Owner
Id string - Profile
Id string - Profile ID for query
- Status string
- status of profile
- date
Created String - date
Modified String - nx
Cluster StringId - era cluster ID
- owner
Id String - profile
Id String - Profile ID for query
- status String
- status of profile
- date
Created string - date
Modified string - nx
Cluster stringId - era cluster ID
- owner
Id string - profile
Id string - Profile ID for query
- status string
- status of profile
- date_
created str - date_
modified str - nx_
cluster_ strid - era cluster ID
- owner_
id str - profile_
id str - Profile ID for query
- status str
- status of profile
- date
Created String - date
Modified String - nx
Cluster StringId - era cluster ID
- owner
Id String - profile
Id String - Profile ID for query
- status String
- status of profile
GetNdbProfileVersion
- Db
Version string - database version
- Deprecated bool
- Description string
- description of profile
- Engine
Type string - database engine type
- Id string
- id of profile
- Name string
- profile name
- Owner string
- owner name
- Profile
Id string - Profile ID for query
- Properties
List<Piers
Karsenbarg. Nutanix. Inputs. Get Ndb Profile Version Property> - Properties
Map Dictionary<string, string> - Published bool
- Status string
- status of profile
- System
Profile bool - if system profile or not
- Topology string
- topology
- Type string
- Version string
- Version
Cluster List<PiersAssociations Karsenbarg. Nutanix. Inputs. Get Ndb Profile Version Version Cluster Association>
- Db
Version string - database version
- Deprecated bool
- Description string
- description of profile
- Engine
Type string - database engine type
- Id string
- id of profile
- Name string
- profile name
- Owner string
- owner name
- Profile
Id string - Profile ID for query
- Properties
[]Get
Ndb Profile Version Property - Properties
Map map[string]string - Published bool
- Status string
- status of profile
- System
Profile bool - if system profile or not
- Topology string
- topology
- Type string
- Version string
- Version
Cluster []GetAssociations Ndb Profile Version Version Cluster Association
- db
Version String - database version
- deprecated Boolean
- description String
- description of profile
- engine
Type String - database engine type
- id String
- id of profile
- name String
- profile name
- owner String
- owner name
- profile
Id String - Profile ID for query
- properties
List<Get
Ndb Profile Version Property> - properties
Map Map<String,String> - published Boolean
- status String
- status of profile
- system
Profile Boolean - if system profile or not
- topology String
- topology
- type String
- version String
- version
Cluster List<GetAssociations Ndb Profile Version Version Cluster Association>
- db
Version string - database version
- deprecated boolean
- description string
- description of profile
- engine
Type string - database engine type
- id string
- id of profile
- name string
- profile name
- owner string
- owner name
- profile
Id string - Profile ID for query
- properties
Get
Ndb Profile Version Property[] - properties
Map {[key: string]: string} - published boolean
- status string
- status of profile
- system
Profile boolean - if system profile or not
- topology string
- topology
- type string
- version string
- version
Cluster GetAssociations Ndb Profile Version Version Cluster Association[]
- db_
version str - database version
- deprecated bool
- description str
- description of profile
- engine_
type str - database engine type
- id str
- id of profile
- name str
- profile name
- owner str
- owner name
- profile_
id str - Profile ID for query
- properties
Sequence[Get
Ndb Profile Version Property] - properties_
map Mapping[str, str] - published bool
- status str
- status of profile
- system_
profile bool - if system profile or not
- topology str
- topology
- type str
- version str
- version_
cluster_ Sequence[Getassociations Ndb Profile Version Version Cluster Association]
- db
Version String - database version
- deprecated Boolean
- description String
- description of profile
- engine
Type String - database engine type
- id String
- id of profile
- name String
- profile name
- owner String
- owner name
- profile
Id String - Profile ID for query
- properties List<Property Map>
- properties
Map Map<String> - published Boolean
- status String
- status of profile
- system
Profile Boolean - if system profile or not
- topology String
- topology
- type String
- version String
- version
Cluster List<Property Map>Associations
GetNdbProfileVersionProperty
GetNdbProfileVersionVersionClusterAssociation
- Date
Created string - Date
Modified string - Nx
Cluster stringId - era cluster ID
- Optimized
For boolProvisioning - Owner
Id string - Profile
Version stringId - Properties
List<Piers
Karsenbarg. Nutanix. Inputs. Get Ndb Profile Version Version Cluster Association Property> - Status string
- status of profile
- Date
Created string - Date
Modified string - Nx
Cluster stringId - era cluster ID
- Optimized
For boolProvisioning - Owner
Id string - Profile
Version stringId - Properties
[]Get
Ndb Profile Version Version Cluster Association Property - Status string
- status of profile
- date
Created String - date
Modified String - nx
Cluster StringId - era cluster ID
- optimized
For BooleanProvisioning - owner
Id String - profile
Version StringId - properties
List<Get
Ndb Profile Version Version Cluster Association Property> - status String
- status of profile
- date
Created string - date
Modified string - nx
Cluster stringId - era cluster ID
- optimized
For booleanProvisioning - owner
Id string - profile
Version stringId - properties
Get
Ndb Profile Version Version Cluster Association Property[] - status string
- status of profile
- date_
created str - date_
modified str - nx_
cluster_ strid - era cluster ID
- optimized_
for_ boolprovisioning - owner_
id str - profile_
version_ strid - properties
Sequence[Get
Ndb Profile Version Version Cluster Association Property] - status str
- status of profile
- date
Created String - date
Modified String - nx
Cluster StringId - era cluster ID
- optimized
For BooleanProvisioning - owner
Id String - profile
Version StringId - properties List<Property Map>
- status String
- status of profile
GetNdbProfileVersionVersionClusterAssociationProperty
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nutanix
Terraform Provider.