Class RoleTempalte
Inherited Members
Namespace: Pulumi.Rancher2
Assembly: Pulumi.Rancher2.dll
Syntax
public class RoleTempalte : CustomResource
Constructors
View SourceRoleTempalte(String, RoleTempalteArgs, CustomResourceOptions)
Create a RoleTempalte resource with the given unique name, arguments, and options.
Declaration
public RoleTempalte(string name, RoleTempalteArgs args = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| RoleTempalteArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAdministrative
Administrative role template. Default false (bool)
Declaration
public Output<bool?> Administrative { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
Annotations
Annotations for role template object (map)
Declaration
public Output<ImmutableDictionary<string, object>> Annotations { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>> |
Builtin
(Computed) Builtin role template (string)
Declaration
public Output<bool> Builtin { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Boolean> |
Context
Role template context. cluster and project values are supported. Default: cluster (string)
Declaration
public Output<string> Context { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
DefaultRole
Default role template for new created cluster or project. Default false (bool)
Declaration
public Output<bool?> DefaultRole { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
Description
Role template description (string)
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
External
External role template. Default false (bool)
Declaration
public Output<bool?> External { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
Hidden
Hidden role template. Default false (bool)
Declaration
public Output<bool?> Hidden { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
Labels
Labels for role template object (map)
Declaration
public Output<ImmutableDictionary<string, object>> Labels { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>> |
Locked
Locked role template. Default false (bool)
Declaration
public Output<bool?> Locked { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
Name
Role template name (string)
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
RoleTemplateIds
Inherit role template IDs (list)
Declaration
public Output<ImmutableArray<string>> RoleTemplateIds { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
Rules
Role template policy rules (list)
Declaration
public Output<ImmutableArray<RoleTempalteRule>> Rules { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<RoleTempalteRule>> |
Methods
View SourceGet(String, Input<String>, RoleTempalteState, CustomResourceOptions)
Get an existing RoleTempalte resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static RoleTempalte Get(string name, Input<string> id, RoleTempalteState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| RoleTempalteState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| RoleTempalte |