Show / Hide Table of Contents

Class ProjectRoleTemplateBinding

Provides a Rancher v2 Project Role Template Binding resource. This can be used to create Project Role Template Bindings for Rancher v2 environments and retrieve their information.

Example Usage

using Pulumi;
using Rancher2 = Pulumi.Rancher2;

class MyStack : Stack
{
public MyStack()
{
    // Create a new rancher2 Project Role Template Binding
    var foo = new Rancher2.ProjectRoleTemplateBinding("foo", new Rancher2.ProjectRoleTemplateBindingArgs
    {
        ProjectId = "<project_id>",
        RoleTemplateId = "<role_template_id>",
        UserId = "<user_id>",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
ProjectRoleTemplateBinding
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 ProjectRoleTemplateBinding : CustomResource

Constructors

View Source

ProjectRoleTemplateBinding(String, ProjectRoleTemplateBindingArgs, CustomResourceOptions)

Create a ProjectRoleTemplateBinding resource with the given unique name, arguments, and options.

Declaration
public ProjectRoleTemplateBinding(string name, ProjectRoleTemplateBindingArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

ProjectRoleTemplateBindingArgs 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

Annotations

Annotations of the resource (map)

Declaration
public Output<ImmutableDictionary<string, object>> Annotations { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>
View Source

GroupId

The group ID to assign project role template binding (string)

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

GroupPrincipalId

The group_principal ID to assign project role template binding (string)

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

Labels

Labels of the resource (map)

Declaration
public Output<ImmutableDictionary<string, object>> Labels { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>>
View Source

Name

The name of the project role template binding (string)

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

ProjectId

The project id where bind project role template (string)

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

RoleTemplateId

The role template id from create project role template binding (string)

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

UserId

The user ID to assign project role template binding (string)

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

UserPrincipalId

The user_principal ID to assign project role template binding (string)

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

Methods

View Source

Get(String, Input<String>, ProjectRoleTemplateBindingState, CustomResourceOptions)

Get an existing ProjectRoleTemplateBinding resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static ProjectRoleTemplateBinding Get(string name, Input<string> id, ProjectRoleTemplateBindingState 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.

ProjectRoleTemplateBindingState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
ProjectRoleTemplateBinding
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.