Class DomainNew
Inherited Members
Namespace: Pulumi.AliCloud.Cdn
Assembly: Pulumi.AliCloud.dll
Syntax
public class DomainNew : CustomResource
Constructors
View SourceDomainNew(String, DomainNewArgs, CustomResourceOptions)
Create a DomainNew resource with the given unique name, arguments, and options.
Declaration
public DomainNew(string name, DomainNewArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| DomainNewArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceCdnType
Cdn type of the accelerated domain. Valid values are web, download, video.
Declaration
public Output<string> CdnType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
CertificateConfig
Certificate config of the accelerated domain. It's a list and consist of at most 1 item.
Declaration
public Output<DomainNewCertificateConfig> CertificateConfig { get; }
Property Value
| Type | Description |
|---|---|
| Output<DomainNewCertificateConfig> |
DomainName
Name of the accelerated domain. This name without suffix can have a string of 1 to 63 characters, must contain only alphanumeric characters or "-", and must not begin or end with "-", and "-" must not in the 3th and 4th character positions at the same time. Suffix .sh and .tel are not supported.
Declaration
public Output<string> DomainName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ResourceGroupId
Resource group ID.
Declaration
public Output<string> ResourceGroupId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Scope
Scope of the accelerated domain. Valid values are domestic, overseas, global. Default value is domestic. This parameter's setting is valid Only for the international users and domestic L3 and above users .
Declaration
public Output<string> Scope { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Sources
The source address list of the accelerated domain. Defaults to null. See Block Sources.
Declaration
public Output<DomainNewSources> Sources { get; }
Property Value
| Type | Description |
|---|---|
| Output<DomainNewSources> |
Tags
A mapping of tags to assign to the resource.
Declaration
public Output<ImmutableDictionary<string, object>> Tags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.Object>> |
Methods
View SourceGet(String, Input<String>, DomainNewState, CustomResourceOptions)
Get an existing DomainNew resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static DomainNew Get(string name, Input<string> id, DomainNewState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| DomainNewState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| DomainNew |