ionoscloud.dsaas.getCluster
Explore with Pulumi AI
The Dataplatform Cluster Data Source can be used to search for and return an existing Dataplatform Cluster. If a single match is found, it will be returned. If your search results in multiple matches, an error will be returned. When this happens, please refine your search and make sure that your resources have unique names.
Example Usage
By ID
import * as pulumi from "@pulumi/pulumi";
import * as ionoscloud from "@pulumi/ionoscloud";
const example = ionoscloud.dsaas.getCluster({
id: "cluster_id",
});
import pulumi
import pulumi_ionoscloud as ionoscloud
example = ionoscloud.dsaas.get_cluster(id="cluster_id")
package main
import (
"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dsaas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dsaas.LookupCluster(ctx, &dsaas.LookupClusterArgs{
Id: pulumi.StringRef("cluster_id"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ionoscloud = Pulumi.Ionoscloud;
return await Deployment.RunAsync(() =>
{
var example = Ionoscloud.Dsaas.GetCluster.Invoke(new()
{
Id = "cluster_id",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ionoscloud.dsaas.DsaasFunctions;
import com.pulumi.ionoscloud.dsaas.inputs.GetClusterArgs;
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) {
final var example = DsaasFunctions.getCluster(GetClusterArgs.builder()
.id("cluster_id")
.build());
}
}
variables:
example:
fn::invoke:
function: ionoscloud:dsaas:getCluster
arguments:
id: cluster_id
By Name
import * as pulumi from "@pulumi/pulumi";
import * as ionoscloud from "@pulumi/ionoscloud";
const example = ionoscloud.dsaas.getCluster({
name: "Dataplatform_Cluster_Example",
});
import pulumi
import pulumi_ionoscloud as ionoscloud
example = ionoscloud.dsaas.get_cluster(name="Dataplatform_Cluster_Example")
package main
import (
"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dsaas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dsaas.LookupCluster(ctx, &dsaas.LookupClusterArgs{
Name: pulumi.StringRef("Dataplatform_Cluster_Example"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ionoscloud = Pulumi.Ionoscloud;
return await Deployment.RunAsync(() =>
{
var example = Ionoscloud.Dsaas.GetCluster.Invoke(new()
{
Name = "Dataplatform_Cluster_Example",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ionoscloud.dsaas.DsaasFunctions;
import com.pulumi.ionoscloud.dsaas.inputs.GetClusterArgs;
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) {
final var example = DsaasFunctions.getCluster(GetClusterArgs.builder()
.name("Dataplatform_Cluster_Example")
.build());
}
}
variables:
example:
fn::invoke:
function: ionoscloud:dsaas:getCluster
arguments:
name: Dataplatform_Cluster_Example
By Name with Partial Match
import * as pulumi from "@pulumi/pulumi";
import * as ionoscloud from "@pulumi/ionoscloud";
const example = ionoscloud.dsaas.getCluster({
name: "_Example",
partialMatch: true,
});
import pulumi
import pulumi_ionoscloud as ionoscloud
example = ionoscloud.dsaas.get_cluster(name="_Example",
partial_match=True)
package main
import (
"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dsaas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dsaas.LookupCluster(ctx, &dsaas.LookupClusterArgs{
Name: pulumi.StringRef("_Example"),
PartialMatch: pulumi.BoolRef(true),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ionoscloud = Pulumi.Ionoscloud;
return await Deployment.RunAsync(() =>
{
var example = Ionoscloud.Dsaas.GetCluster.Invoke(new()
{
Name = "_Example",
PartialMatch = true,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ionoscloud.dsaas.DsaasFunctions;
import com.pulumi.ionoscloud.dsaas.inputs.GetClusterArgs;
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) {
final var example = DsaasFunctions.getCluster(GetClusterArgs.builder()
.name("_Example")
.partialMatch(true)
.build());
}
}
variables:
example:
fn::invoke:
function: ionoscloud:dsaas:getCluster
arguments:
name: _Example
partialMatch: true
Example of accessing a Dataplatform Cluster using the user’s token
import * as pulumi from "@pulumi/pulumi";
import * as ionoscloud from "@ionos-cloud/sdk-pulumi";
import * as ionoscloud from "@pulumi/ionoscloud";
const exampleCluster = new ionoscloud.dsaas.Cluster("example", {
datacenterId: exampleIonoscloudDatacenter.id,
name: "Dataplatform_Cluster_Example",
maintenanceWindows: [{
dayOfTheWeek: "Sunday",
time: "09:00:00",
}],
version: "23.7",
});
const example = ionoscloud.dsaas.getCluster({
name: "Dataplatform_Cluster_Example",
});
import pulumi
import pulumi_ionoscloud as ionoscloud
example_cluster = ionoscloud.dsaas.Cluster("example",
datacenter_id=example_ionoscloud_datacenter["id"],
name="Dataplatform_Cluster_Example",
maintenance_windows=[{
"day_of_the_week": "Sunday",
"time": "09:00:00",
}],
version="23.7")
example = ionoscloud.dsaas.get_cluster(name="Dataplatform_Cluster_Example")
package main
import (
"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dsaas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dsaas.NewCluster(ctx, "example", &dsaas.ClusterArgs{
DatacenterId: pulumi.Any(exampleIonoscloudDatacenter.Id),
Name: pulumi.String("Dataplatform_Cluster_Example"),
MaintenanceWindows: dsaas.ClusterMaintenanceWindowArray{
&dsaas.ClusterMaintenanceWindowArgs{
DayOfTheWeek: pulumi.String("Sunday"),
Time: pulumi.String("09:00:00"),
},
},
Version: pulumi.String("23.7"),
})
if err != nil {
return err
}
_, err = dsaas.LookupCluster(ctx, &dsaas.LookupClusterArgs{
Name: pulumi.StringRef("Dataplatform_Cluster_Example"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ionoscloud = Ionoscloud.Pulumi.Ionoscloud;
using Ionoscloud = Pulumi.Ionoscloud;
return await Deployment.RunAsync(() =>
{
var exampleCluster = new Ionoscloud.Dsaas.Cluster("example", new()
{
DatacenterId = exampleIonoscloudDatacenter.Id,
Name = "Dataplatform_Cluster_Example",
MaintenanceWindows = new[]
{
new Ionoscloud.Dsaas.Inputs.ClusterMaintenanceWindowArgs
{
DayOfTheWeek = "Sunday",
Time = "09:00:00",
},
},
Version = "23.7",
});
var example = Ionoscloud.Dsaas.GetCluster.Invoke(new()
{
Name = "Dataplatform_Cluster_Example",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ionoscloud.dsaas.Cluster;
import com.pulumi.ionoscloud.dsaas.ClusterArgs;
import com.pulumi.ionoscloud.dsaas.inputs.ClusterMaintenanceWindowArgs;
import com.pulumi.ionoscloud.dsaas.DsaasFunctions;
import com.pulumi.ionoscloud.dsaas.inputs.GetClusterArgs;
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 exampleCluster = new Cluster("exampleCluster", ClusterArgs.builder()
.datacenterId(exampleIonoscloudDatacenter.id())
.name("Dataplatform_Cluster_Example")
.maintenanceWindows(ClusterMaintenanceWindowArgs.builder()
.dayOfTheWeek("Sunday")
.time("09:00:00")
.build())
.version("23.7")
.build());
final var example = DsaasFunctions.getCluster(GetClusterArgs.builder()
.name("Dataplatform_Cluster_Example")
.build());
}
}
resources:
exampleCluster:
type: ionoscloud:dsaas:Cluster
name: example
properties:
datacenterId: ${exampleIonoscloudDatacenter.id}
name: Dataplatform_Cluster_Example
maintenanceWindows:
- dayOfTheWeek: Sunday
time: 09:00:00
version: '23.7'
variables:
example:
fn::invoke:
function: ionoscloud:dsaas:getCluster
arguments:
name: Dataplatform_Cluster_Example
Example of accessing a kubernetes cluster using the token from the config
import * as pulumi from "@pulumi/pulumi";
import * as ionoscloud from "@ionos-cloud/sdk-pulumi";
import * as ionoscloud from "@pulumi/ionoscloud";
const exampleCluster = new ionoscloud.dsaas.Cluster("example", {
datacenterId: exampleIonoscloudDatacenter.id,
name: "Dataplatform_Cluster_Example",
maintenanceWindows: [{
dayOfTheWeek: "Sunday",
time: "09:00:00",
}],
version: "23.7",
});
const example = ionoscloud.dsaas.getCluster({
name: "Dataplatform_Cluster_Example",
});
import pulumi
import pulumi_ionoscloud as ionoscloud
example_cluster = ionoscloud.dsaas.Cluster("example",
datacenter_id=example_ionoscloud_datacenter["id"],
name="Dataplatform_Cluster_Example",
maintenance_windows=[{
"day_of_the_week": "Sunday",
"time": "09:00:00",
}],
version="23.7")
example = ionoscloud.dsaas.get_cluster(name="Dataplatform_Cluster_Example")
package main
import (
"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dsaas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dsaas.NewCluster(ctx, "example", &dsaas.ClusterArgs{
DatacenterId: pulumi.Any(exampleIonoscloudDatacenter.Id),
Name: pulumi.String("Dataplatform_Cluster_Example"),
MaintenanceWindows: dsaas.ClusterMaintenanceWindowArray{
&dsaas.ClusterMaintenanceWindowArgs{
DayOfTheWeek: pulumi.String("Sunday"),
Time: pulumi.String("09:00:00"),
},
},
Version: pulumi.String("23.7"),
})
if err != nil {
return err
}
_, err = dsaas.LookupCluster(ctx, &dsaas.LookupClusterArgs{
Name: pulumi.StringRef("Dataplatform_Cluster_Example"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ionoscloud = Ionoscloud.Pulumi.Ionoscloud;
using Ionoscloud = Pulumi.Ionoscloud;
return await Deployment.RunAsync(() =>
{
var exampleCluster = new Ionoscloud.Dsaas.Cluster("example", new()
{
DatacenterId = exampleIonoscloudDatacenter.Id,
Name = "Dataplatform_Cluster_Example",
MaintenanceWindows = new[]
{
new Ionoscloud.Dsaas.Inputs.ClusterMaintenanceWindowArgs
{
DayOfTheWeek = "Sunday",
Time = "09:00:00",
},
},
Version = "23.7",
});
var example = Ionoscloud.Dsaas.GetCluster.Invoke(new()
{
Name = "Dataplatform_Cluster_Example",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ionoscloud.dsaas.Cluster;
import com.pulumi.ionoscloud.dsaas.ClusterArgs;
import com.pulumi.ionoscloud.dsaas.inputs.ClusterMaintenanceWindowArgs;
import com.pulumi.ionoscloud.dsaas.DsaasFunctions;
import com.pulumi.ionoscloud.dsaas.inputs.GetClusterArgs;
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 exampleCluster = new Cluster("exampleCluster", ClusterArgs.builder()
.datacenterId(exampleIonoscloudDatacenter.id())
.name("Dataplatform_Cluster_Example")
.maintenanceWindows(ClusterMaintenanceWindowArgs.builder()
.dayOfTheWeek("Sunday")
.time("09:00:00")
.build())
.version("23.7")
.build());
final var example = DsaasFunctions.getCluster(GetClusterArgs.builder()
.name("Dataplatform_Cluster_Example")
.build());
}
}
resources:
exampleCluster:
type: ionoscloud:dsaas:Cluster
name: example
properties:
datacenterId: ${exampleIonoscloudDatacenter.id}
name: Dataplatform_Cluster_Example
maintenanceWindows:
- dayOfTheWeek: Sunday
time: 09:00:00
version: '23.7'
variables:
example:
fn::invoke:
function: ionoscloud:dsaas:getCluster
arguments:
name: Dataplatform_Cluster_Example
Using getCluster
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCluster(args: GetClusterArgs, opts?: InvokeOptions): Promise<GetClusterResult>
function getClusterOutput(args: GetClusterOutputArgs, opts?: InvokeOptions): Output<GetClusterResult>
def get_cluster(id: Optional[str] = None,
name: Optional[str] = None,
partial_match: Optional[bool] = None,
opts: Optional[InvokeOptions] = None) -> GetClusterResult
def get_cluster_output(id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
partial_match: Optional[pulumi.Input[bool]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetClusterResult]
func LookupCluster(ctx *Context, args *LookupClusterArgs, opts ...InvokeOption) (*LookupClusterResult, error)
func LookupClusterOutput(ctx *Context, args *LookupClusterOutputArgs, opts ...InvokeOption) LookupClusterResultOutput
> Note: This function is named LookupCluster
in the Go SDK.
public static class GetCluster
{
public static Task<GetClusterResult> InvokeAsync(GetClusterArgs args, InvokeOptions? opts = null)
public static Output<GetClusterResult> Invoke(GetClusterInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetClusterResult> getCluster(GetClusterArgs args, InvokeOptions options)
public static Output<GetClusterResult> getCluster(GetClusterArgs args, InvokeOptions options)
fn::invoke:
function: ionoscloud:dsaas/getCluster:getCluster
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- ID of the cluster you want to search for.
- Name string
- Name of an existing cluster that you want to search for. Search by name is case-insensitive. The whole resource name is required if
partial_match
parameter is not set to true. - Partial
Match bool Whether partial matching is allowed or not when using name argument. Default value is false.
Either
id
orname
must be provided. If none, or both are provided, the datasource will return an error.
- Id string
- ID of the cluster you want to search for.
- Name string
- Name of an existing cluster that you want to search for. Search by name is case-insensitive. The whole resource name is required if
partial_match
parameter is not set to true. - Partial
Match bool Whether partial matching is allowed or not when using name argument. Default value is false.
Either
id
orname
must be provided. If none, or both are provided, the datasource will return an error.
- id String
- ID of the cluster you want to search for.
- name String
- Name of an existing cluster that you want to search for. Search by name is case-insensitive. The whole resource name is required if
partial_match
parameter is not set to true. - partial
Match Boolean Whether partial matching is allowed or not when using name argument. Default value is false.
Either
id
orname
must be provided. If none, or both are provided, the datasource will return an error.
- id string
- ID of the cluster you want to search for.
- name string
- Name of an existing cluster that you want to search for. Search by name is case-insensitive. The whole resource name is required if
partial_match
parameter is not set to true. - partial
Match boolean Whether partial matching is allowed or not when using name argument. Default value is false.
Either
id
orname
must be provided. If none, or both are provided, the datasource will return an error.
- id str
- ID of the cluster you want to search for.
- name str
- Name of an existing cluster that you want to search for. Search by name is case-insensitive. The whole resource name is required if
partial_match
parameter is not set to true. - partial_
match bool Whether partial matching is allowed or not when using name argument. Default value is false.
Either
id
orname
must be provided. If none, or both are provided, the datasource will return an error.
- id String
- ID of the cluster you want to search for.
- name String
- Name of an existing cluster that you want to search for. Search by name is case-insensitive. The whole resource name is required if
partial_match
parameter is not set to true. - partial
Match Boolean Whether partial matching is allowed or not when using name argument. Default value is false.
Either
id
orname
must be provided. If none, or both are provided, the datasource will return an error.
getCluster Result
The following output properties are available:
- Ca
Crt string - base64 decoded cluster certificate authority data (provided as an attribute for direct use)
- Configs
List<Ionoscloud.
Get Cluster Config> - structured kubernetes config consisting of a list with 1 item with the following fields:
- api_version - Kubernetes API Version
- kind - "Config"
- current-context - string
- clusters - list of
- name - name of cluster
- cluster - map of
- certificate-authority-data - base64 decoded cluster CA data
- server - server address in the form
https://host:port
- contexts - list of
- name - context name
- context - map of
- cluster - cluster name
- user - cluster user
- users - list of
- name - user name
- user - map of
- token - user token used for authentication
- Datacenter
Id string - The UUID of the virtual data center (VDC) in which the cluster is provisioned.
- Id string
- The UUID of the cluster.
- Kube
Config string - Kubernetes configuration
- Lans
List<Ionoscloud.
Get Cluster Lan> - A list of LANs you want this node pool to be part of
- Maintenance
Windows List<Ionoscloud.Get Cluster Maintenance Window> - Starting time of a weekly 4 hour-long window, during which maintenance might occur in hh:mm:ss format
- Name string
- The name of your cluster.
- Server string
- cluster server (same as
config[0].clusters[0].cluster.server
but provided as an attribute for ease of use) - User
Tokens Dictionary<string, string> - a convenience map to be search the token of a specific user
- key - is the user name
- value - is the token
- Version string
- The version of the Data Platform.
- Partial
Match bool
- Ca
Crt string - base64 decoded cluster certificate authority data (provided as an attribute for direct use)
- Configs
[]Get
Cluster Config - structured kubernetes config consisting of a list with 1 item with the following fields:
- api_version - Kubernetes API Version
- kind - "Config"
- current-context - string
- clusters - list of
- name - name of cluster
- cluster - map of
- certificate-authority-data - base64 decoded cluster CA data
- server - server address in the form
https://host:port
- contexts - list of
- name - context name
- context - map of
- cluster - cluster name
- user - cluster user
- users - list of
- name - user name
- user - map of
- token - user token used for authentication
- Datacenter
Id string - The UUID of the virtual data center (VDC) in which the cluster is provisioned.
- Id string
- The UUID of the cluster.
- Kube
Config string - Kubernetes configuration
- Lans
[]Get
Cluster Lan - A list of LANs you want this node pool to be part of
- Maintenance
Windows []GetCluster Maintenance Window - Starting time of a weekly 4 hour-long window, during which maintenance might occur in hh:mm:ss format
- Name string
- The name of your cluster.
- Server string
- cluster server (same as
config[0].clusters[0].cluster.server
but provided as an attribute for ease of use) - User
Tokens map[string]string - a convenience map to be search the token of a specific user
- key - is the user name
- value - is the token
- Version string
- The version of the Data Platform.
- Partial
Match bool
- ca
Crt String - base64 decoded cluster certificate authority data (provided as an attribute for direct use)
- configs
List<Get
Cluster Config> - structured kubernetes config consisting of a list with 1 item with the following fields:
- api_version - Kubernetes API Version
- kind - "Config"
- current-context - string
- clusters - list of
- name - name of cluster
- cluster - map of
- certificate-authority-data - base64 decoded cluster CA data
- server - server address in the form
https://host:port
- contexts - list of
- name - context name
- context - map of
- cluster - cluster name
- user - cluster user
- users - list of
- name - user name
- user - map of
- token - user token used for authentication
- datacenter
Id String - The UUID of the virtual data center (VDC) in which the cluster is provisioned.
- id String
- The UUID of the cluster.
- kube
Config String - Kubernetes configuration
- lans
List<Get
Cluster Lan> - A list of LANs you want this node pool to be part of
- maintenance
Windows List<GetCluster Maintenance Window> - Starting time of a weekly 4 hour-long window, during which maintenance might occur in hh:mm:ss format
- name String
- The name of your cluster.
- server String
- cluster server (same as
config[0].clusters[0].cluster.server
but provided as an attribute for ease of use) - user
Tokens Map<String,String> - a convenience map to be search the token of a specific user
- key - is the user name
- value - is the token
- version String
- The version of the Data Platform.
- partial
Match Boolean
- ca
Crt string - base64 decoded cluster certificate authority data (provided as an attribute for direct use)
- configs
Get
Cluster Config[] - structured kubernetes config consisting of a list with 1 item with the following fields:
- api_version - Kubernetes API Version
- kind - "Config"
- current-context - string
- clusters - list of
- name - name of cluster
- cluster - map of
- certificate-authority-data - base64 decoded cluster CA data
- server - server address in the form
https://host:port
- contexts - list of
- name - context name
- context - map of
- cluster - cluster name
- user - cluster user
- users - list of
- name - user name
- user - map of
- token - user token used for authentication
- datacenter
Id string - The UUID of the virtual data center (VDC) in which the cluster is provisioned.
- id string
- The UUID of the cluster.
- kube
Config string - Kubernetes configuration
- lans
Get
Cluster Lan[] - A list of LANs you want this node pool to be part of
- maintenance
Windows GetCluster Maintenance Window[] - Starting time of a weekly 4 hour-long window, during which maintenance might occur in hh:mm:ss format
- name string
- The name of your cluster.
- server string
- cluster server (same as
config[0].clusters[0].cluster.server
but provided as an attribute for ease of use) - user
Tokens {[key: string]: string} - a convenience map to be search the token of a specific user
- key - is the user name
- value - is the token
- version string
- The version of the Data Platform.
- partial
Match boolean
- ca_
crt str - base64 decoded cluster certificate authority data (provided as an attribute for direct use)
- configs
Sequence[Get
Cluster Config] - structured kubernetes config consisting of a list with 1 item with the following fields:
- api_version - Kubernetes API Version
- kind - "Config"
- current-context - string
- clusters - list of
- name - name of cluster
- cluster - map of
- certificate-authority-data - base64 decoded cluster CA data
- server - server address in the form
https://host:port
- contexts - list of
- name - context name
- context - map of
- cluster - cluster name
- user - cluster user
- users - list of
- name - user name
- user - map of
- token - user token used for authentication
- datacenter_
id str - The UUID of the virtual data center (VDC) in which the cluster is provisioned.
- id str
- The UUID of the cluster.
- kube_
config str - Kubernetes configuration
- lans
Sequence[Get
Cluster Lan] - A list of LANs you want this node pool to be part of
- maintenance_
windows Sequence[GetCluster Maintenance Window] - Starting time of a weekly 4 hour-long window, during which maintenance might occur in hh:mm:ss format
- name str
- The name of your cluster.
- server str
- cluster server (same as
config[0].clusters[0].cluster.server
but provided as an attribute for ease of use) - user_
tokens Mapping[str, str] - a convenience map to be search the token of a specific user
- key - is the user name
- value - is the token
- version str
- The version of the Data Platform.
- partial_
match bool
- ca
Crt String - base64 decoded cluster certificate authority data (provided as an attribute for direct use)
- configs List<Property Map>
- structured kubernetes config consisting of a list with 1 item with the following fields:
- api_version - Kubernetes API Version
- kind - "Config"
- current-context - string
- clusters - list of
- name - name of cluster
- cluster - map of
- certificate-authority-data - base64 decoded cluster CA data
- server - server address in the form
https://host:port
- contexts - list of
- name - context name
- context - map of
- cluster - cluster name
- user - cluster user
- users - list of
- name - user name
- user - map of
- token - user token used for authentication
- datacenter
Id String - The UUID of the virtual data center (VDC) in which the cluster is provisioned.
- id String
- The UUID of the cluster.
- kube
Config String - Kubernetes configuration
- lans List<Property Map>
- A list of LANs you want this node pool to be part of
- maintenance
Windows List<Property Map> - Starting time of a weekly 4 hour-long window, during which maintenance might occur in hh:mm:ss format
- name String
- The name of your cluster.
- server String
- cluster server (same as
config[0].clusters[0].cluster.server
but provided as an attribute for ease of use) - user
Tokens Map<String> - a convenience map to be search the token of a specific user
- key - is the user name
- value - is the token
- version String
- The version of the Data Platform.
- partial
Match Boolean
Supporting Types
GetClusterConfig
GetClusterConfigCluster
GetClusterConfigContext
GetClusterConfigUser
GetClusterLan
- Dhcp bool
- Indicates if the Kubernetes node pool LAN will reserve an IP using DHCP. The default value is 'true'.
- Lan
Id string - The LAN ID of an existing LAN at the related data center
- Routes
List<Ionoscloud.
Get Cluster Lan Route> - An array of additional LANs attached to worker nodes
- Dhcp bool
- Indicates if the Kubernetes node pool LAN will reserve an IP using DHCP. The default value is 'true'.
- Lan
Id string - The LAN ID of an existing LAN at the related data center
- Routes
[]Get
Cluster Lan Route - An array of additional LANs attached to worker nodes
- dhcp Boolean
- Indicates if the Kubernetes node pool LAN will reserve an IP using DHCP. The default value is 'true'.
- lan
Id String - The LAN ID of an existing LAN at the related data center
- routes
List<Get
Cluster Lan Route> - An array of additional LANs attached to worker nodes
- dhcp boolean
- Indicates if the Kubernetes node pool LAN will reserve an IP using DHCP. The default value is 'true'.
- lan
Id string - The LAN ID of an existing LAN at the related data center
- routes
Get
Cluster Lan Route[] - An array of additional LANs attached to worker nodes
- dhcp bool
- Indicates if the Kubernetes node pool LAN will reserve an IP using DHCP. The default value is 'true'.
- lan_
id str - The LAN ID of an existing LAN at the related data center
- routes
Sequence[Get
Cluster Lan Route] - An array of additional LANs attached to worker nodes
- dhcp Boolean
- Indicates if the Kubernetes node pool LAN will reserve an IP using DHCP. The default value is 'true'.
- lan
Id String - The LAN ID of an existing LAN at the related data center
- routes List<Property Map>
- An array of additional LANs attached to worker nodes
GetClusterLanRoute
GetClusterMaintenanceWindow
- Day
Of stringThe Week - Time string
- Time at which the maintenance should start.
- Day
Of stringThe Week - Time string
- Time at which the maintenance should start.
- day
Of StringThe Week - time String
- Time at which the maintenance should start.
- day
Of stringThe Week - time string
- Time at which the maintenance should start.
- day_
of_ strthe_ week - time str
- Time at which the maintenance should start.
- day
Of StringThe Week - time String
- Time at which the maintenance should start.
Package Details
- Repository
- ionoscloud ionos-cloud/pulumi-ionoscloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ionoscloud
Terraform Provider.