Ready to level-up your engineering skills? Join a Pulumi Workshop. Register Now

Bootstrap

Create a Bootstrap Resource

new Bootstrap(name: string, args?: BootstrapArgs, opts?: CustomResourceOptions);
def Bootstrap(resource_name: str, opts: Optional[ResourceOptions] = None, current_password: Optional[str] = None, password: Optional[str] = None, telemetry: Optional[bool] = None, token_ttl: Optional[int] = None, token_update: Optional[bool] = None, ui_default_landing: Optional[str] = None)
func NewBootstrap(ctx *Context, name string, args *BootstrapArgs, opts ...ResourceOption) (*Bootstrap, error)
public Bootstrap(string name, BootstrapArgs? args = null, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args BootstrapArgs
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 BootstrapArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args BootstrapArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Bootstrap Resource Properties

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

Inputs

The Bootstrap resource accepts the following input properties:

CurrentPassword string

Current password for Admin user. Just needed for recover if admin password has been changed from other resources and token is expired (string)

Password string

Password for Admin user or random generated if empty (string)

Telemetry bool

Send telemetry anonymous data. Default: false (bool)

TokenTtl int

TTL in seconds for generated admin token. Default: 0 (int)

TokenUpdate bool

Regenerate admin token. Default: false (bool)

UiDefaultLanding string

Default UI landing for k8s clusters. Available options: ember (cluster manager ui) and vue (cluster explorer ui). Default: ember (string)

CurrentPassword string

Current password for Admin user. Just needed for recover if admin password has been changed from other resources and token is expired (string)

Password string

Password for Admin user or random generated if empty (string)

Telemetry bool

Send telemetry anonymous data. Default: false (bool)

TokenTtl int

TTL in seconds for generated admin token. Default: 0 (int)

TokenUpdate bool

Regenerate admin token. Default: false (bool)

UiDefaultLanding string

Default UI landing for k8s clusters. Available options: ember (cluster manager ui) and vue (cluster explorer ui). Default: ember (string)

currentPassword string

Current password for Admin user. Just needed for recover if admin password has been changed from other resources and token is expired (string)

password string

Password for Admin user or random generated if empty (string)

telemetry boolean

Send telemetry anonymous data. Default: false (bool)

tokenTtl number

TTL in seconds for generated admin token. Default: 0 (int)

tokenUpdate boolean

Regenerate admin token. Default: false (bool)

uiDefaultLanding string

Default UI landing for k8s clusters. Available options: ember (cluster manager ui) and vue (cluster explorer ui). Default: ember (string)

current_password str

Current password for Admin user. Just needed for recover if admin password has been changed from other resources and token is expired (string)

password str

Password for Admin user or random generated if empty (string)

telemetry bool

Send telemetry anonymous data. Default: false (bool)

token_ttl int

TTL in seconds for generated admin token. Default: 0 (int)

token_update bool

Regenerate admin token. Default: false (bool)

ui_default_landing str

Default UI landing for k8s clusters. Available options: ember (cluster manager ui) and vue (cluster explorer ui). Default: ember (string)

Outputs

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

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

(Computed) Generated API temporary token as helper. Should be empty (string)

TempTokenId string

(Computed) Generated API temporary token id as helper. Should be empty (string)

Token string

(Computed) Generated API token for Admin User (string)

TokenId string

(Computed) Generated API token id for Admin User (string)

Url string

(Computed) URL set as server-url (string)

User string

(Computed) Admin username (string)

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

(Computed) Generated API temporary token as helper. Should be empty (string)

TempTokenId string

(Computed) Generated API temporary token id as helper. Should be empty (string)

Token string

(Computed) Generated API token for Admin User (string)

TokenId string

(Computed) Generated API token id for Admin User (string)

Url string

(Computed) URL set as server-url (string)

User string

(Computed) Admin username (string)

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

(Computed) Generated API temporary token as helper. Should be empty (string)

tempTokenId string

(Computed) Generated API temporary token id as helper. Should be empty (string)

token string

(Computed) Generated API token for Admin User (string)

tokenId string

(Computed) Generated API token id for Admin User (string)

url string

(Computed) URL set as server-url (string)

user string

(Computed) Admin username (string)

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

(Computed) Generated API temporary token as helper. Should be empty (string)

temp_token_id str

(Computed) Generated API temporary token id as helper. Should be empty (string)

token str

(Computed) Generated API token for Admin User (string)

token_id str

(Computed) Generated API token id for Admin User (string)

url str

(Computed) URL set as server-url (string)

user str

(Computed) Admin username (string)

Look up an Existing Bootstrap Resource

Get an existing Bootstrap 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?: BootstrapState, opts?: CustomResourceOptions): Bootstrap
@staticmethod
def get(resource_name: str, id: str, opts: Optional[ResourceOptions] = None, current_password: Optional[str] = None, password: Optional[str] = None, telemetry: Optional[bool] = None, temp_token: Optional[str] = None, temp_token_id: Optional[str] = None, token: Optional[str] = None, token_id: Optional[str] = None, token_ttl: Optional[int] = None, token_update: Optional[bool] = None, ui_default_landing: Optional[str] = None, url: Optional[str] = None, user: Optional[str] = None) -> Bootstrap
func GetBootstrap(ctx *Context, name string, id IDInput, state *BootstrapState, opts ...ResourceOption) (*Bootstrap, error)
public static Bootstrap Get(string name, Input<string> id, BootstrapState? 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:

CurrentPassword string

Current password for Admin user. Just needed for recover if admin password has been changed from other resources and token is expired (string)

Password string

Password for Admin user or random generated if empty (string)

Telemetry bool

Send telemetry anonymous data. Default: false (bool)

TempToken string

(Computed) Generated API temporary token as helper. Should be empty (string)

TempTokenId string

(Computed) Generated API temporary token id as helper. Should be empty (string)

Token string

(Computed) Generated API token for Admin User (string)

TokenId string

(Computed) Generated API token id for Admin User (string)

TokenTtl int

TTL in seconds for generated admin token. Default: 0 (int)

TokenUpdate bool

Regenerate admin token. Default: false (bool)

UiDefaultLanding string

Default UI landing for k8s clusters. Available options: ember (cluster manager ui) and vue (cluster explorer ui). Default: ember (string)

Url string

(Computed) URL set as server-url (string)

User string

(Computed) Admin username (string)

CurrentPassword string

Current password for Admin user. Just needed for recover if admin password has been changed from other resources and token is expired (string)

Password string

Password for Admin user or random generated if empty (string)

Telemetry bool

Send telemetry anonymous data. Default: false (bool)

TempToken string

(Computed) Generated API temporary token as helper. Should be empty (string)

TempTokenId string

(Computed) Generated API temporary token id as helper. Should be empty (string)

Token string

(Computed) Generated API token for Admin User (string)

TokenId string

(Computed) Generated API token id for Admin User (string)

TokenTtl int

TTL in seconds for generated admin token. Default: 0 (int)

TokenUpdate bool

Regenerate admin token. Default: false (bool)

UiDefaultLanding string

Default UI landing for k8s clusters. Available options: ember (cluster manager ui) and vue (cluster explorer ui). Default: ember (string)

Url string

(Computed) URL set as server-url (string)

User string

(Computed) Admin username (string)

currentPassword string

Current password for Admin user. Just needed for recover if admin password has been changed from other resources and token is expired (string)

password string

Password for Admin user or random generated if empty (string)

telemetry boolean

Send telemetry anonymous data. Default: false (bool)

tempToken string

(Computed) Generated API temporary token as helper. Should be empty (string)

tempTokenId string

(Computed) Generated API temporary token id as helper. Should be empty (string)

token string

(Computed) Generated API token for Admin User (string)

tokenId string

(Computed) Generated API token id for Admin User (string)

tokenTtl number

TTL in seconds for generated admin token. Default: 0 (int)

tokenUpdate boolean

Regenerate admin token. Default: false (bool)

uiDefaultLanding string

Default UI landing for k8s clusters. Available options: ember (cluster manager ui) and vue (cluster explorer ui). Default: ember (string)

url string

(Computed) URL set as server-url (string)

user string

(Computed) Admin username (string)

current_password str

Current password for Admin user. Just needed for recover if admin password has been changed from other resources and token is expired (string)

password str

Password for Admin user or random generated if empty (string)

telemetry bool

Send telemetry anonymous data. Default: false (bool)

temp_token str

(Computed) Generated API temporary token as helper. Should be empty (string)

temp_token_id str

(Computed) Generated API temporary token id as helper. Should be empty (string)

token str

(Computed) Generated API token for Admin User (string)

token_id str

(Computed) Generated API token id for Admin User (string)

token_ttl int

TTL in seconds for generated admin token. Default: 0 (int)

token_update bool

Regenerate admin token. Default: false (bool)

ui_default_landing str

Default UI landing for k8s clusters. Available options: ember (cluster manager ui) and vue (cluster explorer ui). Default: ember (string)

url str

(Computed) URL set as server-url (string)

user str

(Computed) Admin username (string)

Package Details

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