Viewing docs for wavefront 5.1.0
published on Wednesday, Jan 21, 2026 by vmware
published on Wednesday, Jan 21, 2026 by vmware
Viewing docs for wavefront 5.1.0
published on Wednesday, Jan 21, 2026 by vmware
published on Wednesday, Jan 21, 2026 by vmware
Use this data source to get information about a Wavefront role by its ID.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as wavefront from "@pulumi/wavefront";
// Get the information about the role.
const example = wavefront.getRole({
id: "role-id",
});
import pulumi
import pulumi_wavefront as wavefront
# Get the information about the role.
example = wavefront.get_role(id="role-id")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/wavefront/v5/wavefront"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Get the information about the role.
_, err := wavefront.LookupRole(ctx, &wavefront.LookupRoleArgs{
Id: "role-id",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Wavefront = Pulumi.Wavefront;
return await Deployment.RunAsync(() =>
{
// Get the information about the role.
var example = Wavefront.GetRole.Invoke(new()
{
Id = "role-id",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.wavefront.WavefrontFunctions;
import com.pulumi.wavefront.inputs.GetRoleArgs;
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) {
// Get the information about the role.
final var example = WavefrontFunctions.getRole(GetRoleArgs.builder()
.id("role-id")
.build());
}
}
variables:
# Get the information about the role.
example:
fn::invoke:
function: wavefront:getRole
arguments:
id: role-id
Using getRole
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 getRole(args: GetRoleArgs, opts?: InvokeOptions): Promise<GetRoleResult>
function getRoleOutput(args: GetRoleOutputArgs, opts?: InvokeOptions): Output<GetRoleResult>def get_role(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRoleResult
def get_role_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRoleResult]func LookupRole(ctx *Context, args *LookupRoleArgs, opts ...InvokeOption) (*LookupRoleResult, error)
func LookupRoleOutput(ctx *Context, args *LookupRoleOutputArgs, opts ...InvokeOption) LookupRoleResultOutput> Note: This function is named LookupRole in the Go SDK.
public static class GetRole
{
public static Task<GetRoleResult> InvokeAsync(GetRoleArgs args, InvokeOptions? opts = null)
public static Output<GetRoleResult> Invoke(GetRoleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRoleResult> getRole(GetRoleArgs args, InvokeOptions options)
public static Output<GetRoleResult> getRole(GetRoleArgs args, InvokeOptions options)
fn::invoke:
function: wavefront:index/getRole:getRole
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- The ID associated with the role data to be fetched.
- Id string
- The ID associated with the role data to be fetched.
- id String
- The ID associated with the role data to be fetched.
- id string
- The ID associated with the role data to be fetched.
- id str
- The ID associated with the role data to be fetched.
- id String
- The ID associated with the role data to be fetched.
getRole Result
The following output properties are available:
- Description string
- Human-readable description of the role.
- Id string
- The ID of the role in Wavefront.
- Name string
- The name of the role in Wavefront.
- Permissions List<string>
- The list of permissions associated with role.
- Description string
- Human-readable description of the role.
- Id string
- The ID of the role in Wavefront.
- Name string
- The name of the role in Wavefront.
- Permissions []string
- The list of permissions associated with role.
- description String
- Human-readable description of the role.
- id String
- The ID of the role in Wavefront.
- name String
- The name of the role in Wavefront.
- permissions List<String>
- The list of permissions associated with role.
- description string
- Human-readable description of the role.
- id string
- The ID of the role in Wavefront.
- name string
- The name of the role in Wavefront.
- permissions string[]
- The list of permissions associated with role.
- description str
- Human-readable description of the role.
- id str
- The ID of the role in Wavefront.
- name str
- The name of the role in Wavefront.
- permissions Sequence[str]
- The list of permissions associated with role.
- description String
- Human-readable description of the role.
- id String
- The ID of the role in Wavefront.
- name String
- The name of the role in Wavefront.
- permissions List<String>
- The list of permissions associated with role.
Package Details
- Repository
- Wavefront vmware/terraform-provider-wavefront
- License
- Notes
- This Pulumi package is based on the
wavefrontTerraform Provider.
Viewing docs for wavefront 5.1.0
published on Wednesday, Jan 21, 2026 by vmware
published on Wednesday, Jan 21, 2026 by vmware
