Show / Hide Table of Contents

Class RoleTempalte

Inheritance
System.Object
Resource
CustomResource
RoleTempalte
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Rancher2
Assembly: Pulumi.Rancher2.dll
Syntax
public class RoleTempalte : CustomResource

Constructors

View Source

RoleTempalte(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 Source

Administrative

Administrative role template. Default false (bool)

Declaration
public Output<bool?> Administrative { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

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>>
View Source

Builtin

(Computed) Builtin role template (string)

Declaration
public Output<bool> Builtin { get; }
Property Value
Type Description
Output<System.Boolean>
View Source

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>
View Source

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>>
View Source

Description

Role template description (string)

Declaration
public Output<string> Description { get; }
Property Value
Type Description
Output<System.String>
View Source

External

External role template. Default false (bool)

Declaration
public Output<bool?> External { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

Hidden

Hidden role template. Default false (bool)

Declaration
public Output<bool?> Hidden { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

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>>
View Source

Locked

Locked role template. Default false (bool)

Declaration
public Output<bool?> Locked { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

Name

Role template name (string)

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

RoleTemplateIds

Inherit role template IDs (list)

Declaration
public Output<ImmutableArray<string>> RoleTemplateIds { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.