spotinst.azure.Ocean
Explore with Pulumi AI
Manages a Spotinst Ocean AKS resource.
This resource contains arguments (such as
image
andextension
) that are automatically populated from the data reported by the Ocean AKS Connector deployed into your cluster. You can override the upstream configuration by defining the corresponding arguments.
Prerequisites
Installation of the Ocean controller is required by this resource. You can accomplish this by using the spotinst/ocean-controller module as follows:
import * as pulumi from "@pulumi/pulumi";
import pulumi
using System.Collections.Generic;
using System.Linq;
using Pulumi;
return await Deployment.RunAsync(() =>
{
});
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
}
}
{}
You must configure the same
cluster_identifier
andacd_identifier
both for the Ocean controller and for thespotinst.azure.Ocean
resource.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
return await Deployment.RunAsync(() =>
{
return new Dictionary<string, object?>
{
["oceanId"] = spotinst_ocean_aks.Example.Id,
};
});
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ctx.Export("oceanId", spotinst_ocean_aks.Example.Id)
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.spotinst.azure.Ocean;
import com.pulumi.spotinst.azure.OceanArgs;
import com.pulumi.spotinst.azure.inputs.OceanAutoscalerArgs;
import com.pulumi.spotinst.azure.inputs.OceanAutoscalerAutoscaleDownArgs;
import com.pulumi.spotinst.azure.inputs.OceanAutoscalerAutoscaleHeadroomArgs;
import com.pulumi.spotinst.azure.inputs.OceanAutoscalerAutoscaleHeadroomAutomaticArgs;
import com.pulumi.spotinst.azure.inputs.OceanAutoscalerResourceLimitsArgs;
import com.pulumi.spotinst.azure.inputs.OceanExtensionArgs;
import com.pulumi.spotinst.azure.inputs.OceanHealthArgs;
import com.pulumi.spotinst.azure.inputs.OceanImageArgs;
import com.pulumi.spotinst.azure.inputs.OceanLoadBalancerArgs;
import com.pulumi.spotinst.azure.inputs.OceanManagedServiceIdentityArgs;
import com.pulumi.spotinst.azure.inputs.OceanNetworkArgs;
import com.pulumi.spotinst.azure.inputs.OceanOsDiskArgs;
import com.pulumi.spotinst.azure.inputs.OceanStrategyArgs;
import com.pulumi.spotinst.azure.inputs.OceanTagArgs;
import com.pulumi.spotinst.azure.inputs.OceanVmSizeArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Ocean("example", OceanArgs.builder()
.acdIdentifier("acd-12345678")
.aksName("ocean-westus-dev-aks")
.aksResourceGroupName("ocean-westus-dev")
.autoscaler(OceanAutoscalerArgs.builder()
.autoscaleDown(OceanAutoscalerAutoscaleDownArgs.builder()
.maxScaleDownPercentage(10)
.build())
.autoscaleHeadroom(OceanAutoscalerAutoscaleHeadroomArgs.builder()
.automatic(OceanAutoscalerAutoscaleHeadroomAutomaticArgs.builder()
.isEnabled(true)
.percentage(10)
.build())
.build())
.autoscaleIsEnabled(true)
.resourceLimits(OceanAutoscalerResourceLimitsArgs.builder()
.maxMemoryGib(40)
.maxVcpu(1024)
.build())
.build())
.controllerClusterId("ocean-westus-dev-aks")
.customData("[... redacted ...]")
.extensions(OceanExtensionArgs.builder()
.apiVersion("1.0")
.minorVersionAutoUpgrade(true)
.name("extension-name")
.publisher("Microsoft.Azure.Extensions")
.type("Linux")
.build())
.health(OceanHealthArgs.builder()
.gracePeriod(10)
.build())
.images(OceanImageArgs.builder()
.marketplaces(OceanImageMarketplaceArgs.builder()
.offer("UbuntuServer")
.publisher("Canonical")
.sku("18.04-LTS")
.version("latest")
.build())
.build())
.loadBalancers(OceanLoadBalancerArgs.builder()
.backendPoolNames("terraform-backend-pool")
.loadBalancerSku("Standard")
.name("load-balancer-name")
.resourceGroupName("resource-group-name")
.type("loadBalancer")
.build())
.managedServiceIdentities(OceanManagedServiceIdentityArgs.builder()
.name("ocean-westus-dev-aks-agentpool")
.resourceGroupName("MC_ocean-westus-dev_ocean-westus-dev-aks_westus")
.build())
.maxPods(30)
.network(OceanNetworkArgs.builder()
.networkInterfaces(OceanNetworkNetworkInterfaceArgs.builder()
.additionalIpConfig(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.assignPublicIp(false)
.isPrimary(false)
.subnetName("subnet-name")
.build())
.resourceGroupName("ocean-westus-dev")
.virtualNetworkName("vn-name")
.build())
.osDisk(OceanOsDiskArgs.builder()
.sizeGb(130)
.type("Standard_LRS")
.build())
.resourceGroupName("some-resource-group-name")
.sshPublicKey("ssh-rsa [... redacted ...] generated-by-azure")
.strategies(OceanStrategyArgs.builder()
.fallbackToOndemand(true)
.spotPercentage(40)
.build())
.tags(OceanTagArgs.builder()
.key("Environment")
.value("Dev")
.build())
.userName("some-name")
.vmSizes(OceanVmSizeArgs.builder()
.whitelists("standard_ds2_v2")
.build())
.zones(
"1",
"2",
"3")
.build());
}
}
import pulumi
pulumi.export("oceanId", spotinst_ocean_aks["example"]["id"])
import * as pulumi from "@pulumi/pulumi";
export const oceanId = spotinst_ocean_aks.example.id;
resources:
example:
type: spotinst:azure:Ocean
properties:
# --- AKS -----------------------------------------------------------
acdIdentifier: acd-12345678
aksName: ocean-westus-dev-aks
aksResourceGroupName: ocean-westus-dev
# --- Auto Scaler ------------------------------------------------------
autoscaler:
autoscaleDown:
maxScaleDownPercentage: 10
autoscaleHeadroom:
automatic:
isEnabled: true
percentage: 10
autoscaleIsEnabled: true
resourceLimits:
maxMemoryGib: 40
maxVcpu: 1024
controllerClusterId: ocean-westus-dev-aks
customData: '[... redacted ...]'
# --- Extensions -------------------------------------------------------
extensions:
- apiVersion: '1.0'
minorVersionAutoUpgrade: true
name: extension-name
publisher: Microsoft.Azure.Extensions
type: Linux
# --- Health ----------------------------------------------------------
health:
gracePeriod: 10
# --- Image ---------------------------------------------------------
images:
- marketplaces:
- offer: UbuntuServer
publisher: Canonical
sku: 18.04-LTS
version: latest
# --- Load Balancers ---------------------------------------------------
loadBalancers:
- backendPoolNames:
- terraform-backend-pool
loadBalancerSku: Standard
name: load-balancer-name
resourceGroupName: resource-group-name
type: loadBalancer
managedServiceIdentities:
- name: ocean-westus-dev-aks-agentpool
resourceGroupName: MC_ocean-westus-dev_ocean-westus-dev-aks_westus
maxPods: 30
# --- NETWORK ---------------------------------------------------------
network:
networkInterfaces:
- additionalIpConfig:
- name: ip-config-name
privateIpVersion: ipv4
assignPublicIp: false
isPrimary: false
subnetName: subnet-name
resourceGroupName: ocean-westus-dev
virtualNetworkName: vn-name
# --- OSDisk --------------------------------------------------------
osDisk:
sizeGb: 130
type: Standard_LRS
# --- Launch Specification ------------------------------------------
resourceGroupName: some-resource-group-name
# --- Login ---------------------------------------------------------
sshPublicKey: ssh-rsa [... redacted ...] generated-by-azure
# --- Strategy --------------------------------------------------------
strategies:
- fallbackToOndemand: true
spotPercentage: 40
tags:
- key: Environment
value: Dev
userName: some-name
# --- VMSizes --------------------------------------------------------
vmSizes:
- whitelists:
- standard_ds2_v2
zones:
- '1'
- '2'
- '3'
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
ctx.export("oceanId", spotinst_ocean_aks.example().id());
}
}
Coming soon!
Coming soon!
outputs:
oceanId: ${spotinst_ocean_aks.example.id}
Create Ocean Resource
new Ocean(name: string, args: OceanArgs, opts?: CustomResourceOptions);
@overload
def Ocean(resource_name: str,
opts: Optional[ResourceOptions] = None,
acd_identifier: Optional[str] = None,
aks_name: Optional[str] = None,
aks_resource_group_name: Optional[str] = None,
autoscaler: Optional[OceanAutoscalerArgs] = None,
controller_cluster_id: Optional[str] = None,
custom_data: Optional[str] = None,
extensions: Optional[Sequence[OceanExtensionArgs]] = None,
health: Optional[OceanHealthArgs] = None,
images: Optional[Sequence[OceanImageArgs]] = None,
load_balancers: Optional[Sequence[OceanLoadBalancerArgs]] = None,
managed_service_identities: Optional[Sequence[OceanManagedServiceIdentityArgs]] = None,
max_pods: Optional[int] = None,
name: Optional[str] = None,
network: Optional[OceanNetworkArgs] = None,
os_disk: Optional[OceanOsDiskArgs] = None,
resource_group_name: Optional[str] = None,
ssh_public_key: Optional[str] = None,
strategies: Optional[Sequence[OceanStrategyArgs]] = None,
tags: Optional[Sequence[OceanTagArgs]] = None,
user_name: Optional[str] = None,
vm_sizes: Optional[Sequence[OceanVmSizeArgs]] = None,
zones: Optional[Sequence[str]] = None)
@overload
def Ocean(resource_name: str,
args: OceanArgs,
opts: Optional[ResourceOptions] = None)
func NewOcean(ctx *Context, name string, args OceanArgs, opts ...ResourceOption) (*Ocean, error)
public Ocean(string name, OceanArgs args, CustomResourceOptions? opts = null)
type: spotinst:azure:Ocean
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OceanArgs
- 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 OceanArgs
- 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 OceanArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OceanArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OceanArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Ocean 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 Ocean resource accepts the following input properties:
- Acd
Identifier string The AKS identifier. A valid identifier should be formatted as
acd-nnnnnnnn
and previously used identifiers cannot be reused.- Aks
Name string The AKS cluster name.
- Aks
Resource stringGroup Name Name of the Azure Resource Group where the AKS cluster is located.
- Ssh
Public stringKey SSH public key for admin access to Linux VMs.
- Autoscaler
Pulumi.
Spot Inst. Azure. Inputs. Ocean Autoscaler The Ocean Kubernetes Autoscaler object.
- Controller
Cluster stringId A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- Custom
Data string Must contain a valid Base64 encoded string.
- Extensions
List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Extension> List of Azure extension objects.
- Health
Pulumi.
Spot Inst. Azure. Inputs. Ocean Health The Ocean AKS Health object.
- Images
List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Image> Image of VM. An image is a template for creating new VMs. Choose from Azure image catalogue (marketplace).
- Load
Balancers List<Pulumi.Spot Inst. Azure. Inputs. Ocean Load Balancer> Configure Load Balancer.
- Managed
Service List<Pulumi.Identities Spot Inst. Azure. Inputs. Ocean Managed Service Identity> List of Managed Service Identity objects.
- Max
Pods int The maximum number of pods per node in an AKS cluster.
- Name string
Name of the Load Balancer.
- Network
Pulumi.
Spot Inst. Azure. Inputs. Ocean Network Define the Virtual Network and Subnet.
- Os
Disk Pulumi.Spot Inst. Azure. Inputs. Ocean Os Disk OS disk specifications.
- Resource
Group stringName The Resource Group name of the Load Balancer.
- Strategies
List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Strategy> The Ocean AKS strategy object.
- List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Tag> Unique key-value pairs that will be used to tag VMs that are launched in the cluster.
- User
Name string Username for admin access to VMs.
- Vm
Sizes List<Pulumi.Spot Inst. Azure. Inputs. Ocean Vm Size> The types of virtual machines that may or may not be a part of the Ocean cluster.
- Zones List<string>
An Array holding default Availability Zones, this configures the availability zones the Ocean may launch instances in.
- Acd
Identifier string The AKS identifier. A valid identifier should be formatted as
acd-nnnnnnnn
and previously used identifiers cannot be reused.- Aks
Name string The AKS cluster name.
- Aks
Resource stringGroup Name Name of the Azure Resource Group where the AKS cluster is located.
- Ssh
Public stringKey SSH public key for admin access to Linux VMs.
- Autoscaler
Ocean
Autoscaler Args The Ocean Kubernetes Autoscaler object.
- Controller
Cluster stringId A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- Custom
Data string Must contain a valid Base64 encoded string.
- Extensions
[]Ocean
Extension Args List of Azure extension objects.
- Health
Ocean
Health Args The Ocean AKS Health object.
- Images
[]Ocean
Image Args Image of VM. An image is a template for creating new VMs. Choose from Azure image catalogue (marketplace).
- Load
Balancers []OceanLoad Balancer Args Configure Load Balancer.
- Managed
Service []OceanIdentities Managed Service Identity Args List of Managed Service Identity objects.
- Max
Pods int The maximum number of pods per node in an AKS cluster.
- Name string
Name of the Load Balancer.
- Network
Ocean
Network Args Define the Virtual Network and Subnet.
- Os
Disk OceanOs Disk Args OS disk specifications.
- Resource
Group stringName The Resource Group name of the Load Balancer.
- Strategies
[]Ocean
Strategy Args The Ocean AKS strategy object.
- []Ocean
Tag Args Unique key-value pairs that will be used to tag VMs that are launched in the cluster.
- User
Name string Username for admin access to VMs.
- Vm
Sizes []OceanVm Size Args The types of virtual machines that may or may not be a part of the Ocean cluster.
- Zones []string
An Array holding default Availability Zones, this configures the availability zones the Ocean may launch instances in.
- acd
Identifier String The AKS identifier. A valid identifier should be formatted as
acd-nnnnnnnn
and previously used identifiers cannot be reused.- aks
Name String The AKS cluster name.
- aks
Resource StringGroup Name Name of the Azure Resource Group where the AKS cluster is located.
- ssh
Public StringKey SSH public key for admin access to Linux VMs.
- autoscaler
Ocean
Autoscaler The Ocean Kubernetes Autoscaler object.
- controller
Cluster StringId A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- custom
Data String Must contain a valid Base64 encoded string.
- extensions
List<Ocean
Extension> List of Azure extension objects.
- health
Ocean
Health The Ocean AKS Health object.
- images
List<Ocean
Image> Image of VM. An image is a template for creating new VMs. Choose from Azure image catalogue (marketplace).
- load
Balancers List<OceanLoad Balancer> Configure Load Balancer.
- managed
Service List<OceanIdentities Managed Service Identity> List of Managed Service Identity objects.
- max
Pods Integer The maximum number of pods per node in an AKS cluster.
- name String
Name of the Load Balancer.
- network
Ocean
Network Define the Virtual Network and Subnet.
- os
Disk OceanOs Disk OS disk specifications.
- resource
Group StringName The Resource Group name of the Load Balancer.
- strategies
List<Ocean
Strategy> The Ocean AKS strategy object.
- List<Ocean
Tag> Unique key-value pairs that will be used to tag VMs that are launched in the cluster.
- user
Name String Username for admin access to VMs.
- vm
Sizes List<OceanVm Size> The types of virtual machines that may or may not be a part of the Ocean cluster.
- zones List<String>
An Array holding default Availability Zones, this configures the availability zones the Ocean may launch instances in.
- acd
Identifier string The AKS identifier. A valid identifier should be formatted as
acd-nnnnnnnn
and previously used identifiers cannot be reused.- aks
Name string The AKS cluster name.
- aks
Resource stringGroup Name Name of the Azure Resource Group where the AKS cluster is located.
- ssh
Public stringKey SSH public key for admin access to Linux VMs.
- autoscaler
Ocean
Autoscaler The Ocean Kubernetes Autoscaler object.
- controller
Cluster stringId A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- custom
Data string Must contain a valid Base64 encoded string.
- extensions
Ocean
Extension[] List of Azure extension objects.
- health
Ocean
Health The Ocean AKS Health object.
- images
Ocean
Image[] Image of VM. An image is a template for creating new VMs. Choose from Azure image catalogue (marketplace).
- load
Balancers OceanLoad Balancer[] Configure Load Balancer.
- managed
Service OceanIdentities Managed Service Identity[] List of Managed Service Identity objects.
- max
Pods number The maximum number of pods per node in an AKS cluster.
- name string
Name of the Load Balancer.
- network
Ocean
Network Define the Virtual Network and Subnet.
- os
Disk OceanOs Disk OS disk specifications.
- resource
Group stringName The Resource Group name of the Load Balancer.
- strategies
Ocean
Strategy[] The Ocean AKS strategy object.
- Ocean
Tag[] Unique key-value pairs that will be used to tag VMs that are launched in the cluster.
- user
Name string Username for admin access to VMs.
- vm
Sizes OceanVm Size[] The types of virtual machines that may or may not be a part of the Ocean cluster.
- zones string[]
An Array holding default Availability Zones, this configures the availability zones the Ocean may launch instances in.
- acd_
identifier str The AKS identifier. A valid identifier should be formatted as
acd-nnnnnnnn
and previously used identifiers cannot be reused.- aks_
name str The AKS cluster name.
- aks_
resource_ strgroup_ name Name of the Azure Resource Group where the AKS cluster is located.
- ssh_
public_ strkey SSH public key for admin access to Linux VMs.
- autoscaler
Ocean
Autoscaler Args The Ocean Kubernetes Autoscaler object.
- controller_
cluster_ strid A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- custom_
data str Must contain a valid Base64 encoded string.
- extensions
Sequence[Ocean
Extension Args] List of Azure extension objects.
- health
Ocean
Health Args The Ocean AKS Health object.
- images
Sequence[Ocean
Image Args] Image of VM. An image is a template for creating new VMs. Choose from Azure image catalogue (marketplace).
- load_
balancers Sequence[OceanLoad Balancer Args] Configure Load Balancer.
- managed_
service_ Sequence[Oceanidentities Managed Service Identity Args] List of Managed Service Identity objects.
- max_
pods int The maximum number of pods per node in an AKS cluster.
- name str
Name of the Load Balancer.
- network
Ocean
Network Args Define the Virtual Network and Subnet.
- os_
disk OceanOs Disk Args OS disk specifications.
- resource_
group_ strname The Resource Group name of the Load Balancer.
- strategies
Sequence[Ocean
Strategy Args] The Ocean AKS strategy object.
- Sequence[Ocean
Tag Args] Unique key-value pairs that will be used to tag VMs that are launched in the cluster.
- user_
name str Username for admin access to VMs.
- vm_
sizes Sequence[OceanVm Size Args] The types of virtual machines that may or may not be a part of the Ocean cluster.
- zones Sequence[str]
An Array holding default Availability Zones, this configures the availability zones the Ocean may launch instances in.
- acd
Identifier String The AKS identifier. A valid identifier should be formatted as
acd-nnnnnnnn
and previously used identifiers cannot be reused.- aks
Name String The AKS cluster name.
- aks
Resource StringGroup Name Name of the Azure Resource Group where the AKS cluster is located.
- ssh
Public StringKey SSH public key for admin access to Linux VMs.
- autoscaler Property Map
The Ocean Kubernetes Autoscaler object.
- controller
Cluster StringId A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- custom
Data String Must contain a valid Base64 encoded string.
- extensions List<Property Map>
List of Azure extension objects.
- health Property Map
The Ocean AKS Health object.
- images List<Property Map>
Image of VM. An image is a template for creating new VMs. Choose from Azure image catalogue (marketplace).
- load
Balancers List<Property Map> Configure Load Balancer.
- managed
Service List<Property Map>Identities List of Managed Service Identity objects.
- max
Pods Number The maximum number of pods per node in an AKS cluster.
- name String
Name of the Load Balancer.
- network Property Map
Define the Virtual Network and Subnet.
- os
Disk Property Map OS disk specifications.
- resource
Group StringName The Resource Group name of the Load Balancer.
- strategies List<Property Map>
The Ocean AKS strategy object.
- List<Property Map>
Unique key-value pairs that will be used to tag VMs that are launched in the cluster.
- user
Name String Username for admin access to VMs.
- vm
Sizes List<Property Map> The types of virtual machines that may or may not be a part of the Ocean cluster.
- zones List<String>
An Array holding default Availability Zones, this configures the availability zones the Ocean may launch instances in.
Outputs
All input properties are implicitly available as output properties. Additionally, the Ocean 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 Ocean Resource
Get an existing Ocean 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?: OceanState, opts?: CustomResourceOptions): Ocean
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
acd_identifier: Optional[str] = None,
aks_name: Optional[str] = None,
aks_resource_group_name: Optional[str] = None,
autoscaler: Optional[OceanAutoscalerArgs] = None,
controller_cluster_id: Optional[str] = None,
custom_data: Optional[str] = None,
extensions: Optional[Sequence[OceanExtensionArgs]] = None,
health: Optional[OceanHealthArgs] = None,
images: Optional[Sequence[OceanImageArgs]] = None,
load_balancers: Optional[Sequence[OceanLoadBalancerArgs]] = None,
managed_service_identities: Optional[Sequence[OceanManagedServiceIdentityArgs]] = None,
max_pods: Optional[int] = None,
name: Optional[str] = None,
network: Optional[OceanNetworkArgs] = None,
os_disk: Optional[OceanOsDiskArgs] = None,
resource_group_name: Optional[str] = None,
ssh_public_key: Optional[str] = None,
strategies: Optional[Sequence[OceanStrategyArgs]] = None,
tags: Optional[Sequence[OceanTagArgs]] = None,
user_name: Optional[str] = None,
vm_sizes: Optional[Sequence[OceanVmSizeArgs]] = None,
zones: Optional[Sequence[str]] = None) -> Ocean
func GetOcean(ctx *Context, name string, id IDInput, state *OceanState, opts ...ResourceOption) (*Ocean, error)
public static Ocean Get(string name, Input<string> id, OceanState? state, CustomResourceOptions? opts = null)
public static Ocean get(String name, Output<String> id, OceanState 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.
- Acd
Identifier string The AKS identifier. A valid identifier should be formatted as
acd-nnnnnnnn
and previously used identifiers cannot be reused.- Aks
Name string The AKS cluster name.
- Aks
Resource stringGroup Name Name of the Azure Resource Group where the AKS cluster is located.
- Autoscaler
Pulumi.
Spot Inst. Azure. Inputs. Ocean Autoscaler The Ocean Kubernetes Autoscaler object.
- Controller
Cluster stringId A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- Custom
Data string Must contain a valid Base64 encoded string.
- Extensions
List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Extension> List of Azure extension objects.
- Health
Pulumi.
Spot Inst. Azure. Inputs. Ocean Health The Ocean AKS Health object.
- Images
List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Image> Image of VM. An image is a template for creating new VMs. Choose from Azure image catalogue (marketplace).
- Load
Balancers List<Pulumi.Spot Inst. Azure. Inputs. Ocean Load Balancer> Configure Load Balancer.
- Managed
Service List<Pulumi.Identities Spot Inst. Azure. Inputs. Ocean Managed Service Identity> List of Managed Service Identity objects.
- Max
Pods int The maximum number of pods per node in an AKS cluster.
- Name string
Name of the Load Balancer.
- Network
Pulumi.
Spot Inst. Azure. Inputs. Ocean Network Define the Virtual Network and Subnet.
- Os
Disk Pulumi.Spot Inst. Azure. Inputs. Ocean Os Disk OS disk specifications.
- Resource
Group stringName The Resource Group name of the Load Balancer.
- Ssh
Public stringKey SSH public key for admin access to Linux VMs.
- Strategies
List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Strategy> The Ocean AKS strategy object.
- List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Tag> Unique key-value pairs that will be used to tag VMs that are launched in the cluster.
- User
Name string Username for admin access to VMs.
- Vm
Sizes List<Pulumi.Spot Inst. Azure. Inputs. Ocean Vm Size> The types of virtual machines that may or may not be a part of the Ocean cluster.
- Zones List<string>
An Array holding default Availability Zones, this configures the availability zones the Ocean may launch instances in.
- Acd
Identifier string The AKS identifier. A valid identifier should be formatted as
acd-nnnnnnnn
and previously used identifiers cannot be reused.- Aks
Name string The AKS cluster name.
- Aks
Resource stringGroup Name Name of the Azure Resource Group where the AKS cluster is located.
- Autoscaler
Ocean
Autoscaler Args The Ocean Kubernetes Autoscaler object.
- Controller
Cluster stringId A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- Custom
Data string Must contain a valid Base64 encoded string.
- Extensions
[]Ocean
Extension Args List of Azure extension objects.
- Health
Ocean
Health Args The Ocean AKS Health object.
- Images
[]Ocean
Image Args Image of VM. An image is a template for creating new VMs. Choose from Azure image catalogue (marketplace).
- Load
Balancers []OceanLoad Balancer Args Configure Load Balancer.
- Managed
Service []OceanIdentities Managed Service Identity Args List of Managed Service Identity objects.
- Max
Pods int The maximum number of pods per node in an AKS cluster.
- Name string
Name of the Load Balancer.
- Network
Ocean
Network Args Define the Virtual Network and Subnet.
- Os
Disk OceanOs Disk Args OS disk specifications.
- Resource
Group stringName The Resource Group name of the Load Balancer.
- Ssh
Public stringKey SSH public key for admin access to Linux VMs.
- Strategies
[]Ocean
Strategy Args The Ocean AKS strategy object.
- []Ocean
Tag Args Unique key-value pairs that will be used to tag VMs that are launched in the cluster.
- User
Name string Username for admin access to VMs.
- Vm
Sizes []OceanVm Size Args The types of virtual machines that may or may not be a part of the Ocean cluster.
- Zones []string
An Array holding default Availability Zones, this configures the availability zones the Ocean may launch instances in.
- acd
Identifier String The AKS identifier. A valid identifier should be formatted as
acd-nnnnnnnn
and previously used identifiers cannot be reused.- aks
Name String The AKS cluster name.
- aks
Resource StringGroup Name Name of the Azure Resource Group where the AKS cluster is located.
- autoscaler
Ocean
Autoscaler The Ocean Kubernetes Autoscaler object.
- controller
Cluster StringId A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- custom
Data String Must contain a valid Base64 encoded string.
- extensions
List<Ocean
Extension> List of Azure extension objects.
- health
Ocean
Health The Ocean AKS Health object.
- images
List<Ocean
Image> Image of VM. An image is a template for creating new VMs. Choose from Azure image catalogue (marketplace).
- load
Balancers List<OceanLoad Balancer> Configure Load Balancer.
- managed
Service List<OceanIdentities Managed Service Identity> List of Managed Service Identity objects.
- max
Pods Integer The maximum number of pods per node in an AKS cluster.
- name String
Name of the Load Balancer.
- network
Ocean
Network Define the Virtual Network and Subnet.
- os
Disk OceanOs Disk OS disk specifications.
- resource
Group StringName The Resource Group name of the Load Balancer.
- ssh
Public StringKey SSH public key for admin access to Linux VMs.
- strategies
List<Ocean
Strategy> The Ocean AKS strategy object.
- List<Ocean
Tag> Unique key-value pairs that will be used to tag VMs that are launched in the cluster.
- user
Name String Username for admin access to VMs.
- vm
Sizes List<OceanVm Size> The types of virtual machines that may or may not be a part of the Ocean cluster.
- zones List<String>
An Array holding default Availability Zones, this configures the availability zones the Ocean may launch instances in.
- acd
Identifier string The AKS identifier. A valid identifier should be formatted as
acd-nnnnnnnn
and previously used identifiers cannot be reused.- aks
Name string The AKS cluster name.
- aks
Resource stringGroup Name Name of the Azure Resource Group where the AKS cluster is located.
- autoscaler
Ocean
Autoscaler The Ocean Kubernetes Autoscaler object.
- controller
Cluster stringId A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- custom
Data string Must contain a valid Base64 encoded string.
- extensions
Ocean
Extension[] List of Azure extension objects.
- health
Ocean
Health The Ocean AKS Health object.
- images
Ocean
Image[] Image of VM. An image is a template for creating new VMs. Choose from Azure image catalogue (marketplace).
- load
Balancers OceanLoad Balancer[] Configure Load Balancer.
- managed
Service OceanIdentities Managed Service Identity[] List of Managed Service Identity objects.
- max
Pods number The maximum number of pods per node in an AKS cluster.
- name string
Name of the Load Balancer.
- network
Ocean
Network Define the Virtual Network and Subnet.
- os
Disk OceanOs Disk OS disk specifications.
- resource
Group stringName The Resource Group name of the Load Balancer.
- ssh
Public stringKey SSH public key for admin access to Linux VMs.
- strategies
Ocean
Strategy[] The Ocean AKS strategy object.
- Ocean
Tag[] Unique key-value pairs that will be used to tag VMs that are launched in the cluster.
- user
Name string Username for admin access to VMs.
- vm
Sizes OceanVm Size[] The types of virtual machines that may or may not be a part of the Ocean cluster.
- zones string[]
An Array holding default Availability Zones, this configures the availability zones the Ocean may launch instances in.
- acd_
identifier str The AKS identifier. A valid identifier should be formatted as
acd-nnnnnnnn
and previously used identifiers cannot be reused.- aks_
name str The AKS cluster name.
- aks_
resource_ strgroup_ name Name of the Azure Resource Group where the AKS cluster is located.
- autoscaler
Ocean
Autoscaler Args The Ocean Kubernetes Autoscaler object.
- controller_
cluster_ strid A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- custom_
data str Must contain a valid Base64 encoded string.
- extensions
Sequence[Ocean
Extension Args] List of Azure extension objects.
- health
Ocean
Health Args The Ocean AKS Health object.
- images
Sequence[Ocean
Image Args] Image of VM. An image is a template for creating new VMs. Choose from Azure image catalogue (marketplace).
- load_
balancers Sequence[OceanLoad Balancer Args] Configure Load Balancer.
- managed_
service_ Sequence[Oceanidentities Managed Service Identity Args] List of Managed Service Identity objects.
- max_
pods int The maximum number of pods per node in an AKS cluster.
- name str
Name of the Load Balancer.
- network
Ocean
Network Args Define the Virtual Network and Subnet.
- os_
disk OceanOs Disk Args OS disk specifications.
- resource_
group_ strname The Resource Group name of the Load Balancer.
- ssh_
public_ strkey SSH public key for admin access to Linux VMs.
- strategies
Sequence[Ocean
Strategy Args] The Ocean AKS strategy object.
- Sequence[Ocean
Tag Args] Unique key-value pairs that will be used to tag VMs that are launched in the cluster.
- user_
name str Username for admin access to VMs.
- vm_
sizes Sequence[OceanVm Size Args] The types of virtual machines that may or may not be a part of the Ocean cluster.
- zones Sequence[str]
An Array holding default Availability Zones, this configures the availability zones the Ocean may launch instances in.
- acd
Identifier String The AKS identifier. A valid identifier should be formatted as
acd-nnnnnnnn
and previously used identifiers cannot be reused.- aks
Name String The AKS cluster name.
- aks
Resource StringGroup Name Name of the Azure Resource Group where the AKS cluster is located.
- autoscaler Property Map
The Ocean Kubernetes Autoscaler object.
- controller
Cluster StringId A unique identifier used for connecting the Ocean SaaS platform and the Kubernetes cluster. Typically, the cluster name is used as its identifier.
- custom
Data String Must contain a valid Base64 encoded string.
- extensions List<Property Map>
List of Azure extension objects.
- health Property Map
The Ocean AKS Health object.
- images List<Property Map>
Image of VM. An image is a template for creating new VMs. Choose from Azure image catalogue (marketplace).
- load
Balancers List<Property Map> Configure Load Balancer.
- managed
Service List<Property Map>Identities List of Managed Service Identity objects.
- max
Pods Number The maximum number of pods per node in an AKS cluster.
- name String
Name of the Load Balancer.
- network Property Map
Define the Virtual Network and Subnet.
- os
Disk Property Map OS disk specifications.
- resource
Group StringName The Resource Group name of the Load Balancer.
- ssh
Public StringKey SSH public key for admin access to Linux VMs.
- strategies List<Property Map>
The Ocean AKS strategy object.
- List<Property Map>
Unique key-value pairs that will be used to tag VMs that are launched in the cluster.
- user
Name String Username for admin access to VMs.
- vm
Sizes List<Property Map> The types of virtual machines that may or may not be a part of the Ocean cluster.
- zones List<String>
An Array holding default Availability Zones, this configures the availability zones the Ocean may launch instances in.
Supporting Types
OceanAutoscaler, OceanAutoscalerArgs
- Autoscale
Down Pulumi.Spot Inst. Azure. Inputs. Ocean Autoscaler Autoscale Down Auto Scaling scale down operations.
- Autoscale
Headroom Pulumi.Spot Inst. Azure. Inputs. Ocean Autoscaler Autoscale Headroom Spare Resource Capacity Management feature enables fast assignment of Pods without having to wait for new resources to be launched.
- Autoscale
Is boolEnabled Enable the Ocean Kubernetes Autoscaler.
- Resource
Limits Pulumi.Spot Inst. Azure. Inputs. Ocean Autoscaler Resource Limits Optionally set upper and lower bounds on the resource usage of the cluster.
- Autoscale
Down OceanAutoscaler Autoscale Down Auto Scaling scale down operations.
- Autoscale
Headroom OceanAutoscaler Autoscale Headroom Spare Resource Capacity Management feature enables fast assignment of Pods without having to wait for new resources to be launched.
- Autoscale
Is boolEnabled Enable the Ocean Kubernetes Autoscaler.
- Resource
Limits OceanAutoscaler Resource Limits Optionally set upper and lower bounds on the resource usage of the cluster.
- autoscale
Down OceanAutoscaler Autoscale Down Auto Scaling scale down operations.
- autoscale
Headroom OceanAutoscaler Autoscale Headroom Spare Resource Capacity Management feature enables fast assignment of Pods without having to wait for new resources to be launched.
- autoscale
Is BooleanEnabled Enable the Ocean Kubernetes Autoscaler.
- resource
Limits OceanAutoscaler Resource Limits Optionally set upper and lower bounds on the resource usage of the cluster.
- autoscale
Down OceanAutoscaler Autoscale Down Auto Scaling scale down operations.
- autoscale
Headroom OceanAutoscaler Autoscale Headroom Spare Resource Capacity Management feature enables fast assignment of Pods without having to wait for new resources to be launched.
- autoscale
Is booleanEnabled Enable the Ocean Kubernetes Autoscaler.
- resource
Limits OceanAutoscaler Resource Limits Optionally set upper and lower bounds on the resource usage of the cluster.
- autoscale_
down OceanAutoscaler Autoscale Down Auto Scaling scale down operations.
- autoscale_
headroom OceanAutoscaler Autoscale Headroom Spare Resource Capacity Management feature enables fast assignment of Pods without having to wait for new resources to be launched.
- autoscale_
is_ boolenabled Enable the Ocean Kubernetes Autoscaler.
- resource_
limits OceanAutoscaler Resource Limits Optionally set upper and lower bounds on the resource usage of the cluster.
- autoscale
Down Property Map Auto Scaling scale down operations.
- autoscale
Headroom Property Map Spare Resource Capacity Management feature enables fast assignment of Pods without having to wait for new resources to be launched.
- autoscale
Is BooleanEnabled Enable the Ocean Kubernetes Autoscaler.
- resource
Limits Property Map Optionally set upper and lower bounds on the resource usage of the cluster.
OceanAutoscalerAutoscaleDown, OceanAutoscalerAutoscaleDownArgs
- Max
Scale doubleDown Percentage Would represent the maximum % to scale-down.
- Max
Scale float64Down Percentage Would represent the maximum % to scale-down.
- max
Scale DoubleDown Percentage Would represent the maximum % to scale-down.
- max
Scale numberDown Percentage Would represent the maximum % to scale-down.
- max_
scale_ floatdown_ percentage Would represent the maximum % to scale-down.
- max
Scale NumberDown Percentage Would represent the maximum % to scale-down.
OceanAutoscalerAutoscaleHeadroom, OceanAutoscalerAutoscaleHeadroomArgs
- Automatic
Pulumi.
Spot Inst. Azure. Inputs. Ocean Autoscaler Autoscale Headroom Automatic Automatic headroom configuration.
- Automatic
Ocean
Autoscaler Autoscale Headroom Automatic Automatic headroom configuration.
- automatic
Ocean
Autoscaler Autoscale Headroom Automatic Automatic headroom configuration.
- automatic
Ocean
Autoscaler Autoscale Headroom Automatic Automatic headroom configuration.
- automatic
Ocean
Autoscaler Autoscale Headroom Automatic Automatic headroom configuration.
- automatic Property Map
Automatic headroom configuration.
OceanAutoscalerAutoscaleHeadroomAutomatic, OceanAutoscalerAutoscaleHeadroomAutomaticArgs
- Is
Enabled bool Enable automatic headroom. When set to
true
, Ocean configures and optimizes headroom automatically.- Percentage int
Optionally set a number between 0-100 to control the percentage of total cluster resources dedicated to headroom. Relevant when
isEnabled
is toggled on.
- Is
Enabled bool Enable automatic headroom. When set to
true
, Ocean configures and optimizes headroom automatically.- Percentage int
Optionally set a number between 0-100 to control the percentage of total cluster resources dedicated to headroom. Relevant when
isEnabled
is toggled on.
- is
Enabled Boolean Enable automatic headroom. When set to
true
, Ocean configures and optimizes headroom automatically.- percentage Integer
Optionally set a number between 0-100 to control the percentage of total cluster resources dedicated to headroom. Relevant when
isEnabled
is toggled on.
- is
Enabled boolean Enable automatic headroom. When set to
true
, Ocean configures and optimizes headroom automatically.- percentage number
Optionally set a number between 0-100 to control the percentage of total cluster resources dedicated to headroom. Relevant when
isEnabled
is toggled on.
- is_
enabled bool Enable automatic headroom. When set to
true
, Ocean configures and optimizes headroom automatically.- percentage int
Optionally set a number between 0-100 to control the percentage of total cluster resources dedicated to headroom. Relevant when
isEnabled
is toggled on.
- is
Enabled Boolean Enable automatic headroom. When set to
true
, Ocean configures and optimizes headroom automatically.- percentage Number
Optionally set a number between 0-100 to control the percentage of total cluster resources dedicated to headroom. Relevant when
isEnabled
is toggled on.
OceanAutoscalerResourceLimits, OceanAutoscalerResourceLimitsArgs
- Max
Memory intGib The maximum memory in GiB units that can be allocated to the cluster.
- Max
Vcpu int The maximum cpu in vCpu units that can be allocated to the cluster.
- Max
Memory intGib The maximum memory in GiB units that can be allocated to the cluster.
- Max
Vcpu int The maximum cpu in vCpu units that can be allocated to the cluster.
- max
Memory IntegerGib The maximum memory in GiB units that can be allocated to the cluster.
- max
Vcpu Integer The maximum cpu in vCpu units that can be allocated to the cluster.
- max
Memory numberGib The maximum memory in GiB units that can be allocated to the cluster.
- max
Vcpu number The maximum cpu in vCpu units that can be allocated to the cluster.
- max_
memory_ intgib The maximum memory in GiB units that can be allocated to the cluster.
- max_
vcpu int The maximum cpu in vCpu units that can be allocated to the cluster.
- max
Memory NumberGib The maximum memory in GiB units that can be allocated to the cluster.
- max
Vcpu Number The maximum cpu in vCpu units that can be allocated to the cluster.
OceanExtension, OceanExtensionArgs
- Api
Version string API version of the extension.
- Minor
Version boolAuto Upgrade Toggles whether auto upgrades are allowed.
- Name string
Name of the Load Balancer.
- Publisher string
Image publisher.
- Type string
The type of load balancer. Supported value:
loadBalancer
- Api
Version string API version of the extension.
- Minor
Version boolAuto Upgrade Toggles whether auto upgrades are allowed.
- Name string
Name of the Load Balancer.
- Publisher string
Image publisher.
- Type string
The type of load balancer. Supported value:
loadBalancer
- api
Version String API version of the extension.
- minor
Version BooleanAuto Upgrade Toggles whether auto upgrades are allowed.
- name String
Name of the Load Balancer.
- publisher String
Image publisher.
- type String
The type of load balancer. Supported value:
loadBalancer
- api
Version string API version of the extension.
- minor
Version booleanAuto Upgrade Toggles whether auto upgrades are allowed.
- name string
Name of the Load Balancer.
- publisher string
Image publisher.
- type string
The type of load balancer. Supported value:
loadBalancer
- api_
version str API version of the extension.
- minor_
version_ boolauto_ upgrade Toggles whether auto upgrades are allowed.
- name str
Name of the Load Balancer.
- publisher str
Image publisher.
- type str
The type of load balancer. Supported value:
loadBalancer
- api
Version String API version of the extension.
- minor
Version BooleanAuto Upgrade Toggles whether auto upgrades are allowed.
- name String
Name of the Load Balancer.
- publisher String
Image publisher.
- type String
The type of load balancer. Supported value:
loadBalancer
OceanHealth, OceanHealthArgs
- Grace
Period int The amount of time to wait, in seconds, from the moment the instance has launched before monitoring its health checks.
- Grace
Period int The amount of time to wait, in seconds, from the moment the instance has launched before monitoring its health checks.
- grace
Period Integer The amount of time to wait, in seconds, from the moment the instance has launched before monitoring its health checks.
- grace
Period number The amount of time to wait, in seconds, from the moment the instance has launched before monitoring its health checks.
- grace_
period int The amount of time to wait, in seconds, from the moment the instance has launched before monitoring its health checks.
- grace
Period Number The amount of time to wait, in seconds, from the moment the instance has launched before monitoring its health checks.
OceanImage, OceanImageArgs
- Marketplaces
List<Pulumi.
Spot Inst. Azure. Inputs. Ocean Image Marketplace> Select an image from Azure's Marketplace image catalogue.
- Marketplaces
[]Ocean
Image Marketplace Select an image from Azure's Marketplace image catalogue.
- marketplaces
List<Ocean
Image Marketplace> Select an image from Azure's Marketplace image catalogue.
- marketplaces
Ocean
Image Marketplace[] Select an image from Azure's Marketplace image catalogue.
- marketplaces
Sequence[Ocean
Image Marketplace] Select an image from Azure's Marketplace image catalogue.
- marketplaces List<Property Map>
Select an image from Azure's Marketplace image catalogue.
OceanImageMarketplace, OceanImageMarketplaceArgs
OceanLoadBalancer, OceanLoadBalancerArgs
- Backend
Pool List<string>Names Names of the Backend Pools to register the Cluster VMs to. Each Backend Pool is a separate load balancer.
- Load
Balancer stringSku Supported values:
Standard
,Basic
.- Name string
Name of the Load Balancer.
- Resource
Group stringName The Resource Group name of the Load Balancer.
- Type string
The type of load balancer. Supported value:
loadBalancer
- Backend
Pool []stringNames Names of the Backend Pools to register the Cluster VMs to. Each Backend Pool is a separate load balancer.
- Load
Balancer stringSku Supported values:
Standard
,Basic
.- Name string
Name of the Load Balancer.
- Resource
Group stringName The Resource Group name of the Load Balancer.
- Type string
The type of load balancer. Supported value:
loadBalancer
- backend
Pool List<String>Names Names of the Backend Pools to register the Cluster VMs to. Each Backend Pool is a separate load balancer.
- load
Balancer StringSku Supported values:
Standard
,Basic
.- name String
Name of the Load Balancer.
- resource
Group StringName The Resource Group name of the Load Balancer.
- type String
The type of load balancer. Supported value:
loadBalancer
- backend
Pool string[]Names Names of the Backend Pools to register the Cluster VMs to. Each Backend Pool is a separate load balancer.
- load
Balancer stringSku Supported values:
Standard
,Basic
.- name string
Name of the Load Balancer.
- resource
Group stringName The Resource Group name of the Load Balancer.
- type string
The type of load balancer. Supported value:
loadBalancer
- backend_
pool_ Sequence[str]names Names of the Backend Pools to register the Cluster VMs to. Each Backend Pool is a separate load balancer.
- load_
balancer_ strsku Supported values:
Standard
,Basic
.- name str
Name of the Load Balancer.
- resource_
group_ strname The Resource Group name of the Load Balancer.
- type str
The type of load balancer. Supported value:
loadBalancer
- backend
Pool List<String>Names Names of the Backend Pools to register the Cluster VMs to. Each Backend Pool is a separate load balancer.
- load
Balancer StringSku Supported values:
Standard
,Basic
.- name String
Name of the Load Balancer.
- resource
Group StringName The Resource Group name of the Load Balancer.
- type String
The type of load balancer. Supported value:
loadBalancer
OceanManagedServiceIdentity, OceanManagedServiceIdentityArgs
- Name string
Name of the Load Balancer.
- Resource
Group stringName The Resource Group name of the Load Balancer.
- Name string
Name of the Load Balancer.
- Resource
Group stringName The Resource Group name of the Load Balancer.
- name String
Name of the Load Balancer.
- resource
Group StringName The Resource Group name of the Load Balancer.
- name string
Name of the Load Balancer.
- resource
Group stringName The Resource Group name of the Load Balancer.
- name str
Name of the Load Balancer.
- resource_
group_ strname The Resource Group name of the Load Balancer.
- name String
Name of the Load Balancer.
- resource
Group StringName The Resource Group name of the Load Balancer.
OceanNetwork, OceanNetworkArgs
- Network
Interfaces List<Pulumi.Spot Inst. Azure. Inputs. Ocean Network Network Interface> A list of virtual network interfaces. The publicIpSku must be identical between all the network interfaces. One network interface must be set as the primary.
- Resource
Group stringName The Resource Group name of the Load Balancer.
- Virtual
Network stringName Virtual network.
- Network
Interfaces []OceanNetwork Network Interface A list of virtual network interfaces. The publicIpSku must be identical between all the network interfaces. One network interface must be set as the primary.
- Resource
Group stringName The Resource Group name of the Load Balancer.
- Virtual
Network stringName Virtual network.
- network
Interfaces List<OceanNetwork Network Interface> A list of virtual network interfaces. The publicIpSku must be identical between all the network interfaces. One network interface must be set as the primary.
- resource
Group StringName The Resource Group name of the Load Balancer.
- virtual
Network StringName Virtual network.
- network
Interfaces OceanNetwork Network Interface[] A list of virtual network interfaces. The publicIpSku must be identical between all the network interfaces. One network interface must be set as the primary.
- resource
Group stringName The Resource Group name of the Load Balancer.
- virtual
Network stringName Virtual network.
- network_
interfaces Sequence[OceanNetwork Network Interface] A list of virtual network interfaces. The publicIpSku must be identical between all the network interfaces. One network interface must be set as the primary.
- resource_
group_ strname The Resource Group name of the Load Balancer.
- virtual_
network_ strname Virtual network.
- network
Interfaces List<Property Map> A list of virtual network interfaces. The publicIpSku must be identical between all the network interfaces. One network interface must be set as the primary.
- resource
Group StringName The Resource Group name of the Load Balancer.
- virtual
Network StringName Virtual network.
OceanNetworkNetworkInterface, OceanNetworkNetworkInterfaceArgs
- Additional
Ip List<Pulumi.Configs Spot Inst. Azure. Inputs. Ocean Network Network Interface Additional Ip Config> Additional configuration of network interface. The name fields between all the
additional_ip_config
must be unique.- Assign
Public boolIp Assign public IP.
- Is
Primary bool Defines whether the network interface is primary or not.
- Security
Group Pulumi.Spot Inst. Azure. Inputs. Ocean Network Network Interface Security Group - Subnet
Name string Subnet name.
- Additional
Ip []OceanConfigs Network Network Interface Additional Ip Config Additional configuration of network interface. The name fields between all the
additional_ip_config
must be unique.- Assign
Public boolIp Assign public IP.
- Is
Primary bool Defines whether the network interface is primary or not.
- Security
Group OceanNetwork Network Interface Security Group - Subnet
Name string Subnet name.
- additional
Ip List<OceanConfigs Network Network Interface Additional Ip Config> Additional configuration of network interface. The name fields between all the
additional_ip_config
must be unique.- assign
Public BooleanIp Assign public IP.
- is
Primary Boolean Defines whether the network interface is primary or not.
- security
Group OceanNetwork Network Interface Security Group - subnet
Name String Subnet name.
- additional
Ip OceanConfigs Network Network Interface Additional Ip Config[] Additional configuration of network interface. The name fields between all the
additional_ip_config
must be unique.- assign
Public booleanIp Assign public IP.
- is
Primary boolean Defines whether the network interface is primary or not.
- security
Group OceanNetwork Network Interface Security Group - subnet
Name string Subnet name.
- additional_
ip_ Sequence[Oceanconfigs Network Network Interface Additional Ip Config] Additional configuration of network interface. The name fields between all the
additional_ip_config
must be unique.- assign_
public_ boolip Assign public IP.
- is_
primary bool Defines whether the network interface is primary or not.
- security_
group OceanNetwork Network Interface Security Group - subnet_
name str Subnet name.
- additional
Ip List<Property Map>Configs Additional configuration of network interface. The name fields between all the
additional_ip_config
must be unique.- assign
Public BooleanIp Assign public IP.
- is
Primary Boolean Defines whether the network interface is primary or not.
- security
Group Property Map - subnet
Name String Subnet name.
OceanNetworkNetworkInterfaceAdditionalIpConfig, OceanNetworkNetworkInterfaceAdditionalIpConfigArgs
- Name string
Name of the Load Balancer.
- Private
Ip stringVersion Supported values:
IPv4
,IPv6
.
- Name string
Name of the Load Balancer.
- Private
Ip stringVersion Supported values:
IPv4
,IPv6
.
- name String
Name of the Load Balancer.
- private
Ip StringVersion Supported values:
IPv4
,IPv6
.
- name string
Name of the Load Balancer.
- private
Ip stringVersion Supported values:
IPv4
,IPv6
.
- name str
Name of the Load Balancer.
- private_
ip_ strversion Supported values:
IPv4
,IPv6
.
- name String
Name of the Load Balancer.
- private
Ip StringVersion Supported values:
IPv4
,IPv6
.
OceanNetworkNetworkInterfaceSecurityGroup, OceanNetworkNetworkInterfaceSecurityGroupArgs
- Name string
Name of the Load Balancer.
- Resource
Group stringName The Resource Group name of the Load Balancer.
- Name string
Name of the Load Balancer.
- Resource
Group stringName The Resource Group name of the Load Balancer.
- name String
Name of the Load Balancer.
- resource
Group StringName The Resource Group name of the Load Balancer.
- name string
Name of the Load Balancer.
- resource
Group stringName The Resource Group name of the Load Balancer.
- name str
Name of the Load Balancer.
- resource_
group_ strname The Resource Group name of the Load Balancer.
- name String
Name of the Load Balancer.
- resource
Group StringName The Resource Group name of the Load Balancer.
OceanOsDisk, OceanOsDiskArgs
OceanStrategy, OceanStrategyArgs
- Fallback
To boolOndemand If no spot instance markets are available, enable Ocean to launch on-demand instances instead.
- Spot
Percentage int Percentage of Spot VMs to maintain.
- Fallback
To boolOndemand If no spot instance markets are available, enable Ocean to launch on-demand instances instead.
- Spot
Percentage int Percentage of Spot VMs to maintain.
- fallback
To BooleanOndemand If no spot instance markets are available, enable Ocean to launch on-demand instances instead.
- spot
Percentage Integer Percentage of Spot VMs to maintain.
- fallback
To booleanOndemand If no spot instance markets are available, enable Ocean to launch on-demand instances instead.
- spot
Percentage number Percentage of Spot VMs to maintain.
- fallback_
to_ boolondemand If no spot instance markets are available, enable Ocean to launch on-demand instances instead.
- spot_
percentage int Percentage of Spot VMs to maintain.
- fallback
To BooleanOndemand If no spot instance markets are available, enable Ocean to launch on-demand instances instead.
- spot
Percentage Number Percentage of Spot VMs to maintain.
OceanTag, OceanTagArgs
OceanVmSize, OceanVmSizeArgs
- Whitelists List<string>
VM types allowed in the Ocean cluster.
- Whitelists []string
VM types allowed in the Ocean cluster.
- whitelists List<String>
VM types allowed in the Ocean cluster.
- whitelists string[]
VM types allowed in the Ocean cluster.
- whitelists Sequence[str]
VM types allowed in the Ocean cluster.
- whitelists List<String>
VM types allowed in the Ocean cluster.
Package Details
- Repository
- Spotinst pulumi/pulumi-spotinst
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
spotinst
Terraform Provider.