yandex.MdbGreenplumCluster
Explore with Pulumi AI
Manages a Greenplum cluster within the Yandex.Cloud. For more information, see the official documentation.
Please read Pricing for Managed Service for Greenplum before using Greenplum cluster.
Yandex Managed Service for Greenplum® is now in preview
Example Usage
Example of creating a Single Node Greenplum.
Coming soon!
Coming soon!
Coming soon!
Coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as yandex from "@pulumi/yandex";
const fooVpcNetwork = new yandex.VpcNetwork("fooVpcNetwork", {});
const fooVpcSubnet = new yandex.VpcSubnet("fooVpcSubnet", {
zone: "ru-central1-a",
networkId: fooVpcNetwork.id,
v4CidrBlocks: ["10.5.0.0/24"],
});
const test_sg_x = new yandex.VpcSecurityGroup("test-sg-x", {
networkId: fooVpcNetwork.id,
ingresses: [{
protocol: "ANY",
description: "Allow incoming traffic from members of the same security group",
fromPort: 0,
toPort: 65535,
v4CidrBlocks: ["0.0.0.0/0"],
}],
egresses: [{
protocol: "ANY",
description: "Allow outgoing traffic to members of the same security group",
fromPort: 0,
toPort: 65535,
v4CidrBlocks: ["0.0.0.0/0"],
}],
});
const fooMdbGreenplumCluster = new yandex.MdbGreenplumCluster("fooMdbGreenplumCluster", {
description: "test greenplum cluster",
environment: "PRESTABLE",
networkId: fooVpcNetwork.id,
zoneId: "ru-central1-a",
subnetId: fooVpcSubnet.id,
assignPublicIp: true,
version: "6.17",
masterHostCount: 2,
segmentHostCount: 5,
segmentInHost: 1,
masterSubcluster: {
resources: {
resourcePresetId: "s2.micro",
diskSize: 24,
diskTypeId: "network-ssd",
},
},
segmentSubcluster: {
resources: {
resourcePresetId: "s2.micro",
diskSize: 24,
diskTypeId: "network-ssd",
},
},
access: {
webSql: true,
},
userName: "admin_user",
userPassword: "your_super_secret_password",
securityGroupIds: [test_sg_x.id],
});
Coming soon!
Create MdbGreenplumCluster Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new MdbGreenplumCluster(name: string, args: MdbGreenplumClusterArgs, opts?: CustomResourceOptions);
@overload
def MdbGreenplumCluster(resource_name: str,
args: MdbGreenplumClusterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def MdbGreenplumCluster(resource_name: str,
opts: Optional[ResourceOptions] = None,
segment_subcluster: Optional[MdbGreenplumClusterSegmentSubclusterArgs] = None,
segment_host_count: Optional[int] = None,
zone: Optional[str] = None,
version: Optional[str] = None,
network_id: Optional[str] = None,
environment: Optional[str] = None,
assign_public_ip: Optional[bool] = None,
user_password: Optional[str] = None,
master_host_count: Optional[int] = None,
master_subcluster: Optional[MdbGreenplumClusterMasterSubclusterArgs] = None,
user_name: Optional[str] = None,
subnet_id: Optional[str] = None,
segment_in_host: Optional[int] = None,
folder_id: Optional[str] = None,
deletion_protection: Optional[bool] = None,
access: Optional[MdbGreenplumClusterAccessArgs] = None,
description: Optional[str] = None,
backup_window_start: Optional[MdbGreenplumClusterBackupWindowStartArgs] = None,
labels: Optional[Mapping[str, str]] = None,
security_group_ids: Optional[Sequence[str]] = None,
name: Optional[str] = None)
func NewMdbGreenplumCluster(ctx *Context, name string, args MdbGreenplumClusterArgs, opts ...ResourceOption) (*MdbGreenplumCluster, error)
public MdbGreenplumCluster(string name, MdbGreenplumClusterArgs args, CustomResourceOptions? opts = null)
public MdbGreenplumCluster(String name, MdbGreenplumClusterArgs args)
public MdbGreenplumCluster(String name, MdbGreenplumClusterArgs args, CustomResourceOptions options)
type: yandex:MdbGreenplumCluster
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 MdbGreenplumClusterArgs
- 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 MdbGreenplumClusterArgs
- 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 MdbGreenplumClusterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args MdbGreenplumClusterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args MdbGreenplumClusterArgs
- 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 mdbGreenplumClusterResource = new Yandex.MdbGreenplumCluster("mdbGreenplumClusterResource", new()
{
SegmentSubcluster = new Yandex.Inputs.MdbGreenplumClusterSegmentSubclusterArgs
{
Resources = new Yandex.Inputs.MdbGreenplumClusterSegmentSubclusterResourcesArgs
{
DiskSize = 0,
DiskTypeId = "string",
ResourcePresetId = "string",
},
},
SegmentHostCount = 0,
Zone = "string",
Version = "string",
NetworkId = "string",
Environment = "string",
AssignPublicIp = false,
UserPassword = "string",
MasterHostCount = 0,
MasterSubcluster = new Yandex.Inputs.MdbGreenplumClusterMasterSubclusterArgs
{
Resources = new Yandex.Inputs.MdbGreenplumClusterMasterSubclusterResourcesArgs
{
DiskSize = 0,
DiskTypeId = "string",
ResourcePresetId = "string",
},
},
UserName = "string",
SubnetId = "string",
SegmentInHost = 0,
FolderId = "string",
DeletionProtection = false,
Access = new Yandex.Inputs.MdbGreenplumClusterAccessArgs
{
DataLens = false,
WebSql = false,
},
Description = "string",
BackupWindowStart = new Yandex.Inputs.MdbGreenplumClusterBackupWindowStartArgs
{
Hours = 0,
Minutes = 0,
},
Labels =
{
{ "string", "string" },
},
SecurityGroupIds = new[]
{
"string",
},
Name = "string",
});
example, err := yandex.NewMdbGreenplumCluster(ctx, "mdbGreenplumClusterResource", &yandex.MdbGreenplumClusterArgs{
SegmentSubcluster: &yandex.MdbGreenplumClusterSegmentSubclusterArgs{
Resources: &yandex.MdbGreenplumClusterSegmentSubclusterResourcesArgs{
DiskSize: pulumi.Int(0),
DiskTypeId: pulumi.String("string"),
ResourcePresetId: pulumi.String("string"),
},
},
SegmentHostCount: pulumi.Int(0),
Zone: pulumi.String("string"),
Version: pulumi.String("string"),
NetworkId: pulumi.String("string"),
Environment: pulumi.String("string"),
AssignPublicIp: pulumi.Bool(false),
UserPassword: pulumi.String("string"),
MasterHostCount: pulumi.Int(0),
MasterSubcluster: &yandex.MdbGreenplumClusterMasterSubclusterArgs{
Resources: &yandex.MdbGreenplumClusterMasterSubclusterResourcesArgs{
DiskSize: pulumi.Int(0),
DiskTypeId: pulumi.String("string"),
ResourcePresetId: pulumi.String("string"),
},
},
UserName: pulumi.String("string"),
SubnetId: pulumi.String("string"),
SegmentInHost: pulumi.Int(0),
FolderId: pulumi.String("string"),
DeletionProtection: pulumi.Bool(false),
Access: &yandex.MdbGreenplumClusterAccessArgs{
DataLens: pulumi.Bool(false),
WebSql: pulumi.Bool(false),
},
Description: pulumi.String("string"),
BackupWindowStart: &yandex.MdbGreenplumClusterBackupWindowStartArgs{
Hours: pulumi.Int(0),
Minutes: pulumi.Int(0),
},
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
SecurityGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
})
var mdbGreenplumClusterResource = new MdbGreenplumCluster("mdbGreenplumClusterResource", MdbGreenplumClusterArgs.builder()
.segmentSubcluster(MdbGreenplumClusterSegmentSubclusterArgs.builder()
.resources(MdbGreenplumClusterSegmentSubclusterResourcesArgs.builder()
.diskSize(0)
.diskTypeId("string")
.resourcePresetId("string")
.build())
.build())
.segmentHostCount(0)
.zone("string")
.version("string")
.networkId("string")
.environment("string")
.assignPublicIp(false)
.userPassword("string")
.masterHostCount(0)
.masterSubcluster(MdbGreenplumClusterMasterSubclusterArgs.builder()
.resources(MdbGreenplumClusterMasterSubclusterResourcesArgs.builder()
.diskSize(0)
.diskTypeId("string")
.resourcePresetId("string")
.build())
.build())
.userName("string")
.subnetId("string")
.segmentInHost(0)
.folderId("string")
.deletionProtection(false)
.access(MdbGreenplumClusterAccessArgs.builder()
.dataLens(false)
.webSql(false)
.build())
.description("string")
.backupWindowStart(MdbGreenplumClusterBackupWindowStartArgs.builder()
.hours(0)
.minutes(0)
.build())
.labels(Map.of("string", "string"))
.securityGroupIds("string")
.name("string")
.build());
mdb_greenplum_cluster_resource = yandex.MdbGreenplumCluster("mdbGreenplumClusterResource",
segment_subcluster={
"resources": {
"disk_size": 0,
"disk_type_id": "string",
"resource_preset_id": "string",
},
},
segment_host_count=0,
zone="string",
version="string",
network_id="string",
environment="string",
assign_public_ip=False,
user_password="string",
master_host_count=0,
master_subcluster={
"resources": {
"disk_size": 0,
"disk_type_id": "string",
"resource_preset_id": "string",
},
},
user_name="string",
subnet_id="string",
segment_in_host=0,
folder_id="string",
deletion_protection=False,
access={
"data_lens": False,
"web_sql": False,
},
description="string",
backup_window_start={
"hours": 0,
"minutes": 0,
},
labels={
"string": "string",
},
security_group_ids=["string"],
name="string")
const mdbGreenplumClusterResource = new yandex.MdbGreenplumCluster("mdbGreenplumClusterResource", {
segmentSubcluster: {
resources: {
diskSize: 0,
diskTypeId: "string",
resourcePresetId: "string",
},
},
segmentHostCount: 0,
zone: "string",
version: "string",
networkId: "string",
environment: "string",
assignPublicIp: false,
userPassword: "string",
masterHostCount: 0,
masterSubcluster: {
resources: {
diskSize: 0,
diskTypeId: "string",
resourcePresetId: "string",
},
},
userName: "string",
subnetId: "string",
segmentInHost: 0,
folderId: "string",
deletionProtection: false,
access: {
dataLens: false,
webSql: false,
},
description: "string",
backupWindowStart: {
hours: 0,
minutes: 0,
},
labels: {
string: "string",
},
securityGroupIds: ["string"],
name: "string",
});
type: yandex:MdbGreenplumCluster
properties:
access:
dataLens: false
webSql: false
assignPublicIp: false
backupWindowStart:
hours: 0
minutes: 0
deletionProtection: false
description: string
environment: string
folderId: string
labels:
string: string
masterHostCount: 0
masterSubcluster:
resources:
diskSize: 0
diskTypeId: string
resourcePresetId: string
name: string
networkId: string
securityGroupIds:
- string
segmentHostCount: 0
segmentInHost: 0
segmentSubcluster:
resources:
diskSize: 0
diskTypeId: string
resourcePresetId: string
subnetId: string
userName: string
userPassword: string
version: string
zone: string
MdbGreenplumCluster 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 MdbGreenplumCluster resource accepts the following input properties:
- Assign
Public boolIp - Sets whether the master hosts should get a public IP address on creation. Changing this parameter for an existing host is not supported at the moment.
- Environment string
- Deployment environment of the Greenplum cluster. (PRODUCTION, PRESTABLE)
- Master
Host intCount - Number of hosts in master subcluster (1 or 2).
- Master
Subcluster MdbGreenplum Cluster Master Subcluster - Settings for master subcluster. The structure is documented below.
- Network
Id string - ID of the network, to which the Greenplum cluster uses.
- Segment
Host intCount - Number of hosts in segment subcluster (from 1 to 32).
- Segment
In intHost - Number of segments on segment host (not more then 1 + RAM/8).
- Segment
Subcluster MdbGreenplum Cluster Segment Subcluster - Settings for segment subcluster. The structure is documented below.
- Subnet
Id string - The ID of the subnet, to which the hosts belongs. The subnet must be a part of the network to which the cluster belongs.
- User
Name string - Greenplum cluster admin user name.
- User
Password string - Greenplum cluster admin password name.
- Version string
- Version of the Greenplum cluster. (6.17)
- Zone string
- The availability zone where the Greenplum hosts will be created.
- Access
Mdb
Greenplum Cluster Access - Access policy to the Greenplum cluster. The structure is documented below.
- Backup
Window MdbStart Greenplum Cluster Backup Window Start - Time to start the daily backup, in the UTC timezone. The structure is documented below.
- Deletion
Protection bool - Inhibits deletion of the cluster. Can be either
true
orfalse
. - Description string
- Description of the Greenplum cluster.
- Folder
Id string - The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- Labels Dictionary<string, string>
- A set of key/value label pairs to assign to the Greenplum cluster.
- Name string
- Name of the Greenplum cluster. Provided by the client when the cluster is created.
- Security
Group List<string>Ids - A set of ids of security groups assigned to hosts of the cluster.
- Assign
Public boolIp - Sets whether the master hosts should get a public IP address on creation. Changing this parameter for an existing host is not supported at the moment.
- Environment string
- Deployment environment of the Greenplum cluster. (PRODUCTION, PRESTABLE)
- Master
Host intCount - Number of hosts in master subcluster (1 or 2).
- Master
Subcluster MdbGreenplum Cluster Master Subcluster Args - Settings for master subcluster. The structure is documented below.
- Network
Id string - ID of the network, to which the Greenplum cluster uses.
- Segment
Host intCount - Number of hosts in segment subcluster (from 1 to 32).
- Segment
In intHost - Number of segments on segment host (not more then 1 + RAM/8).
- Segment
Subcluster MdbGreenplum Cluster Segment Subcluster Args - Settings for segment subcluster. The structure is documented below.
- Subnet
Id string - The ID of the subnet, to which the hosts belongs. The subnet must be a part of the network to which the cluster belongs.
- User
Name string - Greenplum cluster admin user name.
- User
Password string - Greenplum cluster admin password name.
- Version string
- Version of the Greenplum cluster. (6.17)
- Zone string
- The availability zone where the Greenplum hosts will be created.
- Access
Mdb
Greenplum Cluster Access Args - Access policy to the Greenplum cluster. The structure is documented below.
- Backup
Window MdbStart Greenplum Cluster Backup Window Start Args - Time to start the daily backup, in the UTC timezone. The structure is documented below.
- Deletion
Protection bool - Inhibits deletion of the cluster. Can be either
true
orfalse
. - Description string
- Description of the Greenplum cluster.
- Folder
Id string - The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- Labels map[string]string
- A set of key/value label pairs to assign to the Greenplum cluster.
- Name string
- Name of the Greenplum cluster. Provided by the client when the cluster is created.
- Security
Group []stringIds - A set of ids of security groups assigned to hosts of the cluster.
- assign
Public BooleanIp - Sets whether the master hosts should get a public IP address on creation. Changing this parameter for an existing host is not supported at the moment.
- environment String
- Deployment environment of the Greenplum cluster. (PRODUCTION, PRESTABLE)
- master
Host IntegerCount - Number of hosts in master subcluster (1 or 2).
- master
Subcluster MdbGreenplum Cluster Master Subcluster - Settings for master subcluster. The structure is documented below.
- network
Id String - ID of the network, to which the Greenplum cluster uses.
- segment
Host IntegerCount - Number of hosts in segment subcluster (from 1 to 32).
- segment
In IntegerHost - Number of segments on segment host (not more then 1 + RAM/8).
- segment
Subcluster MdbGreenplum Cluster Segment Subcluster - Settings for segment subcluster. The structure is documented below.
- subnet
Id String - The ID of the subnet, to which the hosts belongs. The subnet must be a part of the network to which the cluster belongs.
- user
Name String - Greenplum cluster admin user name.
- user
Password String - Greenplum cluster admin password name.
- version String
- Version of the Greenplum cluster. (6.17)
- zone String
- The availability zone where the Greenplum hosts will be created.
- access
Mdb
Greenplum Cluster Access - Access policy to the Greenplum cluster. The structure is documented below.
- backup
Window MdbStart Greenplum Cluster Backup Window Start - Time to start the daily backup, in the UTC timezone. The structure is documented below.
- deletion
Protection Boolean - Inhibits deletion of the cluster. Can be either
true
orfalse
. - description String
- Description of the Greenplum cluster.
- folder
Id String - The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- labels Map<String,String>
- A set of key/value label pairs to assign to the Greenplum cluster.
- name String
- Name of the Greenplum cluster. Provided by the client when the cluster is created.
- security
Group List<String>Ids - A set of ids of security groups assigned to hosts of the cluster.
- assign
Public booleanIp - Sets whether the master hosts should get a public IP address on creation. Changing this parameter for an existing host is not supported at the moment.
- environment string
- Deployment environment of the Greenplum cluster. (PRODUCTION, PRESTABLE)
- master
Host numberCount - Number of hosts in master subcluster (1 or 2).
- master
Subcluster MdbGreenplum Cluster Master Subcluster - Settings for master subcluster. The structure is documented below.
- network
Id string - ID of the network, to which the Greenplum cluster uses.
- segment
Host numberCount - Number of hosts in segment subcluster (from 1 to 32).
- segment
In numberHost - Number of segments on segment host (not more then 1 + RAM/8).
- segment
Subcluster MdbGreenplum Cluster Segment Subcluster - Settings for segment subcluster. The structure is documented below.
- subnet
Id string - The ID of the subnet, to which the hosts belongs. The subnet must be a part of the network to which the cluster belongs.
- user
Name string - Greenplum cluster admin user name.
- user
Password string - Greenplum cluster admin password name.
- version string
- Version of the Greenplum cluster. (6.17)
- zone string
- The availability zone where the Greenplum hosts will be created.
- access
Mdb
Greenplum Cluster Access - Access policy to the Greenplum cluster. The structure is documented below.
- backup
Window MdbStart Greenplum Cluster Backup Window Start - Time to start the daily backup, in the UTC timezone. The structure is documented below.
- deletion
Protection boolean - Inhibits deletion of the cluster. Can be either
true
orfalse
. - description string
- Description of the Greenplum cluster.
- folder
Id string - The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- labels {[key: string]: string}
- A set of key/value label pairs to assign to the Greenplum cluster.
- name string
- Name of the Greenplum cluster. Provided by the client when the cluster is created.
- security
Group string[]Ids - A set of ids of security groups assigned to hosts of the cluster.
- assign_
public_ boolip - Sets whether the master hosts should get a public IP address on creation. Changing this parameter for an existing host is not supported at the moment.
- environment str
- Deployment environment of the Greenplum cluster. (PRODUCTION, PRESTABLE)
- master_
host_ intcount - Number of hosts in master subcluster (1 or 2).
- master_
subcluster MdbGreenplum Cluster Master Subcluster Args - Settings for master subcluster. The structure is documented below.
- network_
id str - ID of the network, to which the Greenplum cluster uses.
- segment_
host_ intcount - Number of hosts in segment subcluster (from 1 to 32).
- segment_
in_ inthost - Number of segments on segment host (not more then 1 + RAM/8).
- segment_
subcluster MdbGreenplum Cluster Segment Subcluster Args - Settings for segment subcluster. The structure is documented below.
- subnet_
id str - The ID of the subnet, to which the hosts belongs. The subnet must be a part of the network to which the cluster belongs.
- user_
name str - Greenplum cluster admin user name.
- user_
password str - Greenplum cluster admin password name.
- version str
- Version of the Greenplum cluster. (6.17)
- zone str
- The availability zone where the Greenplum hosts will be created.
- access
Mdb
Greenplum Cluster Access Args - Access policy to the Greenplum cluster. The structure is documented below.
- backup_
window_ Mdbstart Greenplum Cluster Backup Window Start Args - Time to start the daily backup, in the UTC timezone. The structure is documented below.
- deletion_
protection bool - Inhibits deletion of the cluster. Can be either
true
orfalse
. - description str
- Description of the Greenplum cluster.
- folder_
id str - The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- labels Mapping[str, str]
- A set of key/value label pairs to assign to the Greenplum cluster.
- name str
- Name of the Greenplum cluster. Provided by the client when the cluster is created.
- security_
group_ Sequence[str]ids - A set of ids of security groups assigned to hosts of the cluster.
- assign
Public BooleanIp - Sets whether the master hosts should get a public IP address on creation. Changing this parameter for an existing host is not supported at the moment.
- environment String
- Deployment environment of the Greenplum cluster. (PRODUCTION, PRESTABLE)
- master
Host NumberCount - Number of hosts in master subcluster (1 or 2).
- master
Subcluster Property Map - Settings for master subcluster. The structure is documented below.
- network
Id String - ID of the network, to which the Greenplum cluster uses.
- segment
Host NumberCount - Number of hosts in segment subcluster (from 1 to 32).
- segment
In NumberHost - Number of segments on segment host (not more then 1 + RAM/8).
- segment
Subcluster Property Map - Settings for segment subcluster. The structure is documented below.
- subnet
Id String - The ID of the subnet, to which the hosts belongs. The subnet must be a part of the network to which the cluster belongs.
- user
Name String - Greenplum cluster admin user name.
- user
Password String - Greenplum cluster admin password name.
- version String
- Version of the Greenplum cluster. (6.17)
- zone String
- The availability zone where the Greenplum hosts will be created.
- access Property Map
- Access policy to the Greenplum cluster. The structure is documented below.
- backup
Window Property MapStart - Time to start the daily backup, in the UTC timezone. The structure is documented below.
- deletion
Protection Boolean - Inhibits deletion of the cluster. Can be either
true
orfalse
. - description String
- Description of the Greenplum cluster.
- folder
Id String - The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- labels Map<String>
- A set of key/value label pairs to assign to the Greenplum cluster.
- name String
- Name of the Greenplum cluster. Provided by the client when the cluster is created.
- security
Group List<String>Ids - A set of ids of security groups assigned to hosts of the cluster.
Outputs
All input properties are implicitly available as output properties. Additionally, the MdbGreenplumCluster resource produces the following output properties:
- Created
At string - Creation timestamp of the cluster.
- Health string
- Aggregated health of the cluster.
- Id string
- The provider-assigned unique ID for this managed resource.
- Master
Hosts List<MdbGreenplum Cluster Master Host> - (Computed) Info about hosts in master subcluster. The structure is documented below.
- Segment
Hosts List<MdbGreenplum Cluster Segment Host> - (Computed) Info about hosts in segment subcluster. The structure is documented below.
- Status string
- Status of the cluster.
- Created
At string - Creation timestamp of the cluster.
- Health string
- Aggregated health of the cluster.
- Id string
- The provider-assigned unique ID for this managed resource.
- Master
Hosts []MdbGreenplum Cluster Master Host - (Computed) Info about hosts in master subcluster. The structure is documented below.
- Segment
Hosts []MdbGreenplum Cluster Segment Host - (Computed) Info about hosts in segment subcluster. The structure is documented below.
- Status string
- Status of the cluster.
- created
At String - Creation timestamp of the cluster.
- health String
- Aggregated health of the cluster.
- id String
- The provider-assigned unique ID for this managed resource.
- master
Hosts List<MdbGreenplum Cluster Master Host> - (Computed) Info about hosts in master subcluster. The structure is documented below.
- segment
Hosts List<MdbGreenplum Cluster Segment Host> - (Computed) Info about hosts in segment subcluster. The structure is documented below.
- status String
- Status of the cluster.
- created
At string - Creation timestamp of the cluster.
- health string
- Aggregated health of the cluster.
- id string
- The provider-assigned unique ID for this managed resource.
- master
Hosts MdbGreenplum Cluster Master Host[] - (Computed) Info about hosts in master subcluster. The structure is documented below.
- segment
Hosts MdbGreenplum Cluster Segment Host[] - (Computed) Info about hosts in segment subcluster. The structure is documented below.
- status string
- Status of the cluster.
- created_
at str - Creation timestamp of the cluster.
- health str
- Aggregated health of the cluster.
- id str
- The provider-assigned unique ID for this managed resource.
- master_
hosts Sequence[MdbGreenplum Cluster Master Host] - (Computed) Info about hosts in master subcluster. The structure is documented below.
- segment_
hosts Sequence[MdbGreenplum Cluster Segment Host] - (Computed) Info about hosts in segment subcluster. The structure is documented below.
- status str
- Status of the cluster.
- created
At String - Creation timestamp of the cluster.
- health String
- Aggregated health of the cluster.
- id String
- The provider-assigned unique ID for this managed resource.
- master
Hosts List<Property Map> - (Computed) Info about hosts in master subcluster. The structure is documented below.
- segment
Hosts List<Property Map> - (Computed) Info about hosts in segment subcluster. The structure is documented below.
- status String
- Status of the cluster.
Look up Existing MdbGreenplumCluster Resource
Get an existing MdbGreenplumCluster 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?: MdbGreenplumClusterState, opts?: CustomResourceOptions): MdbGreenplumCluster
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access: Optional[MdbGreenplumClusterAccessArgs] = None,
assign_public_ip: Optional[bool] = None,
backup_window_start: Optional[MdbGreenplumClusterBackupWindowStartArgs] = None,
created_at: Optional[str] = None,
deletion_protection: Optional[bool] = None,
description: Optional[str] = None,
environment: Optional[str] = None,
folder_id: Optional[str] = None,
health: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
master_host_count: Optional[int] = None,
master_hosts: Optional[Sequence[MdbGreenplumClusterMasterHostArgs]] = None,
master_subcluster: Optional[MdbGreenplumClusterMasterSubclusterArgs] = None,
name: Optional[str] = None,
network_id: Optional[str] = None,
security_group_ids: Optional[Sequence[str]] = None,
segment_host_count: Optional[int] = None,
segment_hosts: Optional[Sequence[MdbGreenplumClusterSegmentHostArgs]] = None,
segment_in_host: Optional[int] = None,
segment_subcluster: Optional[MdbGreenplumClusterSegmentSubclusterArgs] = None,
status: Optional[str] = None,
subnet_id: Optional[str] = None,
user_name: Optional[str] = None,
user_password: Optional[str] = None,
version: Optional[str] = None,
zone: Optional[str] = None) -> MdbGreenplumCluster
func GetMdbGreenplumCluster(ctx *Context, name string, id IDInput, state *MdbGreenplumClusterState, opts ...ResourceOption) (*MdbGreenplumCluster, error)
public static MdbGreenplumCluster Get(string name, Input<string> id, MdbGreenplumClusterState? state, CustomResourceOptions? opts = null)
public static MdbGreenplumCluster get(String name, Output<String> id, MdbGreenplumClusterState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Access
Mdb
Greenplum Cluster Access - Access policy to the Greenplum cluster. The structure is documented below.
- Assign
Public boolIp - Sets whether the master hosts should get a public IP address on creation. Changing this parameter for an existing host is not supported at the moment.
- Backup
Window MdbStart Greenplum Cluster Backup Window Start - Time to start the daily backup, in the UTC timezone. The structure is documented below.
- Created
At string - Creation timestamp of the cluster.
- Deletion
Protection bool - Inhibits deletion of the cluster. Can be either
true
orfalse
. - Description string
- Description of the Greenplum cluster.
- Environment string
- Deployment environment of the Greenplum cluster. (PRODUCTION, PRESTABLE)
- Folder
Id string - The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- Health string
- Aggregated health of the cluster.
- Labels Dictionary<string, string>
- A set of key/value label pairs to assign to the Greenplum cluster.
- Master
Host intCount - Number of hosts in master subcluster (1 or 2).
- Master
Hosts List<MdbGreenplum Cluster Master Host> - (Computed) Info about hosts in master subcluster. The structure is documented below.
- Master
Subcluster MdbGreenplum Cluster Master Subcluster - Settings for master subcluster. The structure is documented below.
- Name string
- Name of the Greenplum cluster. Provided by the client when the cluster is created.
- Network
Id string - ID of the network, to which the Greenplum cluster uses.
- Security
Group List<string>Ids - A set of ids of security groups assigned to hosts of the cluster.
- Segment
Host intCount - Number of hosts in segment subcluster (from 1 to 32).
- Segment
Hosts List<MdbGreenplum Cluster Segment Host> - (Computed) Info about hosts in segment subcluster. The structure is documented below.
- Segment
In intHost - Number of segments on segment host (not more then 1 + RAM/8).
- Segment
Subcluster MdbGreenplum Cluster Segment Subcluster - Settings for segment subcluster. The structure is documented below.
- Status string
- Status of the cluster.
- Subnet
Id string - The ID of the subnet, to which the hosts belongs. The subnet must be a part of the network to which the cluster belongs.
- User
Name string - Greenplum cluster admin user name.
- User
Password string - Greenplum cluster admin password name.
- Version string
- Version of the Greenplum cluster. (6.17)
- Zone string
- The availability zone where the Greenplum hosts will be created.
- Access
Mdb
Greenplum Cluster Access Args - Access policy to the Greenplum cluster. The structure is documented below.
- Assign
Public boolIp - Sets whether the master hosts should get a public IP address on creation. Changing this parameter for an existing host is not supported at the moment.
- Backup
Window MdbStart Greenplum Cluster Backup Window Start Args - Time to start the daily backup, in the UTC timezone. The structure is documented below.
- Created
At string - Creation timestamp of the cluster.
- Deletion
Protection bool - Inhibits deletion of the cluster. Can be either
true
orfalse
. - Description string
- Description of the Greenplum cluster.
- Environment string
- Deployment environment of the Greenplum cluster. (PRODUCTION, PRESTABLE)
- Folder
Id string - The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- Health string
- Aggregated health of the cluster.
- Labels map[string]string
- A set of key/value label pairs to assign to the Greenplum cluster.
- Master
Host intCount - Number of hosts in master subcluster (1 or 2).
- Master
Hosts []MdbGreenplum Cluster Master Host Args - (Computed) Info about hosts in master subcluster. The structure is documented below.
- Master
Subcluster MdbGreenplum Cluster Master Subcluster Args - Settings for master subcluster. The structure is documented below.
- Name string
- Name of the Greenplum cluster. Provided by the client when the cluster is created.
- Network
Id string - ID of the network, to which the Greenplum cluster uses.
- Security
Group []stringIds - A set of ids of security groups assigned to hosts of the cluster.
- Segment
Host intCount - Number of hosts in segment subcluster (from 1 to 32).
- Segment
Hosts []MdbGreenplum Cluster Segment Host Args - (Computed) Info about hosts in segment subcluster. The structure is documented below.
- Segment
In intHost - Number of segments on segment host (not more then 1 + RAM/8).
- Segment
Subcluster MdbGreenplum Cluster Segment Subcluster Args - Settings for segment subcluster. The structure is documented below.
- Status string
- Status of the cluster.
- Subnet
Id string - The ID of the subnet, to which the hosts belongs. The subnet must be a part of the network to which the cluster belongs.
- User
Name string - Greenplum cluster admin user name.
- User
Password string - Greenplum cluster admin password name.
- Version string
- Version of the Greenplum cluster. (6.17)
- Zone string
- The availability zone where the Greenplum hosts will be created.
- access
Mdb
Greenplum Cluster Access - Access policy to the Greenplum cluster. The structure is documented below.
- assign
Public BooleanIp - Sets whether the master hosts should get a public IP address on creation. Changing this parameter for an existing host is not supported at the moment.
- backup
Window MdbStart Greenplum Cluster Backup Window Start - Time to start the daily backup, in the UTC timezone. The structure is documented below.
- created
At String - Creation timestamp of the cluster.
- deletion
Protection Boolean - Inhibits deletion of the cluster. Can be either
true
orfalse
. - description String
- Description of the Greenplum cluster.
- environment String
- Deployment environment of the Greenplum cluster. (PRODUCTION, PRESTABLE)
- folder
Id String - The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- health String
- Aggregated health of the cluster.
- labels Map<String,String>
- A set of key/value label pairs to assign to the Greenplum cluster.
- master
Host IntegerCount - Number of hosts in master subcluster (1 or 2).
- master
Hosts List<MdbGreenplum Cluster Master Host> - (Computed) Info about hosts in master subcluster. The structure is documented below.
- master
Subcluster MdbGreenplum Cluster Master Subcluster - Settings for master subcluster. The structure is documented below.
- name String
- Name of the Greenplum cluster. Provided by the client when the cluster is created.
- network
Id String - ID of the network, to which the Greenplum cluster uses.
- security
Group List<String>Ids - A set of ids of security groups assigned to hosts of the cluster.
- segment
Host IntegerCount - Number of hosts in segment subcluster (from 1 to 32).
- segment
Hosts List<MdbGreenplum Cluster Segment Host> - (Computed) Info about hosts in segment subcluster. The structure is documented below.
- segment
In IntegerHost - Number of segments on segment host (not more then 1 + RAM/8).
- segment
Subcluster MdbGreenplum Cluster Segment Subcluster - Settings for segment subcluster. The structure is documented below.
- status String
- Status of the cluster.
- subnet
Id String - The ID of the subnet, to which the hosts belongs. The subnet must be a part of the network to which the cluster belongs.
- user
Name String - Greenplum cluster admin user name.
- user
Password String - Greenplum cluster admin password name.
- version String
- Version of the Greenplum cluster. (6.17)
- zone String
- The availability zone where the Greenplum hosts will be created.
- access
Mdb
Greenplum Cluster Access - Access policy to the Greenplum cluster. The structure is documented below.
- assign
Public booleanIp - Sets whether the master hosts should get a public IP address on creation. Changing this parameter for an existing host is not supported at the moment.
- backup
Window MdbStart Greenplum Cluster Backup Window Start - Time to start the daily backup, in the UTC timezone. The structure is documented below.
- created
At string - Creation timestamp of the cluster.
- deletion
Protection boolean - Inhibits deletion of the cluster. Can be either
true
orfalse
. - description string
- Description of the Greenplum cluster.
- environment string
- Deployment environment of the Greenplum cluster. (PRODUCTION, PRESTABLE)
- folder
Id string - The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- health string
- Aggregated health of the cluster.
- labels {[key: string]: string}
- A set of key/value label pairs to assign to the Greenplum cluster.
- master
Host numberCount - Number of hosts in master subcluster (1 or 2).
- master
Hosts MdbGreenplum Cluster Master Host[] - (Computed) Info about hosts in master subcluster. The structure is documented below.
- master
Subcluster MdbGreenplum Cluster Master Subcluster - Settings for master subcluster. The structure is documented below.
- name string
- Name of the Greenplum cluster. Provided by the client when the cluster is created.
- network
Id string - ID of the network, to which the Greenplum cluster uses.
- security
Group string[]Ids - A set of ids of security groups assigned to hosts of the cluster.
- segment
Host numberCount - Number of hosts in segment subcluster (from 1 to 32).
- segment
Hosts MdbGreenplum Cluster Segment Host[] - (Computed) Info about hosts in segment subcluster. The structure is documented below.
- segment
In numberHost - Number of segments on segment host (not more then 1 + RAM/8).
- segment
Subcluster MdbGreenplum Cluster Segment Subcluster - Settings for segment subcluster. The structure is documented below.
- status string
- Status of the cluster.
- subnet
Id string - The ID of the subnet, to which the hosts belongs. The subnet must be a part of the network to which the cluster belongs.
- user
Name string - Greenplum cluster admin user name.
- user
Password string - Greenplum cluster admin password name.
- version string
- Version of the Greenplum cluster. (6.17)
- zone string
- The availability zone where the Greenplum hosts will be created.
- access
Mdb
Greenplum Cluster Access Args - Access policy to the Greenplum cluster. The structure is documented below.
- assign_
public_ boolip - Sets whether the master hosts should get a public IP address on creation. Changing this parameter for an existing host is not supported at the moment.
- backup_
window_ Mdbstart Greenplum Cluster Backup Window Start Args - Time to start the daily backup, in the UTC timezone. The structure is documented below.
- created_
at str - Creation timestamp of the cluster.
- deletion_
protection bool - Inhibits deletion of the cluster. Can be either
true
orfalse
. - description str
- Description of the Greenplum cluster.
- environment str
- Deployment environment of the Greenplum cluster. (PRODUCTION, PRESTABLE)
- folder_
id str - The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- health str
- Aggregated health of the cluster.
- labels Mapping[str, str]
- A set of key/value label pairs to assign to the Greenplum cluster.
- master_
host_ intcount - Number of hosts in master subcluster (1 or 2).
- master_
hosts Sequence[MdbGreenplum Cluster Master Host Args] - (Computed) Info about hosts in master subcluster. The structure is documented below.
- master_
subcluster MdbGreenplum Cluster Master Subcluster Args - Settings for master subcluster. The structure is documented below.
- name str
- Name of the Greenplum cluster. Provided by the client when the cluster is created.
- network_
id str - ID of the network, to which the Greenplum cluster uses.
- security_
group_ Sequence[str]ids - A set of ids of security groups assigned to hosts of the cluster.
- segment_
host_ intcount - Number of hosts in segment subcluster (from 1 to 32).
- segment_
hosts Sequence[MdbGreenplum Cluster Segment Host Args] - (Computed) Info about hosts in segment subcluster. The structure is documented below.
- segment_
in_ inthost - Number of segments on segment host (not more then 1 + RAM/8).
- segment_
subcluster MdbGreenplum Cluster Segment Subcluster Args - Settings for segment subcluster. The structure is documented below.
- status str
- Status of the cluster.
- subnet_
id str - The ID of the subnet, to which the hosts belongs. The subnet must be a part of the network to which the cluster belongs.
- user_
name str - Greenplum cluster admin user name.
- user_
password str - Greenplum cluster admin password name.
- version str
- Version of the Greenplum cluster. (6.17)
- zone str
- The availability zone where the Greenplum hosts will be created.
- access Property Map
- Access policy to the Greenplum cluster. The structure is documented below.
- assign
Public BooleanIp - Sets whether the master hosts should get a public IP address on creation. Changing this parameter for an existing host is not supported at the moment.
- backup
Window Property MapStart - Time to start the daily backup, in the UTC timezone. The structure is documented below.
- created
At String - Creation timestamp of the cluster.
- deletion
Protection Boolean - Inhibits deletion of the cluster. Can be either
true
orfalse
. - description String
- Description of the Greenplum cluster.
- environment String
- Deployment environment of the Greenplum cluster. (PRODUCTION, PRESTABLE)
- folder
Id String - The ID of the folder that the resource belongs to. If it is not provided, the default provider folder is used.
- health String
- Aggregated health of the cluster.
- labels Map<String>
- A set of key/value label pairs to assign to the Greenplum cluster.
- master
Host NumberCount - Number of hosts in master subcluster (1 or 2).
- master
Hosts List<Property Map> - (Computed) Info about hosts in master subcluster. The structure is documented below.
- master
Subcluster Property Map - Settings for master subcluster. The structure is documented below.
- name String
- Name of the Greenplum cluster. Provided by the client when the cluster is created.
- network
Id String - ID of the network, to which the Greenplum cluster uses.
- security
Group List<String>Ids - A set of ids of security groups assigned to hosts of the cluster.
- segment
Host NumberCount - Number of hosts in segment subcluster (from 1 to 32).
- segment
Hosts List<Property Map> - (Computed) Info about hosts in segment subcluster. The structure is documented below.
- segment
In NumberHost - Number of segments on segment host (not more then 1 + RAM/8).
- segment
Subcluster Property Map - Settings for segment subcluster. The structure is documented below.
- status String
- Status of the cluster.
- subnet
Id String - The ID of the subnet, to which the hosts belongs. The subnet must be a part of the network to which the cluster belongs.
- user
Name String - Greenplum cluster admin user name.
- user
Password String - Greenplum cluster admin password name.
- version String
- Version of the Greenplum cluster. (6.17)
- zone String
- The availability zone where the Greenplum hosts will be created.
Supporting Types
MdbGreenplumClusterAccess, MdbGreenplumClusterAccessArgs
- Data
Lens bool - Allow access for Yandex DataLens.
- Web
Sql bool - Allows access for SQL queries in the management console
- Data
Lens bool - Allow access for Yandex DataLens.
- Web
Sql bool - Allows access for SQL queries in the management console
- data
Lens Boolean - Allow access for Yandex DataLens.
- web
Sql Boolean - Allows access for SQL queries in the management console
- data
Lens boolean - Allow access for Yandex DataLens.
- web
Sql boolean - Allows access for SQL queries in the management console
- data_
lens bool - Allow access for Yandex DataLens.
- web_
sql bool - Allows access for SQL queries in the management console
- data
Lens Boolean - Allow access for Yandex DataLens.
- web
Sql Boolean - Allows access for SQL queries in the management console
MdbGreenplumClusterBackupWindowStart, MdbGreenplumClusterBackupWindowStartArgs
MdbGreenplumClusterMasterHost, MdbGreenplumClusterMasterHostArgs
- Assign
Public boolIp - Sets whether the master hosts should get a public IP address on creation. Changing this parameter for an existing host is not supported at the moment.
- Fqdn string
- (Computed) The fully qualified domain name of the host.
- Assign
Public boolIp - Sets whether the master hosts should get a public IP address on creation. Changing this parameter for an existing host is not supported at the moment.
- Fqdn string
- (Computed) The fully qualified domain name of the host.
- assign
Public BooleanIp - Sets whether the master hosts should get a public IP address on creation. Changing this parameter for an existing host is not supported at the moment.
- fqdn String
- (Computed) The fully qualified domain name of the host.
- assign
Public booleanIp - Sets whether the master hosts should get a public IP address on creation. Changing this parameter for an existing host is not supported at the moment.
- fqdn string
- (Computed) The fully qualified domain name of the host.
- assign_
public_ boolip - Sets whether the master hosts should get a public IP address on creation. Changing this parameter for an existing host is not supported at the moment.
- fqdn str
- (Computed) The fully qualified domain name of the host.
- assign
Public BooleanIp - Sets whether the master hosts should get a public IP address on creation. Changing this parameter for an existing host is not supported at the moment.
- fqdn String
- (Computed) The fully qualified domain name of the host.
MdbGreenplumClusterMasterSubcluster, MdbGreenplumClusterMasterSubclusterArgs
- Resources
Mdb
Greenplum Cluster Master Subcluster Resources - Resources allocated to hosts for segment subcluster of the Greenplum cluster. The structure is documented below.
- Resources
Mdb
Greenplum Cluster Master Subcluster Resources - Resources allocated to hosts for segment subcluster of the Greenplum cluster. The structure is documented below.
- resources
Mdb
Greenplum Cluster Master Subcluster Resources - Resources allocated to hosts for segment subcluster of the Greenplum cluster. The structure is documented below.
- resources
Mdb
Greenplum Cluster Master Subcluster Resources - Resources allocated to hosts for segment subcluster of the Greenplum cluster. The structure is documented below.
- resources
Mdb
Greenplum Cluster Master Subcluster Resources - Resources allocated to hosts for segment subcluster of the Greenplum cluster. The structure is documented below.
- resources Property Map
- Resources allocated to hosts for segment subcluster of the Greenplum cluster. The structure is documented below.
MdbGreenplumClusterMasterSubclusterResources, MdbGreenplumClusterMasterSubclusterResourcesArgs
- Disk
Size int - Disk
Type stringId - Resource
Preset stringId
- Disk
Size int - Disk
Type stringId - Resource
Preset stringId
- disk
Size Integer - disk
Type StringId - resource
Preset StringId
- disk
Size number - disk
Type stringId - resource
Preset stringId
- disk_
size int - disk_
type_ strid - resource_
preset_ strid
- disk
Size Number - disk
Type StringId - resource
Preset StringId
MdbGreenplumClusterSegmentHost, MdbGreenplumClusterSegmentHostArgs
- Fqdn string
- (Computed) The fully qualified domain name of the host.
- Fqdn string
- (Computed) The fully qualified domain name of the host.
- fqdn String
- (Computed) The fully qualified domain name of the host.
- fqdn string
- (Computed) The fully qualified domain name of the host.
- fqdn str
- (Computed) The fully qualified domain name of the host.
- fqdn String
- (Computed) The fully qualified domain name of the host.
MdbGreenplumClusterSegmentSubcluster, MdbGreenplumClusterSegmentSubclusterArgs
- Resources
Mdb
Greenplum Cluster Segment Subcluster Resources - Resources allocated to hosts for segment subcluster of the Greenplum cluster. The structure is documented below.
- Resources
Mdb
Greenplum Cluster Segment Subcluster Resources - Resources allocated to hosts for segment subcluster of the Greenplum cluster. The structure is documented below.
- resources
Mdb
Greenplum Cluster Segment Subcluster Resources - Resources allocated to hosts for segment subcluster of the Greenplum cluster. The structure is documented below.
- resources
Mdb
Greenplum Cluster Segment Subcluster Resources - Resources allocated to hosts for segment subcluster of the Greenplum cluster. The structure is documented below.
- resources
Mdb
Greenplum Cluster Segment Subcluster Resources - Resources allocated to hosts for segment subcluster of the Greenplum cluster. The structure is documented below.
- resources Property Map
- Resources allocated to hosts for segment subcluster of the Greenplum cluster. The structure is documented below.
MdbGreenplumClusterSegmentSubclusterResources, MdbGreenplumClusterSegmentSubclusterResourcesArgs
- Disk
Size int - Disk
Type stringId - Resource
Preset stringId
- Disk
Size int - Disk
Type stringId - Resource
Preset stringId
- disk
Size Integer - disk
Type StringId - resource
Preset StringId
- disk
Size number - disk
Type stringId - resource
Preset stringId
- disk_
size int - disk_
type_ strid - resource_
preset_ strid
- disk
Size Number - disk
Type StringId - resource
Preset StringId
Import
A cluster can be imported using the id
of the resource, e.g.
$ pulumi import yandex:index/mdbGreenplumCluster:MdbGreenplumCluster foo cluster_id
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Yandex pulumi/pulumi-yandex
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
yandex
Terraform Provider.