Class OceanLaunchSpecImport
Provides a custom Spotinst Ocean GKE Launch Spec Import resource.
Example Usage
using Pulumi;
using SpotInst = Pulumi.SpotInst;
class MyStack : Stack
{
public MyStack()
{
var example = new SpotInst.Gke.OceanLaunchSpecImport("example", new SpotInst.Gke.OceanLaunchSpecImportArgs
{
NodePoolName = "default-pool",
OceanId = "o-123456",
});
}
}
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.SpotInst.Gke
Assembly: Pulumi.SpotInst.dll
Syntax
public class OceanLaunchSpecImport : CustomResource
Constructors
View SourceOceanLaunchSpecImport(String, OceanLaunchSpecImportArgs, CustomResourceOptions)
Create a OceanLaunchSpecImport resource with the given unique name, arguments, and options.
Declaration
public OceanLaunchSpecImport(string name, OceanLaunchSpecImportArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| OceanLaunchSpecImportArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceNodePoolName
The node pool you wish to use in your launchSpec.
Declaration
public Output<string> NodePoolName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
OceanId
The Ocean cluster ID required for launchSpec create.
Declaration
public Output<string> OceanId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, OceanLaunchSpecImportState, CustomResourceOptions)
Get an existing OceanLaunchSpecImport resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static OceanLaunchSpecImport Get(string name, Input<string> id, OceanLaunchSpecImportState 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. |
| OceanLaunchSpecImportState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| OceanLaunchSpecImport |