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.

Create a ClusterDriver Resource

def ClusterDriver(resource_name, opts=None, active=None, actual_url=None, annotations=None, builtin=None, checksum=None, labels=None, name=None, ui_url=None, url=None, whitelist_domains=None, __props__=None);
name string
The unique name of the resource.
args ClusterDriverArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ClusterDriverArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ClusterDriverArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

ClusterDriver Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The ClusterDriver resource accepts the following input properties:

Active bool

Specify the cluster driver state (bool)

Builtin bool

Specify whether the cluster driver is an internal cluster driver or not (bool)

Url string

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

ActualUrl string

Actual url of the cluster driver (string)

Annotations Dictionary<string, object>

Annotations of the resource (map)

Checksum string

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

Labels Dictionary<string, object>

Labels of the resource (map)

Name string

Name of the cluster driver (string)

UiUrl string

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

WhitelistDomains List<string>

Domains to whitelist for the ui (list)

Active bool

Specify the cluster driver state (bool)

Builtin bool

Specify whether the cluster driver is an internal cluster driver or not (bool)

Url string

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

ActualUrl string

Actual url of the cluster driver (string)

Annotations map[string]interface{}

Annotations of the resource (map)

Checksum string

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

Labels map[string]interface{}

Labels of the resource (map)

Name string

Name of the cluster driver (string)

UiUrl string

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

WhitelistDomains []string

Domains to whitelist for the ui (list)

active boolean

Specify the cluster driver state (bool)

builtin boolean

Specify whether the cluster driver is an internal cluster driver or not (bool)

url string

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

actualUrl string

Actual url of the cluster driver (string)

annotations {[key: string]: any}

Annotations of the resource (map)

checksum string

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

labels {[key: string]: any}

Labels of the resource (map)

name string

Name of the cluster driver (string)

uiUrl string

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

whitelistDomains string[]

Domains to whitelist for the ui (list)

active bool

Specify the cluster driver state (bool)

builtin bool

Specify whether the cluster driver is an internal cluster driver or not (bool)

url str

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

actual_url str

Actual url of the cluster driver (string)

annotations Dict[str, Any]

Annotations of the resource (map)

checksum str

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

labels Dict[str, Any]

Labels of the resource (map)

name str

Name of the cluster driver (string)

ui_url str

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

whitelist_domains List[str]

Domains to whitelist for the ui (list)

Outputs

All input properties are implicitly available as output properties. Additionally, the ClusterDriver resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing ClusterDriver Resource

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

public static get(name: string, id: Input<ID>, state?: ClusterDriverState, opts?: CustomResourceOptions): ClusterDriver
static get(resource_name, id, opts=None, active=None, actual_url=None, annotations=None, builtin=None, checksum=None, labels=None, name=None, ui_url=None, url=None, whitelist_domains=None, __props__=None);
func GetClusterDriver(ctx *Context, name string, id IDInput, state *ClusterDriverState, opts ...ResourceOption) (*ClusterDriver, error)
public static ClusterDriver Get(string name, Input<string> id, ClusterDriverState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Active bool

Specify the cluster driver state (bool)

ActualUrl string

Actual url of the cluster driver (string)

Annotations Dictionary<string, object>

Annotations of the resource (map)

Builtin bool

Specify whether the cluster driver is an internal cluster driver or not (bool)

Checksum string

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

Labels Dictionary<string, object>

Labels of the resource (map)

Name string

Name of the cluster driver (string)

UiUrl string

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

Url string

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

WhitelistDomains List<string>

Domains to whitelist for the ui (list)

Active bool

Specify the cluster driver state (bool)

ActualUrl string

Actual url of the cluster driver (string)

Annotations map[string]interface{}

Annotations of the resource (map)

Builtin bool

Specify whether the cluster driver is an internal cluster driver or not (bool)

Checksum string

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

Labels map[string]interface{}

Labels of the resource (map)

Name string

Name of the cluster driver (string)

UiUrl string

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

Url string

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

WhitelistDomains []string

Domains to whitelist for the ui (list)

active boolean

Specify the cluster driver state (bool)

actualUrl string

Actual url of the cluster driver (string)

annotations {[key: string]: any}

Annotations of the resource (map)

builtin boolean

Specify whether the cluster driver is an internal cluster driver or not (bool)

checksum string

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

labels {[key: string]: any}

Labels of the resource (map)

name string

Name of the cluster driver (string)

uiUrl string

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

url string

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

whitelistDomains string[]

Domains to whitelist for the ui (list)

active bool

Specify the cluster driver state (bool)

actual_url str

Actual url of the cluster driver (string)

annotations Dict[str, Any]

Annotations of the resource (map)

builtin bool

Specify whether the cluster driver is an internal cluster driver or not (bool)

checksum str

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

labels Dict[str, Any]

Labels of the resource (map)

name str

Name of the cluster driver (string)

ui_url str

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

url str

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

whitelist_domains List[str]

Domains to whitelist for the ui (list)

Package Details

Repository
https://github.com/pulumi/pulumi-rancher2
License
Apache-2.0
Notes
This Pulumi package is based on the rancher2 Terraform Provider.