Show / Hide Table of Contents

Class NodeDriver

Provides a Rancher v2 Node Driver resource. This can be used to create Node Driver for Rancher v2 RKE clusters and retrieve their information.

Example Usage

using Pulumi;
using Rancher2 = Pulumi.Rancher2;

class MyStack : Stack
{
public MyStack()
{
    // Create a new rancher2 Node Driver
    var foo = new Rancher2.NodeDriver("foo", new Rancher2.NodeDriverArgs
    {
        Active = true,
        Builtin = false,
        Checksum = "0x0",
        Description = "Foo description",
        ExternalId = "foo_external",
        UiUrl = "local://ui",
        Url = "local://",
        WhitelistDomains = 
        {
            "*.foo.com",
        },
    });
}

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

Constructors

View Source

NodeDriver(String, NodeDriverArgs, CustomResourceOptions)

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

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

The unique name of the resource

NodeDriverArgs 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

Active

Specify if the node driver state (bool)

Declaration
public Output<bool> Active { get; }
Property Value
Type Description
Output<System.Boolean>
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

Builtin

Specify wheter the node driver is an internal node driver or not (bool)

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

Checksum

Verify that the downloaded driver matches the expected checksum (string)

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

Description

Description of the node driver (string)

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

ExternalId

External ID (string)

Declaration
public Output<string> ExternalId { 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

Name of the node driver (string)

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

UiUrl

The URL to load for customized Add Nodes screen for this driver (string)

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

Url

The URL to download the machine driver binary for 64-bit Linux (string)

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

WhitelistDomains

Domains to whitelist for the ui (list)

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

Methods

View Source

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

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

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

NodeDriverState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

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