Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.alloydb/v1beta.Instance
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new Instance in a given project and location. Auto-naming is currently not supported for this resource.
Create Instance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Instance(name: string, args: InstanceArgs, opts?: CustomResourceOptions);@overload
def Instance(resource_name: str,
             args: InstanceArgs,
             opts: Optional[ResourceOptions] = None)
@overload
def Instance(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             cluster_id: Optional[str] = None,
             instance_type: Optional[InstanceInstanceType] = None,
             instance_id: Optional[str] = None,
             database_flags: Optional[Mapping[str, str]] = None,
             labels: Optional[Mapping[str, str]] = None,
             display_name: Optional[str] = None,
             etag: Optional[str] = None,
             gce_zone: Optional[str] = None,
             client_connection_config: Optional[ClientConnectionConfigArgs] = None,
             availability_type: Optional[InstanceAvailabilityType] = None,
             annotations: Optional[Mapping[str, str]] = None,
             location: Optional[str] = None,
             machine_config: Optional[MachineConfigArgs] = None,
             project: Optional[str] = None,
             query_insights_config: Optional[QueryInsightsInstanceConfigArgs] = None,
             read_pool_config: Optional[ReadPoolConfigArgs] = None,
             request_id: Optional[str] = None,
             update_policy: Optional[UpdatePolicyArgs] = None)func NewInstance(ctx *Context, name string, args InstanceArgs, opts ...ResourceOption) (*Instance, error)public Instance(string name, InstanceArgs args, CustomResourceOptions? opts = null)
public Instance(String name, InstanceArgs args)
public Instance(String name, InstanceArgs args, CustomResourceOptions options)
type: google-native:alloydb/v1beta:Instance
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 InstanceArgs
- 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 InstanceArgs
- 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 InstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InstanceArgs
- 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 exampleinstanceResourceResourceFromAlloydbv1beta = new GoogleNative.AlloyDB.V1Beta.Instance("exampleinstanceResourceResourceFromAlloydbv1beta", new()
{
    ClusterId = "string",
    InstanceType = GoogleNative.AlloyDB.V1Beta.InstanceInstanceType.InstanceTypeUnspecified,
    InstanceId = "string",
    DatabaseFlags = 
    {
        { "string", "string" },
    },
    Labels = 
    {
        { "string", "string" },
    },
    DisplayName = "string",
    Etag = "string",
    GceZone = "string",
    ClientConnectionConfig = new GoogleNative.AlloyDB.V1Beta.Inputs.ClientConnectionConfigArgs
    {
        RequireConnectors = false,
        SslConfig = new GoogleNative.AlloyDB.V1Beta.Inputs.SslConfigArgs
        {
            CaSource = GoogleNative.AlloyDB.V1Beta.SslConfigCaSource.CaSourceUnspecified,
            SslMode = GoogleNative.AlloyDB.V1Beta.SslConfigSslMode.SslModeUnspecified,
        },
    },
    AvailabilityType = GoogleNative.AlloyDB.V1Beta.InstanceAvailabilityType.AvailabilityTypeUnspecified,
    Annotations = 
    {
        { "string", "string" },
    },
    Location = "string",
    MachineConfig = new GoogleNative.AlloyDB.V1Beta.Inputs.MachineConfigArgs
    {
        CpuCount = 0,
    },
    Project = "string",
    QueryInsightsConfig = new GoogleNative.AlloyDB.V1Beta.Inputs.QueryInsightsInstanceConfigArgs
    {
        QueryPlansPerMinute = 0,
        QueryStringLength = 0,
        RecordApplicationTags = false,
        RecordClientAddress = false,
    },
    ReadPoolConfig = new GoogleNative.AlloyDB.V1Beta.Inputs.ReadPoolConfigArgs
    {
        NodeCount = 0,
    },
    RequestId = "string",
    UpdatePolicy = new GoogleNative.AlloyDB.V1Beta.Inputs.UpdatePolicyArgs
    {
        Mode = GoogleNative.AlloyDB.V1Beta.UpdatePolicyMode.ModeUnspecified,
    },
});
example, err := alloydbv1beta.NewInstance(ctx, "exampleinstanceResourceResourceFromAlloydbv1beta", &alloydbv1beta.InstanceArgs{
	ClusterId:    pulumi.String("string"),
	InstanceType: alloydbv1beta.InstanceInstanceTypeInstanceTypeUnspecified,
	InstanceId:   pulumi.String("string"),
	DatabaseFlags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	DisplayName: pulumi.String("string"),
	Etag:        pulumi.String("string"),
	GceZone:     pulumi.String("string"),
	ClientConnectionConfig: &alloydb.ClientConnectionConfigArgs{
		RequireConnectors: pulumi.Bool(false),
		SslConfig: &alloydb.SslConfigArgs{
			CaSource: alloydbv1beta.SslConfigCaSourceCaSourceUnspecified,
			SslMode:  alloydbv1beta.SslConfigSslModeSslModeUnspecified,
		},
	},
	AvailabilityType: alloydbv1beta.InstanceAvailabilityTypeAvailabilityTypeUnspecified,
	Annotations: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Location: pulumi.String("string"),
	MachineConfig: &alloydb.MachineConfigArgs{
		CpuCount: pulumi.Int(0),
	},
	Project: pulumi.String("string"),
	QueryInsightsConfig: &alloydb.QueryInsightsInstanceConfigArgs{
		QueryPlansPerMinute:   pulumi.Int(0),
		QueryStringLength:     pulumi.Int(0),
		RecordApplicationTags: pulumi.Bool(false),
		RecordClientAddress:   pulumi.Bool(false),
	},
	ReadPoolConfig: &alloydb.ReadPoolConfigArgs{
		NodeCount: pulumi.Int(0),
	},
	RequestId: pulumi.String("string"),
	UpdatePolicy: &alloydb.UpdatePolicyArgs{
		Mode: alloydbv1beta.UpdatePolicyModeModeUnspecified,
	},
})
var exampleinstanceResourceResourceFromAlloydbv1beta = new Instance("exampleinstanceResourceResourceFromAlloydbv1beta", InstanceArgs.builder()
    .clusterId("string")
    .instanceType("INSTANCE_TYPE_UNSPECIFIED")
    .instanceId("string")
    .databaseFlags(Map.of("string", "string"))
    .labels(Map.of("string", "string"))
    .displayName("string")
    .etag("string")
    .gceZone("string")
    .clientConnectionConfig(ClientConnectionConfigArgs.builder()
        .requireConnectors(false)
        .sslConfig(SslConfigArgs.builder()
            .caSource("CA_SOURCE_UNSPECIFIED")
            .sslMode("SSL_MODE_UNSPECIFIED")
            .build())
        .build())
    .availabilityType("AVAILABILITY_TYPE_UNSPECIFIED")
    .annotations(Map.of("string", "string"))
    .location("string")
    .machineConfig(MachineConfigArgs.builder()
        .cpuCount(0)
        .build())
    .project("string")
    .queryInsightsConfig(QueryInsightsInstanceConfigArgs.builder()
        .queryPlansPerMinute(0)
        .queryStringLength(0)
        .recordApplicationTags(false)
        .recordClientAddress(false)
        .build())
    .readPoolConfig(ReadPoolConfigArgs.builder()
        .nodeCount(0)
        .build())
    .requestId("string")
    .updatePolicy(UpdatePolicyArgs.builder()
        .mode("MODE_UNSPECIFIED")
        .build())
    .build());
