PolicyProps
Properties for defining a Policy.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-hbr-policy
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkhbr"
&alicloudroscdkhbr.PolicyProps {
PolicyName: interface{},
PolicyType: interface{},
Rules: interface{},
PolicyDescription: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
PolicyName | interface{} | Property policyName: The name of the policy. |
PolicyType | interface{} | Property policyType: The type of the backup policy. |
Rules | interface{} | Property rules: The rules of the policy. |
PolicyDescription | interface{} | Property policyDescription: The description of the policy. |
PolicyNameRequired
PolicyName interface{}
- Type: interface{}
Property policyName: The name of the policy.
PolicyTypeRequired
PolicyType interface{}
- Type: interface{}
Property policyType: The type of the backup policy.
Valid values:
- STANDARD: A standard backup policy. It supports data sources other than ECS instance backup.
- UDM_ECS_ONLY: A backup policy that supports only ECS instance backups. If you do not specify this parameter, Cloud Backup automatically sets the policy type based on whether a backup vault is specified in the policy rules:
- If a backup vault is specified in the rules, the policy type is set to STANDARD.
- If no backup vault is specified in the rules, the policy type is set to UDM_ECS_ONLY.
RulesRequired
Rules interface{}
- Type: interface{}
Property rules: The rules of the policy.
PolicyDescriptionOptional
PolicyDescription interface{}
- Type: interface{}
Property policyDescription: The description of the policy.