<filename>sdk/dotnet/Tencentcloud/Cos/Outputs/BucketReplicaRule.cs<gh_stars>0// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
using Pulumi;

namespace TencentCloudIAC.PulumiPackage.Tencentcloud.Cos.Outputs
{

    [OutputType]
    public sealed class BucketReplicaRule
    {
        /// <summary>
        /// Destination bucket identifier, format: `qcs::cos:&lt;region&gt;::&lt;bucketname-appid&gt;`. NOTE: destination bucket must enable versioning.
        /// </summary>
        public readonly string DestinationBucket;
        /// <summary>
        /// Storage class of destination, available values: `STANDARD`, `INTELLIGENT_TIERING`, `STANDARD_IA`. default is following current class of destination.
        /// </summary>
        public readonly string? DestinationStorageClass;
        /// <summary>
        /// Name of a specific rule.
        /// </summary>
        public readonly string? Id;
        /// <summary>
        /// Prefix matching policy. Policies cannot overlap; otherwise, an error will be returned. To match the root directory, leave this parameter empty.
        /// </summary>
        public readonly string? Prefix;
        /// <summary>
        /// Status identifier, available values: `Enabled`, `Disabled`.
        /// </summary>
        public readonly string Status;

        [OutputConstructor]
        private BucketReplicaRule(
            string destinationBucket,

            string? destinationStorageClass,

            string? id,

            string? prefix,

            string status)
        {
            DestinationBucket = destinationBucket;
            DestinationStorageClass = destinationStorageClass;
            Id = id;
            Prefix = prefix;
            Status = status;
        }
    }
}
