<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;

namespace Pulumi.AliCloud.Dcdn.Inputs
{

    public sealed class DomainSourceArgs : global::Pulumi.ResourceArgs
    {
        /// <summary>
        /// The origin address.
        /// </summary>
        [Input("content", required: true)]
        public Input<string> Content { get; set; } = null!;

        /// <summary>
        /// The port number. Valid values: `443` and `80`. Default to `80`.
        /// </summary>
        [Input("port")]
        public Input<int>? Port { get; set; }

        /// <summary>
        /// The priority of the origin if multiple origins are specified. Default to `20`.
        /// </summary>
        [Input("priority")]
        public Input<string>? Priority { get; set; }

        /// <summary>
        /// The type of the origin. Valid values:
        /// `ipaddr`: The origin is configured using an IP address.
        /// `domain`: The origin is configured using a domain name.
        /// `oss`: The origin is configured using the Internet domain name of an Alibaba Cloud Object Storage Service (OSS) bucket.
        /// </summary>
        [Input("type", required: true)]
        public Input<string> Type { get; set; } = null!;

        /// <summary>
        /// The weight of the origin if multiple origins are specified. Default to `10`.
        /// </summary>
        [Input("weight")]
        public Input<string>? Weight { get; set; }

        public DomainSourceArgs()
        {
        }
        public static new DomainSourceArgs Empty => new DomainSourceArgs();
    }
}
