1. Packages
  2. Google Cloud Native
  3. API Docs
  4. alloydb
  5. alloydb/v1alpha
  6. Instance

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.alloydb/v1alpha.Instance

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    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/v1alpha: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 google_nativeInstanceResource = new GoogleNative.AlloyDB.V1Alpha.Instance("google-nativeInstanceResource", new()
    {
        ClusterId = "string",
        InstanceType = GoogleNative.AlloyDB.V1Alpha.InstanceInstanceType.InstanceTypeUnspecified,
        InstanceId = "string",
        DatabaseFlags = 
        {
            { "string", "string" },
        },
        Labels = 
        {
            { "string", "string" },
        },
        DisplayName = "string",
        Etag = "string",
        GceZone = "string",
        ClientConnectionConfig = new GoogleNative.AlloyDB.V1Alpha.Inputs.ClientConnectionConfigArgs
        {
            RequireConnectors = false,
            SslConfig = new GoogleNative.AlloyDB.V1Alpha.Inputs.SslConfigArgs
            {
                CaSource = GoogleNative.AlloyDB.V1Alpha.SslConfigCaSource.CaSourceUnspecified,
                SslMode = GoogleNative.AlloyDB.V1Alpha.SslConfigSslMode.SslModeUnspecified,
            },
        },
        AvailabilityType = GoogleNative.AlloyDB.V1Alpha.InstanceAvailabilityType.AvailabilityTypeUnspecified,
        Annotations = 
        {
            { "string", "string" },
        },
        Location = "string",
        MachineConfig = new GoogleNative.AlloyDB.V1Alpha.Inputs.MachineConfigArgs
        {
            CpuCount = 0,
        },
        Project = "string",
        QueryInsightsConfig = new GoogleNative.AlloyDB.V1Alpha.Inputs.QueryInsightsInstanceConfigArgs
        {
            QueryPlansPerMinute = 0,
            QueryStringLength = 0,
            RecordApplicationTags = false,
            RecordClientAddress = false,
        },
        ReadPoolConfig = new GoogleNative.AlloyDB.V1Alpha.Inputs.ReadPoolConfigArgs
        {
            NodeCount = 0,
        },
        RequestId = "string",
        UpdatePolicy = new GoogleNative.AlloyDB.V1Alpha.Inputs.UpdatePolicyArgs
        {
            Mode = GoogleNative.AlloyDB.V1Alpha.UpdatePolicyMode.ModeUnspecified,
        },
    });
    
    example, err := alloydbv1alpha.NewInstance(ctx, "google-nativeInstanceResource", &alloydbv1alpha.InstanceArgs{
    	ClusterId:    pulumi.String("string"),
    	InstanceType: alloydbv1alpha.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: alloydbv1alpha.SslConfigCaSourceCaSourceUnspecified,
    			SslMode:  alloydbv1alpha.SslConfigSslModeSslModeUnspecified,
    		},
    	},
    	AvailabilityType: alloydbv1alpha.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: alloydbv1alpha.UpdatePolicyModeModeUnspecified,
    	},
    })
    
    var google_nativeInstanceResource = new Instance("google-nativeInstanceResource", 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());
    
    google_native_instance_resource = google_native.alloydb.v1alpha.Instance("google-nativeInstanceResource",
        cluster_id="string",
        instance_type=google_native.alloydb.v1alpha.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.v1alpha.SslConfigCaSource.CA_SOURCE_UNSPECIFIED,
                "ssl_mode": google_native.alloydb.v1alpha.SslConfigSslMode.SSL_MODE_UNSPECIFIED,
            },
        },
        availability_type=google_native.alloydb.v1alpha.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.v1alpha.UpdatePolicyMode.MODE_UNSPECIFIED,
        })
    
    const google_nativeInstanceResource = new google_native.alloydb.v1alpha.Instance("google-nativeInstanceResource", {
        clusterId: "string",
        instanceType: google_native.alloydb.v1alpha.InstanceInstanceType.InstanceTypeUnspecified,
        instanceId: "string",
        databaseFlags: {
            string: "string",
        },
        labels: {
            string: "string",
        },
        displayName: "string",
        etag: "string",
        gceZone: "string",
        clientConnectionConfig: {
            requireConnectors: false,
            sslConfig: {
                caSource: google_native.alloydb.v1alpha.SslConfigCaSource.CaSourceUnspecified,
                sslMode: google_native.alloydb.v1alpha.SslConfigSslMode.SslModeUnspecified,
            },
        },
        availabilityType: google_native.alloydb.v1alpha.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.v1alpha.UpdatePolicyMode.ModeUnspecified,
        },
    });
    
    type: google-native:alloydb/v1alpha: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.GoogleNative.AlloyDB.V1Alpha.InstanceInstanceType
    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.GoogleNative.AlloyDB.V1Alpha.InstanceAvailabilityType
    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).
    ClientConnectionConfig Pulumi.GoogleNative.AlloyDB.V1Alpha.Inputs.ClientConnectionConfig
    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.GoogleNative.AlloyDB.V1Alpha.Inputs.MachineConfig
    Configurations for the machines that host the underlying database engine.
    Project string
    QueryInsightsConfig Pulumi.GoogleNative.AlloyDB.V1Alpha.Inputs.QueryInsightsInstanceConfig
    Configuration for query insights.
    ReadPoolConfig Pulumi.GoogleNative.AlloyDB.V1Alpha.Inputs.ReadPoolConfig
    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.GoogleNative.AlloyDB.V1Alpha.Inputs.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 InstanceInstanceType
    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 InstanceAvailabilityType
    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).
    ClientConnectionConfig ClientConnectionConfigArgs
    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 MachineConfigArgs
    Configurations for the machines that host the underlying database engine.
    Project string
    QueryInsightsConfig QueryInsightsInstanceConfigArgs
    Configuration for query insights.
    ReadPoolConfig ReadPoolConfigArgs
    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 UpdatePolicyArgs
    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 InstanceInstanceType
    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 InstanceAvailabilityType
    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).
    clientConnectionConfig ClientConnectionConfig
    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
    queryInsightsConfig QueryInsightsInstanceConfig
    Configuration for query insights.
    readPoolConfig ReadPoolConfig
    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 InstanceInstanceType
    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 InstanceAvailabilityType
    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).
    clientConnectionConfig ClientConnectionConfig
    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
    queryInsightsConfig QueryInsightsInstanceConfig
    Configuration for query insights.
    readPoolConfig ReadPoolConfig
    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 InstanceInstanceType
    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 InstanceAvailabilityType
    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_config ClientConnectionConfigArgs
    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 MachineConfigArgs
    Configurations for the machines that host the underlying database engine.
    project str
    query_insights_config QueryInsightsInstanceConfigArgs
    Configuration for query insights.
    read_pool_config ReadPoolConfigArgs
    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 UpdatePolicyArgs
    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).
    clientConnectionConfig Property Map
    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
    queryInsightsConfig Property Map
    Configuration for query insights.
    readPoolConfig Property Map
    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.GoogleNative.AlloyDB.V1Alpha.Outputs.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.
    SatisfiesPzs bool
    Reserved for future use.
    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.GoogleNative.AlloyDB.V1Alpha.Outputs.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 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.
    SatisfiesPzs bool
    Reserved for future use.
    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.
    satisfiesPzs Boolean
    Reserved for future use.
    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.
    satisfiesPzs boolean
    Reserved for future use.
    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.
    satisfies_pzs bool
    Reserved for future use.
    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.
    satisfiesPzs Boolean
    Reserved for future use.
    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.GoogleNative.AlloyDB.V1Alpha.Inputs.SslConfig
    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.GoogleNative.AlloyDB.V1Alpha.Inputs.SslConfigResponse
    Optional. SSL config option for this instance.
    RequireConnectors bool
    Optional. Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
    SslConfig SslConfigResponse
    Optional. SSL config option for this instance.
    requireConnectors Boolean
    Optional. Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
    sslConfig SslConfigResponse
    Optional. SSL config option for this instance.
    requireConnectors boolean
    Optional. Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
    sslConfig SslConfigResponse
    Optional. SSL config option for this instance.
    require_connectors bool
    Optional. Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
    ssl_config SslConfigResponse
    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

    AvailabilityTypeUnspecified
    AVAILABILITY_TYPE_UNSPECIFIEDThis is an unknown Availability type.
    Zonal
    ZONALZonal available instance.
    Regional
    REGIONALRegional (or Highly) available instance.
    InstanceAvailabilityTypeAvailabilityTypeUnspecified
    AVAILABILITY_TYPE_UNSPECIFIEDThis is an unknown Availability type.
    InstanceAvailabilityTypeZonal
    ZONALZonal available instance.
    InstanceAvailabilityTypeRegional
    REGIONALRegional (or Highly) available instance.
    AvailabilityTypeUnspecified
    AVAILABILITY_TYPE_UNSPECIFIEDThis is an unknown Availability type.
    Zonal
    ZONALZonal available instance.
    Regional
    REGIONALRegional (or Highly) available instance.
    AvailabilityTypeUnspecified
    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

    InstanceTypeUnspecified
    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
    InstanceInstanceTypeInstanceTypeUnspecified
    INSTANCE_TYPE_UNSPECIFIEDThe type of the instance is unknown.
    InstanceInstanceTypePrimary
    PRIMARYPRIMARY instances support read and write operations.
    InstanceInstanceTypeReadPool
    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).
    InstanceInstanceTypeSecondary
    SECONDARYSECONDARY instances support read operations only. SECONDARY instance is a cross-region read replica
    InstanceTypeUnspecified
    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
    InstanceTypeUnspecified
    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

    QueryPlansPerMinute int
    Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.
    QueryStringLength int
    Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
    RecordApplicationTags bool
    Record application tags for an instance. This flag is turned "on" by default.
    RecordClientAddress bool
    Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
    QueryPlansPerMinute int
    Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.
    QueryStringLength int
    Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
    RecordApplicationTags bool
    Record application tags for an instance. This flag is turned "on" by default.
    RecordClientAddress bool
    Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
    queryPlansPerMinute Integer
    Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.
    queryStringLength Integer
    Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
    recordApplicationTags Boolean
    Record application tags for an instance. This flag is turned "on" by default.
    recordClientAddress Boolean
    Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
    queryPlansPerMinute number
    Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.
    queryStringLength number
    Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
    recordApplicationTags boolean
    Record application tags for an instance. This flag is turned "on" by default.
    recordClientAddress boolean
    Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
    query_plans_per_minute int
    Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.
    query_string_length int
    Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
    record_application_tags bool
    Record application tags for an instance. This flag is turned "on" by default.
    record_client_address bool
    Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
    queryPlansPerMinute Number
    Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.
    queryStringLength Number
    Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
    recordApplicationTags Boolean
    Record application tags for an instance. This flag is turned "on" by default.
    recordClientAddress Boolean
    Record client address for an instance. Client address is PII information. This flag is turned "on" by default.

    QueryInsightsInstanceConfigResponse, QueryInsightsInstanceConfigResponseArgs

    QueryPlansPerMinute int
    Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.
    QueryStringLength int
    Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
    RecordApplicationTags bool
    Record application tags for an instance. This flag is turned "on" by default.
    RecordClientAddress bool
    Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
    QueryPlansPerMinute int
    Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.
    QueryStringLength int
    Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
    RecordApplicationTags bool
    Record application tags for an instance. This flag is turned "on" by default.
    RecordClientAddress bool
    Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
    queryPlansPerMinute Integer
    Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.
    queryStringLength Integer
    Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
    recordApplicationTags Boolean
    Record application tags for an instance. This flag is turned "on" by default.
    recordClientAddress Boolean
    Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
    queryPlansPerMinute number
    Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.
    queryStringLength number
    Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
    recordApplicationTags boolean
    Record application tags for an instance. This flag is turned "on" by default.
    recordClientAddress boolean
    Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
    query_plans_per_minute int
    Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.
    query_string_length int
    Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
    record_application_tags bool
    Record application tags for an instance. This flag is turned "on" by default.
    record_client_address bool
    Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
    queryPlansPerMinute Number
    Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.
    queryStringLength Number
    Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
    recordApplicationTags Boolean
    Record application tags for an instance. This flag is turned "on" by default.
    recordClientAddress Boolean
    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.GoogleNative.AlloyDB.V1Alpha.SslConfigCaSource
    Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.
    SslMode Pulumi.GoogleNative.AlloyDB.V1Alpha.SslConfigSslMode
    Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
    CaSource SslConfigCaSource
    Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.
    SslMode SslConfigSslMode
    Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
    caSource SslConfigCaSource
    Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.
    sslMode SslConfigSslMode
    Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
    caSource SslConfigCaSource
    Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.
    sslMode SslConfigSslMode
    Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
    ca_source SslConfigCaSource
    Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.
    ssl_mode SslConfigSslMode
    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

    CaSourceUnspecified
    CA_SOURCE_UNSPECIFIEDCertificate Authority (CA) source not specified. Defaults to CA_SOURCE_MANAGED.
    CaSourceManaged
    CA_SOURCE_MANAGEDCertificate Authority (CA) managed by the AlloyDB Cluster.
    SslConfigCaSourceCaSourceUnspecified
    CA_SOURCE_UNSPECIFIEDCertificate Authority (CA) source not specified. Defaults to CA_SOURCE_MANAGED.
    SslConfigCaSourceCaSourceManaged
    CA_SOURCE_MANAGEDCertificate Authority (CA) managed by the AlloyDB Cluster.
    CaSourceUnspecified
    CA_SOURCE_UNSPECIFIEDCertificate Authority (CA) source not specified. Defaults to CA_SOURCE_MANAGED.
    CaSourceManaged
    CA_SOURCE_MANAGEDCertificate Authority (CA) managed by the AlloyDB Cluster.
    CaSourceUnspecified
    CA_SOURCE_UNSPECIFIEDCertificate Authority (CA) source not specified. Defaults to CA_SOURCE_MANAGED.
    CaSourceManaged
    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

    CaSource string
    Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.
    SslMode string
    Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
    CaSource string
    Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.
    SslMode string
    Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
    caSource String
    Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.
    sslMode String
    Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
    caSource string
    Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.
    sslMode string
    Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
    ca_source str
    Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.
    ssl_mode str
    Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
    caSource String
    Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.
    sslMode String
    Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.

    SslConfigSslMode, SslConfigSslModeArgs

    SslModeUnspecified
    SSL_MODE_UNSPECIFIEDSSL mode not specified. Defaults to ENCRYPTED_ONLY.
    SslModeAllow
    SSL_MODE_ALLOWSSL connections are optional. CA verification not enforced.
    SslModeRequire
    SSL_MODE_REQUIRESSL connections are required. CA verification not enforced. Clients may use locally self-signed certificates (default psql client behavior).
    SslModeVerifyCa
    SSL_MODE_VERIFY_CASSL connections are required. CA verification enforced. Clients must have certificates signed by a Cluster CA, e.g. via GenerateClientCertificate.
    AllowUnencryptedAndEncrypted
    ALLOW_UNENCRYPTED_AND_ENCRYPTEDSSL connections are optional. CA verification not enforced.
    EncryptedOnly
    ENCRYPTED_ONLYSSL connections are required. CA verification not enforced.
    SslConfigSslModeSslModeUnspecified
    SSL_MODE_UNSPECIFIEDSSL mode not specified. Defaults to ENCRYPTED_ONLY.
    SslConfigSslModeSslModeAllow
    SSL_MODE_ALLOWSSL connections are optional. CA verification not enforced.
    SslConfigSslModeSslModeRequire
    SSL_MODE_REQUIRESSL connections are required. CA verification not enforced. Clients may use locally self-signed certificates (default psql client behavior).
    SslConfigSslModeSslModeVerifyCa
    SSL_MODE_VERIFY_CASSL connections are required. CA verification enforced. Clients must have certificates signed by a Cluster CA, e.g. via GenerateClientCertificate.
    SslConfigSslModeAllowUnencryptedAndEncrypted
    ALLOW_UNENCRYPTED_AND_ENCRYPTEDSSL connections are optional. CA verification not enforced.
    SslConfigSslModeEncryptedOnly
    ENCRYPTED_ONLYSSL connections are required. CA verification not enforced.
    SslModeUnspecified
    SSL_MODE_UNSPECIFIEDSSL mode not specified. Defaults to ENCRYPTED_ONLY.
    SslModeAllow
    SSL_MODE_ALLOWSSL connections are optional. CA verification not enforced.
    SslModeRequire
    SSL_MODE_REQUIRESSL connections are required. CA verification not enforced. Clients may use locally self-signed certificates (default psql client behavior).
    SslModeVerifyCa
    SSL_MODE_VERIFY_CASSL connections are required. CA verification enforced. Clients must have certificates signed by a Cluster CA, e.g. via GenerateClientCertificate.
    AllowUnencryptedAndEncrypted
    ALLOW_UNENCRYPTED_AND_ENCRYPTEDSSL connections are optional. CA verification not enforced.
    EncryptedOnly
    ENCRYPTED_ONLYSSL connections are required. CA verification not enforced.
    SslModeUnspecified
    SSL_MODE_UNSPECIFIEDSSL mode not specified. Defaults to ENCRYPTED_ONLY.
    SslModeAllow
    SSL_MODE_ALLOWSSL connections are optional. CA verification not enforced.
    SslModeRequire
    SSL_MODE_REQUIRESSL connections are required. CA verification not enforced. Clients may use locally self-signed certificates (default psql client behavior).
    SslModeVerifyCa
    SSL_MODE_VERIFY_CASSL connections are required. CA verification enforced. Clients must have certificates signed by a Cluster CA, e.g. via GenerateClientCertificate.
    AllowUnencryptedAndEncrypted
    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 UpdatePolicyMode
    Mode for updating the instance.
    mode UpdatePolicyMode
    Mode for updating the instance.
    mode UpdatePolicyMode
    Mode for updating the instance.
    mode UpdatePolicyMode
    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.
    UpdatePolicyModeModeUnspecified
    MODE_UNSPECIFIEDMode is unknown.
    UpdatePolicyModeDefault
    DEFAULTLeast disruptive way to apply the update.
    UpdatePolicyModeForceApply
    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-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi