Viewing docs for Qovery v0.41.0
published on Saturday, Sep 28, 2024 by dirien
published on Saturday, Sep 28, 2024 by dirien
Viewing docs for Qovery v0.41.0
published on Saturday, Sep 28, 2024 by dirien
published on Saturday, Sep 28, 2024 by dirien
# qovery.Cluster (Data Source)
Provides a Qovery cluster resource. This can be used to create and manage Qovery cluster.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as qovery from "@pulumi/qovery";
const myCluster = qovery.getCluster({
id: "<cluster_id>",
organizationId: "<organization_id>",
});
import pulumi
import pulumi_qovery as qovery
my_cluster = qovery.get_cluster(id="<cluster_id>",
organization_id="<organization_id>")
package main
import (
"github.com/dirien/pulumi-qovery/sdk/go/qovery"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := qovery.LookupCluster(ctx, &qovery.LookupClusterArgs{
Id: "<cluster_id>",
OrganizationId: "<organization_id>",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Qovery = Pulumi.Qovery;
return await Deployment.RunAsync(() =>
{
var myCluster = Qovery.GetCluster.Invoke(new()
{
Id = "<cluster_id>",
OrganizationId = "<organization_id>",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.qovery.QoveryFunctions;
import com.pulumi.qovery.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 myCluster = QoveryFunctions.getCluster(GetClusterArgs.builder()
.id("<cluster_id>")
.organizationId("<organization_id>")
.build());
}
}
variables:
myCluster:
fn::invoke:
Function: qovery:getCluster
Arguments:
id: <cluster_id>
organizationId: <organization_id>
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(advanced_settings_json: Optional[str] = None,
description: Optional[str] = None,
disk_size: Optional[int] = None,
features: Optional[GetClusterFeatures] = None,
id: Optional[str] = None,
instance_type: Optional[str] = None,
kubernetes_mode: Optional[str] = None,
max_running_nodes: Optional[int] = None,
min_running_nodes: Optional[int] = None,
organization_id: Optional[str] = None,
production: Optional[bool] = None,
routing_tables: Optional[Sequence[GetClusterRoutingTable]] = None,
state: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetClusterResult
def get_cluster_output(advanced_settings_json: Optional[pulumi.Input[str]] = None,
description: Optional[pulumi.Input[str]] = None,
disk_size: Optional[pulumi.Input[int]] = None,
features: Optional[pulumi.Input[GetClusterFeaturesArgs]] = None,
id: Optional[pulumi.Input[str]] = None,
instance_type: Optional[pulumi.Input[str]] = None,
kubernetes_mode: Optional[pulumi.Input[str]] = None,
max_running_nodes: Optional[pulumi.Input[int]] = None,
min_running_nodes: Optional[pulumi.Input[int]] = None,
organization_id: Optional[pulumi.Input[str]] = None,
production: Optional[pulumi.Input[bool]] = None,
routing_tables: Optional[pulumi.Input[Sequence[pulumi.Input[GetClusterRoutingTableArgs]]]] = None,
state: Optional[pulumi.Input[str]] = 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: qovery:index/getCluster:getCluster
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Organization
Id string - Advanced
Settings stringJson - Description string
- Disk
Size int - Features
ediri.
Qovery. Inputs. Get Cluster Features - Instance
Type string - Kubernetes
Mode string - Max
Running intNodes - Min
Running intNodes - Production bool
- Routing
Tables List<ediri.Qovery. Inputs. Get Cluster Routing Table> - State string
- Id string
- Organization
Id string - Advanced
Settings stringJson - Description string
- Disk
Size int - Features
Get
Cluster Features - Instance
Type string - Kubernetes
Mode string - Max
Running intNodes - Min
Running intNodes - Production bool
- Routing
Tables []GetCluster Routing Table - State string
- id String
- organization
Id String - advanced
Settings StringJson - description String
- disk
Size Integer - features
Get
Cluster Features - instance
Type String - kubernetes
Mode String - max
Running IntegerNodes - min
Running IntegerNodes - production Boolean
- routing
Tables List<GetCluster Routing Table> - state String
- id string
- organization
Id string - advanced
Settings stringJson - description string
- disk
Size number - features
Get
Cluster Features - instance
Type string - kubernetes
Mode string - max
Running numberNodes - min
Running numberNodes - production boolean
- routing
Tables GetCluster Routing Table[] - state string
- id String
- organization
Id String - advanced
Settings StringJson - description String
- disk
Size Number - features Property Map
- instance
Type String - kubernetes
Mode String - max
Running NumberNodes - min
Running NumberNodes - production Boolean
- routing
Tables List<Property Map> - state String
getCluster Result
The following output properties are available:
- Advanced
Settings stringJson - Cloud
Provider string - Credentials
Id string - Description string
- Disk
Size int - Features
ediri.
Qovery. Outputs. Get Cluster Features - Id string
- Instance
Type string - Kubernetes
Mode string - Max
Running intNodes - Min
Running intNodes - Name string
- Organization
Id string - Production bool
- Region string
- Routing
Tables List<ediri.Qovery. Outputs. Get Cluster Routing Table> - State string
- Advanced
Settings stringJson - Cloud
Provider string - Credentials
Id string - Description string
- Disk
Size int - Features
Get
Cluster Features - Id string
- Instance
Type string - Kubernetes
Mode string - Max
Running intNodes - Min
Running intNodes - Name string
- Organization
Id string - Production bool
- Region string
- Routing
Tables []GetCluster Routing Table - State string
- advanced
Settings StringJson - cloud
Provider String - credentials
Id String - description String
- disk
Size Integer - features
Get
Cluster Features - id String
- instance
Type String - kubernetes
Mode String - max
Running IntegerNodes - min
Running IntegerNodes - name String
- organization
Id String - production Boolean
- region String
- routing
Tables List<GetCluster Routing Table> - state String
- advanced
Settings stringJson - cloud
Provider string - credentials
Id string - description string
- disk
Size number - features
Get
Cluster Features - id string
- instance
Type string - kubernetes
Mode string - max
Running numberNodes - min
Running numberNodes - name string
- organization
Id string - production boolean
- region string
- routing
Tables GetCluster Routing Table[] - state string
- advanced_
settings_ strjson - cloud_
provider str - credentials_
id str - description str
- disk_
size int - features
Get
Cluster Features - id str
- instance_
type str - kubernetes_
mode str - max_
running_ intnodes - min_
running_ intnodes - name str
- organization_
id str - production bool
- region str
- routing_
tables Sequence[GetCluster Routing Table] - state str
- advanced
Settings StringJson - cloud
Provider String - credentials
Id String - description String
- disk
Size Number - features Property Map
- id String
- instance
Type String - kubernetes
Mode String - max
Running NumberNodes - min
Running NumberNodes - name String
- organization
Id String - production Boolean
- region String
- routing
Tables List<Property Map> - state String
Supporting Types
GetClusterFeatures
- Static
Ip bool - Static IP (AWS only) [NOTE: can't be updated after creation].
- Default:
false. - Vpc
Subnet string - Custom VPC subnet (AWS only) [NOTE: can't be updated after creation].
- Default:
10.0.0.0/16. - Existing
Vpc ediri.Qovery. Inputs. Get Cluster Features Existing Vpc - Network configuration if you want to install qovery on an existing VPC
- Karpenter
ediri.
Qovery. Inputs. Get Cluster Features Karpenter - Karpenter parameters if you want to use Karpenter on an EKS cluster
- Static
Ip bool - Static IP (AWS only) [NOTE: can't be updated after creation].
- Default:
false. - Vpc
Subnet string - Custom VPC subnet (AWS only) [NOTE: can't be updated after creation].
- Default:
10.0.0.0/16. - Existing
Vpc GetCluster Features Existing Vpc - Network configuration if you want to install qovery on an existing VPC
- Karpenter
Get
Cluster Features Karpenter - Karpenter parameters if you want to use Karpenter on an EKS cluster
- static
Ip Boolean - Static IP (AWS only) [NOTE: can't be updated after creation].
- Default:
false. - vpc
Subnet String - Custom VPC subnet (AWS only) [NOTE: can't be updated after creation].
- Default:
10.0.0.0/16. - existing
Vpc GetCluster Features Existing Vpc - Network configuration if you want to install qovery on an existing VPC
- karpenter
Get
Cluster Features Karpenter - Karpenter parameters if you want to use Karpenter on an EKS cluster
- static
Ip boolean - Static IP (AWS only) [NOTE: can't be updated after creation].
- Default:
false. - vpc
Subnet string - Custom VPC subnet (AWS only) [NOTE: can't be updated after creation].
- Default:
10.0.0.0/16. - existing
Vpc GetCluster Features Existing Vpc - Network configuration if you want to install qovery on an existing VPC
- karpenter
Get
Cluster Features Karpenter - Karpenter parameters if you want to use Karpenter on an EKS cluster
- static_
ip bool - Static IP (AWS only) [NOTE: can't be updated after creation].
- Default:
false. - vpc_
subnet str - Custom VPC subnet (AWS only) [NOTE: can't be updated after creation].
- Default:
10.0.0.0/16. - existing_
vpc GetCluster Features Existing Vpc - Network configuration if you want to install qovery on an existing VPC
- karpenter
Get
Cluster Features Karpenter - Karpenter parameters if you want to use Karpenter on an EKS cluster
- static
Ip Boolean - Static IP (AWS only) [NOTE: can't be updated after creation].
- Default:
false. - vpc
Subnet String - Custom VPC subnet (AWS only) [NOTE: can't be updated after creation].
- Default:
10.0.0.0/16. - existing
Vpc Property Map - Network configuration if you want to install qovery on an existing VPC
- karpenter Property Map
- Karpenter parameters if you want to use Karpenter on an EKS cluster
GetClusterFeaturesExistingVpc
- Aws
Vpc stringEks Id - Aws VPC id
- Documentdb
Subnets List<string>Zone AIds - Ids of the subnets for document db
- Documentdb
Subnets List<string>Zone BIds - Ids of the subnets for document db
- Documentdb
Subnets List<string>Zone CIds - Ids of the subnets for document db
- Eks
Subnets List<string>Zone AIds - Ids of the subnets for EKS zone a. Must have map_public_ip_on_launch set to true
- Eks
Subnets List<string>Zone BIds - Ids of the subnets for EKS zone b. Must have map_public_ip_on_launch set to true
- Eks
Subnets List<string>Zone CIds - Ids of the subnets for EKS zone c. Must have map_public_ip_on_launch set to true
- Elasticache
Subnets List<string>Zone AIds - Ids of the subnets for elasticache
- Elasticache
Subnets List<string>Zone BIds - Ids of the subnets for elasticache
- Elasticache
Subnets List<string>Zone CIds - Ids of the subnets for elasticache
- Rds
Subnets List<string>Zone AIds - Ids of the subnets for RDS
- Rds
Subnets List<string>Zone BIds - Ids of the subnets for RDS
- Rds
Subnets List<string>Zone CIds - Ids of the subnets for RDS
- Aws
Vpc stringEks Id - Aws VPC id
- Documentdb
Subnets []stringZone AIds - Ids of the subnets for document db
- Documentdb
Subnets []stringZone BIds - Ids of the subnets for document db
- Documentdb
Subnets []stringZone CIds - Ids of the subnets for document db
- Eks
Subnets []stringZone AIds - Ids of the subnets for EKS zone a. Must have map_public_ip_on_launch set to true
- Eks
Subnets []stringZone BIds - Ids of the subnets for EKS zone b. Must have map_public_ip_on_launch set to true
- Eks
Subnets []stringZone CIds - Ids of the subnets for EKS zone c. Must have map_public_ip_on_launch set to true
- Elasticache
Subnets []stringZone AIds - Ids of the subnets for elasticache
- Elasticache
Subnets []stringZone BIds - Ids of the subnets for elasticache
- Elasticache
Subnets []stringZone CIds - Ids of the subnets for elasticache
- Rds
Subnets []stringZone AIds - Ids of the subnets for RDS
- Rds
Subnets []stringZone BIds - Ids of the subnets for RDS
- Rds
Subnets []stringZone CIds - Ids of the subnets for RDS
- aws
Vpc StringEks Id - Aws VPC id
- documentdb
Subnets List<String>Zone AIds - Ids of the subnets for document db
- documentdb
Subnets List<String>Zone BIds - Ids of the subnets for document db
- documentdb
Subnets List<String>Zone CIds - Ids of the subnets for document db
- eks
Subnets List<String>Zone AIds - Ids of the subnets for EKS zone a. Must have map_public_ip_on_launch set to true
- eks
Subnets List<String>Zone BIds - Ids of the subnets for EKS zone b. Must have map_public_ip_on_launch set to true
- eks
Subnets List<String>Zone CIds - Ids of the subnets for EKS zone c. Must have map_public_ip_on_launch set to true
- elasticache
Subnets List<String>Zone AIds - Ids of the subnets for elasticache
- elasticache
Subnets List<String>Zone BIds - Ids of the subnets for elasticache
- elasticache
Subnets List<String>Zone CIds - Ids of the subnets for elasticache
- rds
Subnets List<String>Zone AIds - Ids of the subnets for RDS
- rds
Subnets List<String>Zone BIds - Ids of the subnets for RDS
- rds
Subnets List<String>Zone CIds - Ids of the subnets for RDS
- aws
Vpc stringEks Id - Aws VPC id
- documentdb
Subnets string[]Zone AIds - Ids of the subnets for document db
- documentdb
Subnets string[]Zone BIds - Ids of the subnets for document db
- documentdb
Subnets string[]Zone CIds - Ids of the subnets for document db
- eks
Subnets string[]Zone AIds - Ids of the subnets for EKS zone a. Must have map_public_ip_on_launch set to true
- eks
Subnets string[]Zone BIds - Ids of the subnets for EKS zone b. Must have map_public_ip_on_launch set to true
- eks
Subnets string[]Zone CIds - Ids of the subnets for EKS zone c. Must have map_public_ip_on_launch set to true
- elasticache
Subnets string[]Zone AIds - Ids of the subnets for elasticache
- elasticache
Subnets string[]Zone BIds - Ids of the subnets for elasticache
- elasticache
Subnets string[]Zone CIds - Ids of the subnets for elasticache
- rds
Subnets string[]Zone AIds - Ids of the subnets for RDS
- rds
Subnets string[]Zone BIds - Ids of the subnets for RDS
- rds
Subnets string[]Zone CIds - Ids of the subnets for RDS
- aws_
vpc_ streks_ id - Aws VPC id
- documentdb_
subnets_ Sequence[str]zone_ a_ ids - Ids of the subnets for document db
- documentdb_
subnets_ Sequence[str]zone_ b_ ids - Ids of the subnets for document db
- documentdb_
subnets_ Sequence[str]zone_ c_ ids - Ids of the subnets for document db
- eks_
subnets_ Sequence[str]zone_ a_ ids - Ids of the subnets for EKS zone a. Must have map_public_ip_on_launch set to true
- eks_
subnets_ Sequence[str]zone_ b_ ids - Ids of the subnets for EKS zone b. Must have map_public_ip_on_launch set to true
- eks_
subnets_ Sequence[str]zone_ c_ ids - Ids of the subnets for EKS zone c. Must have map_public_ip_on_launch set to true
- elasticache_
subnets_ Sequence[str]zone_ a_ ids - Ids of the subnets for elasticache
- elasticache_
subnets_ Sequence[str]zone_ b_ ids - Ids of the subnets for elasticache
- elasticache_
subnets_ Sequence[str]zone_ c_ ids - Ids of the subnets for elasticache
- rds_
subnets_ Sequence[str]zone_ a_ ids - Ids of the subnets for RDS
- rds_
subnets_ Sequence[str]zone_ b_ ids - Ids of the subnets for RDS
- rds_
subnets_ Sequence[str]zone_ c_ ids - Ids of the subnets for RDS
- aws
Vpc StringEks Id - Aws VPC id
- documentdb
Subnets List<String>Zone AIds - Ids of the subnets for document db
- documentdb
Subnets List<String>Zone BIds - Ids of the subnets for document db
- documentdb
Subnets List<String>Zone CIds - Ids of the subnets for document db
- eks
Subnets List<String>Zone AIds - Ids of the subnets for EKS zone a. Must have map_public_ip_on_launch set to true
- eks
Subnets List<String>Zone BIds - Ids of the subnets for EKS zone b. Must have map_public_ip_on_launch set to true
- eks
Subnets List<String>Zone CIds - Ids of the subnets for EKS zone c. Must have map_public_ip_on_launch set to true
- elasticache
Subnets List<String>Zone AIds - Ids of the subnets for elasticache
- elasticache
Subnets List<String>Zone BIds - Ids of the subnets for elasticache
- elasticache
Subnets List<String>Zone CIds - Ids of the subnets for elasticache
- rds
Subnets List<String>Zone AIds - Ids of the subnets for RDS
- rds
Subnets List<String>Zone BIds - Ids of the subnets for RDS
- rds
Subnets List<String>Zone CIds - Ids of the subnets for RDS
GetClusterFeaturesKarpenter
- Default
Service stringArchitecture - The default architecture of service
- Disk
Size intIn Gib - Spot
Enabled bool - Enable spot instances
- Default
Service stringArchitecture - The default architecture of service
- Disk
Size intIn Gib - Spot
Enabled bool - Enable spot instances
- default
Service StringArchitecture - The default architecture of service
- disk
Size IntegerIn Gib - spot
Enabled Boolean - Enable spot instances
- default
Service stringArchitecture - The default architecture of service
- disk
Size numberIn Gib - spot
Enabled boolean - Enable spot instances
- default_
service_ strarchitecture - The default architecture of service
- disk_
size_ intin_ gib - spot_
enabled bool - Enable spot instances
- default
Service StringArchitecture - The default architecture of service
- disk
Size NumberIn Gib - spot
Enabled Boolean - Enable spot instances
GetClusterRoutingTable
- Description string
- Description of the route.
- Destination string
- Destination of the route.
- Target string
- Target of the route.
- Description string
- Description of the route.
- Destination string
- Destination of the route.
- Target string
- Target of the route.
- description String
- Description of the route.
- destination String
- Destination of the route.
- target String
- Target of the route.
- description string
- Description of the route.
- destination string
- Destination of the route.
- target string
- Target of the route.
- description str
- Description of the route.
- destination str
- Destination of the route.
- target str
- Target of the route.
- description String
- Description of the route.
- destination String
- Destination of the route.
- target String
- Target of the route.
Package Details
- Repository
- qovery dirien/pulumi-qovery
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
qoveryTerraform Provider.
Viewing docs for Qovery v0.41.0
published on Saturday, Sep 28, 2024 by dirien
published on Saturday, Sep 28, 2024 by dirien
