tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getPostgresqlBaseBackups
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
Use this data source to query detailed information of postgresql base_backups
Using getPostgresqlBaseBackups
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 getPostgresqlBaseBackups(args: GetPostgresqlBaseBackupsArgs, opts?: InvokeOptions): Promise<GetPostgresqlBaseBackupsResult>
function getPostgresqlBaseBackupsOutput(args: GetPostgresqlBaseBackupsOutputArgs, opts?: InvokeOptions): Output<GetPostgresqlBaseBackupsResult>
def get_postgresql_base_backups(filters: Optional[Sequence[GetPostgresqlBaseBackupsFilter]] = None,
id: Optional[str] = None,
max_finish_time: Optional[str] = None,
min_finish_time: Optional[str] = None,
order_by: Optional[str] = None,
order_by_type: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPostgresqlBaseBackupsResult
def get_postgresql_base_backups_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetPostgresqlBaseBackupsFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
max_finish_time: Optional[pulumi.Input[str]] = None,
min_finish_time: Optional[pulumi.Input[str]] = None,
order_by: Optional[pulumi.Input[str]] = None,
order_by_type: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPostgresqlBaseBackupsResult]
func GetPostgresqlBaseBackups(ctx *Context, args *GetPostgresqlBaseBackupsArgs, opts ...InvokeOption) (*GetPostgresqlBaseBackupsResult, error)
func GetPostgresqlBaseBackupsOutput(ctx *Context, args *GetPostgresqlBaseBackupsOutputArgs, opts ...InvokeOption) GetPostgresqlBaseBackupsResultOutput
> Note: This function is named GetPostgresqlBaseBackups
in the Go SDK.
public static class GetPostgresqlBaseBackups
{
public static Task<GetPostgresqlBaseBackupsResult> InvokeAsync(GetPostgresqlBaseBackupsArgs args, InvokeOptions? opts = null)
public static Output<GetPostgresqlBaseBackupsResult> Invoke(GetPostgresqlBaseBackupsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPostgresqlBaseBackupsResult> getPostgresqlBaseBackups(GetPostgresqlBaseBackupsArgs args, InvokeOptions options)
public static Output<GetPostgresqlBaseBackupsResult> getPostgresqlBaseBackups(GetPostgresqlBaseBackupsArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getPostgresqlBaseBackups:getPostgresqlBaseBackups
arguments:
# arguments dictionary
The following arguments are supported:
- Filters
List<Get
Postgresql Base Backups Filter> - Filter instances using one or more criteria. Valid filter names:
db-instance-id
: Filter by instance ID (in string format).db-instance-name
: Filter by instance name (in string format).db-instance-ip
: Filter by instance VPC IP (in string format).base-backup-id
: Filter by base backup ID (in string format). - Id string
- Unique ID of a backup file.
- Max
Finish stringTime - Maximum end time of a backup in the format of
2018-01-01 00:00:00
. It is the current time by default. - Min
Finish stringTime - Minimum end time of a backup in the format of
2018-01-01 00:00:00
. It is 7 days ago by default. - Order
By string - Sorting field. Valid values:
StartTime
,FinishTime
,Size
. - Order
By stringType - Sorting order. Valid values:
asc
(ascending),desc
(descending). - Result
Output stringFile - Used to save results.
- Filters
[]Get
Postgresql Base Backups Filter - Filter instances using one or more criteria. Valid filter names:
db-instance-id
: Filter by instance ID (in string format).db-instance-name
: Filter by instance name (in string format).db-instance-ip
: Filter by instance VPC IP (in string format).base-backup-id
: Filter by base backup ID (in string format). - Id string
- Unique ID of a backup file.
- Max
Finish stringTime - Maximum end time of a backup in the format of
2018-01-01 00:00:00
. It is the current time by default. - Min
Finish stringTime - Minimum end time of a backup in the format of
2018-01-01 00:00:00
. It is 7 days ago by default. - Order
By string - Sorting field. Valid values:
StartTime
,FinishTime
,Size
. - Order
By stringType - Sorting order. Valid values:
asc
(ascending),desc
(descending). - Result
Output stringFile - Used to save results.
- filters
List<Get
Postgresql Base Backups Filter> - Filter instances using one or more criteria. Valid filter names:
db-instance-id
: Filter by instance ID (in string format).db-instance-name
: Filter by instance name (in string format).db-instance-ip
: Filter by instance VPC IP (in string format).base-backup-id
: Filter by base backup ID (in string format). - id String
- Unique ID of a backup file.
- max
Finish StringTime - Maximum end time of a backup in the format of
2018-01-01 00:00:00
. It is the current time by default. - min
Finish StringTime - Minimum end time of a backup in the format of
2018-01-01 00:00:00
. It is 7 days ago by default. - order
By String - Sorting field. Valid values:
StartTime
,FinishTime
,Size
. - order
By StringType - Sorting order. Valid values:
asc
(ascending),desc
(descending). - result
Output StringFile - Used to save results.
- filters
Get
Postgresql Base Backups Filter[] - Filter instances using one or more criteria. Valid filter names:
db-instance-id
: Filter by instance ID (in string format).db-instance-name
: Filter by instance name (in string format).db-instance-ip
: Filter by instance VPC IP (in string format).base-backup-id
: Filter by base backup ID (in string format). - id string
- Unique ID of a backup file.
- max
Finish stringTime - Maximum end time of a backup in the format of
2018-01-01 00:00:00
. It is the current time by default. - min
Finish stringTime - Minimum end time of a backup in the format of
2018-01-01 00:00:00
. It is 7 days ago by default. - order
By string - Sorting field. Valid values:
StartTime
,FinishTime
,Size
. - order
By stringType - Sorting order. Valid values:
asc
(ascending),desc
(descending). - result
Output stringFile - Used to save results.
- filters
Sequence[Get
Postgresql Base Backups Filter] - Filter instances using one or more criteria. Valid filter names:
db-instance-id
: Filter by instance ID (in string format).db-instance-name
: Filter by instance name (in string format).db-instance-ip
: Filter by instance VPC IP (in string format).base-backup-id
: Filter by base backup ID (in string format). - id str
- Unique ID of a backup file.
- max_
finish_ strtime - Maximum end time of a backup in the format of
2018-01-01 00:00:00
. It is the current time by default. - min_
finish_ strtime - Minimum end time of a backup in the format of
2018-01-01 00:00:00
. It is 7 days ago by default. - order_
by str - Sorting field. Valid values:
StartTime
,FinishTime
,Size
. - order_
by_ strtype - Sorting order. Valid values:
asc
(ascending),desc
(descending). - result_
output_ strfile - Used to save results.
- filters List<Property Map>
- Filter instances using one or more criteria. Valid filter names:
db-instance-id
: Filter by instance ID (in string format).db-instance-name
: Filter by instance name (in string format).db-instance-ip
: Filter by instance VPC IP (in string format).base-backup-id
: Filter by base backup ID (in string format). - id String
- Unique ID of a backup file.
- max
Finish StringTime - Maximum end time of a backup in the format of
2018-01-01 00:00:00
. It is the current time by default. - min
Finish StringTime - Minimum end time of a backup in the format of
2018-01-01 00:00:00
. It is 7 days ago by default. - order
By String - Sorting field. Valid values:
StartTime
,FinishTime
,Size
. - order
By StringType - Sorting order. Valid values:
asc
(ascending),desc
(descending). - result
Output StringFile - Used to save results.
getPostgresqlBaseBackups Result
The following output properties are available:
- Base
Backup List<GetSets Postgresql Base Backups Base Backup Set> - List of full backup details.
- Id string
- Unique ID of a backup file.
- Filters
List<Get
Postgresql Base Backups Filter> - Max
Finish stringTime - Min
Finish stringTime - Order
By string - Order
By stringType - Result
Output stringFile
- Base
Backup []GetSets Postgresql Base Backups Base Backup Set - List of full backup details.
- Id string
- Unique ID of a backup file.
- Filters
[]Get
Postgresql Base Backups Filter - Max
Finish stringTime - Min
Finish stringTime - Order
By string - Order
By stringType - Result
Output stringFile
- base
Backup List<GetSets Postgresql Base Backups Base Backup Set> - List of full backup details.
- id String
- Unique ID of a backup file.
- filters
List<Get
Postgresql Base Backups Filter> - max
Finish StringTime - min
Finish StringTime - order
By String - order
By StringType - result
Output StringFile
- base
Backup GetSets Postgresql Base Backups Base Backup Set[] - List of full backup details.
- id string
- Unique ID of a backup file.
- filters
Get
Postgresql Base Backups Filter[] - max
Finish stringTime - min
Finish stringTime - order
By string - order
By stringType - result
Output stringFile
- base_
backup_ Sequence[Getsets Postgresql Base Backups Base Backup Set] - List of full backup details.
- id str
- Unique ID of a backup file.
- filters
Sequence[Get
Postgresql Base Backups Filter] - max_
finish_ strtime - min_
finish_ strtime - order_
by str - order_
by_ strtype - result_
output_ strfile
- base
Backup List<Property Map>Sets - List of full backup details.
- id String
- Unique ID of a backup file.
- filters List<Property Map>
- max
Finish StringTime - min
Finish StringTime - order
By String - order
By StringType - result
Output StringFile
Supporting Types
GetPostgresqlBaseBackupsBaseBackupSet
- Backup
Method string - Backup method, including physical and logical.
- Backup
Mode string - Backup mode, including automatic and manual.
- Db
Instance stringId - Instance ID.
- Expire
Time string - Backup expiration time.
- Finish
Time string - Backup end time.
- Id string
- Unique ID of a backup file.
- Name string
- Backup file name.
- Size double
- Backup set size in bytes.
- Start
Time string - Backup start time.
- State string
- Backup task status.
- Backup
Method string - Backup method, including physical and logical.
- Backup
Mode string - Backup mode, including automatic and manual.
- Db
Instance stringId - Instance ID.
- Expire
Time string - Backup expiration time.
- Finish
Time string - Backup end time.
- Id string
- Unique ID of a backup file.
- Name string
- Backup file name.
- Size float64
- Backup set size in bytes.
- Start
Time string - Backup start time.
- State string
- Backup task status.
- backup
Method String - Backup method, including physical and logical.
- backup
Mode String - Backup mode, including automatic and manual.
- db
Instance StringId - Instance ID.
- expire
Time String - Backup expiration time.
- finish
Time String - Backup end time.
- id String
- Unique ID of a backup file.
- name String
- Backup file name.
- size Double
- Backup set size in bytes.
- start
Time String - Backup start time.
- state String
- Backup task status.
- backup
Method string - Backup method, including physical and logical.
- backup
Mode string - Backup mode, including automatic and manual.
- db
Instance stringId - Instance ID.
- expire
Time string - Backup expiration time.
- finish
Time string - Backup end time.
- id string
- Unique ID of a backup file.
- name string
- Backup file name.
- size number
- Backup set size in bytes.
- start
Time string - Backup start time.
- state string
- Backup task status.
- backup_
method str - Backup method, including physical and logical.
- backup_
mode str - Backup mode, including automatic and manual.
- db_
instance_ strid - Instance ID.
- expire_
time str - Backup expiration time.
- finish_
time str - Backup end time.
- id str
- Unique ID of a backup file.
- name str
- Backup file name.
- size float
- Backup set size in bytes.
- start_
time str - Backup start time.
- state str
- Backup task status.
- backup
Method String - Backup method, including physical and logical.
- backup
Mode String - Backup mode, including automatic and manual.
- db
Instance StringId - Instance ID.
- expire
Time String - Backup expiration time.
- finish
Time String - Backup end time.
- id String
- Unique ID of a backup file.
- name String
- Backup file name.
- size Number
- Backup set size in bytes.
- start
Time String - Backup start time.
- state String
- Backup task status.
GetPostgresqlBaseBackupsFilter
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack