1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. vod
  5. Domain
Alibaba Cloud v3.44.0 published on Thursday, Sep 28, 2023 by Pulumi

alicloud.vod.Domain

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.44.0 published on Thursday, Sep 28, 2023 by Pulumi

    Provides a VOD Domain resource.

    For information about VOD Domain and how to use it, see What is Domain.

    NOTE: Available in v1.136.0+.

    Example Usage

    Basic Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = new AliCloud.Vod.Domain("default", new()
        {
            DomainName = "your_domain_name",
            Scope = "domestic",
            Sources = new[]
            {
                new AliCloud.Vod.Inputs.DomainSourceArgs
                {
                    SourceContent = "your_source_content",
                    SourcePort = "80",
                    SourceType = "domain",
                },
            },
            Tags = 
            {
                { "key1", "value1" },
                { "key2", "value2" },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vod"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := vod.NewDomain(ctx, "default", &vod.DomainArgs{
    			DomainName: pulumi.String("your_domain_name"),
    			Scope:      pulumi.String("domestic"),
    			Sources: vod.DomainSourceArray{
    				&vod.DomainSourceArgs{
    					SourceContent: pulumi.String("your_source_content"),
    					SourcePort:    pulumi.String("80"),
    					SourceType:    pulumi.String("domain"),
    				},
    			},
    			Tags: pulumi.AnyMap{
    				"key1": pulumi.Any("value1"),
    				"key2": pulumi.Any("value2"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.vod.Domain;
    import com.pulumi.alicloud.vod.DomainArgs;
    import com.pulumi.alicloud.vod.inputs.DomainSourceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var default_ = new Domain("default", DomainArgs.builder()        
                .domainName("your_domain_name")
                .scope("domestic")
                .sources(DomainSourceArgs.builder()
                    .sourceContent("your_source_content")
                    .sourcePort("80")
                    .sourceType("domain")
                    .build())
                .tags(Map.ofEntries(
                    Map.entry("key1", "value1"),
                    Map.entry("key2", "value2")
                ))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    default = alicloud.vod.Domain("default",
        domain_name="your_domain_name",
        scope="domestic",
        sources=[alicloud.vod.DomainSourceArgs(
            source_content="your_source_content",
            source_port="80",
            source_type="domain",
        )],
        tags={
            "key1": "value1",
            "key2": "value2",
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const _default = new alicloud.vod.Domain("default", {
        domainName: "your_domain_name",
        scope: "domestic",
        sources: [{
            sourceContent: "your_source_content",
            sourcePort: "80",
            sourceType: "domain",
        }],
        tags: {
            key1: "value1",
            key2: "value2",
        },
    });
    
    resources:
      default:
        type: alicloud:vod:Domain
        properties:
          domainName: your_domain_name
          scope: domestic
          sources:
            - sourceContent: your_source_content
              sourcePort: '80'
              sourceType: domain
          tags:
            key1: value1
            key2: value2
    

    Create Domain Resource

    new Domain(name: string, args: DomainArgs, opts?: CustomResourceOptions);
    @overload
    def Domain(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               check_url: Optional[str] = None,
               domain_name: Optional[str] = None,
               scope: Optional[str] = None,
               sources: Optional[Sequence[DomainSourceArgs]] = None,
               tags: Optional[Mapping[str, Any]] = None,
               top_level_domain: Optional[str] = None)
    @overload
    def Domain(resource_name: str,
               args: DomainArgs,
               opts: Optional[ResourceOptions] = None)
    func NewDomain(ctx *Context, name string, args DomainArgs, opts ...ResourceOption) (*Domain, error)
    public Domain(string name, DomainArgs args, CustomResourceOptions? opts = null)
    public Domain(String name, DomainArgs args)
    public Domain(String name, DomainArgs args, CustomResourceOptions options)
    
    type: alicloud:vod:Domain
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args DomainArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DomainArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DomainArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DomainArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DomainArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Domain Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Domain resource accepts the following input properties:

    DomainName string

    The domain name for CDN that you want to add to ApsaraVideo VOD. Wildcard domain names are supported. Start the domain name with a period (.). Example: .example.com..

    Sources List<Pulumi.AliCloud.Vod.Inputs.DomainSource>

    The information about the address of the origin server. For more information about the Sources parameter, See the following Block sources.

    CheckUrl string

    The URL that is used for health checks.

    Scope string

    This parameter is applicable to users of level 3 or higher in mainland China and users outside mainland China. Valid values:

    Tags Dictionary<string, object>

    A mapping of tags to assign to the resource.

    TopLevelDomain string

    The top-level domain name.

    DomainName string

    The domain name for CDN that you want to add to ApsaraVideo VOD. Wildcard domain names are supported. Start the domain name with a period (.). Example: .example.com..

    Sources []DomainSourceArgs

    The information about the address of the origin server. For more information about the Sources parameter, See the following Block sources.

    CheckUrl string

    The URL that is used for health checks.

    Scope string

    This parameter is applicable to users of level 3 or higher in mainland China and users outside mainland China. Valid values:

    Tags map[string]interface{}

    A mapping of tags to assign to the resource.

    TopLevelDomain string

    The top-level domain name.

    domainName String

    The domain name for CDN that you want to add to ApsaraVideo VOD. Wildcard domain names are supported. Start the domain name with a period (.). Example: .example.com..

    sources List<DomainSource>

    The information about the address of the origin server. For more information about the Sources parameter, See the following Block sources.

    checkUrl String

    The URL that is used for health checks.

    scope String

    This parameter is applicable to users of level 3 or higher in mainland China and users outside mainland China. Valid values:

    tags Map<String,Object>

    A mapping of tags to assign to the resource.

    topLevelDomain String

    The top-level domain name.

    domainName string

    The domain name for CDN that you want to add to ApsaraVideo VOD. Wildcard domain names are supported. Start the domain name with a period (.). Example: .example.com..

    sources DomainSource[]

    The information about the address of the origin server. For more information about the Sources parameter, See the following Block sources.

    checkUrl string

    The URL that is used for health checks.

    scope string

    This parameter is applicable to users of level 3 or higher in mainland China and users outside mainland China. Valid values:

    tags {[key: string]: any}

    A mapping of tags to assign to the resource.

    topLevelDomain string

    The top-level domain name.

    domain_name str

    The domain name for CDN that you want to add to ApsaraVideo VOD. Wildcard domain names are supported. Start the domain name with a period (.). Example: .example.com..

    sources Sequence[DomainSourceArgs]

    The information about the address of the origin server. For more information about the Sources parameter, See the following Block sources.

    check_url str

    The URL that is used for health checks.

    scope str

    This parameter is applicable to users of level 3 or higher in mainland China and users outside mainland China. Valid values:

    tags Mapping[str, Any]

    A mapping of tags to assign to the resource.

    top_level_domain str

    The top-level domain name.

    domainName String

    The domain name for CDN that you want to add to ApsaraVideo VOD. Wildcard domain names are supported. Start the domain name with a period (.). Example: .example.com..

    sources List<Property Map>

    The information about the address of the origin server. For more information about the Sources parameter, See the following Block sources.

    checkUrl String

    The URL that is used for health checks.

    scope String

    This parameter is applicable to users of level 3 or higher in mainland China and users outside mainland China. Valid values:

    tags Map<Any>

    A mapping of tags to assign to the resource.

    topLevelDomain String

    The top-level domain name.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Domain resource produces the following output properties:

    CertName string

    The name of the certificate. The value of this parameter is returned if HTTPS is enabled.

    Cname string

    The CNAME that is assigned to the domain name for CDN. You must add a CNAME record in the system of your Domain Name System (DNS) service provider to map the domain name for CDN to the CNAME.

    Description string

    The description of the domain name for CDN.

    GmtCreated string

    The time when the domain name for CDN was added. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

    GmtModified string

    The last time when the domain name for CDN was modified. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

    Id string

    The provider-assigned unique ID for this managed resource.

    SslProtocol string

    Indicates whether the Secure Sockets Layer (SSL) certificate is enabled. Valid values: on,off.

    SslPub string

    The public key of the certificate. The value of this parameter is returned if HTTPS is enabled.

    Status string

    The status of the domain name for CDN. Valid values:

    Weight string

    The weight of the origin server.

    CertName string

    The name of the certificate. The value of this parameter is returned if HTTPS is enabled.

    Cname string

    The CNAME that is assigned to the domain name for CDN. You must add a CNAME record in the system of your Domain Name System (DNS) service provider to map the domain name for CDN to the CNAME.

    Description string

    The description of the domain name for CDN.

    GmtCreated string

    The time when the domain name for CDN was added. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

    GmtModified string

    The last time when the domain name for CDN was modified. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

    Id string

    The provider-assigned unique ID for this managed resource.

    SslProtocol string

    Indicates whether the Secure Sockets Layer (SSL) certificate is enabled. Valid values: on,off.

    SslPub string

    The public key of the certificate. The value of this parameter is returned if HTTPS is enabled.

    Status string

    The status of the domain name for CDN. Valid values:

    Weight string

    The weight of the origin server.

    certName String

    The name of the certificate. The value of this parameter is returned if HTTPS is enabled.

    cname String

    The CNAME that is assigned to the domain name for CDN. You must add a CNAME record in the system of your Domain Name System (DNS) service provider to map the domain name for CDN to the CNAME.

    description String

    The description of the domain name for CDN.

    gmtCreated String

    The time when the domain name for CDN was added. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

    gmtModified String

    The last time when the domain name for CDN was modified. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

    id String

    The provider-assigned unique ID for this managed resource.

    sslProtocol String

    Indicates whether the Secure Sockets Layer (SSL) certificate is enabled. Valid values: on,off.

    sslPub String

    The public key of the certificate. The value of this parameter is returned if HTTPS is enabled.

    status String

    The status of the domain name for CDN. Valid values:

    weight String

    The weight of the origin server.

    certName string

    The name of the certificate. The value of this parameter is returned if HTTPS is enabled.

    cname string

    The CNAME that is assigned to the domain name for CDN. You must add a CNAME record in the system of your Domain Name System (DNS) service provider to map the domain name for CDN to the CNAME.

    description string

    The description of the domain name for CDN.

    gmtCreated string

    The time when the domain name for CDN was added. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

    gmtModified string

    The last time when the domain name for CDN was modified. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

    id string

    The provider-assigned unique ID for this managed resource.

    sslProtocol string

    Indicates whether the Secure Sockets Layer (SSL) certificate is enabled. Valid values: on,off.

    sslPub string

    The public key of the certificate. The value of this parameter is returned if HTTPS is enabled.

    status string

    The status of the domain name for CDN. Valid values:

    weight string

    The weight of the origin server.

    cert_name str

    The name of the certificate. The value of this parameter is returned if HTTPS is enabled.

    cname str

    The CNAME that is assigned to the domain name for CDN. You must add a CNAME record in the system of your Domain Name System (DNS) service provider to map the domain name for CDN to the CNAME.

    description str

    The description of the domain name for CDN.

    gmt_created str

    The time when the domain name for CDN was added. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

    gmt_modified str

    The last time when the domain name for CDN was modified. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

    id str

    The provider-assigned unique ID for this managed resource.

    ssl_protocol str

    Indicates whether the Secure Sockets Layer (SSL) certificate is enabled. Valid values: on,off.

    ssl_pub str

    The public key of the certificate. The value of this parameter is returned if HTTPS is enabled.

    status str

    The status of the domain name for CDN. Valid values:

    weight str

    The weight of the origin server.

    certName String

    The name of the certificate. The value of this parameter is returned if HTTPS is enabled.

    cname String

    The CNAME that is assigned to the domain name for CDN. You must add a CNAME record in the system of your Domain Name System (DNS) service provider to map the domain name for CDN to the CNAME.

    description String

    The description of the domain name for CDN.

    gmtCreated String

    The time when the domain name for CDN was added. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

    gmtModified String

    The last time when the domain name for CDN was modified. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

    id String

    The provider-assigned unique ID for this managed resource.

    sslProtocol String

    Indicates whether the Secure Sockets Layer (SSL) certificate is enabled. Valid values: on,off.

    sslPub String

    The public key of the certificate. The value of this parameter is returned if HTTPS is enabled.

    status String

    The status of the domain name for CDN. Valid values:

    weight String

    The weight of the origin server.

    Look up Existing Domain Resource

    Get an existing Domain resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DomainState, opts?: CustomResourceOptions): Domain
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cert_name: Optional[str] = None,
            check_url: Optional[str] = None,
            cname: Optional[str] = None,
            description: Optional[str] = None,
            domain_name: Optional[str] = None,
            gmt_created: Optional[str] = None,
            gmt_modified: Optional[str] = None,
            scope: Optional[str] = None,
            sources: Optional[Sequence[DomainSourceArgs]] = None,
            ssl_protocol: Optional[str] = None,
            ssl_pub: Optional[str] = None,
            status: Optional[str] = None,
            tags: Optional[Mapping[str, Any]] = None,
            top_level_domain: Optional[str] = None,
            weight: Optional[str] = None) -> Domain
    func GetDomain(ctx *Context, name string, id IDInput, state *DomainState, opts ...ResourceOption) (*Domain, error)
    public static Domain Get(string name, Input<string> id, DomainState? state, CustomResourceOptions? opts = null)
    public static Domain get(String name, Output<String> id, DomainState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    CertName string

    The name of the certificate. The value of this parameter is returned if HTTPS is enabled.

    CheckUrl string

    The URL that is used for health checks.

    Cname string

    The CNAME that is assigned to the domain name for CDN. You must add a CNAME record in the system of your Domain Name System (DNS) service provider to map the domain name for CDN to the CNAME.

    Description string

    The description of the domain name for CDN.

    DomainName string

    The domain name for CDN that you want to add to ApsaraVideo VOD. Wildcard domain names are supported. Start the domain name with a period (.). Example: .example.com..

    GmtCreated string

    The time when the domain name for CDN was added. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

    GmtModified string

    The last time when the domain name for CDN was modified. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

    Scope string

    This parameter is applicable to users of level 3 or higher in mainland China and users outside mainland China. Valid values:

    Sources List<Pulumi.AliCloud.Vod.Inputs.DomainSource>

    The information about the address of the origin server. For more information about the Sources parameter, See the following Block sources.

    SslProtocol string

    Indicates whether the Secure Sockets Layer (SSL) certificate is enabled. Valid values: on,off.

    SslPub string

    The public key of the certificate. The value of this parameter is returned if HTTPS is enabled.

    Status string

    The status of the domain name for CDN. Valid values:

    Tags Dictionary<string, object>

    A mapping of tags to assign to the resource.

    TopLevelDomain string

    The top-level domain name.

    Weight string

    The weight of the origin server.

    CertName string

    The name of the certificate. The value of this parameter is returned if HTTPS is enabled.

    CheckUrl string

    The URL that is used for health checks.

    Cname string

    The CNAME that is assigned to the domain name for CDN. You must add a CNAME record in the system of your Domain Name System (DNS) service provider to map the domain name for CDN to the CNAME.

    Description string

    The description of the domain name for CDN.

    DomainName string

    The domain name for CDN that you want to add to ApsaraVideo VOD. Wildcard domain names are supported. Start the domain name with a period (.). Example: .example.com..

    GmtCreated string

    The time when the domain name for CDN was added. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

    GmtModified string

    The last time when the domain name for CDN was modified. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

    Scope string

    This parameter is applicable to users of level 3 or higher in mainland China and users outside mainland China. Valid values:

    Sources []DomainSourceArgs

    The information about the address of the origin server. For more information about the Sources parameter, See the following Block sources.

    SslProtocol string

    Indicates whether the Secure Sockets Layer (SSL) certificate is enabled. Valid values: on,off.

    SslPub string

    The public key of the certificate. The value of this parameter is returned if HTTPS is enabled.

    Status string

    The status of the domain name for CDN. Valid values:

    Tags map[string]interface{}

    A mapping of tags to assign to the resource.

    TopLevelDomain string

    The top-level domain name.

    Weight string

    The weight of the origin server.

    certName String

    The name of the certificate. The value of this parameter is returned if HTTPS is enabled.

    checkUrl String

    The URL that is used for health checks.

    cname String

    The CNAME that is assigned to the domain name for CDN. You must add a CNAME record in the system of your Domain Name System (DNS) service provider to map the domain name for CDN to the CNAME.

    description String

    The description of the domain name for CDN.

    domainName String

    The domain name for CDN that you want to add to ApsaraVideo VOD. Wildcard domain names are supported. Start the domain name with a period (.). Example: .example.com..

    gmtCreated String

    The time when the domain name for CDN was added. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

    gmtModified String

    The last time when the domain name for CDN was modified. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

    scope String

    This parameter is applicable to users of level 3 or higher in mainland China and users outside mainland China. Valid values:

    sources List<DomainSource>

    The information about the address of the origin server. For more information about the Sources parameter, See the following Block sources.

    sslProtocol String

    Indicates whether the Secure Sockets Layer (SSL) certificate is enabled. Valid values: on,off.

    sslPub String

    The public key of the certificate. The value of this parameter is returned if HTTPS is enabled.

    status String

    The status of the domain name for CDN. Valid values:

    tags Map<String,Object>

    A mapping of tags to assign to the resource.

    topLevelDomain String

    The top-level domain name.

    weight String

    The weight of the origin server.

    certName string

    The name of the certificate. The value of this parameter is returned if HTTPS is enabled.

    checkUrl string

    The URL that is used for health checks.

    cname string

    The CNAME that is assigned to the domain name for CDN. You must add a CNAME record in the system of your Domain Name System (DNS) service provider to map the domain name for CDN to the CNAME.

    description string

    The description of the domain name for CDN.

    domainName string

    The domain name for CDN that you want to add to ApsaraVideo VOD. Wildcard domain names are supported. Start the domain name with a period (.). Example: .example.com..

    gmtCreated string

    The time when the domain name for CDN was added. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

    gmtModified string

    The last time when the domain name for CDN was modified. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

    scope string

    This parameter is applicable to users of level 3 or higher in mainland China and users outside mainland China. Valid values:

    sources DomainSource[]

    The information about the address of the origin server. For more information about the Sources parameter, See the following Block sources.

    sslProtocol string

    Indicates whether the Secure Sockets Layer (SSL) certificate is enabled. Valid values: on,off.

    sslPub string

    The public key of the certificate. The value of this parameter is returned if HTTPS is enabled.

    status string

    The status of the domain name for CDN. Valid values:

    tags {[key: string]: any}

    A mapping of tags to assign to the resource.

    topLevelDomain string

    The top-level domain name.

    weight string

    The weight of the origin server.

    cert_name str

    The name of the certificate. The value of this parameter is returned if HTTPS is enabled.

    check_url str

    The URL that is used for health checks.

    cname str

    The CNAME that is assigned to the domain name for CDN. You must add a CNAME record in the system of your Domain Name System (DNS) service provider to map the domain name for CDN to the CNAME.

    description str

    The description of the domain name for CDN.

    domain_name str

    The domain name for CDN that you want to add to ApsaraVideo VOD. Wildcard domain names are supported. Start the domain name with a period (.). Example: .example.com..

    gmt_created str

    The time when the domain name for CDN was added. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

    gmt_modified str

    The last time when the domain name for CDN was modified. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

    scope str

    This parameter is applicable to users of level 3 or higher in mainland China and users outside mainland China. Valid values:

    sources Sequence[DomainSourceArgs]

    The information about the address of the origin server. For more information about the Sources parameter, See the following Block sources.

    ssl_protocol str

    Indicates whether the Secure Sockets Layer (SSL) certificate is enabled. Valid values: on,off.

    ssl_pub str

    The public key of the certificate. The value of this parameter is returned if HTTPS is enabled.

    status str

    The status of the domain name for CDN. Valid values:

    tags Mapping[str, Any]

    A mapping of tags to assign to the resource.

    top_level_domain str

    The top-level domain name.

    weight str

    The weight of the origin server.

    certName String

    The name of the certificate. The value of this parameter is returned if HTTPS is enabled.

    checkUrl String

    The URL that is used for health checks.

    cname String

    The CNAME that is assigned to the domain name for CDN. You must add a CNAME record in the system of your Domain Name System (DNS) service provider to map the domain name for CDN to the CNAME.

    description String

    The description of the domain name for CDN.

    domainName String

    The domain name for CDN that you want to add to ApsaraVideo VOD. Wildcard domain names are supported. Start the domain name with a period (.). Example: .example.com..

    gmtCreated String

    The time when the domain name for CDN was added. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

    gmtModified String

    The last time when the domain name for CDN was modified. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

    scope String

    This parameter is applicable to users of level 3 or higher in mainland China and users outside mainland China. Valid values:

    sources List<Property Map>

    The information about the address of the origin server. For more information about the Sources parameter, See the following Block sources.

    sslProtocol String

    Indicates whether the Secure Sockets Layer (SSL) certificate is enabled. Valid values: on,off.

    sslPub String

    The public key of the certificate. The value of this parameter is returned if HTTPS is enabled.

    status String

    The status of the domain name for CDN. Valid values:

    tags Map<Any>

    A mapping of tags to assign to the resource.

    topLevelDomain String

    The top-level domain name.

    weight String

    The weight of the origin server.

    Supporting Types

    DomainSource, DomainSourceArgs

    SourceContent string

    The address of the origin server. You can specify an IP address or a domain name.

    SourcePort string

    The port number. You can specify port 443 or 80. Default value: 80. If you specify port 443, Alibaba Cloud CDN communicates with the origin server over HTTPS. You can also customize a port.

    SourceType string

    The type of the origin server. Valid values:

    SourcePriority string

    The priority of the origin server if multiple origin servers are specified. Valid values: 20 and 30. Default value: 20. A value of 20 indicates that the origin server is the primary origin server. A value of 30 indicates that the origin server is a secondary origin server.

    SourceContent string

    The address of the origin server. You can specify an IP address or a domain name.

    SourcePort string

    The port number. You can specify port 443 or 80. Default value: 80. If you specify port 443, Alibaba Cloud CDN communicates with the origin server over HTTPS. You can also customize a port.

    SourceType string

    The type of the origin server. Valid values:

    SourcePriority string

    The priority of the origin server if multiple origin servers are specified. Valid values: 20 and 30. Default value: 20. A value of 20 indicates that the origin server is the primary origin server. A value of 30 indicates that the origin server is a secondary origin server.

    sourceContent String

    The address of the origin server. You can specify an IP address or a domain name.

    sourcePort String

    The port number. You can specify port 443 or 80. Default value: 80. If you specify port 443, Alibaba Cloud CDN communicates with the origin server over HTTPS. You can also customize a port.

    sourceType String

    The type of the origin server. Valid values:

    sourcePriority String

    The priority of the origin server if multiple origin servers are specified. Valid values: 20 and 30. Default value: 20. A value of 20 indicates that the origin server is the primary origin server. A value of 30 indicates that the origin server is a secondary origin server.

    sourceContent string

    The address of the origin server. You can specify an IP address or a domain name.

    sourcePort string

    The port number. You can specify port 443 or 80. Default value: 80. If you specify port 443, Alibaba Cloud CDN communicates with the origin server over HTTPS. You can also customize a port.

    sourceType string

    The type of the origin server. Valid values:

    sourcePriority string

    The priority of the origin server if multiple origin servers are specified. Valid values: 20 and 30. Default value: 20. A value of 20 indicates that the origin server is the primary origin server. A value of 30 indicates that the origin server is a secondary origin server.

    source_content str

    The address of the origin server. You can specify an IP address or a domain name.

    source_port str

    The port number. You can specify port 443 or 80. Default value: 80. If you specify port 443, Alibaba Cloud CDN communicates with the origin server over HTTPS. You can also customize a port.

    source_type str

    The type of the origin server. Valid values:

    source_priority str

    The priority of the origin server if multiple origin servers are specified. Valid values: 20 and 30. Default value: 20. A value of 20 indicates that the origin server is the primary origin server. A value of 30 indicates that the origin server is a secondary origin server.

    sourceContent String

    The address of the origin server. You can specify an IP address or a domain name.

    sourcePort String

    The port number. You can specify port 443 or 80. Default value: 80. If you specify port 443, Alibaba Cloud CDN communicates with the origin server over HTTPS. You can also customize a port.

    sourceType String

    The type of the origin server. Valid values:

    sourcePriority String

    The priority of the origin server if multiple origin servers are specified. Valid values: 20 and 30. Default value: 20. A value of 20 indicates that the origin server is the primary origin server. A value of 30 indicates that the origin server is a secondary origin server.

    Import

    VOD Domain can be imported using the id, e.g.

     $ pulumi import alicloud:vod/domain:Domain example <domain_name>
    

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the alicloud Terraform Provider.

    alicloud logo
    Alibaba Cloud v3.44.0 published on Thursday, Sep 28, 2023 by Pulumi