alicloud.vod.Domain
Explore with Pulumi AI
Provides a VOD Domain resource.
For information about VOD Domain and how to use it, see What is Domain.
NOTE: Available since v1.136.0+.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
import * as random from "@pulumi/random";
const _default = new random.index.Integer("default", {
min: 10000,
max: 99999,
});
const defaultDomain = new alicloud.vod.Domain("default", {
domainName: `example-${_default.result}.com`,
scope: "domestic",
sources: [{
sourceType: "domain",
sourceContent: "outin-c7405446108111ec9a7100163e0eb78b.oss-cn-beijing.aliyuncs.com",
sourcePort: "443",
}],
tags: {
Created: "terraform",
For: "example",
},
});
import pulumi
import pulumi_alicloud as alicloud
import pulumi_random as random
default = random.index.Integer("default",
min=10000,
max=99999)
default_domain = alicloud.vod.Domain("default",
domain_name=f"example-{default['result']}.com",
scope="domestic",
sources=[alicloud.vod.DomainSourceArgs(
source_type="domain",
source_content="outin-c7405446108111ec9a7100163e0eb78b.oss-cn-beijing.aliyuncs.com",
source_port="443",
)],
tags={
"Created": "terraform",
"For": "example",
})
package main
import (
"fmt"
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vod"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := random.NewInteger(ctx, "default", &random.IntegerArgs{
Min: 10000,
Max: 99999,
})
if err != nil {
return err
}
_, err = vod.NewDomain(ctx, "default", &vod.DomainArgs{
DomainName: pulumi.String(fmt.Sprintf("example-%v.com", _default.Result)),
Scope: pulumi.String("domestic"),
Sources: vod.DomainSourceArray{
&vod.DomainSourceArgs{
SourceType: pulumi.String("domain"),
SourceContent: pulumi.String("outin-c7405446108111ec9a7100163e0eb78b.oss-cn-beijing.aliyuncs.com"),
SourcePort: pulumi.String("443"),
},
},
Tags: pulumi.Map{
"Created": pulumi.Any("terraform"),
"For": pulumi.Any("example"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
using Random = Pulumi.Random;
return await Deployment.RunAsync(() =>
{
var @default = new Random.Index.Integer("default", new()
{
Min = 10000,
Max = 99999,
});
var defaultDomain = new AliCloud.Vod.Domain("default", new()
{
DomainName = $"example-{@default.Result}.com",
Scope = "domestic",
Sources = new[]
{
new AliCloud.Vod.Inputs.DomainSourceArgs
{
SourceType = "domain",
SourceContent = "outin-c7405446108111ec9a7100163e0eb78b.oss-cn-beijing.aliyuncs.com",
SourcePort = "443",
},
},
Tags =
{
{ "Created", "terraform" },
{ "For", "example" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.random.integer;
import com.pulumi.random.IntegerArgs;
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 Integer("default", IntegerArgs.builder()
.min(10000)
.max(99999)
.build());
var defaultDomain = new Domain("defaultDomain", DomainArgs.builder()
.domainName(String.format("example-%s.com", default_.result()))
.scope("domestic")
.sources(DomainSourceArgs.builder()
.sourceType("domain")
.sourceContent("outin-c7405446108111ec9a7100163e0eb78b.oss-cn-beijing.aliyuncs.com")
.sourcePort("443")
.build())
.tags(Map.ofEntries(
Map.entry("Created", "terraform"),
Map.entry("For", "example")
))
.build());
}
}
resources:
default:
type: random:integer
properties:
min: 10000
max: 99999
defaultDomain:
type: alicloud:vod:Domain
name: default
properties:
domainName: example-${default.result}.com
scope: domestic
sources:
- sourceType: domain
sourceContent: outin-c7405446108111ec9a7100163e0eb78b.oss-cn-beijing.aliyuncs.com
sourcePort: '443'
tags:
Created: terraform
For: example
Create Domain Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Domain(name: string, args: DomainArgs, opts?: CustomResourceOptions);
@overload
def Domain(resource_name: str,
args: DomainArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Domain(resource_name: str,
opts: Optional[ResourceOptions] = None,
domain_name: Optional[str] = None,
sources: Optional[Sequence[DomainSourceArgs]] = None,
check_url: Optional[str] = None,
scope: Optional[str] = None,
tags: Optional[Mapping[str, Any]] = None,
top_level_domain: Optional[str] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var exampledomainResourceResourceFromVoddomain = new AliCloud.Vod.Domain("exampledomainResourceResourceFromVoddomain", new()
{
DomainName = "string",
Sources = new[]
{
new AliCloud.Vod.Inputs.DomainSourceArgs
{
SourceContent = "string",
SourcePort = "string",
SourceType = "string",
SourcePriority = "string",
},
},
CheckUrl = "string",
Scope = "string",
Tags =
{
{ "string", "any" },
},
TopLevelDomain = "string",
});
example, err := vod.NewDomain(ctx, "exampledomainResourceResourceFromVoddomain", &vod.DomainArgs{
DomainName: pulumi.String("string"),
Sources: vod.DomainSourceArray{
&vod.DomainSourceArgs{
SourceContent: pulumi.String("string"),
SourcePort: pulumi.String("string"),
SourceType: pulumi.String("string"),
SourcePriority: pulumi.String("string"),
},
},
CheckUrl: pulumi.String("string"),
Scope: pulumi.String("string"),
Tags: pulumi.Map{
"string": pulumi.Any("any"),
},
TopLevelDomain: pulumi.String("string"),
})
var exampledomainResourceResourceFromVoddomain = new Domain("exampledomainResourceResourceFromVoddomain", DomainArgs.builder()
.domainName("string")
.sources(DomainSourceArgs.builder()
.sourceContent("string")
.sourcePort("string")
.sourceType("string")
.sourcePriority("string")
.build())
.checkUrl("string")
.scope("string")
.tags(Map.of("string", "any"))
.topLevelDomain("string")
.build());
exampledomain_resource_resource_from_voddomain = alicloud.vod.Domain("exampledomainResourceResourceFromVoddomain",
domain_name="string",
sources=[alicloud.vod.DomainSourceArgs(
source_content="string",
source_port="string",
source_type="string",
source_priority="string",
)],
check_url="string",
scope="string",
tags={
"string": "any",
},
top_level_domain="string")
const exampledomainResourceResourceFromVoddomain = new alicloud.vod.Domain("exampledomainResourceResourceFromVoddomain", {
domainName: "string",
sources: [{
sourceContent: "string",
sourcePort: "string",
sourceType: "string",
sourcePriority: "string",
}],
checkUrl: "string",
scope: "string",
tags: {
string: "any",
},
topLevelDomain: "string",
});
type: alicloud:vod:Domain
properties:
checkUrl: string
domainName: string
scope: string
sources:
- sourceContent: string
sourcePort: string
sourcePriority: string
sourceType: string
tags:
string: any
topLevelDomain: string
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:
- Domain
Name 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.
Ali Cloud. Vod. Inputs. Domain Source> - The information about the address of the origin server. For more information about the Sources parameter, See the following
Block sources
. - Check
Url 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:
- Dictionary<string, object>
- A mapping of tags to assign to the resource.
Key
: It can be up to 64 characters in length. It cannot be a null string.Value
: It can be up to 128 characters in length. It can be a null string.
- Top
Level stringDomain - The top-level domain name.
- Domain
Name 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
[]Domain
Source Args - The information about the address of the origin server. For more information about the Sources parameter, See the following
Block sources
. - Check
Url 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:
- map[string]interface{}
- A mapping of tags to assign to the resource.
Key
: It can be up to 64 characters in length. It cannot be a null string.Value
: It can be up to 128 characters in length. It can be a null string.
- Top
Level stringDomain - The top-level domain name.
- domain
Name 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<Domain
Source> - The information about the address of the origin server. For more information about the Sources parameter, See the following
Block sources
. - check
Url 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:
- Map<String,Object>
- A mapping of tags to assign to the resource.
Key
: It can be up to 64 characters in length. It cannot be a null string.Value
: It can be up to 128 characters in length. It can be a null string.
- top
Level StringDomain - The top-level domain name.
- domain
Name 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
Domain
Source[] - The information about the address of the origin server. For more information about the Sources parameter, See the following
Block sources
. - check
Url 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:
- {[key: string]: any}
- A mapping of tags to assign to the resource.
Key
: It can be up to 64 characters in length. It cannot be a null string.Value
: It can be up to 128 characters in length. It can be a null string.
- top
Level stringDomain - 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[Domain
Source Args] - 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:
- Mapping[str, Any]
- A mapping of tags to assign to the resource.
Key
: It can be up to 64 characters in length. It cannot be a null string.Value
: It can be up to 128 characters in length. It can be a null string.
- top_
level_ strdomain - The top-level domain name.
- domain
Name 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
. - check
Url 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:
- Map<Any>
- A mapping of tags to assign to the resource.
Key
: It can be up to 64 characters in length. It cannot be a null string.Value
: It can be up to 128 characters in length. It can be a null string.
- top
Level StringDomain - The top-level domain name.
Outputs
All input properties are implicitly available as output properties. Additionally, the Domain resource produces the following output properties:
- Cert
Name 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.
- Gmt
Created 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.
- Gmt
Modified 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.
- Ssl
Protocol string - Indicates whether the Secure Sockets Layer (SSL) certificate is enabled. Valid values:
on
,off
. - Ssl
Pub 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 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.
- Gmt
Created 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.
- Gmt
Modified 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.
- Ssl
Protocol string - Indicates whether the Secure Sockets Layer (SSL) certificate is enabled. Valid values:
on
,off
. - Ssl
Pub 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 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.
- gmt
Created 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.
- gmt
Modified 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.
- ssl
Protocol String - Indicates whether the Secure Sockets Layer (SSL) certificate is enabled. Valid values:
on
,off
. - ssl
Pub 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 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.
- gmt
Created 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.
- gmt
Modified 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.
- ssl
Protocol string - Indicates whether the Secure Sockets Layer (SSL) certificate is enabled. Valid values:
on
,off
. - ssl
Pub 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.
- cert
Name 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.
- gmt
Created 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.
- gmt
Modified 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.
- ssl
Protocol String - Indicates whether the Secure Sockets Layer (SSL) certificate is enabled. Valid values:
on
,off
. - ssl
Pub 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.
- Cert
Name string - The name of the certificate. The value of this parameter is returned if HTTPS is enabled.
- Check
Url 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.
- Domain
Name 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.
. - Gmt
Created 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.
- Gmt
Modified 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.
Ali Cloud. Vod. Inputs. Domain Source> - The information about the address of the origin server. For more information about the Sources parameter, See the following
Block sources
. - Ssl
Protocol string - Indicates whether the Secure Sockets Layer (SSL) certificate is enabled. Valid values:
on
,off
. - Ssl
Pub 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:
- Dictionary<string, object>
- A mapping of tags to assign to the resource.
Key
: It can be up to 64 characters in length. It cannot be a null string.Value
: It can be up to 128 characters in length. It can be a null string.
- Top
Level stringDomain - The top-level domain name.
- Weight string
- The weight of the origin server.
- Cert
Name string - The name of the certificate. The value of this parameter is returned if HTTPS is enabled.
- Check
Url 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.
- Domain
Name 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.
. - Gmt
Created 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.
- Gmt
Modified 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
[]Domain
Source Args - The information about the address of the origin server. For more information about the Sources parameter, See the following
Block sources
. - Ssl
Protocol string - Indicates whether the Secure Sockets Layer (SSL) certificate is enabled. Valid values:
on
,off
. - Ssl
Pub 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:
- map[string]interface{}
- A mapping of tags to assign to the resource.
Key
: It can be up to 64 characters in length. It cannot be a null string.Value
: It can be up to 128 characters in length. It can be a null string.
- Top
Level stringDomain - The top-level domain name.
- Weight string
- The weight of the origin server.
- cert
Name String - The name of the certificate. The value of this parameter is returned if HTTPS is enabled.
- check
Url 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.
- domain
Name 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.
. - gmt
Created 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.
- gmt
Modified 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<Domain
Source> - The information about the address of the origin server. For more information about the Sources parameter, See the following
Block sources
. - ssl
Protocol String - Indicates whether the Secure Sockets Layer (SSL) certificate is enabled. Valid values:
on
,off
. - ssl
Pub 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:
- Map<String,Object>
- A mapping of tags to assign to the resource.
Key
: It can be up to 64 characters in length. It cannot be a null string.Value
: It can be up to 128 characters in length. It can be a null string.
- top
Level StringDomain - The top-level domain name.
- weight String
- The weight of the origin server.
- cert
Name string - The name of the certificate. The value of this parameter is returned if HTTPS is enabled.
- check
Url 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.
- domain
Name 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.
. - gmt
Created 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.
- gmt
Modified 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
Domain
Source[] - The information about the address of the origin server. For more information about the Sources parameter, See the following
Block sources
. - ssl
Protocol string - Indicates whether the Secure Sockets Layer (SSL) certificate is enabled. Valid values:
on
,off
. - ssl
Pub 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:
- {[key: string]: any}
- A mapping of tags to assign to the resource.
Key
: It can be up to 64 characters in length. It cannot be a null string.Value
: It can be up to 128 characters in length. It can be a null string.
- top
Level stringDomain - 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[Domain
Source Args] - 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:
- Mapping[str, Any]
- A mapping of tags to assign to the resource.
Key
: It can be up to 64 characters in length. It cannot be a null string.Value
: It can be up to 128 characters in length. It can be a null string.
- top_
level_ strdomain - The top-level domain name.
- weight str
- The weight of the origin server.
- cert
Name String - The name of the certificate. The value of this parameter is returned if HTTPS is enabled.
- check
Url 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.
- domain
Name 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.
. - gmt
Created 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.
- gmt
Modified 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
. - ssl
Protocol String - Indicates whether the Secure Sockets Layer (SSL) certificate is enabled. Valid values:
on
,off
. - ssl
Pub 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:
- Map<Any>
- A mapping of tags to assign to the resource.
Key
: It can be up to 64 characters in length. It cannot be a null string.Value
: It can be up to 128 characters in length. It can be a null string.
- top
Level StringDomain - The top-level domain name.
- weight String
- The weight of the origin server.
Supporting Types
DomainSource, DomainSourceArgs
- Source
Content string - Source
Port string - Source
Type string - Source
Priority string
- Source
Content string - Source
Port string - Source
Type string - Source
Priority string
- source
Content String - source
Port String - source
Type String - source
Priority String
- source
Content string - source
Port string - source
Type string - source
Priority string
- source_
content str - source_
port str - source_
type str - source_
priority str
- source
Content String - source
Port String - source
Type String - source
Priority String
Import
VOD Domain can be imported using the id, e.g.
$ pulumi import alicloud:vod/domain:Domain example <domain_name>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.