Class ClusterDriver
Provides a Rancher v2 Cluster Driver resource. This can be used to create Cluster Driver for Rancher v2.2.x Kontainer Engine clusters and retrieve their information.
Inherited Members
Namespace: Pulumi.Rancher2
Assembly: Pulumi.Rancher2.dll
Syntax
public class ClusterDriver : CustomResource
Constructors
View SourceClusterDriver(String, ClusterDriverArgs, CustomResourceOptions)
Create a ClusterDriver resource with the given unique name, arguments, and options.
Declaration
public ClusterDriver(string name, ClusterDriverArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ClusterDriverArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceActive
Specify the cluster driver state (bool)
Declaration
public Output<bool> Active { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Boolean> |
ActualUrl
Actual url of the cluster driver (string)
Declaration
public Output<string> ActualUrl { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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>> |
Builtin
Specify whether the cluster driver is an internal cluster driver or not (bool)
Declaration
public Output<bool> Builtin { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Boolean> |
Checksum
Verify that the downloaded driver matches the expected checksum (string)
Declaration
public Output<string> Checksum { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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>> |
Name
Name of the cluster driver (string)
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
UiUrl
The URL to load for customized Add Clusters screen for this driver (string)
Declaration
public Output<string> UiUrl { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
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> |
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 SourceGet(String, Input<String>, ClusterDriverState, CustomResourceOptions)
Get an existing ClusterDriver resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static ClusterDriver Get(string name, Input<string> id, ClusterDriverState 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. |
| ClusterDriverState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| ClusterDriver |