Proxmox Virtual Environment (Proxmox VE)

v2.0.0 published on Friday, Jul 15, 2022 by Daniel Muehlbachler-Pietrzykowski

getRoles

Using getRoles

function getRoles(opts?: InvokeOptions): Promise<GetRolesResult>
def get_roles(opts: Optional[InvokeOptions] = None) -> GetRolesResult
func GetRoles(ctx *Context, opts ...InvokeOption) (*GetRolesResult, error)

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

public static class GetRoles 
{
    public static Task<GetRolesResult> InvokeAsync(InvokeOptions? opts = null)
}
public static CompletableFuture<GetRolesResult> getRoles(InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: proxmoxve:Permission/getRoles:getRoles
  arguments:
    # arguments dictionary

getRoles Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Privileges List<ImmutableArray<string>>
RoleIds List<string>
Specials List<bool>
Id string

The provider-assigned unique ID for this managed resource.

Privileges [][]string
RoleIds []string
Specials []bool
id String

The provider-assigned unique ID for this managed resource.

privileges List<List<String>>
roleIds List<String>
specials List<Boolean>
id string

The provider-assigned unique ID for this managed resource.

privileges string[][]
roleIds string[]
specials boolean[]
id str

The provider-assigned unique ID for this managed resource.

privileges Sequence[Sequence[str]]
role_ids Sequence[str]
specials Sequence[bool]
id String

The provider-assigned unique ID for this managed resource.

privileges List<List<String>>
roleIds List<String>
specials List<Boolean>

Package Details

Repository
https://github.com/muhlba91/pulumi-proxmoxve
License
Apache-2.0
Notes

This Pulumi package is based on the proxmoxve Terraform Provider.