spotinst.azure.OceanNpVirtualNodeGroup

Explore with Pulumi AI

Create OceanNpVirtualNodeGroup Resource

new OceanNpVirtualNodeGroup(name: string, args: OceanNpVirtualNodeGroupArgs, opts?: CustomResourceOptions);
@overload
def OceanNpVirtualNodeGroup(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            availability_zones: Optional[Sequence[str]] = None,
                            enable_node_public_ip: Optional[bool] = None,
                            fallback_to_ondemand: Optional[bool] = None,
                            headrooms: Optional[Sequence[OceanNpVirtualNodeGroupHeadroomArgs]] = None,
                            labels: Optional[Mapping[str, Any]] = None,
                            max_count: Optional[int] = None,
                            max_pods_per_node: Optional[int] = None,
                            min_count: Optional[int] = None,
                            name: Optional[str] = None,
                            ocean_id: Optional[str] = None,
                            os_disk_size_gb: Optional[int] = None,
                            os_disk_type: Optional[str] = None,
                            os_type: Optional[str] = None,
                            spot_percentage: Optional[int] = None,
                            tags: Optional[Mapping[str, Any]] = None,
                            taints: Optional[Sequence[OceanNpVirtualNodeGroupTaintArgs]] = None)
@overload
def OceanNpVirtualNodeGroup(resource_name: str,
                            args: OceanNpVirtualNodeGroupArgs,
                            opts: Optional[ResourceOptions] = None)
func NewOceanNpVirtualNodeGroup(ctx *Context, name string, args OceanNpVirtualNodeGroupArgs, opts ...ResourceOption) (*OceanNpVirtualNodeGroup, error)
public OceanNpVirtualNodeGroup(string name, OceanNpVirtualNodeGroupArgs args, CustomResourceOptions? opts = null)
public OceanNpVirtualNodeGroup(String name, OceanNpVirtualNodeGroupArgs args)
public OceanNpVirtualNodeGroup(String name, OceanNpVirtualNodeGroupArgs args, CustomResourceOptions options)
type: spotinst:azure:OceanNpVirtualNodeGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args OceanNpVirtualNodeGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args OceanNpVirtualNodeGroupArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args OceanNpVirtualNodeGroupArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args OceanNpVirtualNodeGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args OceanNpVirtualNodeGroupArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

OceanNpVirtualNodeGroup Resource Properties

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

Inputs

The OceanNpVirtualNodeGroup resource accepts the following input properties:

Outputs

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

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up Existing OceanNpVirtualNodeGroup Resource

Get an existing OceanNpVirtualNodeGroup 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?: OceanNpVirtualNodeGroupState, opts?: CustomResourceOptions): OceanNpVirtualNodeGroup
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        availability_zones: Optional[Sequence[str]] = None,
        enable_node_public_ip: Optional[bool] = None,
        fallback_to_ondemand: Optional[bool] = None,
        headrooms: Optional[Sequence[OceanNpVirtualNodeGroupHeadroomArgs]] = None,
        labels: Optional[Mapping[str, Any]] = None,
        max_count: Optional[int] = None,
        max_pods_per_node: Optional[int] = None,
        min_count: Optional[int] = None,
        name: Optional[str] = None,
        ocean_id: Optional[str] = None,
        os_disk_size_gb: Optional[int] = None,
        os_disk_type: Optional[str] = None,
        os_type: Optional[str] = None,
        spot_percentage: Optional[int] = None,
        tags: Optional[Mapping[str, Any]] = None,
        taints: Optional[Sequence[OceanNpVirtualNodeGroupTaintArgs]] = None) -> OceanNpVirtualNodeGroup
func GetOceanNpVirtualNodeGroup(ctx *Context, name string, id IDInput, state *OceanNpVirtualNodeGroupState, opts ...ResourceOption) (*OceanNpVirtualNodeGroup, error)
public static OceanNpVirtualNodeGroup Get(string name, Input<string> id, OceanNpVirtualNodeGroupState? state, CustomResourceOptions? opts = null)
public static OceanNpVirtualNodeGroup get(String name, Output<String> id, OceanNpVirtualNodeGroupState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
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.
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:

Supporting Types

OceanNpVirtualNodeGroupHeadroom

numOfUnits Integer
cpuPerUnit Integer
gpuPerUnit Integer
memoryPerUnit Integer

OceanNpVirtualNodeGroupTaint

Effect string
Key string
Value string
Effect string
Key string
Value string
effect String
key String
value String
effect string
key string
value string
effect str
key str
value str
effect String
key String
value String

Package Details

Repository
Spotinst pulumi/pulumi-spotinst
License
Apache-2.0
Notes

This Pulumi package is based on the spotinst Terraform Provider.