Spotinst v3.75.0 published on Monday, Apr 22, 2024 by Pulumi
spotinst.azure.OceanNp
Explore with Pulumi AI
Create OceanNp Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OceanNp(name: string, args: OceanNpArgs, opts?: CustomResourceOptions);
@overload
def OceanNp(resource_name: str,
args: OceanNpArgs,
opts: Optional[ResourceOptions] = None)
@overload
def OceanNp(resource_name: str,
opts: Optional[ResourceOptions] = None,
controller_cluster_id: Optional[str] = None,
aks_infrastructure_resource_group_name: Optional[str] = None,
aks_region: Optional[str] = None,
aks_resource_group_name: Optional[str] = None,
aks_cluster_name: Optional[str] = None,
availability_zones: Optional[Sequence[str]] = None,
max_count: Optional[int] = None,
name: Optional[str] = None,
fallback_to_ondemand: Optional[bool] = None,
filters: Optional[OceanNpFiltersArgs] = None,
headrooms: Optional[Sequence[OceanNpHeadroomArgs]] = None,
health: Optional[OceanNpHealthArgs] = None,
kubernetes_version: Optional[str] = None,
labels: Optional[Mapping[str, Any]] = None,
autoscaler: Optional[OceanNpAutoscalerArgs] = None,
max_pods_per_node: Optional[int] = None,
min_count: Optional[int] = None,
enable_node_public_ip: Optional[bool] = None,
os_disk_size_gb: Optional[int] = None,
os_disk_type: Optional[str] = None,
os_sku: Optional[str] = None,
os_type: Optional[str] = None,
pod_subnet_ids: Optional[Sequence[str]] = None,
scheduling: Optional[OceanNpSchedulingArgs] = None,
spot_percentage: Optional[int] = None,
tags: Optional[Mapping[str, Any]] = None,
taints: Optional[Sequence[OceanNpTaintArgs]] = None,
update_policy: Optional[OceanNpUpdatePolicyArgs] = None,
vnet_subnet_ids: Optional[Sequence[str]] = 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.
Parameters
- 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.
Example
The following reference example uses placeholder values for all input properties.
var oceanNpResource = new SpotInst.Azure.OceanNp("oceanNpResource", new()
{
ControllerClusterId = "string",
AksInfrastructureResourceGroupName = "string",
AksRegion = "string",
AksResourceGroupName = "string",
AksClusterName = "string",
AvailabilityZones = new[]
{
"string",
},
MaxCount = 0,
Name = "string",
FallbackToOndemand = false,
Filters = new SpotInst.Azure.Inputs.OceanNpFiltersArgs
{
AcceleratedNetworking = "string",
Architectures = new[]
{
"string",
},
DiskPerformance = "string",
ExcludeSeries = new[]
{
"string",
},
GpuTypes = new[]
{
"string",
},
MaxGpu = 0,
MaxMemoryGib = 0,
MaxVcpu = 0,
MinDisk = 0,
MinGpu = 0,
MinMemoryGib = 0,
MinNics = 0,
MinVcpu = 0,
Series = new[]
{
"string",
},
VmTypes = new[]
{
"string",
},
},
Headrooms = new[]
{
new SpotInst.Azure.Inputs.OceanNpHeadroomArgs
{
CpuPerUnit = 0,
GpuPerUnit = 0,
MemoryPerUnit = 0,
NumOfUnits = 0,
},
},
Health = new SpotInst.Azure.Inputs.OceanNpHealthArgs
{
GracePeriod = 0,
},
KubernetesVersion = "string",
Labels =
{
{ "string", "any" },
},
Autoscaler = new SpotInst.Azure.Inputs.OceanNpAutoscalerArgs
{
AutoscaleDown = new SpotInst.Azure.Inputs.OceanNpAutoscalerAutoscaleDownArgs
{
MaxScaleDownPercentage = 0,
},
AutoscaleHeadroom = new SpotInst.Azure.Inputs.OceanNpAutoscalerAutoscaleHeadroomArgs
{
Automatic = new SpotInst.Azure.Inputs.OceanNpAutoscalerAutoscaleHeadroomAutomaticArgs
{
IsEnabled = false,
Percentage = 0,
},
},
AutoscaleIsEnabled = false,
ResourceLimits = new SpotInst.Azure.Inputs.OceanNpAutoscalerResourceLimitsArgs
{
MaxMemoryGib = 0,
MaxVcpu = 0,
},
},
MaxPodsPerNode = 0,
MinCount = 0,
EnableNodePublicIp = false,
OsDiskSizeGb = 0,
OsDiskType = "string",
OsSku = "string",
OsType = "string",
PodSubnetIds = new[]
{
"string",
},
Scheduling = new SpotInst.Azure.Inputs.OceanNpSchedulingArgs
{
ShutdownHours = new SpotInst.Azure.Inputs.OceanNpSchedulingShutdownHoursArgs
{
TimeWindows = new[]
{
"string",
},
IsEnabled = false,
},
},
SpotPercentage = 0,
Tags =
{
{ "string", "any" },
},
Taints = new[]
{
new SpotInst.Azure.Inputs.OceanNpTaintArgs
{
Effect = "string",
Key = "string",
Value = "string",
},
},
UpdatePolicy = new SpotInst.Azure.Inputs.OceanNpUpdatePolicyArgs
{
ShouldRoll = false,
ConditionedRoll = false,
RollConfig = new SpotInst.Azure.Inputs.OceanNpUpdatePolicyRollConfigArgs
{
BatchMinHealthyPercentage = 0,
BatchSizePercentage = 0,
Comment = "string",
NodeNames = new[]
{
"string",
},
NodePoolNames = new[]
{
"string",
},
RespectPdb = false,
RespectRestrictScaleDown = false,
VngIds = new[]
{
"string",
},
},
},
VnetSubnetIds = new[]
{
"string",
},
});
example, err := azure.NewOceanNp(ctx, "oceanNpResource", &azure.OceanNpArgs{
ControllerClusterId: pulumi.String("string"),
AksInfrastructureResourceGroupName: pulumi.String("string"),
AksRegion: pulumi.String("string"),
AksResourceGroupName: pulumi.String("string"),
AksClusterName: pulumi.String("string"),
AvailabilityZones: pulumi.StringArray{
pulumi.String("string"),
},
MaxCount: pulumi.Int(0),
Name: pulumi.String("string"),
FallbackToOndemand: pulumi.Bool(false),
Filters: &azure.OceanNpFiltersArgs{
AcceleratedNetworking: pulumi.String("string"),
Architectures: pulumi.StringArray{
pulumi.String("string"),
},
DiskPerformance: pulumi.String("string"),
ExcludeSeries: pulumi.StringArray{
pulumi.String("string"),
},
GpuTypes: pulumi.StringArray{
pulumi.String("string"),
},
MaxGpu: pulumi.Float64(0),
MaxMemoryGib: pulumi.Float64(0),
MaxVcpu: pulumi.Int(0),
MinDisk: pulumi.Int(0),
MinGpu: pulumi.Float64(0),
MinMemoryGib: pulumi.Float64(0),
MinNics: pulumi.Int(0),
MinVcpu: pulumi.Int(0),
Series: pulumi.StringArray{
pulumi.String("string"),
},
VmTypes: pulumi.StringArray{
pulumi.String("string"),
},
},
Headrooms: azure.OceanNpHeadroomArray{
&azure.OceanNpHeadroomArgs{
CpuPerUnit: pulumi.Int(0),
GpuPerUnit: pulumi.Int(0),
MemoryPerUnit: pulumi.Int(0),
NumOfUnits: pulumi.Int(0),
},
},
Health: &azure.OceanNpHealthArgs{
GracePeriod: pulumi.Int(0),
},
KubernetesVersion: pulumi.String("string"),
Labels: pulumi.Map{
"string": pulumi.Any("any"),
},
Autoscaler: &azure.OceanNpAutoscalerArgs{
AutoscaleDown: &azure.OceanNpAutoscalerAutoscaleDownArgs{
MaxScaleDownPercentage: pulumi.Int(0),
},
AutoscaleHeadroom: &azure.OceanNpAutoscalerAutoscaleHeadroomArgs{
Automatic: &azure.OceanNpAutoscalerAutoscaleHeadroomAutomaticArgs{
IsEnabled: pulumi.Bool(false),
Percentage: pulumi.Int(0),
},
},
AutoscaleIsEnabled: pulumi.Bool(false),
ResourceLimits: &azure.OceanNpAutoscalerResourceLimitsArgs{
MaxMemoryGib: pulumi.Int(0),
MaxVcpu: pulumi.Int(0),
},
},
MaxPodsPerNode: pulumi.Int(0),
MinCount: pulumi.Int(0),
EnableNodePublicIp: pulumi.Bool(false),
OsDiskSizeGb: pulumi.Int(0),
OsDiskType: pulumi.String("string"),
OsSku: pulumi.String("string"),
OsType: pulumi.String("string"),
PodSubnetIds: pulumi.StringArray{
pulumi.String("string"),
},
Scheduling: &azure.OceanNpSchedulingArgs{
ShutdownHours: &azure.OceanNpSchedulingShutdownHoursArgs{
TimeWindows: pulumi.StringArray{
pulumi.String("string"),
},
IsEnabled: pulumi.Bool(false),
},
},
SpotPercentage: pulumi.Int(0),
Tags: pulumi.Map{
"string": pulumi.Any("any"),
},
Taints: azure.OceanNpTaintArray{
&azure.OceanNpTaintArgs{
Effect: pulumi.String("string"),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
UpdatePolicy: &azure.OceanNpUpdatePolicyArgs{
ShouldRoll: pulumi.Bool(false),
ConditionedRoll: pulumi.Bool(false),
RollConfig: &azure.OceanNpUpdatePolicyRollConfigArgs{
BatchMinHealthyPercentage: pulumi.Int(0),
BatchSizePercentage: pulumi.Int(0),
Comment: pulumi.String("string"),
NodeNames: pulumi.StringArray{
pulumi.String("string"),
},
NodePoolNames: pulumi.StringArray{
pulumi.String("string"),
},
RespectPdb: pulumi.Bool(false),
RespectRestrictScaleDown: pulumi.Bool(false),
VngIds: pulumi.StringArray{
pulumi.String("string"),
},
},
},
VnetSubnetIds: pulumi.StringArray{
pulumi.String("string"),
},
})
var oceanNpResource = new OceanNp("oceanNpResource", OceanNpArgs.builder()
.controllerClusterId("string")
.aksInfrastructureResourceGroupName("string")
.aksRegion("string")
.aksResourceGroupName("string")
.aksClusterName("string")
.availabilityZones("string")
.maxCount(0)
.name("string")
.fallbackToOndemand(false)
.filters(OceanNpFiltersArgs.builder()
.acceleratedNetworking("string")
.architectures("string")
.diskPerformance("string")
.excludeSeries("string")
.gpuTypes("string")
.maxGpu(0)
.maxMemoryGib(0)
.maxVcpu(0)
.minDisk(0)
.minGpu(0)
.minMemoryGib(0)
.minNics(0)
.minVcpu(0)
.series("string")
.vmTypes("string")
.build())
.headrooms(OceanNpHeadroomArgs.builder()
.cpuPerUnit(0)
.gpuPerUnit(0)
.memoryPerUnit(0)
.numOfUnits(0)
.build())
.health(OceanNpHealthArgs.builder()
.gracePeriod(0)
.build())
.kubernetesVersion("string")
.labels(Map.of("string", "any"))
.autoscaler(OceanNpAutoscalerArgs.builder()
.autoscaleDown(OceanNpAutoscalerAutoscaleDownArgs.builder()
.maxScaleDownPercentage(0)
.build())
.autoscaleHeadroom(OceanNpAutoscalerAutoscaleHeadroomArgs.builder()
.automatic(OceanNpAutoscalerAutoscaleHeadroomAutomaticArgs.builder()
.isEnabled(false)
.percentage(0)
.build())
.build())
.autoscaleIsEnabled(false)
.resourceLimits(OceanNpAutoscalerResourceLimitsArgs.builder()
.maxMemoryGib(0)
.maxVcpu(0)
.build())
.build())
.maxPodsPerNode(0)
.minCount(0)
.enableNodePublicIp(false)
.osDiskSizeGb(0)
.osDiskType("string")
.osSku("string")
.osType("string")
.podSubnetIds("string")
.scheduling(OceanNpSchedulingArgs.builder()
.shutdownHours(OceanNpSchedulingShutdownHoursArgs.builder()
.timeWindows("string")
.isEnabled(false)
.build())
.build())
.spotPercentage(0)
.tags(Map.of("string", "any"))
.taints(OceanNpTaintArgs.builder()
.effect("string")
.key("string")
.value("string")
.build())
.updatePolicy(OceanNpUpdatePolicyArgs.builder()
.shouldRoll(false)
.conditionedRoll(false)
.rollConfig(OceanNpUpdatePolicyRollConfigArgs.builder()
.batchMinHealthyPercentage(0)
.batchSizePercentage(0)
.comment("string")
.nodeNames("string")
.nodePoolNames("string")
.respectPdb(false)
.respectRestrictScaleDown(false)
.vngIds("string")
.build())
.build())
.vnetSubnetIds("string")
.build());
ocean_np_resource = spotinst.azure.OceanNp("oceanNpResource",
controller_cluster_id="string",
aks_infrastructure_resource_group_name="string",
aks_region="string",
aks_resource_group_name="string",
aks_cluster_name="string",
availability_zones=["string"],
max_count=0,
name="string",
fallback_to_ondemand=False,
filters=spotinst.azure.OceanNpFiltersArgs(
accelerated_networking="string",
architectures=["string"],
disk_performance="string",
exclude_series=["string"],
gpu_types=["string"],
max_gpu=0,
max_memory_gib=0,
max_vcpu=0,
min_disk=0,
min_gpu=0,
min_memory_gib=0,
min_nics=0,
min_vcpu=0,
series=["string"],
vm_types=["string"],
),
headrooms=[spotinst.azure.OceanNpHeadroomArgs(
cpu_per_unit=0,
gpu_per_unit=0,
memory_per_unit=0,
num_of_units=0,
)],
health=spotinst.azure.OceanNpHealthArgs(
grace_period=0,
),
kubernetes_version="string",
labels={
"string": "any",
},
autoscaler=spotinst.azure.OceanNpAutoscalerArgs(
autoscale_down=spotinst.azure.OceanNpAutoscalerAutoscaleDownArgs(
max_scale_down_percentage=0,
),
autoscale_headroom=spotinst.azure.OceanNpAutoscalerAutoscaleHeadroomArgs(
automatic=spotinst.azure.OceanNpAutoscalerAutoscaleHeadroomAutomaticArgs(
is_enabled=False,
percentage=0,
),
),
autoscale_is_enabled=False,
resource_limits=spotinst.azure.OceanNpAutoscalerResourceLimitsArgs(
max_memory_gib=0,
max_vcpu=0,
),
),
max_pods_per_node=0,
min_count=0,
enable_node_public_ip=False,
os_disk_size_gb=0,
os_disk_type="string",
os_sku="string",
os_type="string",
pod_subnet_ids=["string"],
scheduling=spotinst.azure.OceanNpSchedulingArgs(
shutdown_hours=spotinst.azure.OceanNpSchedulingShutdownHoursArgs(
time_windows=["string"],
is_enabled=False,
),
),
spot_percentage=0,
tags={
"string": "any",
},
taints=[spotinst.azure.OceanNpTaintArgs(
effect="string",
key="string",
value="string",
)],
update_policy=spotinst.azure.OceanNpUpdatePolicyArgs(
should_roll=False,
conditioned_roll=False,
roll_config=spotinst.azure.OceanNpUpdatePolicyRollConfigArgs(
batch_min_healthy_percentage=0,
batch_size_percentage=0,
comment="string",
node_names=["string"],
node_pool_names=["string"],
respect_pdb=False,
respect_restrict_scale_down=False,
vng_ids=["string"],
),
),
vnet_subnet_ids=["string"])
const oceanNpResource = new spotinst.azure.OceanNp("oceanNpResource", {
controllerClusterId: "string",
aksInfrastructureResourceGroupName: "string",
aksRegion: "string",
aksResourceGroupName: "string",
aksClusterName: "string",
availabilityZones: ["string"],
maxCount: 0,
name: "string",
fallbackToOndemand: false,
filters: {
acceleratedNetworking: "string",
architectures: ["string"],
diskPerformance: "string",
excludeSeries: ["string"],
gpuTypes: ["string"],
maxGpu: 0,
maxMemoryGib: 0,
maxVcpu: 0,
minDisk: 0,
minGpu: 0,
minMemoryGib: 0,
minNics: 0,
minVcpu: 0,
series: ["string"],
vmTypes: ["string"],
},
headrooms: [{
cpuPerUnit: 0,
gpuPerUnit: 0,
memoryPerUnit: 0,
numOfUnits: 0,
}],
health: {
gracePeriod: 0,
},
kubernetesVersion: "string",
labels: {
string: "any",
},
autoscaler: {
autoscaleDown: {
maxScaleDownPercentage: 0,
},
autoscaleHeadroom: {
automatic: {
isEnabled: false,
percentage: 0,
},
},
autoscaleIsEnabled: false,
resourceLimits: {
maxMemoryGib: 0,
maxVcpu: 0,
},
},
maxPodsPerNode: 0,
minCount: 0,
enableNodePublicIp: false,
osDiskSizeGb: 0,
osDiskType: "string",
osSku: "string",
osType: "string",
podSubnetIds: ["string"],
scheduling: {
shutdownHours: {
timeWindows: ["string"],
isEnabled: false,
},
},
spotPercentage: 0,
tags: {
string: "any",
},
taints: [{
effect: "string",
key: "string",
value: "string",
}],
updatePolicy: {
shouldRoll: false,
conditionedRoll: false,
rollConfig: {
batchMinHealthyPercentage: 0,
batchSizePercentage: 0,
comment: "string",
nodeNames: ["string"],
nodePoolNames: ["string"],
respectPdb: false,
respectRestrictScaleDown: false,
vngIds: ["string"],
},
},
vnetSubnetIds: ["string"],
});
type: spotinst:azure:OceanNp
properties:
aksClusterName: string
aksInfrastructureResourceGroupName: string
aksRegion: string
aksResourceGroupName: string
autoscaler:
autoscaleDown:
maxScaleDownPercentage: 0
autoscaleHeadroom:
automatic:
isEnabled: false
percentage: 0
autoscaleIsEnabled: false
resourceLimits:
maxMemoryGib: 0
maxVcpu: 0
availabilityZones:
- string
controllerClusterId: string
enableNodePublicIp: false
fallbackToOndemand: false
filters:
acceleratedNetworking: string
architectures:
- string
diskPerformance: string
excludeSeries:
- string
gpuTypes:
- string
maxGpu: 0
maxMemoryGib: 0
maxVcpu: 0
minDisk: 0
minGpu: 0
minMemoryGib: 0
minNics: 0
minVcpu: 0
series:
- string
vmTypes:
- string
headrooms:
- cpuPerUnit: 0
gpuPerUnit: 0
memoryPerUnit: 0
numOfUnits: 0
health:
gracePeriod: 0
kubernetesVersion: string
labels:
string: any
maxCount: 0
maxPodsPerNode: 0
minCount: 0
name: string
osDiskSizeGb: 0
osDiskType: string
osSku: string
osType: string
podSubnetIds:
- string
scheduling:
shutdownHours:
isEnabled: false
timeWindows:
- string
spotPercentage: 0
tags:
string: any
taints:
- effect: string
key: string
value: string
updatePolicy:
conditionedRoll: false
rollConfig:
batchMinHealthyPercentage: 0
batchSizePercentage: 0
comment: string
nodeNames:
- string
nodePoolNames:
- string
respectPdb: false
respectRestrictScaleDown: false
vngIds:
- string
shouldRoll: false
vnetSubnetIds:
- string
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 - Availability
Zones List<string> - Controller
Cluster stringId - Autoscaler
Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Autoscaler - Enable
Node boolPublic Ip - Fallback
To boolOndemand - Filters
Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Filters - Headrooms
List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Headroom> - Health
Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Health - Kubernetes
Version string - Labels Dictionary<string, object>
- Max
Count int - Max
Pods intPer Node - Min
Count int - Name string
- Os
Disk intSize Gb - Os
Disk stringType - Os
Sku string - Os
Type string - Pod
Subnet List<string>Ids - Scheduling
Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Scheduling - Spot
Percentage int - Dictionary<string, object>
- Taints
List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Taint> - Update
Policy Pulumi.Spot Inst. Azure. Inputs. Ocean Np Update Policy - Vnet
Subnet List<string>Ids
- Aks
Cluster stringName - Aks
Infrastructure stringResource Group Name - Aks
Region string - Aks
Resource stringGroup Name - Availability
Zones []string - Controller
Cluster stringId - Autoscaler
Ocean
Np Autoscaler Args - Enable
Node boolPublic Ip - Fallback
To boolOndemand - Filters
Ocean
Np Filters Args - Headrooms
[]Ocean
Np Headroom Args - Health
Ocean
Np Health Args - Kubernetes
Version string - Labels map[string]interface{}
- Max
Count int - Max
Pods intPer Node - Min
Count int - Name string
- Os
Disk intSize Gb - Os
Disk stringType - Os
Sku string - Os
Type string - Pod
Subnet []stringIds - Scheduling
Ocean
Np Scheduling Args - Spot
Percentage int - map[string]interface{}
- Taints
[]Ocean
Np Taint Args - Update
Policy OceanNp Update Policy Args - Vnet
Subnet []stringIds
- aks
Cluster StringName - aks
Infrastructure StringResource Group Name - aks
Region String - aks
Resource StringGroup Name - availability
Zones List<String> - controller
Cluster StringId - autoscaler
Ocean
Np Autoscaler - enable
Node BooleanPublic Ip - fallback
To BooleanOndemand - filters
Ocean
Np Filters - headrooms
List<Ocean
Np Headroom> - health
Ocean
Np Health - kubernetes
Version String - labels Map<String,Object>
- max
Count Integer - max
Pods IntegerPer Node - min
Count Integer - name String
- os
Disk IntegerSize Gb - os
Disk StringType - os
Sku String - os
Type String - pod
Subnet List<String>Ids - scheduling
Ocean
Np Scheduling - spot
Percentage Integer - Map<String,Object>
- taints
List<Ocean
Np Taint> - update
Policy OceanNp Update Policy - vnet
Subnet List<String>Ids
- aks
Cluster stringName - aks
Infrastructure stringResource Group Name - aks
Region string - aks
Resource stringGroup Name - availability
Zones string[] - controller
Cluster stringId - autoscaler
Ocean
Np Autoscaler - enable
Node booleanPublic Ip - fallback
To booleanOndemand - filters
Ocean
Np Filters - headrooms
Ocean
Np Headroom[] - health
Ocean
Np Health - kubernetes
Version string - labels {[key: string]: any}
- max
Count number - max
Pods numberPer Node - min
Count number - name string
- os
Disk numberSize Gb - os
Disk stringType - os
Sku string - os
Type string - pod
Subnet string[]Ids - scheduling
Ocean
Np Scheduling - spot
Percentage number - {[key: string]: any}
- taints
Ocean
Np Taint[] - update
Policy OceanNp Update Policy - vnet
Subnet string[]Ids
- aks_
cluster_ strname - aks_
infrastructure_ strresource_ group_ name - aks_
region str - aks_
resource_ strgroup_ name - availability_
zones Sequence[str] - controller_
cluster_ strid - autoscaler
Ocean
Np Autoscaler Args - enable_
node_ boolpublic_ ip - fallback_
to_ boolondemand - filters
Ocean
Np Filters Args - headrooms
Sequence[Ocean
Np Headroom Args] - health
Ocean
Np Health Args - kubernetes_
version str - labels Mapping[str, Any]
- max_
count int - max_
pods_ intper_ node - min_
count int - name str
- os_
disk_ intsize_ gb - os_
disk_ strtype - os_
sku str - os_
type str - pod_
subnet_ Sequence[str]ids - scheduling
Ocean
Np Scheduling Args - spot_
percentage int - Mapping[str, Any]
- taints
Sequence[Ocean
Np Taint Args] - update_
policy OceanNp Update Policy Args - vnet_
subnet_ Sequence[str]ids
- aks
Cluster StringName - aks
Infrastructure StringResource Group Name - aks
Region String - aks
Resource StringGroup Name - availability
Zones List<String> - controller
Cluster StringId - autoscaler Property Map
- enable
Node BooleanPublic Ip - fallback
To BooleanOndemand - filters Property Map
- headrooms List<Property Map>
- health Property Map
- kubernetes
Version String - labels Map<Any>
- max
Count Number - max
Pods NumberPer Node - min
Count Number - name String
- os
Disk NumberSize Gb - os
Disk StringType - os
Sku String - os
Type String - pod
Subnet List<String>Ids - scheduling Property Map
- spot
Percentage Number - Map<Any>
- taints List<Property Map>
- update
Policy Property Map - vnet
Subnet List<String>Ids
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,
filters: Optional[OceanNpFiltersArgs] = None,
headrooms: Optional[Sequence[OceanNpHeadroomArgs]] = None,
health: Optional[OceanNpHealthArgs] = None,
kubernetes_version: Optional[str] = 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_sku: Optional[str] = None,
os_type: Optional[str] = None,
pod_subnet_ids: Optional[Sequence[str]] = None,
scheduling: Optional[OceanNpSchedulingArgs] = None,
spot_percentage: Optional[int] = None,
tags: Optional[Mapping[str, Any]] = None,
taints: Optional[Sequence[OceanNpTaintArgs]] = None,
update_policy: Optional[OceanNpUpdatePolicyArgs] = None,
vnet_subnet_ids: Optional[Sequence[str]] = 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 - Availability
Zones List<string> - Controller
Cluster stringId - Enable
Node boolPublic Ip - Fallback
To boolOndemand - Filters
Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Filters - Headrooms
List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Headroom> - Health
Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Health - Kubernetes
Version string - Labels Dictionary<string, object>
- Max
Count int - Max
Pods intPer Node - Min
Count int - Name string
- Os
Disk intSize Gb - Os
Disk stringType - Os
Sku string - Os
Type string - Pod
Subnet List<string>Ids - Scheduling
Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Scheduling - Spot
Percentage int - Dictionary<string, object>
- Taints
List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Np Taint> - Update
Policy Pulumi.Spot Inst. Azure. Inputs. Ocean Np Update Policy - Vnet
Subnet List<string>Ids
- 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 - Filters
Ocean
Np Filters Args - Headrooms
[]Ocean
Np Headroom Args - Health
Ocean
Np Health Args - Kubernetes
Version string - Labels map[string]interface{}
- Max
Count int - Max
Pods intPer Node - Min
Count int - Name string
- Os
Disk intSize Gb - Os
Disk stringType - Os
Sku string - Os
Type string - Pod
Subnet []stringIds - Scheduling
Ocean
Np Scheduling Args - Spot
Percentage int - map[string]interface{}
- Taints
[]Ocean
Np Taint Args - Update
Policy OceanNp Update Policy Args - Vnet
Subnet []stringIds
- aks
Cluster StringName - aks
Infrastructure StringResource Group Name - aks
Region String - aks
Resource StringGroup Name - autoscaler
Ocean
Np Autoscaler - availability
Zones List<String> - controller
Cluster StringId - enable
Node BooleanPublic Ip - fallback
To BooleanOndemand - filters
Ocean
Np Filters - headrooms
List<Ocean
Np Headroom> - health
Ocean
Np Health - kubernetes
Version String - labels Map<String,Object>
- max
Count Integer - max
Pods IntegerPer Node - min
Count Integer - name String
- os
Disk IntegerSize Gb - os
Disk StringType - os
Sku String - os
Type String - pod
Subnet List<String>Ids - scheduling
Ocean
Np Scheduling - spot
Percentage Integer - Map<String,Object>
- taints
List<Ocean
Np Taint> - update
Policy OceanNp Update Policy - vnet
Subnet List<String>Ids
- aks
Cluster stringName - aks
Infrastructure stringResource Group Name - aks
Region string - aks
Resource stringGroup Name - autoscaler
Ocean
Np Autoscaler - availability
Zones string[] - controller
Cluster stringId - enable
Node booleanPublic Ip - fallback
To booleanOndemand - filters
Ocean
Np Filters - headrooms
Ocean
Np Headroom[] - health
Ocean
Np Health - kubernetes
Version string - labels {[key: string]: any}
- max
Count number - max
Pods numberPer Node - min
Count number - name string
- os
Disk numberSize Gb - os
Disk stringType - os
Sku string - os
Type string - pod
Subnet string[]Ids - scheduling
Ocean
Np Scheduling - spot
Percentage number - {[key: string]: any}
- taints
Ocean
Np Taint[] - update
Policy OceanNp Update Policy - vnet
Subnet string[]Ids
- 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 - filters
Ocean
Np Filters Args - headrooms
Sequence[Ocean
Np Headroom Args] - health
Ocean
Np Health Args - kubernetes_
version str - labels Mapping[str, Any]
- max_
count int - max_
pods_ intper_ node - min_
count int - name str
- os_
disk_ intsize_ gb - os_
disk_ strtype - os_
sku str - os_
type str - pod_
subnet_ Sequence[str]ids - scheduling
Ocean
Np Scheduling Args - spot_
percentage int - Mapping[str, Any]
- taints
Sequence[Ocean
Np Taint Args] - update_
policy OceanNp Update Policy Args - vnet_
subnet_ Sequence[str]ids
- 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 - filters Property Map
- headrooms List<Property Map>
- health Property Map
- kubernetes
Version String - labels Map<Any>
- max
Count Number - max
Pods NumberPer Node - min
Count Number - name String
- os
Disk NumberSize Gb - os
Disk StringType - os
Sku String - os
Type String - pod
Subnet List<String>Ids - scheduling Property Map
- spot
Percentage Number - Map<Any>
- taints List<Property Map>
- update
Policy Property Map - vnet
Subnet List<String>Ids
Supporting Types
OceanNpAutoscaler, OceanNpAutoscalerArgs
OceanNpAutoscalerAutoscaleDown, OceanNpAutoscalerAutoscaleDownArgs
- max
Scale IntegerDown Percentage
- max
Scale numberDown Percentage
- max
Scale NumberDown Percentage
OceanNpAutoscalerAutoscaleHeadroom, OceanNpAutoscalerAutoscaleHeadroomArgs
OceanNpAutoscalerAutoscaleHeadroomAutomatic, OceanNpAutoscalerAutoscaleHeadroomAutomaticArgs
- Is
Enabled bool - Percentage int
- Is
Enabled bool - Percentage int
- is
Enabled Boolean - percentage Integer
- is
Enabled boolean - percentage number
- is_
enabled bool - percentage int
- is
Enabled Boolean - percentage Number
OceanNpAutoscalerResourceLimits, OceanNpAutoscalerResourceLimitsArgs
- 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
OceanNpFilters, OceanNpFiltersArgs
- Accelerated
Networking string - Architectures List<string>
- Disk
Performance string - Exclude
Series List<string> - Gpu
Types List<string> - Max
Gpu double - Max
Memory doubleGib - Max
Vcpu int - Min
Disk int - Min
Gpu double - Min
Memory doubleGib - Min
Nics int - Min
Vcpu int - Series List<string>
- Vm
Types List<string>
- Accelerated
Networking string - Architectures []string
- Disk
Performance string - Exclude
Series []string - Gpu
Types []string - Max
Gpu float64 - Max
Memory float64Gib - Max
Vcpu int - Min
Disk int - Min
Gpu float64 - Min
Memory float64Gib - Min
Nics int - Min
Vcpu int - Series []string
- Vm
Types []string
- accelerated
Networking String - architectures List<String>
- disk
Performance String - exclude
Series List<String> - gpu
Types List<String> - max
Gpu Double - max
Memory DoubleGib - max
Vcpu Integer - min
Disk Integer - min
Gpu Double - min
Memory DoubleGib - min
Nics Integer - min
Vcpu Integer - series List<String>
- vm
Types List<String>
- accelerated
Networking string - architectures string[]
- disk
Performance string - exclude
Series string[] - gpu
Types string[] - max
Gpu number - max
Memory numberGib - max
Vcpu number - min
Disk number - min
Gpu number - min
Memory numberGib - min
Nics number - min
Vcpu number - series string[]
- vm
Types string[]
- accelerated_
networking str - architectures Sequence[str]
- disk_
performance str - exclude_
series Sequence[str] - gpu_
types Sequence[str] - max_
gpu float - max_
memory_ floatgib - max_
vcpu int - min_
disk int - min_
gpu float - min_
memory_ floatgib - min_
nics int - min_
vcpu int - series Sequence[str]
- vm_
types Sequence[str]
- accelerated
Networking String - architectures List<String>
- disk
Performance String - exclude
Series List<String> - gpu
Types List<String> - max
Gpu Number - max
Memory NumberGib - max
Vcpu Number - min
Disk Number - min
Gpu Number - min
Memory NumberGib - min
Nics Number - min
Vcpu Number - series List<String>
- vm
Types List<String>
OceanNpHeadroom, OceanNpHeadroomArgs
- 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, OceanNpHealthArgs
- Grace
Period int
- Grace
Period int
- grace
Period Integer
- grace
Period number
- grace_
period int
- grace
Period Number
OceanNpScheduling, OceanNpSchedulingArgs
OceanNpSchedulingShutdownHours, OceanNpSchedulingShutdownHoursArgs
- 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, OceanNpTaintArgs
OceanNpUpdatePolicy, OceanNpUpdatePolicyArgs
- should
Roll Boolean - conditioned
Roll Boolean - roll
Config OceanNp Update Policy Roll Config
- should
Roll boolean - conditioned
Roll boolean - roll
Config OceanNp Update Policy Roll Config
- should
Roll Boolean - conditioned
Roll Boolean - roll
Config Property Map
OceanNpUpdatePolicyRollConfig, OceanNpUpdatePolicyRollConfigArgs
- Batch
Min intHealthy Percentage - Batch
Size intPercentage - Comment string
- Node
Names List<string> - Node
Pool List<string>Names - Respect
Pdb bool - Respect
Restrict boolScale Down - Vng
Ids List<string>
- Batch
Min intHealthy Percentage - Batch
Size intPercentage - Comment string
- Node
Names []string - Node
Pool []stringNames - Respect
Pdb bool - Respect
Restrict boolScale Down - Vng
Ids []string
- batch
Min IntegerHealthy Percentage - batch
Size IntegerPercentage - comment String
- node
Names List<String> - node
Pool List<String>Names - respect
Pdb Boolean - respect
Restrict BooleanScale Down - vng
Ids List<String>
- batch
Min numberHealthy Percentage - batch
Size numberPercentage - comment string
- node
Names string[] - node
Pool string[]Names - respect
Pdb boolean - respect
Restrict booleanScale Down - vng
Ids string[]
- batch_
min_ inthealthy_ percentage - batch_
size_ intpercentage - comment str
- node_
names Sequence[str] - node_
pool_ Sequence[str]names - respect_
pdb bool - respect_
restrict_ boolscale_ down - vng_
ids Sequence[str]
- batch
Min NumberHealthy Percentage - batch
Size NumberPercentage - comment String
- node
Names List<String> - node
Pool List<String>Names - respect
Pdb Boolean - respect
Restrict BooleanScale Down - vng
Ids List<String>
Package Details
- Repository
- Spotinst pulumi/pulumi-spotinst
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
spotinst
Terraform Provider.