1. Packages
  2. Volcengine
  3. API Docs
  4. rds_postgresql
  5. getBackupPolicies
Volcengine v0.0.43 published on Friday, Jan 16, 2026 by Volcengine
volcengine logo
Volcengine v0.0.43 published on Friday, Jan 16, 2026 by Volcengine

    Using getBackupPolicies

    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 getBackupPolicies(args: GetBackupPoliciesArgs, opts?: InvokeOptions): Promise<GetBackupPoliciesResult>
    function getBackupPoliciesOutput(args: GetBackupPoliciesOutputArgs, opts?: InvokeOptions): Output<GetBackupPoliciesResult>
    def get_backup_policies(instance_id: Optional[str] = None,
                            output_file: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetBackupPoliciesResult
    def get_backup_policies_output(instance_id: Optional[pulumi.Input[str]] = None,
                            output_file: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetBackupPoliciesResult]
    func GetBackupPolicies(ctx *Context, args *GetBackupPoliciesArgs, opts ...InvokeOption) (*GetBackupPoliciesResult, error)
    func GetBackupPoliciesOutput(ctx *Context, args *GetBackupPoliciesOutputArgs, opts ...InvokeOption) GetBackupPoliciesResultOutput

    > Note: This function is named GetBackupPolicies in the Go SDK.

    public static class GetBackupPolicies 
    {
        public static Task<GetBackupPoliciesResult> InvokeAsync(GetBackupPoliciesArgs args, InvokeOptions? opts = null)
        public static Output<GetBackupPoliciesResult> Invoke(GetBackupPoliciesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetBackupPoliciesResult> getBackupPolicies(GetBackupPoliciesArgs args, InvokeOptions options)
    public static Output<GetBackupPoliciesResult> getBackupPolicies(GetBackupPoliciesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:rds_postgresql/getBackupPolicies:getBackupPolicies
      arguments:
        # arguments dictionary

    The following arguments are supported:

    InstanceId string
    OutputFile string
    InstanceId string
    OutputFile string
    instanceId String
    outputFile String
    instanceId string
    outputFile string
    instanceId String
    outputFile String

    getBackupPolicies Result

    The following output properties are available:

    BackupPolicies List<GetBackupPoliciesBackupPolicy>
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    TotalCount int
    OutputFile string
    BackupPolicies []GetBackupPoliciesBackupPolicy
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    TotalCount int
    OutputFile string
    backupPolicies List<GetBackupPoliciesBackupPolicy>
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    totalCount Integer
    outputFile String
    backupPolicies GetBackupPoliciesBackupPolicy[]
    id string
    The provider-assigned unique ID for this managed resource.
    instanceId string
    totalCount number
    outputFile string
    backup_policies Sequence[GetBackupPoliciesBackupPolicy]
    id str
    The provider-assigned unique ID for this managed resource.
    instance_id str
    total_count int
    output_file str
    backupPolicies List<Property Map>
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    totalCount Number
    outputFile String

    Supporting Types

    GetBackupPoliciesBackupPolicy

    BackupRetentionPeriod int
    The backup retention period.
    DataIncrBackupPeriods string
    The backup increment data backup periods.
    FullBackupPeriod string
    The full backup period.
    FullBackupTime string
    The time when the backup task is executed. Format: HH:mmZ-HH:mmZ (UTC time).
    HourlyIncrBackupEnable bool
    Whether to enable the high-frequency backup function.
    IncrementBackupFrequency int
    The frequency of increment backup.
    InstanceId string
    The id of the PostgreSQL instance.
    WalLogSpaceLimitEnable bool
    Status of the local remaining available space protection function.
    BackupRetentionPeriod int
    The backup retention period.
    DataIncrBackupPeriods string
    The backup increment data backup periods.
    FullBackupPeriod string
    The full backup period.
    FullBackupTime string
    The time when the backup task is executed. Format: HH:mmZ-HH:mmZ (UTC time).
    HourlyIncrBackupEnable bool
    Whether to enable the high-frequency backup function.
    IncrementBackupFrequency int
    The frequency of increment backup.
    InstanceId string
    The id of the PostgreSQL instance.
    WalLogSpaceLimitEnable bool
    Status of the local remaining available space protection function.
    backupRetentionPeriod Integer
    The backup retention period.
    dataIncrBackupPeriods String
    The backup increment data backup periods.
    fullBackupPeriod String
    The full backup period.
    fullBackupTime String
    The time when the backup task is executed. Format: HH:mmZ-HH:mmZ (UTC time).
    hourlyIncrBackupEnable Boolean
    Whether to enable the high-frequency backup function.
    incrementBackupFrequency Integer
    The frequency of increment backup.
    instanceId String
    The id of the PostgreSQL instance.
    walLogSpaceLimitEnable Boolean
    Status of the local remaining available space protection function.
    backupRetentionPeriod number
    The backup retention period.
    dataIncrBackupPeriods string
    The backup increment data backup periods.
    fullBackupPeriod string
    The full backup period.
    fullBackupTime string
    The time when the backup task is executed. Format: HH:mmZ-HH:mmZ (UTC time).
    hourlyIncrBackupEnable boolean
    Whether to enable the high-frequency backup function.
    incrementBackupFrequency number
    The frequency of increment backup.
    instanceId string
    The id of the PostgreSQL instance.
    walLogSpaceLimitEnable boolean
    Status of the local remaining available space protection function.
    backup_retention_period int
    The backup retention period.
    data_incr_backup_periods str
    The backup increment data backup periods.
    full_backup_period str
    The full backup period.
    full_backup_time str
    The time when the backup task is executed. Format: HH:mmZ-HH:mmZ (UTC time).
    hourly_incr_backup_enable bool
    Whether to enable the high-frequency backup function.
    increment_backup_frequency int
    The frequency of increment backup.
    instance_id str
    The id of the PostgreSQL instance.
    wal_log_space_limit_enable bool
    Status of the local remaining available space protection function.
    backupRetentionPeriod Number
    The backup retention period.
    dataIncrBackupPeriods String
    The backup increment data backup periods.
    fullBackupPeriod String
    The full backup period.
    fullBackupTime String
    The time when the backup task is executed. Format: HH:mmZ-HH:mmZ (UTC time).
    hourlyIncrBackupEnable Boolean
    Whether to enable the high-frequency backup function.
    incrementBackupFrequency Number
    The frequency of increment backup.
    instanceId String
    The id of the PostgreSQL instance.
    walLogSpaceLimitEnable Boolean
    Status of the local remaining available space protection function.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.43 published on Friday, Jan 16, 2026 by Volcengine
      Meet Neo: Your AI Platform Teammate