PolicyProps
Properties for defining a Policy.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-hbr-policy
Initializer
using AlibabaCloud.SDK.ROS.CDK.Hbr;
new PolicyProps {
object PolicyName,
object PolicyType,
object Rules,
object PolicyDescription = null
};
Properties
| Name | Type | Description |
|---|---|---|
PolicyName | object | Property policyName: The name of the policy. |
PolicyType | object | Property policyType: The type of the backup policy. |
Rules | object | Property rules: The rules of the policy. |
PolicyDescription | object | Property policyDescription: The description of the policy. |
PolicyNameRequired
public object PolicyName { get; set; }
- Type: object
Property policyName: The name of the policy.
PolicyTypeRequired
public object PolicyType { get; set; }
- Type: object
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
public object Rules { get; set; }
- Type: object
Property rules: The rules of the policy.
PolicyDescriptionOptional
public object PolicyDescription { get; set; }
- Type: object
Property policyDescription: The description of the policy.