Google Cloud Classic v6.57.0, May 30 23
Google Cloud Classic v6.57.0, May 30 23
gcp.sql.getDatabaseInstances
Explore with Pulumi AI
Use this data source to get information about a list of Cloud SQL instances in a project. You can also apply some filters over this list to get a more filtered list of Cloud SQL instances.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var qa = Gcp.Sql.GetDatabaseInstances.Invoke(new()
{
Project = "test-project",
});
});
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/sql"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := sql.GetDatabaseInstances(ctx, &sql.GetDatabaseInstancesArgs{
Project: pulumi.StringRef("test-project"),
}, nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.sql.SqlFunctions;
import com.pulumi.gcp.sql.inputs.GetDatabaseInstancesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var qa = SqlFunctions.getDatabaseInstances(GetDatabaseInstancesArgs.builder()
.project("test-project")
.build());
}
}
import pulumi
import pulumi_gcp as gcp
qa = gcp.sql.get_database_instances(project="test-project")
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const qa = gcp.sql.getDatabaseInstances({
project: "test-project",
});
variables:
qa:
fn::invoke:
Function: gcp:sql:getDatabaseInstances
Arguments:
project: test-project
Using getDatabaseInstances
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDatabaseInstances(args: GetDatabaseInstancesArgs, opts?: InvokeOptions): Promise<GetDatabaseInstancesResult>
function getDatabaseInstancesOutput(args: GetDatabaseInstancesOutputArgs, opts?: InvokeOptions): Output<GetDatabaseInstancesResult>
def get_database_instances(database_version: Optional[str] = None,
project: Optional[str] = None,
region: Optional[str] = None,
state: Optional[str] = None,
tier: Optional[str] = None,
zone: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDatabaseInstancesResult
def get_database_instances_output(database_version: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
state: Optional[pulumi.Input[str]] = None,
tier: Optional[pulumi.Input[str]] = None,
zone: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDatabaseInstancesResult]
func GetDatabaseInstances(ctx *Context, args *GetDatabaseInstancesArgs, opts ...InvokeOption) (*GetDatabaseInstancesResult, error)
func GetDatabaseInstancesOutput(ctx *Context, args *GetDatabaseInstancesOutputArgs, opts ...InvokeOption) GetDatabaseInstancesResultOutput
> Note: This function is named GetDatabaseInstances
in the Go SDK.
public static class GetDatabaseInstances
{
public static Task<GetDatabaseInstancesResult> InvokeAsync(GetDatabaseInstancesArgs args, InvokeOptions? opts = null)
public static Output<GetDatabaseInstancesResult> Invoke(GetDatabaseInstancesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDatabaseInstancesResult> getDatabaseInstances(GetDatabaseInstancesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: gcp:sql/getDatabaseInstances:getDatabaseInstances
arguments:
# arguments dictionary
The following arguments are supported:
- Database
Version string To filter out the Cloud SQL instances which are of the specified database version.
- Project string
The ID of the project in which the resources belong. If it is not provided, the provider project is used.
- Region string
To filter out the Cloud SQL instances which are located in the specified region.
- State string
To filter out the Cloud SQL instances based on the current serving state of the database instance. Supported values include
SQL_INSTANCE_STATE_UNSPECIFIED
,RUNNABLE
,SUSPENDED
,PENDING_DELETE
,PENDING_CREATE
,MAINTENANCE
,FAILED
.- Tier string
To filter out the Cloud SQL instances based on the tier(or machine type) of the database instances.
- Zone string
To filter out the Cloud SQL instances which are located in the specified zone. This zone refers to the Compute Engine zone that the instance is currently serving from.
- Database
Version string To filter out the Cloud SQL instances which are of the specified database version.
- Project string
The ID of the project in which the resources belong. If it is not provided, the provider project is used.
- Region string
To filter out the Cloud SQL instances which are located in the specified region.
- State string
To filter out the Cloud SQL instances based on the current serving state of the database instance. Supported values include
SQL_INSTANCE_STATE_UNSPECIFIED
,RUNNABLE
,SUSPENDED
,PENDING_DELETE
,PENDING_CREATE
,MAINTENANCE
,FAILED
.- Tier string
To filter out the Cloud SQL instances based on the tier(or machine type) of the database instances.
- Zone string
To filter out the Cloud SQL instances which are located in the specified zone. This zone refers to the Compute Engine zone that the instance is currently serving from.
- database
Version String To filter out the Cloud SQL instances which are of the specified database version.
- project String
The ID of the project in which the resources belong. If it is not provided, the provider project is used.
- region String
To filter out the Cloud SQL instances which are located in the specified region.
- state String
To filter out the Cloud SQL instances based on the current serving state of the database instance. Supported values include
SQL_INSTANCE_STATE_UNSPECIFIED
,RUNNABLE
,SUSPENDED
,PENDING_DELETE
,PENDING_CREATE
,MAINTENANCE
,FAILED
.- tier String
To filter out the Cloud SQL instances based on the tier(or machine type) of the database instances.
- zone String
To filter out the Cloud SQL instances which are located in the specified zone. This zone refers to the Compute Engine zone that the instance is currently serving from.
- database
Version string To filter out the Cloud SQL instances which are of the specified database version.
- project string
The ID of the project in which the resources belong. If it is not provided, the provider project is used.
- region string
To filter out the Cloud SQL instances which are located in the specified region.
- state string
To filter out the Cloud SQL instances based on the current serving state of the database instance. Supported values include
SQL_INSTANCE_STATE_UNSPECIFIED
,RUNNABLE
,SUSPENDED
,PENDING_DELETE
,PENDING_CREATE
,MAINTENANCE
,FAILED
.- tier string
To filter out the Cloud SQL instances based on the tier(or machine type) of the database instances.
- zone string
To filter out the Cloud SQL instances which are located in the specified zone. This zone refers to the Compute Engine zone that the instance is currently serving from.
- database_
version str To filter out the Cloud SQL instances which are of the specified database version.
- project str
The ID of the project in which the resources belong. If it is not provided, the provider project is used.
- region str
To filter out the Cloud SQL instances which are located in the specified region.
- state str
To filter out the Cloud SQL instances based on the current serving state of the database instance. Supported values include
SQL_INSTANCE_STATE_UNSPECIFIED
,RUNNABLE
,SUSPENDED
,PENDING_DELETE
,PENDING_CREATE
,MAINTENANCE
,FAILED
.- tier str
To filter out the Cloud SQL instances based on the tier(or machine type) of the database instances.
- zone str
To filter out the Cloud SQL instances which are located in the specified zone. This zone refers to the Compute Engine zone that the instance is currently serving from.
- database
Version String To filter out the Cloud SQL instances which are of the specified database version.
- project String
The ID of the project in which the resources belong. If it is not provided, the provider project is used.
- region String
To filter out the Cloud SQL instances which are located in the specified region.
- state String
To filter out the Cloud SQL instances based on the current serving state of the database instance. Supported values include
SQL_INSTANCE_STATE_UNSPECIFIED
,RUNNABLE
,SUSPENDED
,PENDING_DELETE
,PENDING_CREATE
,MAINTENANCE
,FAILED
.- tier String
To filter out the Cloud SQL instances based on the tier(or machine type) of the database instances.
- zone String
To filter out the Cloud SQL instances which are located in the specified zone. This zone refers to the Compute Engine zone that the instance is currently serving from.
getDatabaseInstances Result
The following output properties are available:
- Id string
The provider-assigned unique ID for this managed resource.
- Instances
List<Get
Database Instances Instance> - Database
Version string - Project string
- Region string
- State string
- Tier string
- Zone string
- Id string
The provider-assigned unique ID for this managed resource.
- Instances
[]Get
Database Instances Instance - Database
Version string - Project string
- Region string
- State string
- Tier string
- Zone string
- id String
The provider-assigned unique ID for this managed resource.
- instances
List<Get
Database Instances Instance> - database
Version String - project String
- region String
- state String
- tier String
- zone String
- id string
The provider-assigned unique ID for this managed resource.
- instances
Get
Database Instances Instance[] - database
Version string - project string
- region string
- state string
- tier string
- zone string
- id str
The provider-assigned unique ID for this managed resource.
- instances
Sequence[Get
Database Instances Instance] - database_
version str - project str
- region str
- state str
- tier str
- zone str
- id String
The provider-assigned unique ID for this managed resource.
- instances List<Property Map>
- database
Version String - project String
- region String
- state String
- tier String
- zone String
Supporting Types
GetDatabaseInstancesInstance
- Available
Maintenance List<string>Versions - Clones
List<Get
Database Instances Instance Clone> - Connection
Name string - Database
Version string To filter out the Cloud SQL instances which are of the specified database version.
- Deletion
Protection bool - Encryption
Key stringName - First
Ip stringAddress - Instance
Type string - Ip
Addresses List<GetDatabase Instances Instance Ip Address> - Maintenance
Version string - Master
Instance stringName - Name string
- Private
Ip stringAddress - Project string
The ID of the project in which the resources belong. If it is not provided, the provider project is used.
- Public
Ip stringAddress - Region string
To filter out the Cloud SQL instances which are located in the specified region.
- Replica
Configurations List<GetDatabase Instances Instance Replica Configuration> - Restore
Backup List<GetContexts Database Instances Instance Restore Backup Context> - Root
Password string - Self
Link string - Server
Ca List<GetCerts Database Instances Instance Server Ca Cert> - Service
Account stringEmail Address - Settings
List<Get
Database Instances Instance Setting>
- Available
Maintenance []stringVersions - Clones
[]Get
Database Instances Instance Clone - Connection
Name string - Database
Version string To filter out the Cloud SQL instances which are of the specified database version.
- Deletion
Protection bool - Encryption
Key stringName - First
Ip stringAddress - Instance
Type string - Ip
Addresses []GetDatabase Instances Instance Ip Address - Maintenance
Version string - Master
Instance stringName - Name string
- Private
Ip stringAddress - Project string
The ID of the project in which the resources belong. If it is not provided, the provider project is used.
- Public
Ip stringAddress - Region string
To filter out the Cloud SQL instances which are located in the specified region.
- Replica
Configurations []GetDatabase Instances Instance Replica Configuration - Restore
Backup []GetContexts Database Instances Instance Restore Backup Context - Root
Password string - Self
Link string - Server
Ca []GetCerts Database Instances Instance Server Ca Cert - Service
Account stringEmail Address - Settings
[]Get
Database Instances Instance Setting
- available
Maintenance List<String>Versions - clones
List<Get
Database Instances Instance Clone> - connection
Name String - database
Version String To filter out the Cloud SQL instances which are of the specified database version.
- deletion
Protection Boolean - encryption
Key StringName - first
Ip StringAddress - instance
Type String - ip
Addresses List<GetDatabase Instances Instance Ip Address> - maintenance
Version String - master
Instance StringName - name String
- private
Ip StringAddress - project String
The ID of the project in which the resources belong. If it is not provided, the provider project is used.
- public
Ip StringAddress - region String
To filter out the Cloud SQL instances which are located in the specified region.
- replica
Configurations List<GetDatabase Instances Instance Replica Configuration> - restore
Backup List<GetContexts Database Instances Instance Restore Backup Context> - root
Password String - self
Link String - server
Ca List<GetCerts Database Instances Instance Server Ca Cert> - service
Account StringEmail Address - settings
List<Get
Database Instances Instance Setting>
- available
Maintenance string[]Versions - clones
Get
Database Instances Instance Clone[] - connection
Name string - database
Version string To filter out the Cloud SQL instances which are of the specified database version.
- deletion
Protection boolean - encryption
Key stringName - first
Ip stringAddress - instance
Type string - ip
Addresses GetDatabase Instances Instance Ip Address[] - maintenance
Version string - master
Instance stringName - name string
- private
Ip stringAddress - project string
The ID of the project in which the resources belong. If it is not provided, the provider project is used.
- public
Ip stringAddress - region string
To filter out the Cloud SQL instances which are located in the specified region.
- replica
Configurations GetDatabase Instances Instance Replica Configuration[] - restore
Backup GetContexts Database Instances Instance Restore Backup Context[] - root
Password string - self
Link string - server
Ca GetCerts Database Instances Instance Server Ca Cert[] - service
Account stringEmail Address - settings
Get
Database Instances Instance Setting[]
- available_
maintenance_ Sequence[str]versions - clones
Sequence[Get
Database Instances Instance Clone] - connection_
name str - database_
version str To filter out the Cloud SQL instances which are of the specified database version.
- deletion_
protection bool - encryption_
key_ strname - first_
ip_ straddress - instance_
type str - ip_
addresses Sequence[GetDatabase Instances Instance Ip Address] - maintenance_
version str - master_
instance_ strname - name str
- private_
ip_ straddress - project str
The ID of the project in which the resources belong. If it is not provided, the provider project is used.
- public_
ip_ straddress - region str
To filter out the Cloud SQL instances which are located in the specified region.
- replica_
configurations Sequence[GetDatabase Instances Instance Replica Configuration] - restore_
backup_ Sequence[Getcontexts Database Instances Instance Restore Backup Context] - root_
password str - self_
link str - server_
ca_ Sequence[Getcerts Database Instances Instance Server Ca Cert] - service_
account_ stremail_ address - settings
Sequence[Get
Database Instances Instance Setting]
- available
Maintenance List<String>Versions - clones List<Property Map>
- connection
Name String - database
Version String To filter out the Cloud SQL instances which are of the specified database version.
- deletion
Protection Boolean - encryption
Key StringName - first
Ip StringAddress - instance
Type String - ip
Addresses List<Property Map> - maintenance
Version String - master
Instance StringName - name String
- private
Ip StringAddress - project String
The ID of the project in which the resources belong. If it is not provided, the provider project is used.
- public
Ip StringAddress - region String
To filter out the Cloud SQL instances which are located in the specified region.
- replica
Configurations List<Property Map> - restore
Backup List<Property Map>Contexts - root
Password String - self
Link String - server
Ca List<Property Map>Certs - service
Account StringEmail Address - settings List<Property Map>
GetDatabaseInstancesInstanceClone
- Allocated
Ip stringRange - Database
Names List<string> - Point
In stringTime - Source
Instance stringName
- Allocated
Ip stringRange - Database
Names []string - Point
In stringTime - Source
Instance stringName
- allocated
Ip StringRange - database
Names List<String> - point
In StringTime - source
Instance StringName
- allocated
Ip stringRange - database
Names string[] - point
In stringTime - source
Instance stringName
- allocated_
ip_ strrange - database_
names Sequence[str] - point_
in_ strtime - source_
instance_ strname
- allocated
Ip StringRange - database
Names List<String> - point
In StringTime - source
Instance StringName
GetDatabaseInstancesInstanceIpAddress
- Ip
Address string - Time
To stringRetire - Type string
- Ip
Address string - Time
To stringRetire - Type string
- ip
Address String - time
To StringRetire - type String
- ip
Address string - time
To stringRetire - type string
- ip_
address str - time_
to_ strretire - type str
- ip
Address String - time
To StringRetire - type String
GetDatabaseInstancesInstanceReplicaConfiguration
- Ca
Certificate string - Client
Certificate string - Client
Key string - Connect
Retry intInterval - Dump
File stringPath - Failover
Target bool - Master
Heartbeat intPeriod - Password string
- Ssl
Cipher string - Username string
- Verify
Server boolCertificate
- Ca
Certificate string - Client
Certificate string - Client
Key string - Connect
Retry intInterval - Dump
File stringPath - Failover
Target bool - Master
Heartbeat intPeriod - Password string
- Ssl
Cipher string - Username string
- Verify
Server boolCertificate
- ca
Certificate String - client
Certificate String - client
Key String - connect
Retry IntegerInterval - dump
File StringPath - failover
Target Boolean - master
Heartbeat IntegerPeriod - password String
- ssl
Cipher String - username String
- verify
Server BooleanCertificate
- ca
Certificate string - client
Certificate string - client
Key string - connect
Retry numberInterval - dump
File stringPath - failover
Target boolean - master
Heartbeat numberPeriod - password string
- ssl
Cipher string - username string
- verify
Server booleanCertificate
- ca_
certificate str - client_
certificate str - client_
key str - connect_
retry_ intinterval - dump_
file_ strpath - failover_
target bool - master_
heartbeat_ intperiod - password str
- ssl_
cipher str - username str
- verify_
server_ boolcertificate
- ca
Certificate String - client
Certificate String - client
Key String - connect
Retry NumberInterval - dump
File StringPath - failover
Target Boolean - master
Heartbeat NumberPeriod - password String
- ssl
Cipher String - username String
- verify
Server BooleanCertificate
GetDatabaseInstancesInstanceRestoreBackupContext
- Backup
Run intId - Instance
Id string - Project string
The ID of the project in which the resources belong. If it is not provided, the provider project is used.
- Backup
Run intId - Instance
Id string - Project string
The ID of the project in which the resources belong. If it is not provided, the provider project is used.
- backup
Run IntegerId - instance
Id String - project String
The ID of the project in which the resources belong. If it is not provided, the provider project is used.
- backup
Run numberId - instance
Id string - project string
The ID of the project in which the resources belong. If it is not provided, the provider project is used.
- backup_
run_ intid - instance_
id str - project str
The ID of the project in which the resources belong. If it is not provided, the provider project is used.
- backup
Run NumberId - instance
Id String - project String
The ID of the project in which the resources belong. If it is not provided, the provider project is used.
GetDatabaseInstancesInstanceServerCaCert
- Cert string
- Common
Name string - Create
Time string - Expiration
Time string - Sha1Fingerprint string
- Cert string
- Common
Name string - Create
Time string - Expiration
Time string - Sha1Fingerprint string
- cert String
- common
Name String - create
Time String - expiration
Time String - sha1Fingerprint String
- cert string
- common
Name string - create
Time string - expiration
Time string - sha1Fingerprint string
- cert str
- common_
name str - create_
time str - expiration_
time str - sha1_
fingerprint str
- cert String
- common
Name String - create
Time String - expiration
Time String - sha1Fingerprint String
GetDatabaseInstancesInstanceSetting
- Activation
Policy string - Active
Directory List<GetConfigs Database Instances Instance Setting Active Directory Config> - Advanced
Machine List<GetFeatures Database Instances Instance Setting Advanced Machine Feature> - Availability
Type string - Backup
Configurations List<GetDatabase Instances Instance Setting Backup Configuration> - Collation string
- Connector
Enforcement string - Database
Flags List<GetDatabase Instances Instance Setting Database Flag> - Deletion
Protection boolEnabled - Deny
Maintenance List<GetPeriods Database Instances Instance Setting Deny Maintenance Period> - Disk
Autoresize bool - Disk
Autoresize intLimit - Disk
Size int - Disk
Type string - Insights
Configs List<GetDatabase Instances Instance Setting Insights Config> - Ip
Configurations List<GetDatabase Instances Instance Setting Ip Configuration> - Location
Preferences List<GetDatabase Instances Instance Setting Location Preference> - Maintenance
Windows List<GetDatabase Instances Instance Setting Maintenance Window> - Password
Validation List<GetPolicies Database Instances Instance Setting Password Validation Policy> - Pricing
Plan string - Sql
Server List<GetAudit Configs Database Instances Instance Setting Sql Server Audit Config> - Tier string
To filter out the Cloud SQL instances based on the tier(or machine type) of the database instances.
- Time
Zone string - User
Labels Dictionary<string, string> - Version int
- Activation
Policy string - Active
Directory []GetConfigs Database Instances Instance Setting Active Directory Config - Advanced
Machine []GetFeatures Database Instances Instance Setting Advanced Machine Feature - Availability
Type string - Backup
Configurations []GetDatabase Instances Instance Setting Backup Configuration - Collation string
- Connector
Enforcement string - Database
Flags []GetDatabase Instances Instance Setting Database Flag - Deletion
Protection boolEnabled - Deny
Maintenance []GetPeriods Database Instances Instance Setting Deny Maintenance Period - Disk
Autoresize bool - Disk
Autoresize intLimit - Disk
Size int - Disk
Type string - Insights
Configs []GetDatabase Instances Instance Setting Insights Config - Ip
Configurations []GetDatabase Instances Instance Setting Ip Configuration - Location
Preferences []GetDatabase Instances Instance Setting Location Preference - Maintenance
Windows []GetDatabase Instances Instance Setting Maintenance Window - Password
Validation []GetPolicies Database Instances Instance Setting Password Validation Policy - Pricing
Plan string - Sql
Server []GetAudit Configs Database Instances Instance Setting Sql Server Audit Config - Tier string
To filter out the Cloud SQL instances based on the tier(or machine type) of the database instances.
- Time
Zone string - User
Labels map[string]string - Version int
- activation
Policy String - active
Directory List<GetConfigs Database Instances Instance Setting Active Directory Config> - advanced
Machine List<GetFeatures Database Instances Instance Setting Advanced Machine Feature> - availability
Type String - backup
Configurations List<GetDatabase Instances Instance Setting Backup Configuration> - collation String
- connector
Enforcement String - database
Flags List<GetDatabase Instances Instance Setting Database Flag> - deletion
Protection BooleanEnabled - deny
Maintenance List<GetPeriods Database Instances Instance Setting Deny Maintenance Period> - disk
Autoresize Boolean - disk
Autoresize IntegerLimit - disk
Size Integer - disk
Type String - insights
Configs List<GetDatabase Instances Instance Setting Insights Config> - ip
Configurations List<GetDatabase Instances Instance Setting Ip Configuration> - location
Preferences List<GetDatabase Instances Instance Setting Location Preference> - maintenance
Windows List<GetDatabase Instances Instance Setting Maintenance Window> - password
Validation List<GetPolicies Database Instances Instance Setting Password Validation Policy> - pricing
Plan String - sql
Server List<GetAudit Configs Database Instances Instance Setting Sql Server Audit Config> - tier String
To filter out the Cloud SQL instances based on the tier(or machine type) of the database instances.
- time
Zone String - user
Labels Map<String,String> - version Integer
- activation
Policy string - active
Directory GetConfigs Database Instances Instance Setting Active Directory Config[] - advanced
Machine GetFeatures Database Instances Instance Setting Advanced Machine Feature[] - availability
Type string - backup
Configurations GetDatabase Instances Instance Setting Backup Configuration[] - collation string
- connector
Enforcement string - database
Flags GetDatabase Instances Instance Setting Database Flag[] - deletion
Protection booleanEnabled - deny
Maintenance GetPeriods Database Instances Instance Setting Deny Maintenance Period[] - disk
Autoresize boolean - disk
Autoresize numberLimit - disk
Size number - disk
Type string - insights
Configs GetDatabase Instances Instance Setting Insights Config[] - ip
Configurations GetDatabase Instances Instance Setting Ip Configuration[] - location
Preferences GetDatabase Instances Instance Setting Location Preference[] - maintenance
Windows GetDatabase Instances Instance Setting Maintenance Window[] - password
Validation GetPolicies Database Instances Instance Setting Password Validation Policy[] - pricing
Plan string - sql
Server GetAudit Configs Database Instances Instance Setting Sql Server Audit Config[] - tier string
To filter out the Cloud SQL instances based on the tier(or machine type) of the database instances.
- time
Zone string - user
Labels {[key: string]: string} - version number
- activation_
policy str - active_
directory_ Sequence[Getconfigs Database Instances Instance Setting Active Directory Config] - advanced_
machine_ Sequence[Getfeatures Database Instances Instance Setting Advanced Machine Feature] - availability_
type str - backup_
configurations Sequence[GetDatabase Instances Instance Setting Backup Configuration] - collation str
- connector_
enforcement str - database_
flags Sequence[GetDatabase Instances Instance Setting Database Flag] - deletion_
protection_ boolenabled - deny_
maintenance_ Sequence[Getperiods Database Instances Instance Setting Deny Maintenance Period] - disk_
autoresize bool - disk_
autoresize_ intlimit - disk_
size int - disk_
type str - insights_
configs Sequence[GetDatabase Instances Instance Setting Insights Config] - ip_
configurations Sequence[GetDatabase Instances Instance Setting Ip Configuration] - location_
preferences Sequence[GetDatabase Instances Instance Setting Location Preference] - maintenance_
windows Sequence[GetDatabase Instances Instance Setting Maintenance Window] - password_
validation_ Sequence[Getpolicies Database Instances Instance Setting Password Validation Policy] - pricing_
plan str - sql_
server_ Sequence[Getaudit_ configs Database Instances Instance Setting Sql Server Audit Config] - tier str
To filter out the Cloud SQL instances based on the tier(or machine type) of the database instances.
- time_
zone str - user_
labels Mapping[str, str] - version int
- activation
Policy String - active
Directory List<Property Map>Configs - advanced
Machine List<Property Map>Features - availability
Type String - backup
Configurations List<Property Map> - collation String
- connector
Enforcement String - database
Flags List<Property Map> - deletion
Protection BooleanEnabled - deny
Maintenance List<Property Map>Periods - disk
Autoresize Boolean - disk
Autoresize NumberLimit - disk
Size Number - disk
Type String - insights
Configs List<Property Map> - ip
Configurations List<Property Map> - location
Preferences List<Property Map> - maintenance
Windows List<Property Map> - password
Validation List<Property Map>Policies - pricing
Plan String - sql
Server List<Property Map>Audit Configs - tier String
To filter out the Cloud SQL instances based on the tier(or machine type) of the database instances.
- time
Zone String - user
Labels Map<String> - version Number
GetDatabaseInstancesInstanceSettingActiveDirectoryConfig
- Domain string
- Domain string
- domain String
- domain string
- domain str
- domain String
GetDatabaseInstancesInstanceSettingAdvancedMachineFeature
- Threads
Per intCore
- Threads
Per intCore
- threads
Per IntegerCore
- threads
Per numberCore
- threads_
per_ intcore
- threads
Per NumberCore
GetDatabaseInstancesInstanceSettingBackupConfiguration
- backup
Retention List<Property Map>Settings - binary
Log BooleanEnabled - enabled Boolean
- location String
- point
In BooleanTime Recovery Enabled - start
Time String - transaction
Log NumberRetention Days
GetDatabaseInstancesInstanceSettingBackupConfigurationBackupRetentionSetting
- Retained
Backups int - Retention
Unit string
- Retained
Backups int - Retention
Unit string
- retained
Backups Integer - retention
Unit String
- retained
Backups number - retention
Unit string
- retained_
backups int - retention_
unit str
- retained
Backups Number - retention
Unit String
GetDatabaseInstancesInstanceSettingDatabaseFlag
GetDatabaseInstancesInstanceSettingDenyMaintenancePeriod
- end_
date str - start_
date str - time str
GetDatabaseInstancesInstanceSettingInsightsConfig
- Query
Insights boolEnabled - Query
Plans intPer Minute - Query
String intLength - bool
- Record
Client boolAddress
- Query
Insights boolEnabled - Query
Plans intPer Minute - Query
String intLength - bool
- Record
Client boolAddress
- query
Insights BooleanEnabled - query
Plans IntegerPer Minute - query
String IntegerLength - Boolean
- record
Client BooleanAddress
- query
Insights booleanEnabled - query
Plans numberPer Minute - query
String numberLength - boolean
- record
Client booleanAddress
- query_
insights_ boolenabled - query_
plans_ intper_ minute - query_
string_ intlength - bool
- record_
client_ booladdress
- query
Insights BooleanEnabled - query
Plans NumberPer Minute - query
String NumberLength - Boolean
- record
Client BooleanAddress
GetDatabaseInstancesInstanceSettingIpConfiguration
- allocated
Ip StringRange - List<Property Map>
- enable
Private BooleanPath For Google Cloud Services - ipv4Enabled Boolean
- private
Network String - require
Ssl Boolean
GetDatabaseInstancesInstanceSettingIpConfigurationAuthorizedNetwork
- Expiration
Time string - Name string
- Value string
- Expiration
Time string - Name string
- Value string
- expiration
Time String - name String
- value String
- expiration
Time string - name string
- value string
- expiration_
time str - name str
- value str
- expiration
Time String - name String
- value String
GetDatabaseInstancesInstanceSettingLocationPreference
- Follow
Gae stringApplication - Secondary
Zone string - Zone string
To filter out the Cloud SQL instances which are located in the specified zone. This zone refers to the Compute Engine zone that the instance is currently serving from.
- Follow
Gae stringApplication - Secondary
Zone string - Zone string
To filter out the Cloud SQL instances which are located in the specified zone. This zone refers to the Compute Engine zone that the instance is currently serving from.
- follow
Gae StringApplication - secondary
Zone String - zone String
To filter out the Cloud SQL instances which are located in the specified zone. This zone refers to the Compute Engine zone that the instance is currently serving from.
- follow
Gae stringApplication - secondary
Zone string - zone string
To filter out the Cloud SQL instances which are located in the specified zone. This zone refers to the Compute Engine zone that the instance is currently serving from.
- follow_
gae_ strapplication - secondary_
zone str - zone str
To filter out the Cloud SQL instances which are located in the specified zone. This zone refers to the Compute Engine zone that the instance is currently serving from.
- follow
Gae StringApplication - secondary
Zone String - zone String
To filter out the Cloud SQL instances which are located in the specified zone. This zone refers to the Compute Engine zone that the instance is currently serving from.
GetDatabaseInstancesInstanceSettingMaintenanceWindow
- Day int
- Hour int
- Update
Track string
- Day int
- Hour int
- Update
Track string
- day Integer
- hour Integer
- update
Track String
- day number
- hour number
- update
Track string
- day int
- hour int
- update_
track str
- day Number
- hour Number
- update
Track String
GetDatabaseInstancesInstanceSettingPasswordValidationPolicy
- Complexity string
- Disallow
Username boolSubstring - Enable
Password boolPolicy - Min
Length int - Password
Change stringInterval - Reuse
Interval int
- Complexity string
- Disallow
Username boolSubstring - Enable
Password boolPolicy - Min
Length int - Password
Change stringInterval - Reuse
Interval int
- complexity String
- disallow
Username BooleanSubstring - enable
Password BooleanPolicy - min
Length Integer - password
Change StringInterval - reuse
Interval Integer
- complexity string
- disallow
Username booleanSubstring - enable
Password booleanPolicy - min
Length number - password
Change stringInterval - reuse
Interval number
- complexity String
- disallow
Username BooleanSubstring - enable
Password BooleanPolicy - min
Length Number - password
Change StringInterval - reuse
Interval Number
GetDatabaseInstancesInstanceSettingSqlServerAuditConfig
- Bucket string
- Retention
Interval string - Upload
Interval string
- Bucket string
- Retention
Interval string - Upload
Interval string
- bucket String
- retention
Interval String - upload
Interval String
- bucket string
- retention
Interval string - upload
Interval string
- bucket str
- retention_
interval str - upload_
interval str
- bucket String
- retention
Interval String - upload
Interval String
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
google-beta
Terraform Provider.