Show / Hide Table of Contents

Class BackupPolicy

Inheritance
System.Object
Resource
CustomResource
BackupPolicy
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.AliCloud.Adb
Assembly: Pulumi.AliCloud.dll
Syntax
public class BackupPolicy : CustomResource

Constructors

View Source

BackupPolicy(String, BackupPolicyArgs, CustomResourceOptions)

Create a BackupPolicy resource with the given unique name, arguments, and options.

Declaration
public BackupPolicy(string name, BackupPolicyArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

BackupPolicyArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

BackupRetentionPeriod

Cluster backup retention days, Fixed for 7 days, not modified.

Declaration
public Output<string> BackupRetentionPeriod { get; }
Property Value
Type Description
Output<System.String>
View Source

DbClusterId

The Id of cluster that can run database.

Declaration
public Output<string> DbClusterId { get; }
Property Value
Type Description
Output<System.String>
View Source

PreferredBackupPeriods

ADB Cluster backup period. Valid values: [Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday].

Declaration
public Output<ImmutableArray<string>> PreferredBackupPeriods { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

PreferredBackupTime

ADB Cluster backup time, in the format of HH:mmZ- HH:mmZ. Time setting interval is one hour. China time is 8 hours behind it.

Declaration
public Output<string> PreferredBackupTime { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, BackupPolicyState, CustomResourceOptions)

Get an existing BackupPolicy resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static BackupPolicy Get(string name, Input<string> id, BackupPolicyState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

BackupPolicyState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
BackupPolicy
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.