spotinst logo
Spotinst v3.34.0, May 26 23

spotinst.azure.OceanNp

Explore with Pulumi AI

Create OceanNp Resource

new OceanNp(name: string, args: OceanNpArgs, opts?: CustomResourceOptions);
@overload
def OceanNp(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            aks_cluster_name: Optional[str] = None,
            aks_infrastructure_resource_group_name: Optional[str] = None,
            aks_region: Optional[str] = None,
            aks_resource_group_name: Optional[str] = None,
            autoscaler: Optional[OceanNpAutoscalerArgs] = None,
            availability_zones: Optional[Sequence[str]] = None,
            controller_cluster_id: Optional[str] = None,
            enable_node_public_ip: Optional[bool] = None,
            fallback_to_ondemand: Optional[bool] = None,
            headrooms: Optional[Sequence[OceanNpHeadroomArgs]] = None,
            health: Optional[OceanNpHealthArgs] = 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,
            os_disk_size_gb: Optional[int] = None,
            os_disk_type: Optional[str] = None,
            os_type: Optional[str] = None,
            scheduling: Optional[OceanNpSchedulingArgs] = None,
            spot_percentage: Optional[int] = None,
            tags: Optional[Mapping[str, Any]] = None,
            taints: Optional[Sequence[OceanNpTaintArgs]] = None)
@overload
def OceanNp(resource_name: str,
            args: OceanNpArgs,
            opts: Optional[ResourceOptions] = None)
func NewOceanNp(ctx *Context, name string, args OceanNpArgs, opts ...ResourceOption) (*OceanNp, error)
public OceanNp(string name, OceanNpArgs args, CustomResourceOptions? opts = null)
public OceanNp(String name, OceanNpArgs args)
public OceanNp(String name, OceanNpArgs args, CustomResourceOptions options)
type: spotinst:azure:OceanNp
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args OceanNpArgs
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 OceanNpArgs
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 OceanNpArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args OceanNpArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args OceanNpArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

OceanNp 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 OceanNp resource accepts the following input properties:

Outputs

All input properties are implicitly available as output properties. Additionally, the OceanNp 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 OceanNp Resource

Get an existing OceanNp 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?: OceanNpState, opts?: CustomResourceOptions): OceanNp
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        aks_cluster_name: Optional[str] = None,
        aks_infrastructure_resource_group_name: Optional[str] = None,
        aks_region: Optional[str] = None,
        aks_resource_group_name: Optional[str] = None,
        autoscaler: Optional[OceanNpAutoscalerArgs] = None,
        availability_zones: Optional[Sequence[str]] = None,
        controller_cluster_id: Optional[str] = None,
        enable_node_public_ip: Optional[bool] = None,
        fallback_to_ondemand: Optional[bool] = None,
        headrooms: Optional[Sequence[OceanNpHeadroomArgs]] = None,
        health: Optional[OceanNpHealthArgs] = 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,
        os_disk_size_gb: Optional[int] = None,
        os_disk_type: Optional[str] = None,
        os_type: Optional[str] = None,
        scheduling: Optional[OceanNpSchedulingArgs] = None,
        spot_percentage: Optional[int] = None,
        tags: Optional[Mapping[str, Any]] = None,
        taints: Optional[Sequence[OceanNpTaintArgs]] = None) -> OceanNp
func GetOceanNp(ctx *Context, name string, id IDInput, state *OceanNpState, opts ...ResourceOption) (*OceanNp, error)
public static OceanNp Get(string name, Input<string> id, OceanNpState? state, CustomResourceOptions? opts = null)
public static OceanNp get(String name, Output<String> id, OceanNpState 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

OceanNpAutoscaler

OceanNpAutoscalerAutoscaleDown

OceanNpAutoscalerAutoscaleHeadroom

OceanNpAutoscalerAutoscaleHeadroomAutomatic

percentage Integer
percentage number
percentage Number

OceanNpAutoscalerResourceLimits

maxMemoryGib Integer
maxVcpu Integer
maxMemoryGib number
maxVcpu number
maxMemoryGib Number
maxVcpu Number

OceanNpHeadroom

cpuPerUnit Integer
gpuPerUnit Integer
memoryPerUnit Integer
numOfUnits Integer

OceanNpHealth

gracePeriod Integer

OceanNpScheduling

OceanNpSchedulingShutdownHours

TimeWindows List<string>
IsEnabled bool
TimeWindows []string
IsEnabled bool
timeWindows List<String>
isEnabled Boolean
timeWindows string[]
isEnabled boolean
time_windows Sequence[str]
is_enabled bool
timeWindows List<String>
isEnabled Boolean

OceanNpTaint

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.