exampleinstance_resource_resource_from_alloydbv1beta = google_native.alloydb.v1beta.Instance("exampleinstanceResourceResourceFromAlloydbv1beta",
    cluster_id="string",
    instance_type=google_native.alloydb.v1beta.InstanceInstanceType.INSTANCE_TYPE_UNSPECIFIED,
    instance_id="string",
    database_flags={
        "string": "string",
    },
    labels={
        "string": "string",
    },
    display_name="string",
    etag="string",
    gce_zone="string",
    client_connection_config={
        "require_connectors": False,
        "ssl_config": {
            "ca_source": google_native.alloydb.v1beta.SslConfigCaSource.CA_SOURCE_UNSPECIFIED,
            "ssl_mode": google_native.alloydb.v1beta.SslConfigSslMode.SSL_MODE_UNSPECIFIED,
        },
    },
    availability_type=google_native.alloydb.v1beta.InstanceAvailabilityType.AVAILABILITY_TYPE_UNSPECIFIED,
    annotations={
        "string": "string",
    },
    location="string",
    machine_config={
        "cpu_count": 0,
    },
    project="string",
    query_insights_config={
        "query_plans_per_minute": 0,
        "query_string_length": 0,
        "record_application_tags": False,
        "record_client_address": False,
    },
    read_pool_config={
        "node_count": 0,
    },
    request_id="string",
    update_policy={
        "mode": google_native.alloydb.v1beta.UpdatePolicyMode.MODE_UNSPECIFIED,
    })
const exampleinstanceResourceResourceFromAlloydbv1beta = new google_native.alloydb.v1beta.Instance("exampleinstanceResourceResourceFromAlloydbv1beta", {
    clusterId: "string",
    instanceType: google_native.alloydb.v1beta.InstanceInstanceType.InstanceTypeUnspecified,
    instanceId: "string",
    databaseFlags: {
        string: "string",
    },
    labels: {
        string: "string",
    },
    displayName: "string",
    etag: "string",
    gceZone: "string",
    clientConnectionConfig: {
        requireConnectors: false,
        sslConfig: {
            caSource: google_native.alloydb.v1beta.SslConfigCaSource.CaSourceUnspecified,
            sslMode: google_native.alloydb.v1beta.SslConfigSslMode.SslModeUnspecified,
        },
    },
    availabilityType: google_native.alloydb.v1beta.InstanceAvailabilityType.AvailabilityTypeUnspecified,
    annotations: {
        string: "string",
    },
    location: "string",
    machineConfig: {
        cpuCount: 0,
    },
    project: "string",
    queryInsightsConfig: {
        queryPlansPerMinute: 0,
        queryStringLength: 0,
        recordApplicationTags: false,
        recordClientAddress: false,
    },
    readPoolConfig: {
        nodeCount: 0,
    },
    requestId: "string",
    updatePolicy: {
        mode: google_native.alloydb.v1beta.UpdatePolicyMode.ModeUnspecified,
    },
});
type: google-native:alloydb/v1beta:Instance
properties:
    annotations:
        string: string
    availabilityType: AVAILABILITY_TYPE_UNSPECIFIED
    clientConnectionConfig:
        requireConnectors: false
        sslConfig:
            caSource: CA_SOURCE_UNSPECIFIED
            sslMode: SSL_MODE_UNSPECIFIED
    clusterId: string
    databaseFlags:
        string: string
    displayName: string
    etag: string
    gceZone: string
    instanceId: string
    instanceType: INSTANCE_TYPE_UNSPECIFIED
    labels:
        string: string
    location: string
    machineConfig:
        cpuCount: 0
    project: string
    queryInsightsConfig:
        queryPlansPerMinute: 0
        queryStringLength: 0
        recordApplicationTags: false
        recordClientAddress: false
    readPoolConfig:
        nodeCount: 0
    requestId: string
    updatePolicy:
        mode: MODE_UNSPECIFIED
