Google Cloud v8.22.0 published on Thursday, Mar 13, 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();
    }
}
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 dictionaryThe following arguments are supported:
- ClusterId string
- The ID of the alloydb cluster that the instance belongs to. 'alloydb_cluster_id'
- InstanceId 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.
- ClusterId string
- The ID of the alloydb cluster that the instance belongs to. 'alloydb_cluster_id'
- InstanceId 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.
- clusterId String
- The ID of the alloydb cluster that the instance belongs to. 'alloydb_cluster_id'
- instanceId 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.
- clusterId string
- The ID of the alloydb cluster that the instance belongs to. 'alloydb_cluster_id'
- instanceId 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 str
- The ID of the alloydb cluster that the instance belongs to. 'alloydb_cluster_id'
- instance_id 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.
- clusterId String
- The ID of the alloydb cluster that the instance belongs to. 'alloydb_cluster_id'
- instanceId 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>
- AvailabilityType string
- ClientConnection List<GetConfigs Instance Client Connection Config> 
- Cluster string
- ClusterId string
- CreateTime string
- DatabaseFlags Dictionary<string, string>
- DisplayName string
- EffectiveAnnotations Dictionary<string, string>
- EffectiveLabels Dictionary<string, string>
- GceZone string
- Id string
- The provider-assigned unique ID for this managed resource.
- InstanceId string
- InstanceType string
- IpAddress string
- Labels Dictionary<string, string>
- MachineConfigs List<GetInstance Machine Config> 
- Name string
- NetworkConfigs List<GetInstance Network Config> 
- ObservabilityConfigs List<GetInstance Observability Config> 
- OutboundPublic List<string>Ip Addresses 
- PscInstance List<GetConfigs Instance Psc Instance Config> 
- PublicIp stringAddress 
- PulumiLabels Dictionary<string, string>
- QueryInsights List<GetConfigs Instance Query Insights Config> 
- ReadPool List<GetConfigs Instance Read Pool Config> 
- Reconciling bool
- State string
- Uid string
- UpdateTime string
- Location string
- Project string
- Annotations map[string]string
- AvailabilityType string
- ClientConnection []GetConfigs Instance Client Connection Config 
- Cluster string
- ClusterId string
- CreateTime string
- DatabaseFlags map[string]string
- DisplayName string
- EffectiveAnnotations map[string]string
- EffectiveLabels map[string]string
- GceZone string
- Id string
- The provider-assigned unique ID for this managed resource.
- InstanceId string
- InstanceType string
- IpAddress string
- Labels map[string]string
- MachineConfigs []GetInstance Machine Config 
- Name string
- NetworkConfigs []GetInstance Network Config 
- ObservabilityConfigs []GetInstance Observability Config 
- OutboundPublic []stringIp Addresses 
- PscInstance []GetConfigs Instance Psc Instance Config 
- PublicIp stringAddress 
- PulumiLabels map[string]string
- QueryInsights []GetConfigs Instance Query Insights Config 
- ReadPool []GetConfigs Instance Read Pool Config 
- Reconciling bool
- State string
- Uid string
- UpdateTime string
- Location string
- Project string
- annotations Map<String,String>
- availabilityType String
- clientConnection List<GetConfigs Instance Client Connection Config> 
- cluster String
- clusterId String
- createTime String
- databaseFlags Map<String,String>
- displayName String
- effectiveAnnotations Map<String,String>
- effectiveLabels Map<String,String>
- gceZone String
- id String
- The provider-assigned unique ID for this managed resource.
- instanceId String
- instanceType String
- ipAddress String
- labels Map<String,String>
- machineConfigs List<GetInstance Machine Config> 
- name String
- networkConfigs List<GetInstance Network Config> 
- observabilityConfigs List<GetInstance Observability Config> 
- outboundPublic List<String>Ip Addresses 
- pscInstance List<GetConfigs Instance Psc Instance Config> 
- publicIp StringAddress 
- pulumiLabels Map<String,String>
- queryInsights List<GetConfigs Instance Query Insights Config> 
- readPool List<GetConfigs Instance Read Pool Config> 
- reconciling Boolean
- state String
- uid String
- updateTime String
- location String
- project String
- annotations {[key: string]: string}
- availabilityType string
- clientConnection GetConfigs Instance Client Connection Config[] 
- cluster string
- clusterId string
- createTime string
- databaseFlags {[key: string]: string}
- displayName string
- effectiveAnnotations {[key: string]: string}
- effectiveLabels {[key: string]: string}
- gceZone string
- id string
- The provider-assigned unique ID for this managed resource.
- instanceId string
- instanceType string
- ipAddress string
- labels {[key: string]: string}
- machineConfigs GetInstance Machine Config[] 
- name string
- networkConfigs GetInstance Network Config[] 
- observabilityConfigs GetInstance Observability Config[] 
- outboundPublic string[]Ip Addresses 
- pscInstance GetConfigs Instance Psc Instance Config[] 
- publicIp stringAddress 
- pulumiLabels {[key: string]: string}
- queryInsights GetConfigs Instance Query Insights Config[] 
- readPool GetConfigs Instance Read Pool Config[] 
- reconciling boolean
- state string
- uid string
- updateTime 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>
- availabilityType String
- clientConnection List<Property Map>Configs 
- cluster String
- clusterId String
- createTime String
- databaseFlags Map<String>
- displayName String
- effectiveAnnotations Map<String>
- effectiveLabels Map<String>
- gceZone String
- id String
- The provider-assigned unique ID for this managed resource.
- instanceId String
- instanceType String
- ipAddress String
- labels Map<String>
- machineConfigs List<Property Map>
- name String
- networkConfigs List<Property Map>
- observabilityConfigs List<Property Map>
- outboundPublic List<String>Ip Addresses 
- pscInstance List<Property Map>Configs 
- publicIp StringAddress 
- pulumiLabels Map<String>
- queryInsights List<Property Map>Configs 
- readPool List<Property Map>Configs 
- reconciling Boolean
- state String
- uid String
- updateTime String
- location String
- project String
Supporting Types
GetInstanceClientConnectionConfig    
- RequireConnectors bool
- Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
- SslConfigs List<GetInstance Client Connection Config Ssl Config> 
- SSL config option for this instance.
- RequireConnectors bool
- Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
- SslConfigs []GetInstance Client Connection Config Ssl Config 
- SSL config option for this instance.
- requireConnectors Boolean
- Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
- sslConfigs List<GetInstance Client Connection Config Ssl Config> 
- SSL config option for this instance.
- requireConnectors boolean
- Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
- sslConfigs GetInstance Client Connection Config Ssl Config[] 
- SSL config option for this instance.
- require_connectors bool
- Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
- ssl_configs Sequence[GetInstance Client Connection Config Ssl Config] 
- SSL config option for this instance.
- requireConnectors Boolean
- Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
- sslConfigs List<Property Map>
- SSL config option for this instance.
GetInstanceClientConnectionConfigSslConfig      
- SslMode string
- SSL mode. Specifies client-server SSL/TLS connection behavior. Possible values: ["ENCRYPTED_ONLY", "ALLOW_UNENCRYPTED_AND_ENCRYPTED"]
- SslMode string
- SSL mode. Specifies client-server SSL/TLS connection behavior. Possible values: ["ENCRYPTED_ONLY", "ALLOW_UNENCRYPTED_AND_ENCRYPTED"]
- sslMode String
- SSL mode. Specifies client-server SSL/TLS connection behavior. Possible values: ["ENCRYPTED_ONLY", "ALLOW_UNENCRYPTED_AND_ENCRYPTED"]
- sslMode string
- SSL mode. Specifies client-server SSL/TLS connection behavior. Possible values: ["ENCRYPTED_ONLY", "ALLOW_UNENCRYPTED_AND_ENCRYPTED"]
- ssl_mode str
- SSL mode. Specifies client-server SSL/TLS connection behavior. Possible values: ["ENCRYPTED_ONLY", "ALLOW_UNENCRYPTED_AND_ENCRYPTED"]
- sslMode String
- SSL mode. Specifies client-server SSL/TLS connection behavior. Possible values: ["ENCRYPTED_ONLY", "ALLOW_UNENCRYPTED_AND_ENCRYPTED"]
GetInstanceMachineConfig   
- CpuCount int
- The number of CPU's in the VM instance.
- CpuCount int
- The number of CPU's in the VM instance.
- cpuCount Integer
- The number of CPU's in the VM instance.
- cpuCount number
- The number of CPU's in the VM instance.
- cpu_count int
- The number of CPU's in the VM instance.
- cpuCount Number
- The number of CPU's in the VM instance.
GetInstanceNetworkConfig   
- 
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.
- EnableOutbound boolPublic Ip 
- Enabling outbound public ip for the instance.
- EnablePublic boolIp 
- 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.
- 
[]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.
- EnableOutbound boolPublic Ip 
- Enabling outbound public ip for the instance.
- EnablePublic boolIp 
- 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.
- 
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.
- enableOutbound BooleanPublic Ip 
- Enabling outbound public ip for the instance.
- enablePublic BooleanIp 
- 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.
- 
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.
- enableOutbound booleanPublic Ip 
- Enabling outbound public ip for the instance.
- enablePublic booleanIp 
- 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.
- 
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_ boolpublic_ ip 
- Enabling outbound public ip for the instance.
- enable_public_ boolip 
- 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.
- 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.
- enableOutbound BooleanPublic Ip 
- Enabling outbound public ip for the instance.
- enablePublic BooleanIp 
- 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      
- CidrRange string
- CIDR range for one authorized network of the instance.
- CidrRange string
- CIDR range for one authorized network of the instance.
- cidrRange String
- CIDR range for one authorized network of the instance.
- cidrRange string
- CIDR range for one authorized network of the instance.
- cidr_range str
- CIDR range for one authorized network of the instance.
- cidrRange String
- CIDR range for one authorized network of the instance.
GetInstanceObservabilityConfig   
- Enabled bool
- Observability feature status for an instance.
- MaxQuery intString Length 
- Query string length. The default value is 10240. Any integer between 1024 and 100000 is considered valid.
- PreserveComments bool
- Preserve comments in the query string.
- QueryPlans intPer Minute 
- 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.
- bool
- Record application tags for an instance. This flag is turned "on" by default.
- TrackActive boolQueries 
- Track actively running queries. If not set, default value is "off".
- TrackWait boolEvent Types 
- Record wait event types during query execution for an instance.
- TrackWait boolEvents 
- Record wait events during query execution for an instance.
- Enabled bool
- Observability feature status for an instance.
- MaxQuery intString Length 
- Query string length. The default value is 10240. Any integer between 1024 and 100000 is considered valid.
- PreserveComments bool
- Preserve comments in the query string.
- QueryPlans intPer Minute 
- 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.
- bool
- Record application tags for an instance. This flag is turned "on" by default.
- TrackActive boolQueries 
- Track actively running queries. If not set, default value is "off".
- TrackWait boolEvent Types 
- Record wait event types during query execution for an instance.
- TrackWait boolEvents 
- Record wait events during query execution for an instance.
- enabled Boolean
- Observability feature status for an instance.
- maxQuery IntegerString Length 
- Query string length. The default value is 10240. Any integer between 1024 and 100000 is considered valid.
- preserveComments Boolean
- Preserve comments in the query string.
- queryPlans IntegerPer Minute 
- 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.
- Boolean
- Record application tags for an instance. This flag is turned "on" by default.
- trackActive BooleanQueries 
- Track actively running queries. If not set, default value is "off".
- trackWait BooleanEvent Types 
- Record wait event types during query execution for an instance.
- trackWait BooleanEvents 
- Record wait events during query execution for an instance.
- enabled boolean
- Observability feature status for an instance.
- maxQuery numberString Length 
- Query string length. The default value is 10240. Any integer between 1024 and 100000 is considered valid.
- preserveComments boolean
- Preserve comments in the query string.
- queryPlans numberPer Minute 
- 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.
- boolean
- Record application tags for an instance. This flag is turned "on" by default.
- trackActive booleanQueries 
- Track actively running queries. If not set, default value is "off".
- trackWait booleanEvent Types 
- Record wait event types during query execution for an instance.
- trackWait booleanEvents 
- Record wait events during query execution for an instance.
- enabled bool
- Observability feature status for an instance.
- max_query_ intstring_ length 
- Query string length. The default value is 10240. Any integer between 1024 and 100000 is considered valid.
- preserve_comments bool
- Preserve comments in the query string.
- query_plans_ intper_ minute 
- 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.
- bool
- Record application tags for an instance. This flag is turned "on" by default.
- track_active_ boolqueries 
- Track actively running queries. If not set, default value is "off".
- track_wait_ boolevent_ types 
- Record wait event types during query execution for an instance.
- track_wait_ boolevents 
- Record wait events during query execution for an instance.
- enabled Boolean
- Observability feature status for an instance.
- maxQuery NumberString Length 
- Query string length. The default value is 10240. Any integer between 1024 and 100000 is considered valid.
- preserveComments Boolean
- Preserve comments in the query string.
- queryPlans NumberPer Minute 
- 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.
- Boolean
- Record application tags for an instance. This flag is turned "on" by default.
- trackActive BooleanQueries 
- Track actively running queries. If not set, default value is "off".
- trackWait BooleanEvent Types 
- Record wait event types during query execution for an instance.
- trackWait BooleanEvents 
- Record wait events during query execution for an instance.
GetInstancePscInstanceConfig    
- AllowedConsumer List<string>Projects 
- 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.
- PscDns stringName 
- The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog
- PscInterface List<GetConfigs Instance 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.
- ServiceAttachment stringLink 
- 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/'
- AllowedConsumer []stringProjects 
- 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.
- PscDns stringName 
- The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog
- PscInterface []GetConfigs Instance 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.
- ServiceAttachment stringLink 
- 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/'
- allowedConsumer List<String>Projects 
- 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.
- pscDns StringName 
- The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog
- pscInterface List<GetConfigs Instance 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.
- serviceAttachment StringLink 
- 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/'
- allowedConsumer string[]Projects 
- 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.
- pscDns stringName 
- The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog
- pscInterface GetConfigs Instance 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.
- serviceAttachment stringLink 
- 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_ Sequence[str]projects 
- 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_ strname 
- The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog
- psc_interface_ Sequence[Getconfigs Instance 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_ strlink 
- 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/'
- allowedConsumer List<String>Projects 
- 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.
- pscDns StringName 
- The DNS name of the instance for PSC connectivity. Name convention: ...alloydb-psc.goog
- pscInterface List<Property Map>Configs 
- 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.
- serviceAttachment StringLink 
- 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       
- NetworkAttachment stringResource 
- 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.
- NetworkAttachment stringResource 
- 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.
- networkAttachment StringResource 
- 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.
- networkAttachment stringResource 
- 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_ strresource 
- 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.
- networkAttachment StringResource 
- 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    
- QueryPlans intPer Minute 
- 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.
- QueryString intLength 
- Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
- bool
- Record application tags for an instance. This flag is turned "on" by default.
- RecordClient boolAddress 
- Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
- QueryPlans intPer Minute 
- 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.
- QueryString intLength 
- Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
- bool
- Record application tags for an instance. This flag is turned "on" by default.
- RecordClient boolAddress 
- Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
- queryPlans IntegerPer Minute 
- 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.
- queryString IntegerLength 
- Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
- Boolean
- Record application tags for an instance. This flag is turned "on" by default.
- recordClient BooleanAddress 
- Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
- queryPlans numberPer Minute 
- 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.
- queryString numberLength 
- Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
- boolean
- Record application tags for an instance. This flag is turned "on" by default.
- recordClient booleanAddress 
- Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
- query_plans_ intper_ minute 
- 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_ intlength 
- Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
- bool
- Record application tags for an instance. This flag is turned "on" by default.
- record_client_ booladdress 
- Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
- queryPlans NumberPer Minute 
- 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.
- queryString NumberLength 
- Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
- Boolean
- Record application tags for an instance. This flag is turned "on" by default.
- recordClient BooleanAddress 
- Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
GetInstanceReadPoolConfig    
- NodeCount int
- Read capacity, i.e. number of nodes in a read pool instance.
- NodeCount int
- Read capacity, i.e. number of nodes in a read pool instance.
- nodeCount Integer
- Read capacity, i.e. number of nodes in a read pool instance.
- nodeCount number
- Read capacity, i.e. number of nodes in a read pool instance.
- node_count int
- Read capacity, i.e. number of nodes in a read pool instance.
- nodeCount 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-betaTerraform Provider.