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:
- Ocean
Id string - Availability
Zones List<string> - Enable
Node boolPublic Ip - Fallback
To boolOndemand - Headrooms
List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Virtual Node Group Headroom 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 - Spot
Percentage int - Dictionary<string, object>
- Taints
List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Virtual Node Group Taint Args>
- Ocean
Id string - Availability
Zones []string - Enable
Node boolPublic Ip - Fallback
To boolOndemand - Headrooms
[]Ocean
Np Virtual Node Group Headroom 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 - Spot
Percentage int - map[string]interface{}
- Taints
[]Ocean
Np Virtual Node Group Taint Args
- ocean
Id String - availability
Zones List<String> - enable
Node BooleanPublic Ip - fallback
To BooleanOndemand - headrooms
List<Ocean
Np Virtual Node Group Headroom 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 - spot
Percentage Integer - Map<String,Object>
- taints
List<Ocean
Np Virtual Node Group Taint Args>
- ocean
Id string - availability
Zones string[] - enable
Node booleanPublic Ip - fallback
To booleanOndemand - headrooms
Ocean
Np Virtual Node Group Headroom 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 - spot
Percentage number - {[key: string]: any}
- taints
Ocean
Np Virtual Node Group Taint Args[]
- ocean_
id str - availability_
zones Sequence[str] - enable_
node_ boolpublic_ ip - fallback_
to_ boolondemand - headrooms
Sequence[Ocean
Np Virtual Node Group Headroom 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 - spot_
percentage int - Mapping[str, Any]
- taints
Sequence[Ocean
Np Virtual Node Group Taint Args]
- ocean
Id String - availability
Zones List<String> - enable
Node BooleanPublic Ip - fallback
To BooleanOndemand - headrooms List<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 - spot
Percentage Number - Map<Any>
- taints List<Property Map>
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.
- Availability
Zones List<string> - Enable
Node boolPublic Ip - Fallback
To boolOndemand - Headrooms
List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Virtual Node Group Headroom Args> - Labels Dictionary<string, object>
- Max
Count int - Max
Pods intPer Node - Min
Count int - Name string
- Ocean
Id string - Os
Disk intSize Gb - Os
Disk stringType - Os
Type string - Spot
Percentage int - Dictionary<string, object>
- Taints
List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Virtual Node Group Taint Args>
- Availability
Zones []string - Enable
Node boolPublic Ip - Fallback
To boolOndemand - Headrooms
[]Ocean
Np Virtual Node Group Headroom Args - Labels map[string]interface{}
- Max
Count int - Max
Pods intPer Node - Min
Count int - Name string
- Ocean
Id string - Os
Disk intSize Gb - Os
Disk stringType - Os
Type string - Spot
Percentage int - map[string]interface{}
- Taints
[]Ocean
Np Virtual Node Group Taint Args
- availability
Zones List<String> - enable
Node BooleanPublic Ip - fallback
To BooleanOndemand - headrooms
List<Ocean
Np Virtual Node Group Headroom Args> - labels Map<String,Object>
- max
Count Integer - max
Pods IntegerPer Node - min
Count Integer - name String
- ocean
Id String - os
Disk IntegerSize Gb - os
Disk StringType - os
Type String - spot
Percentage Integer - Map<String,Object>
- taints
List<Ocean
Np Virtual Node Group Taint Args>
- availability
Zones string[] - enable
Node booleanPublic Ip - fallback
To booleanOndemand - headrooms
Ocean
Np Virtual Node Group Headroom Args[] - labels {[key: string]: any}
- max
Count number - max
Pods numberPer Node - min
Count number - name string
- ocean
Id string - os
Disk numberSize Gb - os
Disk stringType - os
Type string - spot
Percentage number - {[key: string]: any}
- taints
Ocean
Np Virtual Node Group Taint Args[]
- availability_
zones Sequence[str] - enable_
node_ boolpublic_ ip - fallback_
to_ boolondemand - headrooms
Sequence[Ocean
Np Virtual Node Group Headroom Args] - labels Mapping[str, Any]
- max_
count int - max_
pods_ intper_ node - min_
count int - name str
- ocean_
id str - os_
disk_ intsize_ gb - os_
disk_ strtype - os_
type str - spot_
percentage int - Mapping[str, Any]
- taints
Sequence[Ocean
Np Virtual Node Group Taint Args]
- availability
Zones List<String> - enable
Node BooleanPublic Ip - fallback
To BooleanOndemand - headrooms List<Property Map>
- labels Map<Any>
- max
Count Number - max
Pods NumberPer Node - min
Count Number - name String
- ocean
Id String - os
Disk NumberSize Gb - os
Disk StringType - os
Type String - spot
Percentage Number - Map<Any>
- taints List<Property Map>
Supporting Types
OceanNpVirtualNodeGroupHeadroom
- Num
Of intUnits - Cpu
Per intUnit - Gpu
Per intUnit - Memory
Per intUnit
- Num
Of intUnits - Cpu
Per intUnit - Gpu
Per intUnit - Memory
Per intUnit
- num
Of IntegerUnits - cpu
Per IntegerUnit - gpu
Per IntegerUnit - memory
Per IntegerUnit
- num
Of numberUnits - cpu
Per numberUnit - gpu
Per numberUnit - memory
Per numberUnit
- num_
of_ intunits - cpu_
per_ intunit - gpu_
per_ intunit - memory_
per_ intunit
- num
Of NumberUnits - cpu
Per NumberUnit - gpu
Per NumberUnit - memory
Per NumberUnit
OceanNpVirtualNodeGroupTaint
Package Details
- Repository
- Spotinst pulumi/pulumi-spotinst
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
spotinst
Terraform Provider.