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:
getRoleTempalte Result
The following output properties are available:
- Administrative bool
- Annotations Dictionary<string, object>
- Builtin bool
- Context string
- Default
Role bool - Description string
- External bool
- bool
- Id string
The provider-assigned unique ID for this managed resource.
- Labels Dictionary<string, object>
- Locked bool
- Name string
- Role
Template List<string>Ids - Rules
List<Get
Role Tempalte Rule>
- Administrative bool
- Annotations map[string]interface{}
- Builtin bool
- Context string
- Default
Role bool - Description string
- External bool
- bool
- Id string
The provider-assigned unique ID for this managed resource.
- Labels map[string]interface{}
- Locked bool
- Name string
- Role
Template []stringIds - Rules
[]Get
Role Tempalte Rule
- administrative boolean
- annotations {[key: string]: any}
- builtin boolean
- context string
- default
Role boolean - description string
- external boolean
- boolean
- id string
The provider-assigned unique ID for this managed resource.
- labels {[key: string]: any}
- locked boolean
- name string
- role
Template string[]Ids - rules
Get
Role Tempalte Rule[]
- administrative bool
- annotations Mapping[str, Any]
- builtin bool
- context str
- default_
role bool - description str
- external bool
- bool
- id str
The provider-assigned unique ID for this managed resource.
- labels Mapping[str, Any]
- locked bool
- name str
- role_
template_ Sequence[str]ids - rules
Sequence[Get
Role Tempalte Rule]
Supporting Types
GetRoleTempalteRule
- Api
Groups List<string> - Non
Resource List<string>Urls - Resource
Names List<string> - Resources List<string>
- Verbs List<string>
- Api
Groups []string - Non
Resource []stringUrls - Resource
Names []string - Resources []string
- Verbs []string
- api
Groups string[] - non
Resource string[]Urls - resource
Names string[] - resources string[]
- verbs string[]
- api_
groups Sequence[str] - non_
resource_ Sequence[str]urls - 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.