Instance 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 Instance resource accepts the following input properties:
- ClusterId string
- InstanceId string
- Required. ID of the requesting object.
- InstanceType Pulumi.Google Native. Alloy DB. V1Beta. Instance Instance Type 
- The type of the instance. Specified at creation time.
- Annotations Dictionary<string, string>
- Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
- AvailabilityType Pulumi.Google Native. Alloy DB. V1Beta. Instance Availability Type 
- Availability type of an Instance. If empty, defaults to REGIONAL for primary instances. For read pools, availability_type is always UNSPECIFIED. Instances in the read pools are evenly distributed across available zones within the region (i.e. read pools with more than one node will have a node in at least two zones).
- ClientConnection Pulumi.Config Google Native. Alloy DB. V1Beta. Inputs. Client Connection Config 
- Optional. Client connection specific configurations
- DatabaseFlags Dictionary<string, string>
- Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary. This is a list of "key": "value" pairs. "key": The name of the flag. These flags are passed at instance setup time, so include both server options and system variables for Postgres. Flags are specified with underscores, not hyphens. "value": The value of the flag. Booleans are set to on for true and off for false. This field must be omitted if the flag doesn't take a value.
- DisplayName string
- User-settable and human-readable display name for the Instance.
- Etag string
- For Resource freshness validation (https://google.aip.dev/154)
- GceZone string
- The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity.
- Labels Dictionary<string, string>
- Labels as key value pairs
- Location string
- MachineConfig Pulumi.Google Native. Alloy DB. V1Beta. Inputs. Machine Config 
- Configurations for the machines that host the underlying database engine.
- Project string
- QueryInsights Pulumi.Config Google Native. Alloy DB. V1Beta. Inputs. Query Insights Instance Config 
- Configuration for query insights.
- ReadPool Pulumi.Config Google Native. Alloy DB. V1Beta. Inputs. Read Pool Config 
- Read pool instance configuration. This is required if the value of instanceType is READ_POOL.
- RequestId string
- Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- UpdatePolicy Pulumi.Google Native. Alloy DB. V1Beta. Inputs. Update Policy 
- Update policy that will be applied during instance update. This field is not persisted when you update the instance. To use a non-default update policy, you must specify explicitly specify the value in each update request.
- ClusterId string
- InstanceId string
- Required. ID of the requesting object.
- InstanceType InstanceInstance Type 
- The type of the instance. Specified at creation time.
- Annotations map[string]string
- Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
- AvailabilityType InstanceAvailability Type 
- Availability type of an Instance. If empty, defaults to REGIONAL for primary instances. For read pools, availability_type is always UNSPECIFIED. Instances in the read pools are evenly distributed across available zones within the region (i.e. read pools with more than one node will have a node in at least two zones).
- ClientConnection ClientConfig Connection Config Args 
- Optional. Client connection specific configurations
- DatabaseFlags map[string]string
- Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary. This is a list of "key": "value" pairs. "key": The name of the flag. These flags are passed at instance setup time, so include both server options and system variables for Postgres. Flags are specified with underscores, not hyphens. "value": The value of the flag. Booleans are set to on for true and off for false. This field must be omitted if the flag doesn't take a value.
- DisplayName string
- User-settable and human-readable display name for the Instance.
- Etag string
- For Resource freshness validation (https://google.aip.dev/154)
- GceZone string
- The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity.
- Labels map[string]string
- Labels as key value pairs
- Location string
- MachineConfig MachineConfig Args 
- Configurations for the machines that host the underlying database engine.
- Project string
- QueryInsights QueryConfig Insights Instance Config Args 
- Configuration for query insights.
- ReadPool ReadConfig Pool Config Args 
- Read pool instance configuration. This is required if the value of instanceType is READ_POOL.
- RequestId string
- Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- UpdatePolicy UpdatePolicy Args 
- Update policy that will be applied during instance update. This field is not persisted when you update the instance. To use a non-default update policy, you must specify explicitly specify the value in each update request.
- clusterId String
- instanceId String
- Required. ID of the requesting object.
- instanceType InstanceInstance Type 
- The type of the instance. Specified at creation time.
- annotations Map<String,String>
- Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
- availabilityType InstanceAvailability Type 
- Availability type of an Instance. If empty, defaults to REGIONAL for primary instances. For read pools, availability_type is always UNSPECIFIED. Instances in the read pools are evenly distributed across available zones within the region (i.e. read pools with more than one node will have a node in at least two zones).
- clientConnection ClientConfig Connection Config 
- Optional. Client connection specific configurations
- databaseFlags Map<String,String>
- Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary. This is a list of "key": "value" pairs. "key": The name of the flag. These flags are passed at instance setup time, so include both server options and system variables for Postgres. Flags are specified with underscores, not hyphens. "value": The value of the flag. Booleans are set to on for true and off for false. This field must be omitted if the flag doesn't take a value.
- displayName String
- User-settable and human-readable display name for the Instance.
- etag String
- For Resource freshness validation (https://google.aip.dev/154)
- gceZone String
- The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity.
- labels Map<String,String>
- Labels as key value pairs
- location String
- machineConfig MachineConfig 
- Configurations for the machines that host the underlying database engine.
- project String
- queryInsights QueryConfig Insights Instance Config 
- Configuration for query insights.
- readPool ReadConfig Pool Config 
- Read pool instance configuration. This is required if the value of instanceType is READ_POOL.
- requestId String
- Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- updatePolicy UpdatePolicy 
- Update policy that will be applied during instance update. This field is not persisted when you update the instance. To use a non-default update policy, you must specify explicitly specify the value in each update request.
- clusterId string
- instanceId string
- Required. ID of the requesting object.
- instanceType InstanceInstance Type 
- The type of the instance. Specified at creation time.
- annotations {[key: string]: string}
- Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
- availabilityType InstanceAvailability Type 
- Availability type of an Instance. If empty, defaults to REGIONAL for primary instances. For read pools, availability_type is always UNSPECIFIED. Instances in the read pools are evenly distributed across available zones within the region (i.e. read pools with more than one node will have a node in at least two zones).
- clientConnection ClientConfig Connection Config 
- Optional. Client connection specific configurations
- databaseFlags {[key: string]: string}
- Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary. This is a list of "key": "value" pairs. "key": The name of the flag. These flags are passed at instance setup time, so include both server options and system variables for Postgres. Flags are specified with underscores, not hyphens. "value": The value of the flag. Booleans are set to on for true and off for false. This field must be omitted if the flag doesn't take a value.
- displayName string
- User-settable and human-readable display name for the Instance.
- etag string
- For Resource freshness validation (https://google.aip.dev/154)
- gceZone string
- The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity.
- labels {[key: string]: string}
- Labels as key value pairs
- location string
- machineConfig MachineConfig 
- Configurations for the machines that host the underlying database engine.
- project string
- queryInsights QueryConfig Insights Instance Config 
- Configuration for query insights.
- readPool ReadConfig Pool Config 
- Read pool instance configuration. This is required if the value of instanceType is READ_POOL.
- requestId string
- Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- updatePolicy UpdatePolicy 
- Update policy that will be applied during instance update. This field is not persisted when you update the instance. To use a non-default update policy, you must specify explicitly specify the value in each update request.
- cluster_id str
- instance_id str
- Required. ID of the requesting object.
- instance_type InstanceInstance Type 
- The type of the instance. Specified at creation time.
- annotations Mapping[str, str]
- Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
- availability_type InstanceAvailability Type 
- Availability type of an Instance. If empty, defaults to REGIONAL for primary instances. For read pools, availability_type is always UNSPECIFIED. Instances in the read pools are evenly distributed across available zones within the region (i.e. read pools with more than one node will have a node in at least two zones).
- client_connection_ Clientconfig Connection Config Args 
- Optional. Client connection specific configurations
- database_flags Mapping[str, str]
- Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary. This is a list of "key": "value" pairs. "key": The name of the flag. These flags are passed at instance setup time, so include both server options and system variables for Postgres. Flags are specified with underscores, not hyphens. "value": The value of the flag. Booleans are set to on for true and off for false. This field must be omitted if the flag doesn't take a value.
- display_name str
- User-settable and human-readable display name for the Instance.
- etag str
- For Resource freshness validation (https://google.aip.dev/154)
- gce_zone str
- The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity.
- labels Mapping[str, str]
- Labels as key value pairs
- location str
- machine_config MachineConfig Args 
- Configurations for the machines that host the underlying database engine.
- project str
- query_insights_ Queryconfig Insights Instance Config Args 
- Configuration for query insights.
- read_pool_ Readconfig Pool Config Args 
- Read pool instance configuration. This is required if the value of instanceType is READ_POOL.
- request_id str
- Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- update_policy UpdatePolicy Args 
- Update policy that will be applied during instance update. This field is not persisted when you update the instance. To use a non-default update policy, you must specify explicitly specify the value in each update request.
- clusterId String
- instanceId String
- Required. ID of the requesting object.
- instanceType "INSTANCE_TYPE_UNSPECIFIED" | "PRIMARY" | "READ_POOL" | "SECONDARY"
- The type of the instance. Specified at creation time.
- annotations Map<String>
- Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
- availabilityType "AVAILABILITY_TYPE_UNSPECIFIED" | "ZONAL" | "REGIONAL"
- Availability type of an Instance. If empty, defaults to REGIONAL for primary instances. For read pools, availability_type is always UNSPECIFIED. Instances in the read pools are evenly distributed across available zones within the region (i.e. read pools with more than one node will have a node in at least two zones).
- clientConnection Property MapConfig 
- Optional. Client connection specific configurations
- databaseFlags Map<String>
- Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary. This is a list of "key": "value" pairs. "key": The name of the flag. These flags are passed at instance setup time, so include both server options and system variables for Postgres. Flags are specified with underscores, not hyphens. "value": The value of the flag. Booleans are set to on for true and off for false. This field must be omitted if the flag doesn't take a value.
- displayName String
- User-settable and human-readable display name for the Instance.
- etag String
- For Resource freshness validation (https://google.aip.dev/154)
- gceZone String
- The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity.
- labels Map<String>
- Labels as key value pairs
- location String
- machineConfig Property Map
- Configurations for the machines that host the underlying database engine.
- project String
- queryInsights Property MapConfig 
- Configuration for query insights.
- readPool Property MapConfig 
- Read pool instance configuration. This is required if the value of instanceType is READ_POOL.
- requestId String
- Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
- updatePolicy Property Map
- Update policy that will be applied during instance update. This field is not persisted when you update the instance. To use a non-default update policy, you must specify explicitly specify the value in each update request.
Outputs
All input properties are implicitly available as output properties. Additionally, the Instance resource produces the following output properties:
- CreateTime string
- Create time stamp
- DeleteTime string
- Delete time stamp
- Id string
- The provider-assigned unique ID for this managed resource.
- IpAddress string
- The IP address for the Instance. This is the connection endpoint for an end-user application.
- Name string
- The name of the instance resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id} where the cluster and instance ID segments should satisfy the regex expression [a-z]([a-z0-9-]{0,61}[a-z0-9])?, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see https://google.aip.dev/122. The prefix of the instance resource name is the name of the parent resource: * projects/{project}/locations/{region}/clusters/{cluster_id}
- Nodes
List<Pulumi.Google Native. Alloy DB. V1Beta. Outputs. Node Response> 
- List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
- Reconciling bool
- Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of Instance does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance.
- State string
- The current serving state of the instance.
- Uid string
- The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
- UpdateTime string
- Update time stamp
- WritableNode Pulumi.Google Native. Alloy DB. V1Beta. Outputs. Node Response 
- This is set for the read-write VM of the PRIMARY instance only.
- CreateTime string
- Create time stamp
- DeleteTime string
- Delete time stamp
- Id string
- The provider-assigned unique ID for this managed resource.
- IpAddress string
- The IP address for the Instance. This is the connection endpoint for an end-user application.
- Name string
- The name of the instance resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id} where the cluster and instance ID segments should satisfy the regex expression [a-z]([a-z0-9-]{0,61}[a-z0-9])?, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see https://google.aip.dev/122. The prefix of the instance resource name is the name of the parent resource: * projects/{project}/locations/{region}/clusters/{cluster_id}
- Nodes
[]NodeResponse 
- List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
- Reconciling bool
- Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of Instance does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance.
- State string
- The current serving state of the instance.
- Uid string
- The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
- UpdateTime string
- Update time stamp
- WritableNode NodeResponse 
- This is set for the read-write VM of the PRIMARY instance only.
- createTime String
- Create time stamp
- deleteTime String
- Delete time stamp
- id String
- The provider-assigned unique ID for this managed resource.
- ipAddress String
- The IP address for the Instance. This is the connection endpoint for an end-user application.
- name String
- The name of the instance resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id} where the cluster and instance ID segments should satisfy the regex expression [a-z]([a-z0-9-]{0,61}[a-z0-9])?, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see https://google.aip.dev/122. The prefix of the instance resource name is the name of the parent resource: * projects/{project}/locations/{region}/clusters/{cluster_id}
- nodes
List<NodeResponse> 
- List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
- reconciling Boolean
- Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of Instance does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance.
- state String
- The current serving state of the instance.
- uid String
- The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
- updateTime String
- Update time stamp
- writableNode NodeResponse 
- This is set for the read-write VM of the PRIMARY instance only.
- createTime string
- Create time stamp
- deleteTime string
- Delete time stamp
- id string
- The provider-assigned unique ID for this managed resource.
- ipAddress string
- The IP address for the Instance. This is the connection endpoint for an end-user application.
- name string
- The name of the instance resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id} where the cluster and instance ID segments should satisfy the regex expression [a-z]([a-z0-9-]{0,61}[a-z0-9])?, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see https://google.aip.dev/122. The prefix of the instance resource name is the name of the parent resource: * projects/{project}/locations/{region}/clusters/{cluster_id}
- nodes
NodeResponse[] 
- List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
- reconciling boolean
- Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of Instance does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance.
- state string
- The current serving state of the instance.
- uid string
- The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
- updateTime string
- Update time stamp
- writableNode NodeResponse 
- This is set for the read-write VM of the PRIMARY instance only.
- create_time str
- Create time stamp
- delete_time str
- Delete time stamp
- id str
- The provider-assigned unique ID for this managed resource.
- ip_address str
- The IP address for the Instance. This is the connection endpoint for an end-user application.
- name str
- The name of the instance resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id} where the cluster and instance ID segments should satisfy the regex expression [a-z]([a-z0-9-]{0,61}[a-z0-9])?, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see https://google.aip.dev/122. The prefix of the instance resource name is the name of the parent resource: * projects/{project}/locations/{region}/clusters/{cluster_id}
- nodes
Sequence[NodeResponse] 
- List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
- reconciling bool
- Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of Instance does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance.
- state str
- The current serving state of the instance.
- uid str
- The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
- update_time str
- Update time stamp
- writable_node NodeResponse 
- This is set for the read-write VM of the PRIMARY instance only.
- createTime String
- Create time stamp
- deleteTime String
- Delete time stamp
- id String
- The provider-assigned unique ID for this managed resource.
- ipAddress String
- The IP address for the Instance. This is the connection endpoint for an end-user application.
- name String
- The name of the instance resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id} where the cluster and instance ID segments should satisfy the regex expression [a-z]([a-z0-9-]{0,61}[a-z0-9])?, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see https://google.aip.dev/122. The prefix of the instance resource name is the name of the parent resource: * projects/{project}/locations/{region}/clusters/{cluster_id}
- nodes List<Property Map>
- List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
- reconciling Boolean
- Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of Instance does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance.
- state String
- The current serving state of the instance.
- uid String
- The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
- updateTime String
- Update time stamp
- writableNode Property Map
- This is set for the read-write VM of the PRIMARY instance only.
Supporting Types
ClientConnectionConfig, ClientConnectionConfigArgs      
- RequireConnectors bool
- Optional. Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
- SslConfig Pulumi.Google Native. Alloy DB. V1Beta. Inputs. Ssl Config 
- Optional. SSL config option for this instance.
- RequireConnectors bool
- Optional. Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
- SslConfig SslConfig 
- Optional. SSL config option for this instance.
- requireConnectors Boolean
- Optional. Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
- sslConfig SslConfig 
- Optional. SSL config option for this instance.
- requireConnectors boolean
- Optional. Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
- sslConfig SslConfig 
- Optional. SSL config option for this instance.
- require_connectors bool
- Optional. Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
- ssl_config SslConfig 
- Optional. SSL config option for this instance.
- requireConnectors Boolean
- Optional. Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
- sslConfig Property Map
- Optional. SSL config option for this instance.
ClientConnectionConfigResponse, ClientConnectionConfigResponseArgs        
- RequireConnectors bool
- Optional. Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
- SslConfig Pulumi.Google Native. Alloy DB. V1Beta. Inputs. Ssl Config Response 
- Optional. SSL config option for this instance.
- RequireConnectors bool
- Optional. Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
- SslConfig SslConfig Response 
- Optional. SSL config option for this instance.
- requireConnectors Boolean
- Optional. Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
- sslConfig SslConfig Response 
- Optional. SSL config option for this instance.
- requireConnectors boolean
- Optional. Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
- sslConfig SslConfig Response 
- Optional. SSL config option for this instance.
- require_connectors bool
- Optional. Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
- ssl_config SslConfig Response 
- Optional. SSL config option for this instance.
- requireConnectors Boolean
- Optional. Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
- sslConfig Property Map
- Optional. SSL config option for this instance.
InstanceAvailabilityType, InstanceAvailabilityTypeArgs      
- AvailabilityType Unspecified 
- AVAILABILITY_TYPE_UNSPECIFIEDThis is an unknown Availability type.
- Zonal
- ZONALZonal available instance.
- Regional
- REGIONALRegional (or Highly) available instance.
- InstanceAvailability Type Availability Type Unspecified 
- AVAILABILITY_TYPE_UNSPECIFIEDThis is an unknown Availability type.
- InstanceAvailability Type Zonal 
- ZONALZonal available instance.
- InstanceAvailability Type Regional 
- REGIONALRegional (or Highly) available instance.
- AvailabilityType Unspecified 
- AVAILABILITY_TYPE_UNSPECIFIEDThis is an unknown Availability type.
- Zonal
- ZONALZonal available instance.
- Regional
- REGIONALRegional (or Highly) available instance.
- AvailabilityType Unspecified 
- AVAILABILITY_TYPE_UNSPECIFIEDThis is an unknown Availability type.
- Zonal
- ZONALZonal available instance.
- Regional
- REGIONALRegional (or Highly) available instance.
- AVAILABILITY_TYPE_UNSPECIFIED
- AVAILABILITY_TYPE_UNSPECIFIEDThis is an unknown Availability type.
- ZONAL
- ZONALZonal available instance.
- REGIONAL
- REGIONALRegional (or Highly) available instance.
- "AVAILABILITY_TYPE_UNSPECIFIED"
- AVAILABILITY_TYPE_UNSPECIFIEDThis is an unknown Availability type.
- "ZONAL"
- ZONALZonal available instance.
- "REGIONAL"
- REGIONALRegional (or Highly) available instance.
InstanceInstanceType, InstanceInstanceTypeArgs      
- InstanceType Unspecified 
- INSTANCE_TYPE_UNSPECIFIEDThe type of the instance is unknown.
- Primary
- PRIMARYPRIMARY instances support read and write operations.
- ReadPool 
- READ_POOLREAD POOL instances support read operations only. Each read pool instance consists of one or more homogeneous nodes. * Read pool of size 1 can only have zonal availability. * Read pools with node count of 2 or more can have regional availability (nodes are present in 2 or more zones in a region).
- Secondary
- SECONDARYSECONDARY instances support read operations only. SECONDARY instance is a cross-region read replica
- InstanceInstance Type Instance Type Unspecified 
- INSTANCE_TYPE_UNSPECIFIEDThe type of the instance is unknown.
- InstanceInstance Type Primary 
- PRIMARYPRIMARY instances support read and write operations.
- InstanceInstance Type Read Pool 
- READ_POOLREAD POOL instances support read operations only. Each read pool instance consists of one or more homogeneous nodes. * Read pool of size 1 can only have zonal availability. * Read pools with node count of 2 or more can have regional availability (nodes are present in 2 or more zones in a region).
- InstanceInstance Type Secondary 
- SECONDARYSECONDARY instances support read operations only. SECONDARY instance is a cross-region read replica
- InstanceType Unspecified 
- INSTANCE_TYPE_UNSPECIFIEDThe type of the instance is unknown.
- Primary
- PRIMARYPRIMARY instances support read and write operations.
- ReadPool 
- READ_POOLREAD POOL instances support read operations only. Each read pool instance consists of one or more homogeneous nodes. * Read pool of size 1 can only have zonal availability. * Read pools with node count of 2 or more can have regional availability (nodes are present in 2 or more zones in a region).
- Secondary
- SECONDARYSECONDARY instances support read operations only. SECONDARY instance is a cross-region read replica
- InstanceType Unspecified 
- INSTANCE_TYPE_UNSPECIFIEDThe type of the instance is unknown.
- Primary
- PRIMARYPRIMARY instances support read and write operations.
- ReadPool 
- READ_POOLREAD POOL instances support read operations only. Each read pool instance consists of one or more homogeneous nodes. * Read pool of size 1 can only have zonal availability. * Read pools with node count of 2 or more can have regional availability (nodes are present in 2 or more zones in a region).
- Secondary
- SECONDARYSECONDARY instances support read operations only. SECONDARY instance is a cross-region read replica
- INSTANCE_TYPE_UNSPECIFIED
- INSTANCE_TYPE_UNSPECIFIEDThe type of the instance is unknown.
- PRIMARY
- PRIMARYPRIMARY instances support read and write operations.
- READ_POOL
- READ_POOLREAD POOL instances support read operations only. Each read pool instance consists of one or more homogeneous nodes. * Read pool of size 1 can only have zonal availability. * Read pools with node count of 2 or more can have regional availability (nodes are present in 2 or more zones in a region).
- SECONDARY
- SECONDARYSECONDARY instances support read operations only. SECONDARY instance is a cross-region read replica
- "INSTANCE_TYPE_UNSPECIFIED"
- INSTANCE_TYPE_UNSPECIFIEDThe type of the instance is unknown.
- "PRIMARY"
- PRIMARYPRIMARY instances support read and write operations.
- "READ_POOL"
- READ_POOLREAD POOL instances support read operations only. Each read pool instance consists of one or more homogeneous nodes. * Read pool of size 1 can only have zonal availability. * Read pools with node count of 2 or more can have regional availability (nodes are present in 2 or more zones in a region).
- "SECONDARY"
- SECONDARYSECONDARY instances support read operations only. SECONDARY instance is a cross-region read replica
MachineConfig, MachineConfigArgs    
- 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.
MachineConfigResponse, MachineConfigResponseArgs      
- 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.
NodeResponse, NodeResponseArgs    
- Ip string
- The private IP address of the VM e.g. "10.57.0.34".
- State string
- Determined by state of the compute VM and postgres-service health. Compute VM state can have values listed in https://cloud.google.com/compute/docs/instances/instance-life-cycle and postgres-service health can have values: HEALTHY and UNHEALTHY.
- Zone string
- The Compute Engine zone of the VM e.g. "us-central1-b".
- Ip string
- The private IP address of the VM e.g. "10.57.0.34".
- State string
- Determined by state of the compute VM and postgres-service health. Compute VM state can have values listed in https://cloud.google.com/compute/docs/instances/instance-life-cycle and postgres-service health can have values: HEALTHY and UNHEALTHY.
- Zone string
- The Compute Engine zone of the VM e.g. "us-central1-b".
- ip String
- The private IP address of the VM e.g. "10.57.0.34".
- state String
- Determined by state of the compute VM and postgres-service health. Compute VM state can have values listed in https://cloud.google.com/compute/docs/instances/instance-life-cycle and postgres-service health can have values: HEALTHY and UNHEALTHY.
- zone String
- The Compute Engine zone of the VM e.g. "us-central1-b".
- ip string
- The private IP address of the VM e.g. "10.57.0.34".
- state string
- Determined by state of the compute VM and postgres-service health. Compute VM state can have values listed in https://cloud.google.com/compute/docs/instances/instance-life-cycle and postgres-service health can have values: HEALTHY and UNHEALTHY.
- zone string
- The Compute Engine zone of the VM e.g. "us-central1-b".
- ip str
- The private IP address of the VM e.g. "10.57.0.34".
- state str
- Determined by state of the compute VM and postgres-service health. Compute VM state can have values listed in https://cloud.google.com/compute/docs/instances/instance-life-cycle and postgres-service health can have values: HEALTHY and UNHEALTHY.
- zone str
- The Compute Engine zone of the VM e.g. "us-central1-b".
- ip String
- The private IP address of the VM e.g. "10.57.0.34".
- state String
- Determined by state of the compute VM and postgres-service health. Compute VM state can have values listed in https://cloud.google.com/compute/docs/instances/instance-life-cycle and postgres-service health can have values: HEALTHY and UNHEALTHY.
- zone String
- The Compute Engine zone of the VM e.g. "us-central1-b".
QueryInsightsInstanceConfig, QueryInsightsInstanceConfigArgs        
- 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.
QueryInsightsInstanceConfigResponse, QueryInsightsInstanceConfigResponseArgs          
- 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.
ReadPoolConfig, ReadPoolConfigArgs      
- 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.
ReadPoolConfigResponse, ReadPoolConfigResponseArgs        
- 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.
SslConfig, SslConfigArgs    
- CaSource Pulumi.Google Native. Alloy DB. V1Beta. Ssl Config Ca Source 
- Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.
- SslMode Pulumi.Google Native. Alloy DB. V1Beta. Ssl Config Ssl Mode 
- Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
- CaSource SslConfig Ca Source 
- Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.
- SslMode SslConfig Ssl Mode 
- Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
- caSource SslConfig Ca Source 
- Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.
- sslMode SslConfig Ssl Mode 
- Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
- caSource SslConfig Ca Source 
- Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.
- sslMode SslConfig Ssl Mode 
- Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
- ca_source SslConfig Ca Source 
- Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.
- ssl_mode SslConfig Ssl Mode 
- Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
- caSource "CA_SOURCE_UNSPECIFIED" | "CA_SOURCE_MANAGED"
- Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.
- sslMode "SSL_MODE_UNSPECIFIED" | "SSL_MODE_ALLOW" | "SSL_MODE_REQUIRE" | "SSL_MODE_VERIFY_CA" | "ALLOW_UNENCRYPTED_AND_ENCRYPTED" | "ENCRYPTED_ONLY"
- Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
SslConfigCaSource, SslConfigCaSourceArgs        
- CaSource Unspecified 
- CA_SOURCE_UNSPECIFIEDCertificate Authority (CA) source not specified. Defaults to CA_SOURCE_MANAGED.
- CaSource Managed 
- CA_SOURCE_MANAGEDCertificate Authority (CA) managed by the AlloyDB Cluster.
- SslConfig Ca Source Ca Source Unspecified 
- CA_SOURCE_UNSPECIFIEDCertificate Authority (CA) source not specified. Defaults to CA_SOURCE_MANAGED.
- SslConfig Ca Source Ca Source Managed 
- CA_SOURCE_MANAGEDCertificate Authority (CA) managed by the AlloyDB Cluster.
- CaSource Unspecified 
- CA_SOURCE_UNSPECIFIEDCertificate Authority (CA) source not specified. Defaults to CA_SOURCE_MANAGED.
- CaSource Managed 
- CA_SOURCE_MANAGEDCertificate Authority (CA) managed by the AlloyDB Cluster.
- CaSource Unspecified 
- CA_SOURCE_UNSPECIFIEDCertificate Authority (CA) source not specified. Defaults to CA_SOURCE_MANAGED.
- CaSource Managed 
- CA_SOURCE_MANAGEDCertificate Authority (CA) managed by the AlloyDB Cluster.
- CA_SOURCE_UNSPECIFIED
- CA_SOURCE_UNSPECIFIEDCertificate Authority (CA) source not specified. Defaults to CA_SOURCE_MANAGED.
- CA_SOURCE_MANAGED
- CA_SOURCE_MANAGEDCertificate Authority (CA) managed by the AlloyDB Cluster.
- "CA_SOURCE_UNSPECIFIED"
- CA_SOURCE_UNSPECIFIEDCertificate Authority (CA) source not specified. Defaults to CA_SOURCE_MANAGED.
- "CA_SOURCE_MANAGED"
- CA_SOURCE_MANAGEDCertificate Authority (CA) managed by the AlloyDB Cluster.
SslConfigResponse, SslConfigResponseArgs      
SslConfigSslMode, SslConfigSslModeArgs        
- SslMode Unspecified 
- SSL_MODE_UNSPECIFIEDSSL mode not specified. Defaults to ENCRYPTED_ONLY.
- SslMode Allow 
- SSL_MODE_ALLOWSSL connections are optional. CA verification not enforced.
- SslMode Require 
- SSL_MODE_REQUIRESSL connections are required. CA verification not enforced. Clients may use locally self-signed certificates (default psql client behavior).
- SslMode Verify Ca 
- SSL_MODE_VERIFY_CASSL connections are required. CA verification enforced. Clients must have certificates signed by a Cluster CA, e.g. via GenerateClientCertificate.
- AllowUnencrypted And Encrypted 
- ALLOW_UNENCRYPTED_AND_ENCRYPTEDSSL connections are optional. CA verification not enforced.
- EncryptedOnly 
- ENCRYPTED_ONLYSSL connections are required. CA verification not enforced.
- SslConfig Ssl Mode Ssl Mode Unspecified 
- SSL_MODE_UNSPECIFIEDSSL mode not specified. Defaults to ENCRYPTED_ONLY.
- SslConfig Ssl Mode Ssl Mode Allow 
- SSL_MODE_ALLOWSSL connections are optional. CA verification not enforced.
- SslConfig Ssl Mode Ssl Mode Require 
- SSL_MODE_REQUIRESSL connections are required. CA verification not enforced. Clients may use locally self-signed certificates (default psql client behavior).
- SslConfig Ssl Mode Ssl Mode Verify Ca 
- SSL_MODE_VERIFY_CASSL connections are required. CA verification enforced. Clients must have certificates signed by a Cluster CA, e.g. via GenerateClientCertificate.
- SslConfig Ssl Mode Allow Unencrypted And Encrypted 
- ALLOW_UNENCRYPTED_AND_ENCRYPTEDSSL connections are optional. CA verification not enforced.
- SslConfig Ssl Mode Encrypted Only 
- ENCRYPTED_ONLYSSL connections are required. CA verification not enforced.
- SslMode Unspecified 
- SSL_MODE_UNSPECIFIEDSSL mode not specified. Defaults to ENCRYPTED_ONLY.
- SslMode Allow 
- SSL_MODE_ALLOWSSL connections are optional. CA verification not enforced.
- SslMode Require 
- SSL_MODE_REQUIRESSL connections are required. CA verification not enforced. Clients may use locally self-signed certificates (default psql client behavior).
- SslMode Verify Ca 
- SSL_MODE_VERIFY_CASSL connections are required. CA verification enforced. Clients must have certificates signed by a Cluster CA, e.g. via GenerateClientCertificate.
- AllowUnencrypted And Encrypted 
- ALLOW_UNENCRYPTED_AND_ENCRYPTEDSSL connections are optional. CA verification not enforced.
- EncryptedOnly 
- ENCRYPTED_ONLYSSL connections are required. CA verification not enforced.
- SslMode Unspecified 
- SSL_MODE_UNSPECIFIEDSSL mode not specified. Defaults to ENCRYPTED_ONLY.
- SslMode Allow 
- SSL_MODE_ALLOWSSL connections are optional. CA verification not enforced.
- SslMode Require 
- SSL_MODE_REQUIRESSL connections are required. CA verification not enforced. Clients may use locally self-signed certificates (default psql client behavior).
- SslMode Verify Ca 
- SSL_MODE_VERIFY_CASSL connections are required. CA verification enforced. Clients must have certificates signed by a Cluster CA, e.g. via GenerateClientCertificate.
- AllowUnencrypted And Encrypted 
- ALLOW_UNENCRYPTED_AND_ENCRYPTEDSSL connections are optional. CA verification not enforced.
- EncryptedOnly 
- ENCRYPTED_ONLYSSL connections are required. CA verification not enforced.
- SSL_MODE_UNSPECIFIED
- SSL_MODE_UNSPECIFIEDSSL mode not specified. Defaults to ENCRYPTED_ONLY.
- SSL_MODE_ALLOW
- SSL_MODE_ALLOWSSL connections are optional. CA verification not enforced.
- SSL_MODE_REQUIRE
- SSL_MODE_REQUIRESSL connections are required. CA verification not enforced. Clients may use locally self-signed certificates (default psql client behavior).
- SSL_MODE_VERIFY_CA
- SSL_MODE_VERIFY_CASSL connections are required. CA verification enforced. Clients must have certificates signed by a Cluster CA, e.g. via GenerateClientCertificate.
- ALLOW_UNENCRYPTED_AND_ENCRYPTED
- ALLOW_UNENCRYPTED_AND_ENCRYPTEDSSL connections are optional. CA verification not enforced.
- ENCRYPTED_ONLY
- ENCRYPTED_ONLYSSL connections are required. CA verification not enforced.
- "SSL_MODE_UNSPECIFIED"
- SSL_MODE_UNSPECIFIEDSSL mode not specified. Defaults to ENCRYPTED_ONLY.
- "SSL_MODE_ALLOW"
- SSL_MODE_ALLOWSSL connections are optional. CA verification not enforced.
- "SSL_MODE_REQUIRE"
- SSL_MODE_REQUIRESSL connections are required. CA verification not enforced. Clients may use locally self-signed certificates (default psql client behavior).
- "SSL_MODE_VERIFY_CA"
- SSL_MODE_VERIFY_CASSL connections are required. CA verification enforced. Clients must have certificates signed by a Cluster CA, e.g. via GenerateClientCertificate.
- "ALLOW_UNENCRYPTED_AND_ENCRYPTED"
- ALLOW_UNENCRYPTED_AND_ENCRYPTEDSSL connections are optional. CA verification not enforced.
- "ENCRYPTED_ONLY"
- ENCRYPTED_ONLYSSL connections are required. CA verification not enforced.
UpdatePolicy, UpdatePolicyArgs    
- Mode
Pulumi.Google Native. Alloy DB. V1Beta. Update Policy Mode 
- Mode for updating the instance.
- Mode
UpdatePolicy Mode 
- Mode for updating the instance.
- mode
UpdatePolicy Mode 
- Mode for updating the instance.
- mode
UpdatePolicy Mode 
- Mode for updating the instance.
- mode
UpdatePolicy Mode 
- Mode for updating the instance.
- mode "MODE_UNSPECIFIED" | "DEFAULT" | "FORCE_APPLY"
- Mode for updating the instance.
UpdatePolicyMode, UpdatePolicyModeArgs      
- ModeUnspecified 
- MODE_UNSPECIFIEDMode is unknown.
- Default
- DEFAULTLeast disruptive way to apply the update.
- ForceApply 
- FORCE_APPLYPerforms a forced update when applicable. This will be fast but may incur a downtime.
- UpdatePolicy Mode Mode Unspecified 
- MODE_UNSPECIFIEDMode is unknown.
- UpdatePolicy Mode Default 
- DEFAULTLeast disruptive way to apply the update.
- UpdatePolicy Mode Force Apply 
- FORCE_APPLYPerforms a forced update when applicable. This will be fast but may incur a downtime.
- ModeUnspecified 
- MODE_UNSPECIFIEDMode is unknown.
- Default
- DEFAULTLeast disruptive way to apply the update.
- ForceApply 
- FORCE_APPLYPerforms a forced update when applicable. This will be fast but may incur a downtime.
- ModeUnspecified 
- MODE_UNSPECIFIEDMode is unknown.
- Default
- DEFAULTLeast disruptive way to apply the update.
- ForceApply 
- FORCE_APPLYPerforms a forced update when applicable. This will be fast but may incur a downtime.
- MODE_UNSPECIFIED
- MODE_UNSPECIFIEDMode is unknown.
- DEFAULT
- DEFAULTLeast disruptive way to apply the update.
- FORCE_APPLY
- FORCE_APPLYPerforms a forced update when applicable. This will be fast but may incur a downtime.
- "MODE_UNSPECIFIED"
- MODE_UNSPECIFIEDMode is unknown.
- "DEFAULT"
- DEFAULTLeast disruptive way to apply the update.
- "FORCE_APPLY"
- FORCE_APPLYPerforms a forced update when applicable. This will be fast but may incur a downtime.
UpdatePolicyResponse, UpdatePolicyResponseArgs      
- Mode string
- Mode for updating the instance.
- Mode string
- Mode for updating the instance.
- mode String
- Mode for updating the instance.
- mode string
- Mode for updating the instance.
- mode str
- Mode for updating the instance.
- mode String
- Mode for updating the instance.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.