Nutanix v0.1.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg
nutanix.getNdbTags
Explore with Pulumi AI
Nutanix v0.1.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg
List of tags in Nutanix Database Service
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pulumi/nutanix";
const tags = nutanix.getNdbTags({});
import pulumi
import pulumi_nutanix as nutanix
tags = nutanix.get_ndb_tags()
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.GetNdbTags(ctx, nil, 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 tags = Nutanix.GetNdbTags.Invoke();
});
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.GetNdbTagsArgs;
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 tags = NutanixFunctions.getNdbTags();
}
}
variables:
tags:
fn::invoke:
Function: nutanix:getNdbTags
Arguments: {}
Using getNdbTags
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 getNdbTags(args: GetNdbTagsArgs, opts?: InvokeOptions): Promise<GetNdbTagsResult>
function getNdbTagsOutput(args: GetNdbTagsOutputArgs, opts?: InvokeOptions): Output<GetNdbTagsResult>
def get_ndb_tags(entity_type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNdbTagsResult
def get_ndb_tags_output(entity_type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNdbTagsResult]
func GetNdbTags(ctx *Context, args *GetNdbTagsArgs, opts ...InvokeOption) (*GetNdbTagsResult, error)
func GetNdbTagsOutput(ctx *Context, args *GetNdbTagsOutputArgs, opts ...InvokeOption) GetNdbTagsResultOutput
> Note: This function is named GetNdbTags
in the Go SDK.
public static class GetNdbTags
{
public static Task<GetNdbTagsResult> InvokeAsync(GetNdbTagsArgs args, InvokeOptions? opts = null)
public static Output<GetNdbTagsResult> Invoke(GetNdbTagsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNdbTagsResult> getNdbTags(GetNdbTagsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: nutanix:index/getNdbTags:getNdbTags
arguments:
# arguments dictionary
The following arguments are supported:
- Entity
Type string - entity for the tag to be associated with.
- Entity
Type string - entity for the tag to be associated with.
- entity
Type String - entity for the tag to be associated with.
- entity
Type string - entity for the tag to be associated with.
- entity_
type str - entity for the tag to be associated with.
- entity
Type String - entity for the tag to be associated with.
getNdbTags Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- List<Piers
Karsenbarg. Nutanix. Outputs. Get Ndb Tags Tag> - List of tags present in NDB.
- Entity
Type string - entity for the tag to be associated with.
- Id string
- The provider-assigned unique ID for this managed resource.
- []Get
Ndb Tags Tag - List of tags present in NDB.
- Entity
Type string - entity for the tag to be associated with.
- id String
- The provider-assigned unique ID for this managed resource.
- List<Get
Ndb Tags Tag> - List of tags present in NDB.
- entity
Type String - entity for the tag to be associated with.
- id string
- The provider-assigned unique ID for this managed resource.
- Get
Ndb Tags Tag[] - List of tags present in NDB.
- entity
Type string - entity for the tag to be associated with.
- id str
- The provider-assigned unique ID for this managed resource.
- Sequence[Get
Ndb Tags Tag] - List of tags present in NDB.
- entity_
type str - entity for the tag to be associated with.
- id String
- The provider-assigned unique ID for this managed resource.
- List<Property Map>
- List of tags present in NDB.
- entity
Type String - entity for the tag to be associated with.
Supporting Types
GetNdbTagsTag
- Date
Created string - date created of the tag
- Date
Modified string - modified date of tha tag
- Description string
- description for the tag
- Entity
Type string - entity for the tag to be associated with.
- Id string
- Name string
- name for the tag
- Owner string
- owner id of the tag
- Required bool
- tag value for entities.
- Status string
- Status of the tag
- Values int
- value for the tag
- Date
Created string - date created of the tag
- Date
Modified string - modified date of tha tag
- Description string
- description for the tag
- Entity
Type string - entity for the tag to be associated with.
- Id string
- Name string
- name for the tag
- Owner string
- owner id of the tag
- Required bool
- tag value for entities.
- Status string
- Status of the tag
- Values int
- value for the tag
- date
Created String - date created of the tag
- date
Modified String - modified date of tha tag
- description String
- description for the tag
- entity
Type String - entity for the tag to be associated with.
- id String
- name String
- name for the tag
- owner String
- owner id of the tag
- required Boolean
- tag value for entities.
- status String
- Status of the tag
- values Integer
- value for the tag
- date
Created string - date created of the tag
- date
Modified string - modified date of tha tag
- description string
- description for the tag
- entity
Type string - entity for the tag to be associated with.
- id string
- name string
- name for the tag
- owner string
- owner id of the tag
- required boolean
- tag value for entities.
- status string
- Status of the tag
- values number
- value for the tag
- date_
created str - date created of the tag
- date_
modified str - modified date of tha tag
- description str
- description for the tag
- entity_
type str - entity for the tag to be associated with.
- id str
- name str
- name for the tag
- owner str
- owner id of the tag
- required bool
- tag value for entities.
- status str
- Status of the tag
- values int
- value for the tag
- date
Created String - date created of the tag
- date
Modified String - modified date of tha tag
- description String
- description for the tag
- entity
Type String - entity for the tag to be associated with.
- id String
- name String
- name for the tag
- owner String
- owner id of the tag
- required Boolean
- tag value for entities.
- status String
- Status of the tag
- values Number
- value for the tag
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nutanix
Terraform Provider.
Nutanix v0.1.0 published on Tuesday, Sep 24, 2024 by Piers Karsenbarg