outscale.OksCluster
Manages a cluster.
For more information on this resource, see the User Guide.
For more information on this resource actions, see the API documentation.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as outscale from "@pulumi/outscale";
const project01 = new outscale.OksProject("project01", {
cidr: "10.50.0.0/18",
region: "eu-west-2",
});
const cluster01 = new outscale.OksCluster("cluster01", {
projectId: project01.id,
adminWhitelists: ["0.0.0.0/0"],
cidrPods: "10.91.0.0/16",
cidrService: "10.92.0.0/16",
version: "1.32",
controlPlanes: "cp.mono.master",
tags: {
tagkey: "tagvalue",
},
});
import pulumi
import pulumi_outscale as outscale
project01 = outscale.OksProject("project01",
cidr="10.50.0.0/18",
region="eu-west-2")
cluster01 = outscale.OksCluster("cluster01",
project_id=project01.id,
admin_whitelists=["0.0.0.0/0"],
cidr_pods="10.91.0.0/16",
cidr_service="10.92.0.0/16",
version="1.32",
control_planes="cp.mono.master",
tags={
"tagkey": "tagvalue",
})
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/outscale/outscale"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
project01, err := outscale.NewOksProject(ctx, "project01", &outscale.OksProjectArgs{
Cidr: pulumi.String("10.50.0.0/18"),
Region: pulumi.String("eu-west-2"),
})
if err != nil {
return err
}
_, err = outscale.NewOksCluster(ctx, "cluster01", &outscale.OksClusterArgs{
ProjectId: project01.ID(),
AdminWhitelists: pulumi.StringArray{
pulumi.String("0.0.0.0/0"),
},
CidrPods: pulumi.String("10.91.0.0/16"),
CidrService: pulumi.String("10.92.0.0/16"),
Version: pulumi.String("1.32"),
ControlPlanes: pulumi.String("cp.mono.master"),
Tags: pulumi.StringMap{
"tagkey": pulumi.String("tagvalue"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Outscale = Pulumi.Outscale;
return await Deployment.RunAsync(() =>
{
var project01 = new Outscale.OksProject("project01", new()
{
Cidr = "10.50.0.0/18",
Region = "eu-west-2",
});
var cluster01 = new Outscale.OksCluster("cluster01", new()
{
ProjectId = project01.Id,
AdminWhitelists = new[]
{
"0.0.0.0/0",
},
CidrPods = "10.91.0.0/16",
CidrService = "10.92.0.0/16",
Version = "1.32",
ControlPlanes = "cp.mono.master",
Tags =
{
{ "tagkey", "tagvalue" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.outscale.OksProject;
import com.pulumi.outscale.OksProjectArgs;
import com.pulumi.outscale.OksCluster;
import com.pulumi.outscale.OksClusterArgs;
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 project01 = new OksProject("project01", OksProjectArgs.builder()
.cidr("10.50.0.0/18")
.region("eu-west-2")
.build());
var cluster01 = new OksCluster("cluster01", OksClusterArgs.builder()
.projectId(project01.id())
.adminWhitelists("0.0.0.0/0")
.cidrPods("10.91.0.0/16")
.cidrService("10.92.0.0/16")
.version("1.32")
.controlPlanes("cp.mono.master")
.tags(Map.of("tagkey", "tagvalue"))
.build());
}
}
resources:
project01:
type: outscale:OksProject
properties:
cidr: 10.50.0.0/18
region: eu-west-2
cluster01:
type: outscale:OksCluster
properties:
projectId: ${project01.id}
adminWhitelists:
- 0.0.0.0/0
cidrPods: 10.91.0.0/16
cidrService: 10.92.0.0/16
version: '1.32'
controlPlanes: cp.mono.master
tags:
tagkey: tagvalue
Create OksCluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new OksCluster(name: string, args: OksClusterArgs, opts?: CustomResourceOptions);
@overload
def OksCluster(resource_name: str,
args: OksClusterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def OksCluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
cidr_service: Optional[str] = None,
admin_whitelists: Optional[Sequence[str]] = None,
version: Optional[str] = None,
project_id: Optional[str] = None,
cidr_pods: Optional[str] = None,
cp_multi_az: Optional[bool] = None,
cluster_dns: Optional[str] = None,
control_planes: Optional[str] = None,
admin_lbu: Optional[bool] = None,
cp_subregions: Optional[Sequence[str]] = None,
description: Optional[str] = None,
disable_api_termination: Optional[bool] = None,
name: Optional[str] = None,
auto_maintenances: Optional[OksClusterAutoMaintenancesArgs] = None,
quirks: Optional[Sequence[str]] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[OksClusterTimeoutsArgs] = None,
admission_flags: Optional[OksClusterAdmissionFlagsArgs] = None)
func NewOksCluster(ctx *Context, name string, args OksClusterArgs, opts ...ResourceOption) (*OksCluster, error)
public OksCluster(string name, OksClusterArgs args, CustomResourceOptions? opts = null)
public OksCluster(String name, OksClusterArgs args)
public OksCluster(String name, OksClusterArgs args, CustomResourceOptions options)
type: outscale:OksCluster
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 OksClusterArgs
- 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 OksClusterArgs
- 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 OksClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OksClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OksClusterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var oksClusterResource = new Outscale.OksCluster("oksClusterResource", new()
{
CidrService = "string",
AdminWhitelists = new[]
{
"string",
},
Version = "string",
ProjectId = "string",
CidrPods = "string",
CpMultiAz = false,
ClusterDns = "string",
ControlPlanes = "string",
AdminLbu = false,
CpSubregions = new[]
{
"string",
},
Description = "string",
DisableApiTermination = false,
Name = "string",
AutoMaintenances = new Outscale.Inputs.OksClusterAutoMaintenancesArgs
{
MinorUpgradeMaintenance = new Outscale.Inputs.OksClusterAutoMaintenancesMinorUpgradeMaintenanceArgs
{
DurationHours = 0,
Enabled = false,
StartHour = 0,
Tz = "string",
WeekDay = "string",
},
MinorUpgradeMaintenanceActual = new Outscale.Inputs.OksClusterAutoMaintenancesMinorUpgradeMaintenanceActualArgs
{
DurationHours = 0,
Enabled = false,
StartHour = 0,
Tz = "string",
WeekDay = "string",
},
PatchUpgradeMaintenance = new Outscale.Inputs.OksClusterAutoMaintenancesPatchUpgradeMaintenanceArgs
{
DurationHours = 0,
Enabled = false,
StartHour = 0,
Tz = "string",
WeekDay = "string",
},
PatchUpgradeMaintenanceActual = new Outscale.Inputs.OksClusterAutoMaintenancesPatchUpgradeMaintenanceActualArgs
{
DurationHours = 0,
Enabled = false,
StartHour = 0,
Tz = "string",
WeekDay = "string",
},
},
Quirks = new[]
{
"string",
},
Tags =
{
{ "string", "string" },
},
Timeouts = new Outscale.Inputs.OksClusterTimeoutsArgs
{
Create = "string",
Delete = "string",
Read = "string",
Update = "string",
},
AdmissionFlags = new Outscale.Inputs.OksClusterAdmissionFlagsArgs
{
AppliedAdmissionPlugins = new[]
{
"string",
},
DisableAdmissionPlugins = new[]
{
"string",
},
DisableAdmissionPluginsActuals = new[]
{
"string",
},
EnableAdmissionPlugins = new[]
{
"string",
},
EnableAdmissionPluginsActuals = new[]
{
"string",
},
},
});
example, err := outscale.NewOksCluster(ctx, "oksClusterResource", &outscale.OksClusterArgs{
CidrService: pulumi.String("string"),
AdminWhitelists: pulumi.StringArray{
pulumi.String("string"),
},
Version: pulumi.String("string"),
ProjectId: pulumi.String("string"),
CidrPods: pulumi.String("string"),
CpMultiAz: pulumi.Bool(false),
ClusterDns: pulumi.String("string"),
ControlPlanes: pulumi.String("string"),
AdminLbu: pulumi.Bool(false),
CpSubregions: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
DisableApiTermination: pulumi.Bool(false),
Name: pulumi.String("string"),
AutoMaintenances: &outscale.OksClusterAutoMaintenancesArgs{
MinorUpgradeMaintenance: &outscale.OksClusterAutoMaintenancesMinorUpgradeMaintenanceArgs{
DurationHours: pulumi.Float64(0),
Enabled: pulumi.Bool(false),
StartHour: pulumi.Float64(0),
Tz: pulumi.String("string"),
WeekDay: pulumi.String("string"),
},
MinorUpgradeMaintenanceActual: &outscale.OksClusterAutoMaintenancesMinorUpgradeMaintenanceActualArgs{
DurationHours: pulumi.Float64(0),
Enabled: pulumi.Bool(false),
StartHour: pulumi.Float64(0),
Tz: pulumi.String("string"),
WeekDay: pulumi.String("string"),
},
PatchUpgradeMaintenance: &outscale.OksClusterAutoMaintenancesPatchUpgradeMaintenanceArgs{
DurationHours: pulumi.Float64(0),
Enabled: pulumi.Bool(false),
StartHour: pulumi.Float64(0),
Tz: pulumi.String("string"),
WeekDay: pulumi.String("string"),
},
PatchUpgradeMaintenanceActual: &outscale.OksClusterAutoMaintenancesPatchUpgradeMaintenanceActualArgs{
DurationHours: pulumi.Float64(0),
Enabled: pulumi.Bool(false),
StartHour: pulumi.Float64(0),
Tz: pulumi.String("string"),
WeekDay: pulumi.String("string"),
},
},
Quirks: pulumi.StringArray{
pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &outscale.OksClusterTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Read: pulumi.String("string"),
Update: pulumi.String("string"),
},
AdmissionFlags: &outscale.OksClusterAdmissionFlagsArgs{
AppliedAdmissionPlugins: pulumi.StringArray{
pulumi.String("string"),
},
DisableAdmissionPlugins: pulumi.StringArray{
pulumi.String("string"),
},
DisableAdmissionPluginsActuals: pulumi.StringArray{
pulumi.String("string"),
},
EnableAdmissionPlugins: pulumi.StringArray{
pulumi.String("string"),
},
EnableAdmissionPluginsActuals: pulumi.StringArray{
pulumi.String("string"),
},
},
})
var oksClusterResource = new OksCluster("oksClusterResource", OksClusterArgs.builder()
.cidrService("string")
.adminWhitelists("string")
.version("string")
.projectId("string")
.cidrPods("string")
.cpMultiAz(false)
.clusterDns("string")
.controlPlanes("string")
.adminLbu(false)
.cpSubregions("string")
.description("string")
.disableApiTermination(false)
.name("string")
.autoMaintenances(OksClusterAutoMaintenancesArgs.builder()
.minorUpgradeMaintenance(OksClusterAutoMaintenancesMinorUpgradeMaintenanceArgs.builder()
.durationHours(0.0)
.enabled(false)
.startHour(0.0)
.tz("string")
.weekDay("string")
.build())
.minorUpgradeMaintenanceActual(OksClusterAutoMaintenancesMinorUpgradeMaintenanceActualArgs.builder()
.durationHours(0.0)
.enabled(false)
.startHour(0.0)
.tz("string")
.weekDay("string")
.build())
.patchUpgradeMaintenance(OksClusterAutoMaintenancesPatchUpgradeMaintenanceArgs.builder()
.durationHours(0.0)
.enabled(false)
.startHour(0.0)
.tz("string")
.weekDay("string")
.build())
.patchUpgradeMaintenanceActual(OksClusterAutoMaintenancesPatchUpgradeMaintenanceActualArgs.builder()
.durationHours(0.0)
.enabled(false)
.startHour(0.0)
.tz("string")
.weekDay("string")
.build())
.build())
.quirks("string")
.tags(Map.of("string", "string"))
.timeouts(OksClusterTimeoutsArgs.builder()
.create("string")
.delete("string")
.read("string")
.update("string")
.build())
.admissionFlags(OksClusterAdmissionFlagsArgs.builder()
.appliedAdmissionPlugins("string")
.disableAdmissionPlugins("string")
.disableAdmissionPluginsActuals("string")
.enableAdmissionPlugins("string")
.enableAdmissionPluginsActuals("string")
.build())
.build());
oks_cluster_resource = outscale.OksCluster("oksClusterResource",
cidr_service="string",
admin_whitelists=["string"],
version="string",
project_id="string",
cidr_pods="string",
cp_multi_az=False,
cluster_dns="string",
control_planes="string",
admin_lbu=False,
cp_subregions=["string"],
description="string",
disable_api_termination=False,
name="string",
auto_maintenances={
"minor_upgrade_maintenance": {
"duration_hours": 0,
"enabled": False,
"start_hour": 0,
"tz": "string",
"week_day": "string",
},
"minor_upgrade_maintenance_actual": {
"duration_hours": 0,
"enabled": False,
"start_hour": 0,
"tz": "string",
"week_day": "string",
},
"patch_upgrade_maintenance": {
"duration_hours": 0,
"enabled": False,
"start_hour": 0,
"tz": "string",
"week_day": "string",
},
"patch_upgrade_maintenance_actual": {
"duration_hours": 0,
"enabled": False,
"start_hour": 0,
"tz": "string",
"week_day": "string",
},
},
quirks=["string"],
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
"read": "string",
"update": "string",
},
admission_flags={
"applied_admission_plugins": ["string"],
"disable_admission_plugins": ["string"],
"disable_admission_plugins_actuals": ["string"],
"enable_admission_plugins": ["string"],
"enable_admission_plugins_actuals": ["string"],
})
const oksClusterResource = new outscale.OksCluster("oksClusterResource", {
cidrService: "string",
adminWhitelists: ["string"],
version: "string",
projectId: "string",
cidrPods: "string",
cpMultiAz: false,
clusterDns: "string",
controlPlanes: "string",
adminLbu: false,
cpSubregions: ["string"],
description: "string",
disableApiTermination: false,
name: "string",
autoMaintenances: {
minorUpgradeMaintenance: {
durationHours: 0,
enabled: false,
startHour: 0,
tz: "string",
weekDay: "string",
},
minorUpgradeMaintenanceActual: {
durationHours: 0,
enabled: false,
startHour: 0,
tz: "string",
weekDay: "string",
},
patchUpgradeMaintenance: {
durationHours: 0,
enabled: false,
startHour: 0,
tz: "string",
weekDay: "string",
},
patchUpgradeMaintenanceActual: {
durationHours: 0,
enabled: false,
startHour: 0,
tz: "string",
weekDay: "string",
},
},
quirks: ["string"],
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
read: "string",
update: "string",
},
admissionFlags: {
appliedAdmissionPlugins: ["string"],
disableAdmissionPlugins: ["string"],
disableAdmissionPluginsActuals: ["string"],
enableAdmissionPlugins: ["string"],
enableAdmissionPluginsActuals: ["string"],
},
});
type: outscale:OksCluster
properties:
adminLbu: false
adminWhitelists:
- string
admissionFlags:
appliedAdmissionPlugins:
- string
disableAdmissionPlugins:
- string
disableAdmissionPluginsActuals:
- string
enableAdmissionPlugins:
- string
enableAdmissionPluginsActuals:
- string
autoMaintenances:
minorUpgradeMaintenance:
durationHours: 0
enabled: false
startHour: 0
tz: string
weekDay: string
minorUpgradeMaintenanceActual:
durationHours: 0
enabled: false
startHour: 0
tz: string
weekDay: string
patchUpgradeMaintenance:
durationHours: 0
enabled: false
startHour: 0
tz: string
weekDay: string
patchUpgradeMaintenanceActual:
durationHours: 0
enabled: false
startHour: 0
tz: string
weekDay: string
cidrPods: string
cidrService: string
clusterDns: string
controlPlanes: string
cpMultiAz: false
cpSubregions:
- string
description: string
disableApiTermination: false
name: string
projectId: string
quirks:
- string
tags:
string: string
timeouts:
create: string
delete: string
read: string
update: string
version: string
OksCluster Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The OksCluster resource accepts the following input properties:
- Admin
Whitelists List<string> - The list of CIDR blocks or IPs allowed to access the cluster via the Kubernetes API.
- Cidr
Pods string - The CIDR block for Kubernetes pods' network.
- Cidr
Service string - The CIDR block for the Kubernetes services' network.
- Project
Id string - The ID of the project in which you want to create a cluster.
- Version string
- The Kubernetes version to be deployed for the cluster. For more information, see GetKubernetesVersions.
- Admin
Lbu bool - If true, load balancer administration is enabled for cluster management. If false, it is disabled. By default, false.
- Admission
Flags OksCluster Admission Flags - The configuration for Kubernetes admission controllers.
- Auto
Maintenances OksCluster Auto Maintenances - The configurations for automated maintenance windows.
- Cluster
Dns string - The IP for the cluster's DNS service.
- Control
Planes string - The size of control plane deployment for the cluster. For more information, see About OKS > Control Planes. By default,
cp.3.masters.small
. - Cp
Multi boolAz - If true, multi-Subregion deployment is enabled for the control plane. If false, it is disabled. By default, false.
- Cp
Subregions List<string> - The list of Subregions where control plane components are deployed.
- Description string
- A description of the cluster.
- Disable
Api boolTermination - If true, cluster deletion through the API is disabled. If false, it is enabled. By default, false.
- Name string
- A unique name for the cluster within the project. Between 1 and 40 characters, this name must start with a letter and contain only lowercase letters, numbers, or hyphens.
- Quirks List<string>
- The list of special configurations or behaviors for the cluster.
- Dictionary<string, string>
- The key/value combinations of the tags associated with the cluster's metadata.
- Timeouts
Oks
Cluster Timeouts
- Admin
Whitelists []string - The list of CIDR blocks or IPs allowed to access the cluster via the Kubernetes API.
- Cidr
Pods string - The CIDR block for Kubernetes pods' network.
- Cidr
Service string - The CIDR block for the Kubernetes services' network.
- Project
Id string - The ID of the project in which you want to create a cluster.
- Version string
- The Kubernetes version to be deployed for the cluster. For more information, see GetKubernetesVersions.
- Admin
Lbu bool - If true, load balancer administration is enabled for cluster management. If false, it is disabled. By default, false.
- Admission
Flags OksCluster Admission Flags Args - The configuration for Kubernetes admission controllers.
- Auto
Maintenances OksCluster Auto Maintenances Args - The configurations for automated maintenance windows.
- Cluster
Dns string - The IP for the cluster's DNS service.
- Control
Planes string - The size of control plane deployment for the cluster. For more information, see About OKS > Control Planes. By default,
cp.3.masters.small
. - Cp
Multi boolAz - If true, multi-Subregion deployment is enabled for the control plane. If false, it is disabled. By default, false.
- Cp
Subregions []string - The list of Subregions where control plane components are deployed.
- Description string
- A description of the cluster.
- Disable
Api boolTermination - If true, cluster deletion through the API is disabled. If false, it is enabled. By default, false.
- Name string
- A unique name for the cluster within the project. Between 1 and 40 characters, this name must start with a letter and contain only lowercase letters, numbers, or hyphens.
- Quirks []string
- The list of special configurations or behaviors for the cluster.
- map[string]string
- The key/value combinations of the tags associated with the cluster's metadata.
- Timeouts
Oks
Cluster Timeouts Args
- admin
Whitelists List<String> - The list of CIDR blocks or IPs allowed to access the cluster via the Kubernetes API.
- cidr
Pods String - The CIDR block for Kubernetes pods' network.
- cidr
Service String - The CIDR block for the Kubernetes services' network.
- project
Id String - The ID of the project in which you want to create a cluster.
- version String
- The Kubernetes version to be deployed for the cluster. For more information, see GetKubernetesVersions.
- admin
Lbu Boolean - If true, load balancer administration is enabled for cluster management. If false, it is disabled. By default, false.
- admission
Flags OksCluster Admission Flags - The configuration for Kubernetes admission controllers.
- auto
Maintenances OksCluster Auto Maintenances - The configurations for automated maintenance windows.
- cluster
Dns String - The IP for the cluster's DNS service.
- control
Planes String - The size of control plane deployment for the cluster. For more information, see About OKS > Control Planes. By default,
cp.3.masters.small
. - cp
Multi BooleanAz - If true, multi-Subregion deployment is enabled for the control plane. If false, it is disabled. By default, false.
- cp
Subregions List<String> - The list of Subregions where control plane components are deployed.
- description String
- A description of the cluster.
- disable
Api BooleanTermination - If true, cluster deletion through the API is disabled. If false, it is enabled. By default, false.
- name String
- A unique name for the cluster within the project. Between 1 and 40 characters, this name must start with a letter and contain only lowercase letters, numbers, or hyphens.
- quirks List<String>
- The list of special configurations or behaviors for the cluster.
- Map<String,String>
- The key/value combinations of the tags associated with the cluster's metadata.
- timeouts
Oks
Cluster Timeouts
- admin
Whitelists string[] - The list of CIDR blocks or IPs allowed to access the cluster via the Kubernetes API.
- cidr
Pods string - The CIDR block for Kubernetes pods' network.
- cidr
Service string - The CIDR block for the Kubernetes services' network.
- project
Id string - The ID of the project in which you want to create a cluster.
- version string
- The Kubernetes version to be deployed for the cluster. For more information, see GetKubernetesVersions.
- admin
Lbu boolean - If true, load balancer administration is enabled for cluster management. If false, it is disabled. By default, false.
- admission
Flags OksCluster Admission Flags - The configuration for Kubernetes admission controllers.
- auto
Maintenances OksCluster Auto Maintenances - The configurations for automated maintenance windows.
- cluster
Dns string - The IP for the cluster's DNS service.
- control
Planes string - The size of control plane deployment for the cluster. For more information, see About OKS > Control Planes. By default,
cp.3.masters.small
. - cp
Multi booleanAz - If true, multi-Subregion deployment is enabled for the control plane. If false, it is disabled. By default, false.
- cp
Subregions string[] - The list of Subregions where control plane components are deployed.
- description string
- A description of the cluster.
- disable
Api booleanTermination - If true, cluster deletion through the API is disabled. If false, it is enabled. By default, false.
- name string
- A unique name for the cluster within the project. Between 1 and 40 characters, this name must start with a letter and contain only lowercase letters, numbers, or hyphens.
- quirks string[]
- The list of special configurations or behaviors for the cluster.
- {[key: string]: string}
- The key/value combinations of the tags associated with the cluster's metadata.
- timeouts
Oks
Cluster Timeouts
- admin_
whitelists Sequence[str] - The list of CIDR blocks or IPs allowed to access the cluster via the Kubernetes API.
- cidr_
pods str - The CIDR block for Kubernetes pods' network.
- cidr_
service str - The CIDR block for the Kubernetes services' network.
- project_
id str - The ID of the project in which you want to create a cluster.
- version str
- The Kubernetes version to be deployed for the cluster. For more information, see GetKubernetesVersions.
- admin_
lbu bool - If true, load balancer administration is enabled for cluster management. If false, it is disabled. By default, false.
- admission_
flags OksCluster Admission Flags Args - The configuration for Kubernetes admission controllers.
- auto_
maintenances OksCluster Auto Maintenances Args - The configurations for automated maintenance windows.
- cluster_
dns str - The IP for the cluster's DNS service.
- control_
planes str - The size of control plane deployment for the cluster. For more information, see About OKS > Control Planes. By default,
cp.3.masters.small
. - cp_
multi_ boolaz - If true, multi-Subregion deployment is enabled for the control plane. If false, it is disabled. By default, false.
- cp_
subregions Sequence[str] - The list of Subregions where control plane components are deployed.
- description str
- A description of the cluster.
- disable_
api_ booltermination - If true, cluster deletion through the API is disabled. If false, it is enabled. By default, false.
- name str
- A unique name for the cluster within the project. Between 1 and 40 characters, this name must start with a letter and contain only lowercase letters, numbers, or hyphens.
- quirks Sequence[str]
- The list of special configurations or behaviors for the cluster.
- Mapping[str, str]
- The key/value combinations of the tags associated with the cluster's metadata.
- timeouts
Oks
Cluster Timeouts Args
- admin
Whitelists List<String> - The list of CIDR blocks or IPs allowed to access the cluster via the Kubernetes API.
- cidr
Pods String - The CIDR block for Kubernetes pods' network.
- cidr
Service String - The CIDR block for the Kubernetes services' network.
- project
Id String - The ID of the project in which you want to create a cluster.
- version String
- The Kubernetes version to be deployed for the cluster. For more information, see GetKubernetesVersions.
- admin
Lbu Boolean - If true, load balancer administration is enabled for cluster management. If false, it is disabled. By default, false.
- admission
Flags Property Map - The configuration for Kubernetes admission controllers.
- auto
Maintenances Property Map - The configurations for automated maintenance windows.
- cluster
Dns String - The IP for the cluster's DNS service.
- control
Planes String - The size of control plane deployment for the cluster. For more information, see About OKS > Control Planes. By default,
cp.3.masters.small
. - cp
Multi BooleanAz - If true, multi-Subregion deployment is enabled for the control plane. If false, it is disabled. By default, false.
- cp
Subregions List<String> - The list of Subregions where control plane components are deployed.
- description String
- A description of the cluster.
- disable
Api BooleanTermination - If true, cluster deletion through the API is disabled. If false, it is enabled. By default, false.
- name String
- A unique name for the cluster within the project. Between 1 and 40 characters, this name must start with a letter and contain only lowercase letters, numbers, or hyphens.
- quirks List<String>
- The list of special configurations or behaviors for the cluster.
- Map<String>
- The key/value combinations of the tags associated with the cluster's metadata.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the OksCluster resource produces the following output properties:
- Cni string
- The Container Network Interface (CNI) used in the cluster.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kubeconfig string
- A file containing access configuration to the cluster.
- Request
Id string - The ID of the API request.
- Statuses
Oks
Cluster Statuses - The status information of the cluster.
- Cni string
- The Container Network Interface (CNI) used in the cluster.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kubeconfig string
- A file containing access configuration to the cluster.
- Request
Id string - The ID of the API request.
- Statuses
Oks
Cluster Statuses - The status information of the cluster.
- cni String
- The Container Network Interface (CNI) used in the cluster.
- id String
- The provider-assigned unique ID for this managed resource.
- kubeconfig String
- A file containing access configuration to the cluster.
- request
Id String - The ID of the API request.
- statuses
Oks
Cluster Statuses - The status information of the cluster.
- cni string
- The Container Network Interface (CNI) used in the cluster.
- id string
- The provider-assigned unique ID for this managed resource.
- kubeconfig string
- A file containing access configuration to the cluster.
- request
Id string - The ID of the API request.
- statuses
Oks
Cluster Statuses - The status information of the cluster.
- cni str
- The Container Network Interface (CNI) used in the cluster.
- id str
- The provider-assigned unique ID for this managed resource.
- kubeconfig str
- A file containing access configuration to the cluster.
- request_
id str - The ID of the API request.
- statuses
Oks
Cluster Statuses - The status information of the cluster.
- cni String
- The Container Network Interface (CNI) used in the cluster.
- id String
- The provider-assigned unique ID for this managed resource.
- kubeconfig String
- A file containing access configuration to the cluster.
- request
Id String - The ID of the API request.
- statuses Property Map
- The status information of the cluster.
Look up Existing OksCluster Resource
Get an existing OksCluster 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?: OksClusterState, opts?: CustomResourceOptions): OksCluster
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
admin_lbu: Optional[bool] = None,
admin_whitelists: Optional[Sequence[str]] = None,
admission_flags: Optional[OksClusterAdmissionFlagsArgs] = None,
auto_maintenances: Optional[OksClusterAutoMaintenancesArgs] = None,
cidr_pods: Optional[str] = None,
cidr_service: Optional[str] = None,
cluster_dns: Optional[str] = None,
cni: Optional[str] = None,
control_planes: Optional[str] = None,
cp_multi_az: Optional[bool] = None,
cp_subregions: Optional[Sequence[str]] = None,
description: Optional[str] = None,
disable_api_termination: Optional[bool] = None,
kubeconfig: Optional[str] = None,
name: Optional[str] = None,
project_id: Optional[str] = None,
quirks: Optional[Sequence[str]] = None,
request_id: Optional[str] = None,
statuses: Optional[OksClusterStatusesArgs] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[OksClusterTimeoutsArgs] = None,
version: Optional[str] = None) -> OksCluster
func GetOksCluster(ctx *Context, name string, id IDInput, state *OksClusterState, opts ...ResourceOption) (*OksCluster, error)
public static OksCluster Get(string name, Input<string> id, OksClusterState? state, CustomResourceOptions? opts = null)
public static OksCluster get(String name, Output<String> id, OksClusterState state, CustomResourceOptions options)
resources: _: type: outscale:OksCluster get: id: ${id}
- 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.
- Admin
Lbu bool - If true, load balancer administration is enabled for cluster management. If false, it is disabled. By default, false.
- Admin
Whitelists List<string> - The list of CIDR blocks or IPs allowed to access the cluster via the Kubernetes API.
- Admission
Flags OksCluster Admission Flags - The configuration for Kubernetes admission controllers.
- Auto
Maintenances OksCluster Auto Maintenances - The configurations for automated maintenance windows.
- Cidr
Pods string - The CIDR block for Kubernetes pods' network.
- Cidr
Service string - The CIDR block for the Kubernetes services' network.
- Cluster
Dns string - The IP for the cluster's DNS service.
- Cni string
- The Container Network Interface (CNI) used in the cluster.
- Control
Planes string - The size of control plane deployment for the cluster. For more information, see About OKS > Control Planes. By default,
cp.3.masters.small
. - Cp
Multi boolAz - If true, multi-Subregion deployment is enabled for the control plane. If false, it is disabled. By default, false.
- Cp
Subregions List<string> - The list of Subregions where control plane components are deployed.
- Description string
- A description of the cluster.
- Disable
Api boolTermination - If true, cluster deletion through the API is disabled. If false, it is enabled. By default, false.
- Kubeconfig string
- A file containing access configuration to the cluster.
- Name string
- A unique name for the cluster within the project. Between 1 and 40 characters, this name must start with a letter and contain only lowercase letters, numbers, or hyphens.
- Project
Id string - The ID of the project in which you want to create a cluster.
- Quirks List<string>
- The list of special configurations or behaviors for the cluster.
- Request
Id string - The ID of the API request.
- Statuses
Oks
Cluster Statuses - The status information of the cluster.
- Dictionary<string, string>
- The key/value combinations of the tags associated with the cluster's metadata.
- Timeouts
Oks
Cluster Timeouts - Version string
- The Kubernetes version to be deployed for the cluster. For more information, see GetKubernetesVersions.
- Admin
Lbu bool - If true, load balancer administration is enabled for cluster management. If false, it is disabled. By default, false.
- Admin
Whitelists []string - The list of CIDR blocks or IPs allowed to access the cluster via the Kubernetes API.
- Admission
Flags OksCluster Admission Flags Args - The configuration for Kubernetes admission controllers.
- Auto
Maintenances OksCluster Auto Maintenances Args - The configurations for automated maintenance windows.
- Cidr
Pods string - The CIDR block for Kubernetes pods' network.
- Cidr
Service string - The CIDR block for the Kubernetes services' network.
- Cluster
Dns string - The IP for the cluster's DNS service.
- Cni string
- The Container Network Interface (CNI) used in the cluster.
- Control
Planes string - The size of control plane deployment for the cluster. For more information, see About OKS > Control Planes. By default,
cp.3.masters.small
. - Cp
Multi boolAz - If true, multi-Subregion deployment is enabled for the control plane. If false, it is disabled. By default, false.
- Cp
Subregions []string - The list of Subregions where control plane components are deployed.
- Description string
- A description of the cluster.
- Disable
Api boolTermination - If true, cluster deletion through the API is disabled. If false, it is enabled. By default, false.
- Kubeconfig string
- A file containing access configuration to the cluster.
- Name string
- A unique name for the cluster within the project. Between 1 and 40 characters, this name must start with a letter and contain only lowercase letters, numbers, or hyphens.
- Project
Id string - The ID of the project in which you want to create a cluster.
- Quirks []string
- The list of special configurations or behaviors for the cluster.
- Request
Id string - The ID of the API request.
- Statuses
Oks
Cluster Statuses Args - The status information of the cluster.
- map[string]string
- The key/value combinations of the tags associated with the cluster's metadata.
- Timeouts
Oks
Cluster Timeouts Args - Version string
- The Kubernetes version to be deployed for the cluster. For more information, see GetKubernetesVersions.
- admin
Lbu Boolean - If true, load balancer administration is enabled for cluster management. If false, it is disabled. By default, false.
- admin
Whitelists List<String> - The list of CIDR blocks or IPs allowed to access the cluster via the Kubernetes API.
- admission
Flags OksCluster Admission Flags - The configuration for Kubernetes admission controllers.
- auto
Maintenances OksCluster Auto Maintenances - The configurations for automated maintenance windows.
- cidr
Pods String - The CIDR block for Kubernetes pods' network.
- cidr
Service String - The CIDR block for the Kubernetes services' network.
- cluster
Dns String - The IP for the cluster's DNS service.
- cni String
- The Container Network Interface (CNI) used in the cluster.
- control
Planes String - The size of control plane deployment for the cluster. For more information, see About OKS > Control Planes. By default,
cp.3.masters.small
. - cp
Multi BooleanAz - If true, multi-Subregion deployment is enabled for the control plane. If false, it is disabled. By default, false.
- cp
Subregions List<String> - The list of Subregions where control plane components are deployed.
- description String
- A description of the cluster.
- disable
Api BooleanTermination - If true, cluster deletion through the API is disabled. If false, it is enabled. By default, false.
- kubeconfig String
- A file containing access configuration to the cluster.
- name String
- A unique name for the cluster within the project. Between 1 and 40 characters, this name must start with a letter and contain only lowercase letters, numbers, or hyphens.
- project
Id String - The ID of the project in which you want to create a cluster.
- quirks List<String>
- The list of special configurations or behaviors for the cluster.
- request
Id String - The ID of the API request.
- statuses
Oks
Cluster Statuses - The status information of the cluster.
- Map<String,String>
- The key/value combinations of the tags associated with the cluster's metadata.
- timeouts
Oks
Cluster Timeouts - version String
- The Kubernetes version to be deployed for the cluster. For more information, see GetKubernetesVersions.
- admin
Lbu boolean - If true, load balancer administration is enabled for cluster management. If false, it is disabled. By default, false.
- admin
Whitelists string[] - The list of CIDR blocks or IPs allowed to access the cluster via the Kubernetes API.
- admission
Flags OksCluster Admission Flags - The configuration for Kubernetes admission controllers.
- auto
Maintenances OksCluster Auto Maintenances - The configurations for automated maintenance windows.
- cidr
Pods string - The CIDR block for Kubernetes pods' network.
- cidr
Service string - The CIDR block for the Kubernetes services' network.
- cluster
Dns string - The IP for the cluster's DNS service.
- cni string
- The Container Network Interface (CNI) used in the cluster.
- control
Planes string - The size of control plane deployment for the cluster. For more information, see About OKS > Control Planes. By default,
cp.3.masters.small
. - cp
Multi booleanAz - If true, multi-Subregion deployment is enabled for the control plane. If false, it is disabled. By default, false.
- cp
Subregions string[] - The list of Subregions where control plane components are deployed.
- description string
- A description of the cluster.
- disable
Api booleanTermination - If true, cluster deletion through the API is disabled. If false, it is enabled. By default, false.
- kubeconfig string
- A file containing access configuration to the cluster.
- name string
- A unique name for the cluster within the project. Between 1 and 40 characters, this name must start with a letter and contain only lowercase letters, numbers, or hyphens.
- project
Id string - The ID of the project in which you want to create a cluster.
- quirks string[]
- The list of special configurations or behaviors for the cluster.
- request
Id string - The ID of the API request.
- statuses
Oks
Cluster Statuses - The status information of the cluster.
- {[key: string]: string}
- The key/value combinations of the tags associated with the cluster's metadata.
- timeouts
Oks
Cluster Timeouts - version string
- The Kubernetes version to be deployed for the cluster. For more information, see GetKubernetesVersions.
- admin_
lbu bool - If true, load balancer administration is enabled for cluster management. If false, it is disabled. By default, false.
- admin_
whitelists Sequence[str] - The list of CIDR blocks or IPs allowed to access the cluster via the Kubernetes API.
- admission_
flags OksCluster Admission Flags Args - The configuration for Kubernetes admission controllers.
- auto_
maintenances OksCluster Auto Maintenances Args - The configurations for automated maintenance windows.
- cidr_
pods str - The CIDR block for Kubernetes pods' network.
- cidr_
service str - The CIDR block for the Kubernetes services' network.
- cluster_
dns str - The IP for the cluster's DNS service.
- cni str
- The Container Network Interface (CNI) used in the cluster.
- control_
planes str - The size of control plane deployment for the cluster. For more information, see About OKS > Control Planes. By default,
cp.3.masters.small
. - cp_
multi_ boolaz - If true, multi-Subregion deployment is enabled for the control plane. If false, it is disabled. By default, false.
- cp_
subregions Sequence[str] - The list of Subregions where control plane components are deployed.
- description str
- A description of the cluster.
- disable_
api_ booltermination - If true, cluster deletion through the API is disabled. If false, it is enabled. By default, false.
- kubeconfig str
- A file containing access configuration to the cluster.
- name str
- A unique name for the cluster within the project. Between 1 and 40 characters, this name must start with a letter and contain only lowercase letters, numbers, or hyphens.
- project_
id str - The ID of the project in which you want to create a cluster.
- quirks Sequence[str]
- The list of special configurations or behaviors for the cluster.
- request_
id str - The ID of the API request.
- statuses
Oks
Cluster Statuses Args - The status information of the cluster.
- Mapping[str, str]
- The key/value combinations of the tags associated with the cluster's metadata.
- timeouts
Oks
Cluster Timeouts Args - version str
- The Kubernetes version to be deployed for the cluster. For more information, see GetKubernetesVersions.
- admin
Lbu Boolean - If true, load balancer administration is enabled for cluster management. If false, it is disabled. By default, false.
- admin
Whitelists List<String> - The list of CIDR blocks or IPs allowed to access the cluster via the Kubernetes API.
- admission
Flags Property Map - The configuration for Kubernetes admission controllers.
- auto
Maintenances Property Map - The configurations for automated maintenance windows.
- cidr
Pods String - The CIDR block for Kubernetes pods' network.
- cidr
Service String - The CIDR block for the Kubernetes services' network.
- cluster
Dns String - The IP for the cluster's DNS service.
- cni String
- The Container Network Interface (CNI) used in the cluster.
- control
Planes String - The size of control plane deployment for the cluster. For more information, see About OKS > Control Planes. By default,
cp.3.masters.small
. - cp
Multi BooleanAz - If true, multi-Subregion deployment is enabled for the control plane. If false, it is disabled. By default, false.
- cp
Subregions List<String> - The list of Subregions where control plane components are deployed.
- description String
- A description of the cluster.
- disable
Api BooleanTermination - If true, cluster deletion through the API is disabled. If false, it is enabled. By default, false.
- kubeconfig String
- A file containing access configuration to the cluster.
- name String
- A unique name for the cluster within the project. Between 1 and 40 characters, this name must start with a letter and contain only lowercase letters, numbers, or hyphens.
- project
Id String - The ID of the project in which you want to create a cluster.
- quirks List<String>
- The list of special configurations or behaviors for the cluster.
- request
Id String - The ID of the API request.
- statuses Property Map
- The status information of the cluster.
- Map<String>
- The key/value combinations of the tags associated with the cluster's metadata.
- timeouts Property Map
- version String
- The Kubernetes version to be deployed for the cluster. For more information, see GetKubernetesVersions.
Supporting Types
OksClusterAdmissionFlags, OksClusterAdmissionFlagsArgs
- Applied
Admission List<string>Plugins - The list of admission plugins that are currently applied to the cluster.
- Disable
Admission List<string>Plugins - The list of Kubernetes admission plugins to disable.
- Disable
Admission List<string>Plugins Actuals - The list of Kubernetes admission plugins that are disabled.
- Enable
Admission List<string>Plugins - The list of Kubernetes admission plugins to enable.
- Enable
Admission List<string>Plugins Actuals - The list of Kubernetes admission plugins that are enabled.
- Applied
Admission []stringPlugins - The list of admission plugins that are currently applied to the cluster.
- Disable
Admission []stringPlugins - The list of Kubernetes admission plugins to disable.
- Disable
Admission []stringPlugins Actuals - The list of Kubernetes admission plugins that are disabled.
- Enable
Admission []stringPlugins - The list of Kubernetes admission plugins to enable.
- Enable
Admission []stringPlugins Actuals - The list of Kubernetes admission plugins that are enabled.
- applied
Admission List<String>Plugins - The list of admission plugins that are currently applied to the cluster.
- disable
Admission List<String>Plugins - The list of Kubernetes admission plugins to disable.
- disable
Admission List<String>Plugins Actuals - The list of Kubernetes admission plugins that are disabled.
- enable
Admission List<String>Plugins - The list of Kubernetes admission plugins to enable.
- enable
Admission List<String>Plugins Actuals - The list of Kubernetes admission plugins that are enabled.
- applied
Admission string[]Plugins - The list of admission plugins that are currently applied to the cluster.
- disable
Admission string[]Plugins - The list of Kubernetes admission plugins to disable.
- disable
Admission string[]Plugins Actuals - The list of Kubernetes admission plugins that are disabled.
- enable
Admission string[]Plugins - The list of Kubernetes admission plugins to enable.
- enable
Admission string[]Plugins Actuals - The list of Kubernetes admission plugins that are enabled.
- applied_
admission_ Sequence[str]plugins - The list of admission plugins that are currently applied to the cluster.
- disable_
admission_ Sequence[str]plugins - The list of Kubernetes admission plugins to disable.
- disable_
admission_ Sequence[str]plugins_ actuals - The list of Kubernetes admission plugins that are disabled.
- enable_
admission_ Sequence[str]plugins - The list of Kubernetes admission plugins to enable.
- enable_
admission_ Sequence[str]plugins_ actuals - The list of Kubernetes admission plugins that are enabled.
- applied
Admission List<String>Plugins - The list of admission plugins that are currently applied to the cluster.
- disable
Admission List<String>Plugins - The list of Kubernetes admission plugins to disable.
- disable
Admission List<String>Plugins Actuals - The list of Kubernetes admission plugins that are disabled.
- enable
Admission List<String>Plugins - The list of Kubernetes admission plugins to enable.
- enable
Admission List<String>Plugins Actuals - The list of Kubernetes admission plugins that are enabled.
OksClusterAutoMaintenances, OksClusterAutoMaintenancesArgs
- Minor
Upgrade OksMaintenance Cluster Auto Maintenances Minor Upgrade Maintenance - The maintenance window configuration for minor Kubernetes upgrades.
- Minor
Upgrade OksMaintenance Actual Cluster Auto Maintenances Minor Upgrade Maintenance Actual - The maintenance window configuration for minor Kubernetes upgrades.
- Patch
Upgrade OksMaintenance Cluster Auto Maintenances Patch Upgrade Maintenance - The maintenance window configuration for patch Kubernetes upgrades.
- Patch
Upgrade OksMaintenance Actual Cluster Auto Maintenances Patch Upgrade Maintenance Actual - The maintenance window configuration for minor Kubernetes upgrades.
- Minor
Upgrade OksMaintenance Cluster Auto Maintenances Minor Upgrade Maintenance - The maintenance window configuration for minor Kubernetes upgrades.
- Minor
Upgrade OksMaintenance Actual Cluster Auto Maintenances Minor Upgrade Maintenance Actual - The maintenance window configuration for minor Kubernetes upgrades.
- Patch
Upgrade OksMaintenance Cluster Auto Maintenances Patch Upgrade Maintenance - The maintenance window configuration for patch Kubernetes upgrades.
- Patch
Upgrade OksMaintenance Actual Cluster Auto Maintenances Patch Upgrade Maintenance Actual - The maintenance window configuration for minor Kubernetes upgrades.
- minor
Upgrade OksMaintenance Cluster Auto Maintenances Minor Upgrade Maintenance - The maintenance window configuration for minor Kubernetes upgrades.
- minor
Upgrade OksMaintenance Actual Cluster Auto Maintenances Minor Upgrade Maintenance Actual - The maintenance window configuration for minor Kubernetes upgrades.
- patch
Upgrade OksMaintenance Cluster Auto Maintenances Patch Upgrade Maintenance - The maintenance window configuration for patch Kubernetes upgrades.
- patch
Upgrade OksMaintenance Actual Cluster Auto Maintenances Patch Upgrade Maintenance Actual - The maintenance window configuration for minor Kubernetes upgrades.
- minor
Upgrade OksMaintenance Cluster Auto Maintenances Minor Upgrade Maintenance - The maintenance window configuration for minor Kubernetes upgrades.
- minor
Upgrade OksMaintenance Actual Cluster Auto Maintenances Minor Upgrade Maintenance Actual - The maintenance window configuration for minor Kubernetes upgrades.
- patch
Upgrade OksMaintenance Cluster Auto Maintenances Patch Upgrade Maintenance - The maintenance window configuration for patch Kubernetes upgrades.
- patch
Upgrade OksMaintenance Actual Cluster Auto Maintenances Patch Upgrade Maintenance Actual - The maintenance window configuration for minor Kubernetes upgrades.
- minor_
upgrade_ Oksmaintenance Cluster Auto Maintenances Minor Upgrade Maintenance - The maintenance window configuration for minor Kubernetes upgrades.
- minor_
upgrade_ Oksmaintenance_ actual Cluster Auto Maintenances Minor Upgrade Maintenance Actual - The maintenance window configuration for minor Kubernetes upgrades.
- patch_
upgrade_ Oksmaintenance Cluster Auto Maintenances Patch Upgrade Maintenance - The maintenance window configuration for patch Kubernetes upgrades.
- patch_
upgrade_ Oksmaintenance_ actual Cluster Auto Maintenances Patch Upgrade Maintenance Actual - The maintenance window configuration for minor Kubernetes upgrades.
- minor
Upgrade Property MapMaintenance - The maintenance window configuration for minor Kubernetes upgrades.
- minor
Upgrade Property MapMaintenance Actual - The maintenance window configuration for minor Kubernetes upgrades.
- patch
Upgrade Property MapMaintenance - The maintenance window configuration for patch Kubernetes upgrades.
- patch
Upgrade Property MapMaintenance Actual - The maintenance window configuration for minor Kubernetes upgrades.
OksClusterAutoMaintenancesMinorUpgradeMaintenance, OksClusterAutoMaintenancesMinorUpgradeMaintenanceArgs
- Duration
Hours double - The duration of the maintenance window, in hours. By default,
0
. - Enabled bool
- If true, a maintenance window is enabled. By default, true.
- Start
Hour double - The starting time of the maintenance window, in hours. By default,
12
. - Tz string
- The timezone for the maintenance window. By default,
UTC
. - Week
Day string - The weekday on which the maintenance window begins (
Mon
|Tue
|Wed
|Thu
|Fri
|Sat
|Sun
). By default,Tue
.
- Duration
Hours float64 - The duration of the maintenance window, in hours. By default,
0
. - Enabled bool
- If true, a maintenance window is enabled. By default, true.
- Start
Hour float64 - The starting time of the maintenance window, in hours. By default,
12
. - Tz string
- The timezone for the maintenance window. By default,
UTC
. - Week
Day string - The weekday on which the maintenance window begins (
Mon
|Tue
|Wed
|Thu
|Fri
|Sat
|Sun
). By default,Tue
.
- duration
Hours Double - The duration of the maintenance window, in hours. By default,
0
. - enabled Boolean
- If true, a maintenance window is enabled. By default, true.
- start
Hour Double - The starting time of the maintenance window, in hours. By default,
12
. - tz String
- The timezone for the maintenance window. By default,
UTC
. - week
Day String - The weekday on which the maintenance window begins (
Mon
|Tue
|Wed
|Thu
|Fri
|Sat
|Sun
). By default,Tue
.
- duration
Hours number - The duration of the maintenance window, in hours. By default,
0
. - enabled boolean
- If true, a maintenance window is enabled. By default, true.
- start
Hour number - The starting time of the maintenance window, in hours. By default,
12
. - tz string
- The timezone for the maintenance window. By default,
UTC
. - week
Day string - The weekday on which the maintenance window begins (
Mon
|Tue
|Wed
|Thu
|Fri
|Sat
|Sun
). By default,Tue
.
- duration_
hours float - The duration of the maintenance window, in hours. By default,
0
. - enabled bool
- If true, a maintenance window is enabled. By default, true.
- start_
hour float - The starting time of the maintenance window, in hours. By default,
12
. - tz str
- The timezone for the maintenance window. By default,
UTC
. - week_
day str - The weekday on which the maintenance window begins (
Mon
|Tue
|Wed
|Thu
|Fri
|Sat
|Sun
). By default,Tue
.
- duration
Hours Number - The duration of the maintenance window, in hours. By default,
0
. - enabled Boolean
- If true, a maintenance window is enabled. By default, true.
- start
Hour Number - The starting time of the maintenance window, in hours. By default,
12
. - tz String
- The timezone for the maintenance window. By default,
UTC
. - week
Day String - The weekday on which the maintenance window begins (
Mon
|Tue
|Wed
|Thu
|Fri
|Sat
|Sun
). By default,Tue
.
OksClusterAutoMaintenancesMinorUpgradeMaintenanceActual, OksClusterAutoMaintenancesMinorUpgradeMaintenanceActualArgs
- Duration
Hours double - Enabled bool
- Start
Hour double - Tz string
- Week
Day string
- Duration
Hours float64 - Enabled bool
- Start
Hour float64 - Tz string
- Week
Day string
- duration
Hours Double - enabled Boolean
- start
Hour Double - tz String
- week
Day String
- duration
Hours number - enabled boolean
- start
Hour number - tz string
- week
Day string
- duration_
hours float - enabled bool
- start_
hour float - tz str
- week_
day str
- duration
Hours Number - enabled Boolean
- start
Hour Number - tz String
- week
Day String
OksClusterAutoMaintenancesPatchUpgradeMaintenance, OksClusterAutoMaintenancesPatchUpgradeMaintenanceArgs
- Duration
Hours double - The duration of the maintenance window, in hours. By default,
0
. - Enabled bool
- If true, a maintenance window is enabled. By default, true.
- Start
Hour double - The starting time of the maintenance window, in hours. By default,
12
. - Tz string
- The timezone for the maintenance window. By default,
UTC
. - Week
Day string - The weekday on which the maintenance window begins (
Mon
|Tue
|Wed
|Thu
|Fri
|Sat
|Sun
). By default,Tue
.
- Duration
Hours float64 - The duration of the maintenance window, in hours. By default,
0
. - Enabled bool
- If true, a maintenance window is enabled. By default, true.
- Start
Hour float64 - The starting time of the maintenance window, in hours. By default,
12
. - Tz string
- The timezone for the maintenance window. By default,
UTC
. - Week
Day string - The weekday on which the maintenance window begins (
Mon
|Tue
|Wed
|Thu
|Fri
|Sat
|Sun
). By default,Tue
.
- duration
Hours Double - The duration of the maintenance window, in hours. By default,
0
. - enabled Boolean
- If true, a maintenance window is enabled. By default, true.
- start
Hour Double - The starting time of the maintenance window, in hours. By default,
12
. - tz String
- The timezone for the maintenance window. By default,
UTC
. - week
Day String - The weekday on which the maintenance window begins (
Mon
|Tue
|Wed
|Thu
|Fri
|Sat
|Sun
). By default,Tue
.
- duration
Hours number - The duration of the maintenance window, in hours. By default,
0
. - enabled boolean
- If true, a maintenance window is enabled. By default, true.
- start
Hour number - The starting time of the maintenance window, in hours. By default,
12
. - tz string
- The timezone for the maintenance window. By default,
UTC
. - week
Day string - The weekday on which the maintenance window begins (
Mon
|Tue
|Wed
|Thu
|Fri
|Sat
|Sun
). By default,Tue
.
- duration_
hours float - The duration of the maintenance window, in hours. By default,
0
. - enabled bool
- If true, a maintenance window is enabled. By default, true.
- start_
hour float - The starting time of the maintenance window, in hours. By default,
12
. - tz str
- The timezone for the maintenance window. By default,
UTC
. - week_
day str - The weekday on which the maintenance window begins (
Mon
|Tue
|Wed
|Thu
|Fri
|Sat
|Sun
). By default,Tue
.
- duration
Hours Number - The duration of the maintenance window, in hours. By default,
0
. - enabled Boolean
- If true, a maintenance window is enabled. By default, true.
- start
Hour Number - The starting time of the maintenance window, in hours. By default,
12
. - tz String
- The timezone for the maintenance window. By default,
UTC
. - week
Day String - The weekday on which the maintenance window begins (
Mon
|Tue
|Wed
|Thu
|Fri
|Sat
|Sun
). By default,Tue
.
OksClusterAutoMaintenancesPatchUpgradeMaintenanceActual, OksClusterAutoMaintenancesPatchUpgradeMaintenanceActualArgs
- Duration
Hours double - Enabled bool
- Start
Hour double - Tz string
- Week
Day string
- Duration
Hours float64 - Enabled bool
- Start
Hour float64 - Tz string
- Week
Day string
- duration
Hours Double - enabled Boolean
- start
Hour Double - tz String
- week
Day String
- duration
Hours number - enabled boolean
- start
Hour number - tz string
- week
Day string
- duration_
hours float - enabled bool
- start_
hour float - tz str
- week_
day str
- duration
Hours Number - enabled Boolean
- start
Hour Number - tz String
- week
Day String
OksClusterStatuses, OksClusterStatusesArgs
- Available
Upgrade string - Any available version of Kubernetes for upgrade (if applicable). For more information, see GetKubernetesVersions.
- Created
At string - The timestamp when the cluster was created (date-time).
- Deleted
At string - The timestamp when the cluster was deleted (if applicable) (date-time).
- Status string
- The status of the cluster.
- Updated
At string - The timestamp when the cluster was last updated (date-time).
- Available
Upgrade string - Any available version of Kubernetes for upgrade (if applicable). For more information, see GetKubernetesVersions.
- Created
At string - The timestamp when the cluster was created (date-time).
- Deleted
At string - The timestamp when the cluster was deleted (if applicable) (date-time).
- Status string
- The status of the cluster.
- Updated
At string - The timestamp when the cluster was last updated (date-time).
- available
Upgrade String - Any available version of Kubernetes for upgrade (if applicable). For more information, see GetKubernetesVersions.
- created
At String - The timestamp when the cluster was created (date-time).
- deleted
At String - The timestamp when the cluster was deleted (if applicable) (date-time).
- status String
- The status of the cluster.
- updated
At String - The timestamp when the cluster was last updated (date-time).
- available
Upgrade string - Any available version of Kubernetes for upgrade (if applicable). For more information, see GetKubernetesVersions.
- created
At string - The timestamp when the cluster was created (date-time).
- deleted
At string - The timestamp when the cluster was deleted (if applicable) (date-time).
- status string
- The status of the cluster.
- updated
At string - The timestamp when the cluster was last updated (date-time).
- available_
upgrade str - Any available version of Kubernetes for upgrade (if applicable). For more information, see GetKubernetesVersions.
- created_
at str - The timestamp when the cluster was created (date-time).
- deleted_
at str - The timestamp when the cluster was deleted (if applicable) (date-time).
- status str
- The status of the cluster.
- updated_
at str - The timestamp when the cluster was last updated (date-time).
- available
Upgrade String - Any available version of Kubernetes for upgrade (if applicable). For more information, see GetKubernetesVersions.
- created
At String - The timestamp when the cluster was created (date-time).
- deleted
At String - The timestamp when the cluster was deleted (if applicable) (date-time).
- status String
- The status of the cluster.
- updated
At String - The timestamp when the cluster was last updated (date-time).
OksClusterTimeouts, OksClusterTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Import
An OKS cluster can be imported using its ID. For example:
console
$ pulumi import outscale:index/oksCluster:OksCluster cluster id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- outscale outscale/terraform-provider-outscale
- License
- Notes
- This Pulumi package is based on the
outscale
Terraform Provider.