Class Bootstrap
Inherited Members
Namespace: Pulumi.Rancher2
Assembly: Pulumi.Rancher2.dll
Syntax
public class Bootstrap : CustomResource
Constructors
View SourceBootstrap(String, BootstrapArgs, CustomResourceOptions)
Create a Bootstrap resource with the given unique name, arguments, and options.
Declaration
public Bootstrap(string name, BootstrapArgs args = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| BootstrapArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceCurrentPassword
Current password for Admin user. Just needed for recover if admin password has been changed from other resources and token is expired (string)
Declaration
public Output<string> CurrentPassword { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Password
Password for Admin user or random generated if empty (string)
Declaration
public Output<string> Password { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Telemetry
Send telemetry anonymous data. Default: false (bool)
Declaration
public Output<bool?> Telemetry { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
TempToken
(Computed) Generated API temporary token as helper. Should be empty (string)
Declaration
public Output<string> TempToken { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
TempTokenId
(Computed) Generated API temporary token id as helper. Should be empty (string)
Declaration
public Output<string> TempTokenId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Token
(Computed) Generated API token for Admin User (string)
Declaration
public Output<string> Token { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
TokenId
(Computed) Generated API token id for Admin User (string)
Declaration
public Output<string> TokenId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
TokenTtl
TTL in seconds for generated admin token. Default: 0 (int)
Declaration
public Output<int?> TokenTtl { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
TokenUpdate
Regenerate admin token. Default: false (bool)
Declaration
public Output<bool?> TokenUpdate { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
Url
(Computed) URL set as server-url (string)
Declaration
public Output<string> Url { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
User
(Computed) Admin username (string)
Declaration
public Output<string> User { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, BootstrapState, CustomResourceOptions)
Get an existing Bootstrap resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Bootstrap Get(string name, Input<string> id, BootstrapState 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. |
| BootstrapState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Bootstrap |