Class ClusterTemplate
Inherited Members
Namespace: Pulumi.Rancher2
Assembly: Pulumi.Rancher2.dll
Syntax
public class ClusterTemplate : CustomResource
Constructors
View SourceClusterTemplate(String, ClusterTemplateArgs, CustomResourceOptions)
Create a ClusterTemplate resource with the given unique name, arguments, and options.
Declaration
public ClusterTemplate(string name, ClusterTemplateArgs args = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ClusterTemplateArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAnnotations
Annotations for the cluster template revision (map)
Declaration
public Output<ImmutableDictionary<string, object>> Annotations { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>> |
DefaultRevisionId
(Computed) Default cluster template revision ID (string)
Declaration
public Output<string> DefaultRevisionId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Description
Cluster template description
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Labels
Labels for the cluster template revision (map)
Declaration
public Output<ImmutableDictionary<string, object>> Labels { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>> |
Members
Cluster template members (list)
Declaration
public Output<ImmutableArray<ClusterTemplateMember>> Members { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<ClusterTemplateMember>> |
Name
The cluster template revision name (string)
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
TemplateRevisions
Cluster template revisions (list)
Declaration
public Output<ImmutableArray<ClusterTemplateTemplateRevision>> TemplateRevisions { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<ClusterTemplateTemplateRevision>> |
Methods
View SourceGet(String, Input<String>, ClusterTemplateState, CustomResourceOptions)
Get an existing ClusterTemplate resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static ClusterTemplate Get(string name, Input<string> id, ClusterTemplateState 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. |
| ClusterTemplateState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| ClusterTemplate |