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",
});
}
}
Coming soon!
import pulumi
import pulumi_spotinst as spotinst
example = spotinst.gke.OceanLaunchSpecImport("example",
node_pool_name="default-pool",
ocean_id="o-123456")import * as pulumi from "@pulumi/pulumi";
import * as spotinst from "@pulumi/spotinst";
const example = new spotinst.gke.OceanLaunchSpecImport("example", {
nodePoolName: "default-pool",
oceanId: "o-123456",
});Create a OceanLaunchSpecImport Resource
new OceanLaunchSpecImport(name: string, args: OceanLaunchSpecImportArgs, opts?: CustomResourceOptions);def OceanLaunchSpecImport(resource_name, opts=None, node_pool_name=None, ocean_id=None, __props__=None);func NewOceanLaunchSpecImport(ctx *Context, name string, args OceanLaunchSpecImportArgs, opts ...ResourceOption) (*OceanLaunchSpecImport, error)public OceanLaunchSpecImport(string name, OceanLaunchSpecImportArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args OceanLaunchSpecImportArgs
- 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 OceanLaunchSpecImportArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OceanLaunchSpecImportArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
OceanLaunchSpecImport Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The OceanLaunchSpecImport resource accepts the following input properties:
- Node
Pool stringName The node pool you wish to use in your launchSpec.
- Ocean
Id string The Ocean cluster ID required for launchSpec create.
- Node
Pool stringName The node pool you wish to use in your launchSpec.
- Ocean
Id string The Ocean cluster ID required for launchSpec create.
- node
Pool stringName The node pool you wish to use in your launchSpec.
- ocean
Id string The Ocean cluster ID required for launchSpec create.
- node_
pool_ strname The node pool you wish to use in your launchSpec.
- ocean_
id str The Ocean cluster ID required for launchSpec create.
Outputs
All input properties are implicitly available as output properties. Additionally, the OceanLaunchSpecImport resource produces the following output properties:
Look up an Existing OceanLaunchSpecImport Resource
Get an existing OceanLaunchSpecImport 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?: OceanLaunchSpecImportState, opts?: CustomResourceOptions): OceanLaunchSpecImportstatic get(resource_name, id, opts=None, node_pool_name=None, ocean_id=None, __props__=None);func GetOceanLaunchSpecImport(ctx *Context, name string, id IDInput, state *OceanLaunchSpecImportState, opts ...ResourceOption) (*OceanLaunchSpecImport, error)public static OceanLaunchSpecImport Get(string name, Input<string> id, OceanLaunchSpecImportState? 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:
- Node
Pool stringName The node pool you wish to use in your launchSpec.
- Ocean
Id string The Ocean cluster ID required for launchSpec create.
- Node
Pool stringName The node pool you wish to use in your launchSpec.
- Ocean
Id string The Ocean cluster ID required for launchSpec create.
- node
Pool stringName The node pool you wish to use in your launchSpec.
- ocean
Id string The Ocean cluster ID required for launchSpec create.
- node_
pool_ strname The node pool you wish to use in your launchSpec.
- ocean_
id str The Ocean cluster ID required for launchSpec create.
Package Details
- Repository
- https://github.com/pulumi/pulumi-spotinst
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
spotinstTerraform Provider.