Google Cloud v8.26.0 published on Thursday, Apr 10, 2025 by Pulumi
gcp.alloydb.getInstance
Explore with Pulumi AI
Use this data source to get information about the available instance. For more details refer the API docs.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const qa = gcp.alloydb.getInstance({});
import pulumi
import pulumi_gcp as gcp
qa = gcp.alloydb.get_instance()
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/alloydb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := alloydb.LookupInstance(ctx, &alloydb.LookupInstanceArgs{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var qa = Gcp.Alloydb.GetInstance.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.alloydb.AlloydbFunctions;
import com.pulumi.gcp.alloydb.inputs.GetInstanceArgs;
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 qa = AlloydbFunctions.getInstance(GetInstanceArgs.builder()
.build());
}
}
variables:
qa:
fn::invoke:
function: gcp:alloydb:getInstance
arguments: {}
Using getInstance
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 getInstance(args: GetInstanceArgs, opts?: InvokeOptions): Promise<GetInstanceResult>
function getInstanceOutput(args: GetInstanceOutputArgs, opts?: InvokeOptions): Output<GetInstanceResult>
def get_instance(cluster_id: Optional[str] = None,
instance_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInstanceResult
def get_instance_output(cluster_id: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInstanceResult]
func LookupInstance(ctx *Context, args *LookupInstanceArgs, opts ...InvokeOption) (*LookupInstanceResult, error)
func LookupInstanceOutput(ctx *Context, args *LookupInstanceOutputArgs, opts ...InvokeOption) LookupInstanceResultOutput
> Note: This function is named LookupInstance
in the Go SDK.
public static class GetInstance
{
public static Task<GetInstanceResult> InvokeAsync(GetInstanceArgs args, InvokeOptions? opts = null)
public static Output<GetInstanceResult> Invoke(GetInstanceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInstanceResult> getInstance(GetInstanceArgs args, InvokeOptions options)
public static Output<GetInstanceResult> getInstance(GetInstanceArgs args, InvokeOptions options)
fn::invoke:
function: gcp:alloydb/getInstance:getInstance
arguments:
# arguments dictionary
The following arguments are supported:
- Cluster
Id This property is required. string - The ID of the alloydb cluster that the instance belongs to. 'alloydb_cluster_id'
- Instance
Id This property is required. string - The ID of the alloydb instance. 'alloydb_instance_id'
- Location string
- (optional) The canonical id of the location.If it is not provided, the provider project is used. For example: us-east1.
- Project string
- (optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Cluster
Id This property is required. string - The ID of the alloydb cluster that the instance belongs to. 'alloydb_cluster_id'
- Instance
Id This property is required. string - The ID of the alloydb instance. 'alloydb_instance_id'
- Location string
- (optional) The canonical id of the location.If it is not provided, the provider project is used. For example: us-east1.
- Project string
- (optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- cluster
Id This property is required. String - The ID of the alloydb cluster that the instance belongs to. 'alloydb_cluster_id'
- instance
Id This property is required. String - The ID of the alloydb instance. 'alloydb_instance_id'
- location String
- (optional) The canonical id of the location.If it is not provided, the provider project is used. For example: us-east1.
- project String
- (optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- cluster
Id This property is required. string - The ID of the alloydb cluster that the instance belongs to. 'alloydb_cluster_id'
- instance
Id This property is required. string - The ID of the alloydb instance. 'alloydb_instance_id'
- location string
- (optional) The canonical id of the location.If it is not provided, the provider project is used. For example: us-east1.
- project string
- (optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- cluster_
id This property is required. str - The ID of the alloydb cluster that the instance belongs to. 'alloydb_cluster_id'
- instance_
id This property is required. str - The ID of the alloydb instance. 'alloydb_instance_id'
- location str
- (optional) The canonical id of the location.If it is not provided, the provider project is used. For example: us-east1.
- project str
- (optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- cluster
Id This property is required. String - The ID of the alloydb cluster that the instance belongs to. 'alloydb_cluster_id'
- instance
Id This property is required. String - The ID of the alloydb instance. 'alloydb_instance_id'
- location String
- (optional) The canonical id of the location.If it is not provided, the provider project is used. For example: us-east1.
- project String
- (optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
getInstance Result
The following output properties are available:
- Annotations Dictionary<string, string>
- Availability
Type string - Client
Connection List<GetConfigs Instance Client Connection Config> - Cluster string
- Cluster
Id string - Create
Time string - Database
Flags Dictionary<string, string> - Display
Name string - Effective
Annotations Dictionary<string, string> - Effective
Labels Dictionary<string, string> - Gce
Zone string - Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - Instance
Type string - Ip
Address string - Labels Dictionary<string, string>
- Machine
Configs List<GetInstance Machine Config> - Name string
- Network
Configs List<GetInstance Network Config> - Observability
Configs List<GetInstance Observability Config> - Outbound
Public List<string>Ip Addresses - Psc
Instance List<GetConfigs Instance Psc Instance Config> - Public
Ip stringAddress - Pulumi
Labels Dictionary<string, string> - Query
Insights List<GetConfigs Instance Query Insights Config> - Read
Pool List<GetConfigs Instance Read Pool Config> - Reconciling bool
- State string
- Uid string
- Update
Time string - Location string
- Project string
- Annotations map[string]string
- Availability
Type string - Client
Connection []GetConfigs Instance Client Connection Config - Cluster string
- Cluster
Id string - Create
Time string - Database
Flags map[string]string - Display
Name string - Effective
Annotations map[string]string - Effective
Labels map[string]string - Gce
Zone string - Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - Instance
Type string - Ip
Address string - Labels map[string]string
- Machine
Configs []GetInstance Machine Config - Name string
- Network
Configs []GetInstance Network Config - Observability
Configs []GetInstance Observability Config - Outbound
Public []stringIp Addresses - Psc
Instance []GetConfigs Instance Psc Instance Config - Public
Ip stringAddress - Pulumi
Labels map[string]string - Query
Insights []GetConfigs Instance Query Insights Config - Read
Pool []GetConfigs Instance Read Pool Config - Reconciling bool
- State string
- Uid string
- Update
Time string - Location string
- Project string
- annotations Map<String,String>
- availability
Type String - client
Connection List<GetConfigs Instance Client Connection Config> - cluster String
- cluster
Id String - create
Time String - database
Flags Map<String,String> - display
Name String - effective
Annotations Map<String,String> - effective
Labels Map<String,String> - gce
Zone String - id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - instance
Type String - ip
Address String - labels Map<String,String>
- machine
Configs List<GetInstance Machine Config> - name String
- network
Configs List<GetInstance Network Config> - observability
Configs List<GetInstance Observability Config> - outbound
Public List<String>Ip Addresses - psc
Instance List<GetConfigs Instance Psc Instance Config> - public
Ip StringAddress - pulumi
Labels Map<String,String> - query
Insights List<GetConfigs Instance Query Insights Config> - read
Pool List<GetConfigs Instance Read Pool Config> - reconciling Boolean
- state String
- uid String
- update
Time String - location String
- project String
- annotations {[key: string]: string}
- availability
Type string - client
Connection GetConfigs Instance Client Connection Config[] - cluster string
- cluster
Id string - create
Time string - database
Flags {[key: string]: string} - display
Name string - effective
Annotations {[key: string]: string} - effective
Labels {[key: string]: string} - gce
Zone string - id string
- The provider-assigned unique ID for this managed resource.
- instance
Id string - instance
Type string - ip
Address string - labels {[key: string]: string}
- machine
Configs GetInstance Machine Config[] - name string
- network
Configs GetInstance Network Config[] - observability
Configs GetInstance Observability Config[] - outbound
Public string[]Ip Addresses - psc
Instance GetConfigs Instance Psc Instance Config[] - public
Ip stringAddress - pulumi
Labels {[key: string]: string} - query
Insights GetConfigs Instance Query Insights Config[] - read
Pool GetConfigs Instance Read Pool Config[] - reconciling boolean
- state string
- uid string
- update
Time string - location string
- project string
- annotations Mapping[str, str]
- availability_
type str - client_
connection_ Sequence[Getconfigs Instance Client Connection Config] - cluster str
- cluster_
id str - create_
time str - database_
flags Mapping[str, str] - display_
name str - effective_
annotations Mapping[str, str] - effective_
labels Mapping[str, str] - gce_
zone str - id str
- The provider-assigned unique ID for this managed resource.
- instance_
id str - instance_
type str - ip_
address str - labels Mapping[str, str]
- machine_
configs Sequence[GetInstance Machine Config] - name str
- network_
configs Sequence[GetInstance Network Config] - observability_
configs Sequence[GetInstance Observability Config] - outbound_
public_ Sequence[str]ip_ addresses - psc_
instance_ Sequence[Getconfigs Instance Psc Instance Config] - public_
ip_ straddress - pulumi_
labels Mapping[str, str] - query_
insights_ Sequence[Getconfigs Instance Query Insights Config] - read_
pool_ Sequence[Getconfigs Instance Read Pool Config] - reconciling bool
- state str
- uid str
- update_
time str - location str
- project str
- annotations Map<String>
- availability
Type String - client
Connection List<Property Map>Configs - cluster String
- cluster
Id String - create
Time String - database
Flags Map<String> - display
Name String - effective
Annotations Map<String> - effective
Labels Map<String> - gce
Zone String - id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - instance
Type String - ip
Address String - labels Map<String>
- machine
Configs List<Property Map> - name String
- network
Configs List<Property Map> - observability
Configs List<Property Map> - outbound
Public List<String>Ip Addresses - psc
Instance List<Property Map>Configs - public
Ip StringAddress - pulumi
Labels Map<String> - query
Insights List<Property Map>Configs - read
Pool List<Property Map>Configs - reconciling Boolean
- state String
- uid String
- update
Time String - location String
- project String
Supporting Types
GetInstanceClientConnectionConfig
- Require
Connectors This property is required. bool - Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
- Ssl
Configs This property is required. List<GetInstance Client Connection Config Ssl Config> - SSL config option for this instance.
- Require
Connectors This property is required. bool - Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
- Ssl
Configs This property is required. []GetInstance Client Connection Config Ssl Config - SSL config option for this instance.
- require
Connectors This property is required. Boolean - Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
- ssl
Configs This property is required. List<GetInstance Client Connection Config Ssl Config> - SSL config option for this instance.
- require
Connectors This property is required. boolean - Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
- ssl
Configs This property is required. GetInstance Client Connection Config Ssl Config[] - SSL config option for this instance.
- require_
connectors This property is required. bool - Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
- ssl_
configs This property is required. Sequence[GetInstance Client Connection Config Ssl Config] - SSL config option for this instance.
- require
Connectors This property is required. Boolean - Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
- ssl
Configs This property is required. List<Property Map> - SSL config option for this instance.
GetInstanceClientConnectionConfigSslConfig
- Ssl
Mode This property is required. string - SSL mode. Specifies client-server SSL/TLS connection behavior. Possible values: ["ENCRYPTED_ONLY", "ALLOW_UNENCRYPTED_AND_ENCRYPTED"]
- Ssl
Mode This property is required. string - SSL mode. Specifies client-server SSL/TLS connection behavior. Possible values: ["ENCRYPTED_ONLY", "ALLOW_UNENCRYPTED_AND_ENCRYPTED"]
- ssl
Mode This property is required. String - SSL mode. Specifies client-server SSL/TLS connection behavior. Possible values: ["ENCRYPTED_ONLY", "ALLOW_UNENCRYPTED_AND_ENCRYPTED"]
- ssl
Mode This property is required. string - SSL mode. Specifies client-server SSL/TLS connection behavior. Possible values: ["ENCRYPTED_ONLY", "ALLOW_UNENCRYPTED_AND_ENCRYPTED"]
- ssl_
mode This property is required. str - SSL mode. Specifies client-server SSL/TLS connection behavior. Possible values: ["ENCRYPTED_ONLY", "ALLOW_UNENCRYPTED_AND_ENCRYPTED"]
- ssl
Mode This property is required. String - SSL mode. Specifies client-server SSL/TLS connection behavior. Possible values: ["ENCRYPTED_ONLY", "ALLOW_UNENCRYPTED_AND_ENCRYPTED"]
GetInstanceMachineConfig
- Cpu
Count This property is required. int - The number of CPU's in the VM instance.
- Cpu
Count This property is required. int - The number of CPU's in the VM instance.
- cpu
Count This property is required. Integer - The number of CPU's in the VM instance.
- cpu
Count This property is required. number - The number of CPU's in the VM instance.
- cpu_
count This property is required. int - The number of CPU's in the VM instance.
- cpu
Count This property is required. Number - The number of CPU's in the VM instance.
GetInstanceNetworkConfig
This property is required. List<GetInstance Network Config Authorized External Network> - A list of external networks authorized to access this instance. This field is only allowed to be set when 'enable_public_ip' is set to true.
- Enable
Outbound Public Ip This property is required. bool - Enabling outbound public ip for the instance.
- Enable
Public Ip This property is required. bool - Enabling public ip for the instance. If a user wishes to disable this, please also clear the list of the authorized external networks set on the same instance.
This property is required. []GetInstance Network Config Authorized External Network - A list of external networks authorized to access this instance. This field is only allowed to be set when 'enable_public_ip' is set to true.
- Enable
Outbound Public Ip This property is required. bool - Enabling outbound public ip for the instance.
- Enable
Public Ip This property is required. bool - Enabling public ip for the instance. If a user wishes to disable this, please also clear the list of the authorized external networks set on the same instance.
This property is required. List<GetInstance Network Config Authorized External Network> - A list of external networks authorized to access this instance. This field is only allowed to be set when 'enable_public_ip' is set to true.
- enable
Outbound Public Ip This property is required. Boolean - Enabling outbound public ip for the instance.
- enable
Public Ip This property is required. Boolean - Enabling public ip for the instance. If a user wishes to disable this, please also clear the list of the authorized external networks set on the same instance.
This property is required. GetInstance Network Config Authorized External Network[] - A list of external networks authorized to access this instance. This field is only allowed to be set when 'enable_public_ip' is set to true.
- enable
Outbound Public Ip This property is required. boolean - Enabling outbound public ip for the instance.
- enable
Public Ip This property is required. boolean - Enabling public ip for the instance. If a user wishes to disable this, please also clear the list of the authorized external networks set on the same instance.
This property is required. Sequence[GetInstance Network Config Authorized External Network] - A list of external networks authorized to access this instance. This field is only allowed to be set when 'enable_public_ip' is set to true.
- enable_
outbound_ public_ ip This property is required. bool - Enabling outbound public ip for the instance.
- enable_
public_ ip This property is required. bool - Enabling public ip for the instance. If a user wishes to disable this, please also clear the list of the authorized external networks set on the same instance.
This property is required. List<Property Map>- A list of external networks authorized to access this instance. This field is only allowed to be set when 'enable_public_ip' is set to true.
- enable
Outbound Public Ip This property is required. Boolean - Enabling outbound public ip for the instance.
- enable
Public Ip This property is required. Boolean - Enabling public ip for the instance. If a user wishes to disable this, please also clear the list of the authorized external networks set on the same instance.
GetInstanceNetworkConfigAuthorizedExternalNetwork
- Cidr
Range This property is required. string - CIDR range for one authorized network of the instance.
- Cidr
Range This property is required. string - CIDR range for one authorized network of the instance.
- cidr
Range This property is required. String - CIDR range for one authorized network of the instance.
- cidr
Range This property is required. string - CIDR range for one authorized network of the instance.
- cidr_
range This property is required. str - CIDR range for one authorized network of the instance.
- cidr
Range This property is required. String - CIDR range for one authorized network of the instance.
GetInstanceObservabilityConfig
- Enabled
This property is required. bool - Observability feature status for an instance.
- Max
Query String Length This property is required. int - Query string length. The default value is 10240. Any integer between 1024 and 100000 is considered valid.
- Preserve
Comments This property is required. bool - Preserve comments in the query string.
- Query
Plans Per Minute This property is required. int - Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 200 is considered valid.
This property is required. bool- Record application tags for an instance. This flag is turned "on" by default.
- Track
Active Queries This property is required. bool - Track actively running queries. If not set, default value is "off".
- Track
Wait Event Types This property is required. bool - Record wait event types during query execution for an instance.
- Track
Wait Events This property is required. bool - Record wait events during query execution for an instance.
- Enabled
This property is required. bool - Observability feature status for an instance.
- Max
Query String Length This property is required. int - Query string length. The default value is 10240. Any integer between 1024 and 100000 is considered valid.
- Preserve
Comments This property is required. bool - Preserve comments in the query string.
- Query
Plans Per Minute This property is required. int - Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 200 is considered valid.
This property is required. bool- Record application tags for an instance. This flag is turned "on" by default.
- Track
Active Queries This property is required. bool - Track actively running queries. If not set, default value is "off".
- Track
Wait Event Types This property is required. bool - Record wait event types during query execution for an instance.
- Track
Wait Events This property is required. bool - Record wait events during query execution for an instance.
- enabled
This property is required. Boolean - Observability feature status for an instance.
- max
Query String Length This property is required. Integer - Query string length. The default value is 10240. Any integer between 1024 and 100000 is considered valid.
- preserve
Comments This property is required. Boolean - Preserve comments in the query string.
- query
Plans Per Minute This property is required. Integer - Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 200 is considered valid.
This property is required. Boolean- Record application tags for an instance. This flag is turned "on" by default.
- track
Active Queries This property is required. Boolean - Track actively running queries. If not set, default value is "off".
- track
Wait Event Types This property is required. Boolean - Record wait event types during query execution for an instance.
- track
Wait Events This property is required. Boolean - Record wait events during query execution for an instance.
- enabled
This property is required. boolean - Observability feature status for an instance.
- max
Query String Length This property is required. number - Query string length. The default value is 10240. Any integer between 1024 and 100000 is considered valid.
- preserve
Comments This property is required. boolean - Preserve comments in the query string.
- query
Plans Per Minute This property is required. number - Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 200 is considered valid.
This property is required. boolean- Record application tags for an instance. This flag is turned "on" by default.
- track
Active Queries This property is required. boolean - Track actively running queries. If not set, default value is "off".
- track
Wait Event Types This property is required. boolean - Record wait event types during query execution for an instance.
- track
Wait Events This property is required. boolean - Record wait events during query execution for an instance.
- enabled
This property is required. bool - Observability feature status for an instance.
- max_
query_ string_ length This property is required. int - Query string length. The default value is 10240. Any integer between 1024 and 100000 is considered valid.
- preserve_
comments This property is required. bool - Preserve comments in the query string.
- query_
plans_ per_ minute This property is required. int - Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 200 is considered valid.
This property is required. bool- Record application tags for an instance. This flag is turned "on" by default.
- track_
active_ queries This property is required. bool - Track actively running queries. If not set, default value is "off".
- track_
wait_ event_ types This property is required. bool - Record wait event types during query execution for an instance.
- track_
wait_ events This property is required. bool - Record wait events during query execution for an instance.
- enabled
This property is required. Boolean - Observability feature status for an instance.
- max
Query String Length This property is required. Number - Query string length. The default value is 10240. Any integer between 1024 and 100000 is considered valid.
- preserve
Comments This property is required. Boolean - Preserve comments in the query string.
- query
Plans Per Minute This property is required. Number - Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 200 is considered valid.
This property is required. Boolean- Record application tags for an instance. This flag is turned "on" by default.
- track
Active Queries This property is required. Boolean - Track actively running queries. If not set, default value is "off".
- track
Wait Event Types This property is required. Boolean - Record wait event types during query execution for an instance.
- track
Wait Events This property is required. Boolean - Record wait events during query execution for an instance.
GetInstancePscInstanceConfig
- Allowed
Consumer Projects This property is required. List<string> - List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance. These should be specified as project numbers only.
- Psc
Dns Name This property is required. string - The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog
- Psc
Interface Configs This property is required. List<GetInstance Psc Instance Config Psc Interface Config> - Configurations for setting up PSC interfaces attached to the instance which are used for outbound connectivity. Currently, AlloyDB supports only 0 or 1 PSC interface.
- Service
Attachment Link This property is required. string - The service attachment created when Private Service Connect (PSC) is enabled for the instance. The name of the resource will be in the format of 'projects//regions//serviceAttachments/'
- Allowed
Consumer Projects This property is required. []string - List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance. These should be specified as project numbers only.
- Psc
Dns Name This property is required. string - The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog
- Psc
Interface Configs This property is required. []GetInstance Psc Instance Config Psc Interface Config - Configurations for setting up PSC interfaces attached to the instance which are used for outbound connectivity. Currently, AlloyDB supports only 0 or 1 PSC interface.
- Service
Attachment Link This property is required. string - The service attachment created when Private Service Connect (PSC) is enabled for the instance. The name of the resource will be in the format of 'projects//regions//serviceAttachments/'
- allowed
Consumer Projects This property is required. List<String> - List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance. These should be specified as project numbers only.
- psc
Dns Name This property is required. String - The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog
- psc
Interface Configs This property is required. List<GetInstance Psc Instance Config Psc Interface Config> - Configurations for setting up PSC interfaces attached to the instance which are used for outbound connectivity. Currently, AlloyDB supports only 0 or 1 PSC interface.
- service
Attachment Link This property is required. String - The service attachment created when Private Service Connect (PSC) is enabled for the instance. The name of the resource will be in the format of 'projects//regions//serviceAttachments/'
- allowed
Consumer Projects This property is required. string[] - List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance. These should be specified as project numbers only.
- psc
Dns Name This property is required. string - The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog
- psc
Interface Configs This property is required. GetInstance Psc Instance Config Psc Interface Config[] - Configurations for setting up PSC interfaces attached to the instance which are used for outbound connectivity. Currently, AlloyDB supports only 0 or 1 PSC interface.
- service
Attachment Link This property is required. string - The service attachment created when Private Service Connect (PSC) is enabled for the instance. The name of the resource will be in the format of 'projects//regions//serviceAttachments/'
- allowed_
consumer_ projects This property is required. Sequence[str] - List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance. These should be specified as project numbers only.
- psc_
dns_ name This property is required. str - The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog
- psc_
interface_ configs This property is required. Sequence[GetInstance Psc Instance Config Psc Interface Config] - Configurations for setting up PSC interfaces attached to the instance which are used for outbound connectivity. Currently, AlloyDB supports only 0 or 1 PSC interface.
- service_
attachment_ link This property is required. str - The service attachment created when Private Service Connect (PSC) is enabled for the instance. The name of the resource will be in the format of 'projects//regions//serviceAttachments/'
- allowed
Consumer Projects This property is required. List<String> - List of consumer projects that are allowed to create PSC endpoints to service-attachments to this instance. These should be specified as project numbers only.
- psc
Dns Name This property is required. String - The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog
- psc
Interface Configs This property is required. List<Property Map> - Configurations for setting up PSC interfaces attached to the instance which are used for outbound connectivity. Currently, AlloyDB supports only 0 or 1 PSC interface.
- service
Attachment Link This property is required. String - The service attachment created when Private Service Connect (PSC) is enabled for the instance. The name of the resource will be in the format of 'projects//regions//serviceAttachments/'
GetInstancePscInstanceConfigPscInterfaceConfig
- Network
Attachment Resource This property is required. string - The network attachment resource created in the consumer project to which the PSC interface will be linked. This is of the format: "projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}". The network attachment must be in the same region as the instance.
- Network
Attachment Resource This property is required. string - The network attachment resource created in the consumer project to which the PSC interface will be linked. This is of the format: "projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}". The network attachment must be in the same region as the instance.
- network
Attachment Resource This property is required. String - The network attachment resource created in the consumer project to which the PSC interface will be linked. This is of the format: "projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}". The network attachment must be in the same region as the instance.
- network
Attachment Resource This property is required. string - The network attachment resource created in the consumer project to which the PSC interface will be linked. This is of the format: "projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}". The network attachment must be in the same region as the instance.
- network_
attachment_ resource This property is required. str - The network attachment resource created in the consumer project to which the PSC interface will be linked. This is of the format: "projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}". The network attachment must be in the same region as the instance.
- network
Attachment Resource This property is required. String - The network attachment resource created in the consumer project to which the PSC interface will be linked. This is of the format: "projects/${CONSUMER_PROJECT}/regions/${REGION}/networkAttachments/${NETWORK_ATTACHMENT_NAME}". The network attachment must be in the same region as the instance.
GetInstanceQueryInsightsConfig
- Query
Plans Per Minute This property is required. int - Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.
- Query
String Length This property is required. int - Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
This property is required. bool- Record application tags for an instance. This flag is turned "on" by default.
- Record
Client Address This property is required. bool - Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
- Query
Plans Per Minute This property is required. int - Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.
- Query
String Length This property is required. int - Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
This property is required. bool- Record application tags for an instance. This flag is turned "on" by default.
- Record
Client Address This property is required. bool - Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
- query
Plans Per Minute This property is required. Integer - Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.
- query
String Length This property is required. Integer - Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
This property is required. Boolean- Record application tags for an instance. This flag is turned "on" by default.
- record
Client Address This property is required. Boolean - Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
- query
Plans Per Minute This property is required. number - Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.
- query
String Length This property is required. number - Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
This property is required. boolean- Record application tags for an instance. This flag is turned "on" by default.
- record
Client Address This property is required. boolean - Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
- query_
plans_ per_ minute This property is required. int - Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.
- query_
string_ length This property is required. int - Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
This property is required. bool- Record application tags for an instance. This flag is turned "on" by default.
- record_
client_ address This property is required. bool - Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
- query
Plans Per Minute This property is required. Number - Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.
- query
String Length This property is required. Number - Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
This property is required. Boolean- Record application tags for an instance. This flag is turned "on" by default.
- record
Client Address This property is required. Boolean - Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
GetInstanceReadPoolConfig
- Node
Count This property is required. int - Read capacity, i.e. number of nodes in a read pool instance.
- Node
Count This property is required. int - Read capacity, i.e. number of nodes in a read pool instance.
- node
Count This property is required. Integer - Read capacity, i.e. number of nodes in a read pool instance.
- node
Count This property is required. number - Read capacity, i.e. number of nodes in a read pool instance.
- node_
count This property is required. int - Read capacity, i.e. number of nodes in a read pool instance.
- node
Count This property is required. Number - Read capacity, i.e. number of nodes in a read pool instance.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-beta
Terraform Provider.