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:
- Aks
Cluster stringName - Aks
Infrastructure stringResource Group Name - Aks
Region string - Aks
Resource stringGroup Name - Autoscaler
Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Autoscaler Args - Availability
Zones List<string> - Controller
Cluster stringId - Enable
Node boolPublic Ip - Fallback
To boolOndemand - Headrooms
List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Headroom Args> - Health
Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Health Args - Labels Dictionary<string, object>
- Max
Count int - Max
Pods intPer Node - Min
Count int - Name string
- Os
Disk intSize Gb - Os
Disk stringType - Os
Type string - Scheduling
Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Scheduling Args - Spot
Percentage int - Dictionary<string, object>
- Taints
List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Taint Args>
- Aks
Cluster stringName - Aks
Infrastructure stringResource Group Name - Aks
Region string - Aks
Resource stringGroup Name - Autoscaler
Ocean
Np Autoscaler Args - Availability
Zones []string - Controller
Cluster stringId - Enable
Node boolPublic Ip - Fallback
To boolOndemand - Headrooms
[]Ocean
Np Headroom Args - Health
Ocean
Np Health Args - Labels map[string]interface{}
- Max
Count int - Max
Pods intPer Node - Min
Count int - Name string
- Os
Disk intSize Gb - Os
Disk stringType - Os
Type string - Scheduling
Ocean
Np Scheduling Args - Spot
Percentage int - map[string]interface{}
- Taints
[]Ocean
Np Taint Args
- aks
Cluster StringName - aks
Infrastructure StringResource Group Name - aks
Region String - aks
Resource StringGroup Name - autoscaler
Ocean
Np Autoscaler Args - availability
Zones List<String> - controller
Cluster StringId - enable
Node BooleanPublic Ip - fallback
To BooleanOndemand - headrooms
List<Ocean
Np Headroom Args> - health
Ocean
Np Health Args - labels Map<String,Object>
- max
Count Integer - max
Pods IntegerPer Node - min
Count Integer - name String
- os
Disk IntegerSize Gb - os
Disk StringType - os
Type String - scheduling
Ocean
Np Scheduling Args - spot
Percentage Integer - Map<String,Object>
- taints
List<Ocean
Np Taint Args>
- aks
Cluster stringName - aks
Infrastructure stringResource Group Name - aks
Region string - aks
Resource stringGroup Name - autoscaler
Ocean
Np Autoscaler Args - availability
Zones string[] - controller
Cluster stringId - enable
Node booleanPublic Ip - fallback
To booleanOndemand - headrooms
Ocean
Np Headroom Args[] - health
Ocean
Np Health Args - labels {[key: string]: any}
- max
Count number - max
Pods numberPer Node - min
Count number - name string
- os
Disk numberSize Gb - os
Disk stringType - os
Type string - scheduling
Ocean
Np Scheduling Args - spot
Percentage number - {[key: string]: any}
- taints
Ocean
Np Taint Args[]
- aks_
cluster_ strname - aks_
infrastructure_ strresource_ group_ name - aks_
region str - aks_
resource_ strgroup_ name - autoscaler
Ocean
Np Autoscaler Args - availability_
zones Sequence[str] - controller_
cluster_ strid - enable_
node_ boolpublic_ ip - fallback_
to_ boolondemand - headrooms
Sequence[Ocean
Np Headroom Args] - health
Ocean
Np Health Args - labels Mapping[str, Any]
- max_
count int - max_
pods_ intper_ node - min_
count int - name str
- os_
disk_ intsize_ gb - os_
disk_ strtype - os_
type str - scheduling
Ocean
Np Scheduling Args - spot_
percentage int - Mapping[str, Any]
- taints
Sequence[Ocean
Np Taint Args]
- aks
Cluster StringName - aks
Infrastructure StringResource Group Name - aks
Region String - aks
Resource StringGroup Name - autoscaler Property Map
- availability
Zones List<String> - controller
Cluster StringId - enable
Node BooleanPublic Ip - fallback
To BooleanOndemand - headrooms List<Property Map>
- health Property Map
- labels Map<Any>
- max
Count Number - max
Pods NumberPer Node - min
Count Number - name String
- os
Disk NumberSize Gb - os
Disk StringType - os
Type String - scheduling Property Map
- spot
Percentage Number - Map<Any>
- taints List<Property Map>
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.
- Aks
Cluster stringName - Aks
Infrastructure stringResource Group Name - Aks
Region string - Aks
Resource stringGroup Name - Autoscaler
Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Autoscaler Args - Availability
Zones List<string> - Controller
Cluster stringId - Enable
Node boolPublic Ip - Fallback
To boolOndemand - Headrooms
List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Headroom Args> - Health
Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Health Args - Labels Dictionary<string, object>
- Max
Count int - Max
Pods intPer Node - Min
Count int - Name string
- Os
Disk intSize Gb - Os
Disk stringType - Os
Type string - Scheduling
Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Scheduling Args - Spot
Percentage int - Dictionary<string, object>
- Taints
List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Taint Args>
- Aks
Cluster stringName - Aks
Infrastructure stringResource Group Name - Aks
Region string - Aks
Resource stringGroup Name - Autoscaler
Ocean
Np Autoscaler Args - Availability
Zones []string - Controller
Cluster stringId - Enable
Node boolPublic Ip - Fallback
To boolOndemand - Headrooms
[]Ocean
Np Headroom Args - Health
Ocean
Np Health Args - Labels map[string]interface{}
- Max
Count int - Max
Pods intPer Node - Min
Count int - Name string
- Os
Disk intSize Gb - Os
Disk stringType - Os
Type string - Scheduling
Ocean
Np Scheduling Args - Spot
Percentage int - map[string]interface{}
- Taints
[]Ocean
Np Taint Args
- aks
Cluster StringName - aks
Infrastructure StringResource Group Name - aks
Region String - aks
Resource StringGroup Name - autoscaler
Ocean
Np Autoscaler Args - availability
Zones List<String> - controller
Cluster StringId - enable
Node BooleanPublic Ip - fallback
To BooleanOndemand - headrooms
List<Ocean
Np Headroom Args> - health
Ocean
Np Health Args - labels Map<String,Object>
- max
Count Integer - max
Pods IntegerPer Node - min
Count Integer - name String
- os
Disk IntegerSize Gb - os
Disk StringType - os
Type String - scheduling
Ocean
Np Scheduling Args - spot
Percentage Integer - Map<String,Object>
- taints
List<Ocean
Np Taint Args>
- aks
Cluster stringName - aks
Infrastructure stringResource Group Name - aks
Region string - aks
Resource stringGroup Name - autoscaler
Ocean
Np Autoscaler Args - availability
Zones string[] - controller
Cluster stringId - enable
Node booleanPublic Ip - fallback
To booleanOndemand - headrooms
Ocean
Np Headroom Args[] - health
Ocean
Np Health Args - labels {[key: string]: any}
- max
Count number - max
Pods numberPer Node - min
Count number - name string
- os
Disk numberSize Gb - os
Disk stringType - os
Type string - scheduling
Ocean
Np Scheduling Args - spot
Percentage number - {[key: string]: any}
- taints
Ocean
Np Taint Args[]
- aks_
cluster_ strname - aks_
infrastructure_ strresource_ group_ name - aks_
region str - aks_
resource_ strgroup_ name - autoscaler
Ocean
Np Autoscaler Args - availability_
zones Sequence[str] - controller_
cluster_ strid - enable_
node_ boolpublic_ ip - fallback_
to_ boolondemand - headrooms
Sequence[Ocean
Np Headroom Args] - health
Ocean
Np Health Args - labels Mapping[str, Any]
- max_
count int - max_
pods_ intper_ node - min_
count int - name str
- os_
disk_ intsize_ gb - os_
disk_ strtype - os_
type str - scheduling
Ocean
Np Scheduling Args - spot_
percentage int - Mapping[str, Any]
- taints
Sequence[Ocean
Np Taint Args]
- aks
Cluster StringName - aks
Infrastructure StringResource Group Name - aks
Region String - aks
Resource StringGroup Name - autoscaler Property Map
- availability
Zones List<String> - controller
Cluster StringId - enable
Node BooleanPublic Ip - fallback
To BooleanOndemand - headrooms List<Property Map>
- health Property Map
- labels Map<Any>
- max
Count Number - max
Pods NumberPer Node - min
Count Number - name String
- os
Disk NumberSize Gb - os
Disk StringType - os
Type String - scheduling Property Map
- spot
Percentage Number - Map<Any>
- taints List<Property Map>
Supporting Types
OceanNpAutoscaler
OceanNpAutoscalerAutoscaleDown
- max
Scale IntegerDown Percentage
- max
Scale numberDown Percentage
- max
Scale NumberDown Percentage
OceanNpAutoscalerAutoscaleHeadroom
OceanNpAutoscalerAutoscaleHeadroomAutomatic
- Percentage int
- Percentage int
- percentage Integer
- percentage number
- percentage int
- percentage Number
OceanNpAutoscalerResourceLimits
- Max
Memory intGib - Max
Vcpu int
- Max
Memory intGib - Max
Vcpu int
- max
Memory IntegerGib - max
Vcpu Integer
- max
Memory numberGib - max
Vcpu number
- max_
memory_ intgib - max_
vcpu int
- max
Memory NumberGib - max
Vcpu Number
OceanNpHeadroom
- Cpu
Per intUnit - Gpu
Per intUnit - Memory
Per intUnit - Num
Of intUnits
- Cpu
Per intUnit - Gpu
Per intUnit - Memory
Per intUnit - Num
Of intUnits
- cpu
Per IntegerUnit - gpu
Per IntegerUnit - memory
Per IntegerUnit - num
Of IntegerUnits
- cpu
Per numberUnit - gpu
Per numberUnit - memory
Per numberUnit - num
Of numberUnits
- cpu_
per_ intunit - gpu_
per_ intunit - memory_
per_ intunit - num_
of_ intunits
- cpu
Per NumberUnit - gpu
Per NumberUnit - memory
Per NumberUnit - num
Of NumberUnits
OceanNpHealth
- Grace
Period int
- Grace
Period int
- grace
Period Integer
- grace
Period number
- grace_
period int
- grace
Period Number
OceanNpScheduling
OceanNpSchedulingShutdownHours
- Time
Windows List<string> - Is
Enabled bool
- Time
Windows []string - Is
Enabled bool
- time
Windows List<String> - is
Enabled Boolean
- time
Windows string[] - is
Enabled boolean
- time_
windows Sequence[str] - is_
enabled bool
- time
Windows List<String> - is
Enabled Boolean
OceanNpTaint
Package Details
- Repository
- Spotinst pulumi/pulumi-spotinst
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
spotinst
Terraform Provider.