Ready to level-up your engineering skills? Join a Pulumi Workshop. Register Now

getRoleTempalte

Deprecated: rancher2.getRoleTempalte has been deprecated in favor of rancher2.getRoleTemplate

Using getRoleTempalte

function getRoleTempalte(args: GetRoleTempalteArgs, opts?: InvokeOptions): Promise<GetRoleTempalteResult>
def get_role_tempalte(context: Optional[str] = None, name: Optional[str] = None, opts: Optional[InvokeOptions] = None) -> GetRoleTempalteResult
func LookupRoleTempalte(ctx *Context, args *LookupRoleTempalteArgs, opts ...InvokeOption) (*LookupRoleTempalteResult, error)

Note: This function is named LookupRoleTempalte in the Go SDK.

public static class GetRoleTempalte {
    public static Task<GetRoleTempalteResult> InvokeAsync(GetRoleTempalteArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Name string
Context string
Name string
Context string
name string
context string
name str
context str

getRoleTempalte Result

The following output properties are available:

Administrative bool
Annotations Dictionary<string, object>
Builtin bool
Context string
DefaultRole bool
Description string
External bool
Hidden bool
Id string

The provider-assigned unique ID for this managed resource.

Labels Dictionary<string, object>
Locked bool
Name string
RoleTemplateIds List<string>
Rules List<GetRoleTempalteRule>
Administrative bool
Annotations map[string]interface{}
Builtin bool
Context string
DefaultRole bool
Description string
External bool
Hidden bool
Id string

The provider-assigned unique ID for this managed resource.

Labels map[string]interface{}
Locked bool
Name string
RoleTemplateIds []string
Rules []GetRoleTempalteRule
administrative boolean
annotations {[key: string]: any}
builtin boolean
context string
defaultRole boolean
description string
external boolean
hidden boolean
id string

The provider-assigned unique ID for this managed resource.

labels {[key: string]: any}
locked boolean
name string
roleTemplateIds string[]
rules GetRoleTempalteRule[]
administrative bool
annotations Mapping[str, Any]
builtin bool
context str
default_role bool
description str
external bool
hidden bool
id str

The provider-assigned unique ID for this managed resource.

labels Mapping[str, Any]
locked bool
name str
role_template_ids Sequence[str]
rules Sequence[GetRoleTempalteRule]

Supporting Types

GetRoleTempalteRule

ApiGroups List<string>
NonResourceUrls List<string>
ResourceNames List<string>
Resources List<string>
Verbs List<string>
ApiGroups []string
NonResourceUrls []string
ResourceNames []string
Resources []string
Verbs []string
apiGroups string[]
nonResourceUrls string[]
resourceNames string[]
resources string[]
verbs string[]
api_groups Sequence[str]
non_resource_urls Sequence[str]
resource_names Sequence[str]
resources Sequence[str]
verbs Sequence[str]

Package Details

Repository
https://github.com/pulumi/pulumi-rancher2
License
Apache-2.0
Notes
This Pulumi package is based on the rancher2 Terraform Provider.