// *** 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.Teo.Outputs
{

    [OutputType]
    public sealed class ZoneSettingOrigin
    {
        /// <summary>
        /// Backup origin sites list. Note: This field may return null, indicating that no valid value can be obtained.
        /// </summary>
        public readonly ImmutableArray<string> BackupOrigins;
        /// <summary>
        /// Whether access private cos bucket is allowed when `OriginType` is cos. Note: This field may return null, indicating that no valid value can be obtained.
        /// </summary>
        public readonly string? CosPrivateAccess;
        /// <summary>
        /// Origin-pull protocol.- `http`: Switch HTTPS requests to HTTP.- `follow`: Follow the protocol of the request.- `https`: Switch HTTP requests to HTTPS. This only supports port 443 on the origin server. Note: This field may return null, indicating that no valid value can be obtained.
        /// </summary>
        public readonly string? OriginPullProtocol;
        /// <summary>
        /// Origin sites list. Note: This field may return null, indicating that no valid value can be obtained.
        /// </summary>
        public readonly ImmutableArray<string> Origins;

        [OutputConstructor]
        private ZoneSettingOrigin(
            ImmutableArray<string> backupOrigins,

            string? cosPrivateAccess,

            string? originPullProtocol,

            ImmutableArray<string> origins)
        {
            BackupOrigins = backupOrigins;
            CosPrivateAccess = cosPrivateAccess;
            OriginPullProtocol = originPullProtocol;
            Origins = origins;
        }
    }
}
