Alibaba Cloud

Pulumi Official
Package maintained by Pulumi
v3.28.0 published on Tuesday, Aug 16, 2022 by Pulumi

getDomains

Provides a collection of DCDN Domains to the specified filters.

NOTE: Available in 1.94.0+.

Using getDomains

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getDomains(args: GetDomainsArgs, opts?: InvokeOptions): Promise<GetDomainsResult>
function getDomainsOutput(args: GetDomainsOutputArgs, opts?: InvokeOptions): Output<GetDomainsResult>
def get_domains(change_end_time: Optional[str] = None,
                change_start_time: Optional[str] = None,
                check_domain_show: Optional[bool] = None,
                domain_search_type: Optional[str] = None,
                enable_details: Optional[bool] = None,
                ids: Optional[Sequence[str]] = None,
                name_regex: Optional[str] = None,
                output_file: Optional[str] = None,
                resource_group_id: Optional[str] = None,
                security_token: Optional[str] = None,
                status: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetDomainsResult
def get_domains_output(change_end_time: Optional[pulumi.Input[str]] = None,
                change_start_time: Optional[pulumi.Input[str]] = None,
                check_domain_show: Optional[pulumi.Input[bool]] = None,
                domain_search_type: Optional[pulumi.Input[str]] = None,
                enable_details: Optional[pulumi.Input[bool]] = None,
                ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                name_regex: Optional[pulumi.Input[str]] = None,
                output_file: Optional[pulumi.Input[str]] = None,
                resource_group_id: Optional[pulumi.Input[str]] = None,
                security_token: Optional[pulumi.Input[str]] = None,
                status: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetDomainsResult]
func GetDomains(ctx *Context, args *GetDomainsArgs, opts ...InvokeOption) (*GetDomainsResult, error)
func GetDomainsOutput(ctx *Context, args *GetDomainsOutputArgs, opts ...InvokeOption) GetDomainsResultOutput

> Note: This function is named GetDomains in the Go SDK.

public static class GetDomains 
{
    public static Task<GetDomainsResult> InvokeAsync(GetDomainsArgs args, InvokeOptions? opts = null)
    public static Output<GetDomainsResult> Invoke(GetDomainsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDomainsResult> getDomains(GetDomainsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: alicloud:dcdn/getDomains:getDomains
  Arguments:
    # Arguments dictionary

The following arguments are supported:

ChangeEndTime string

The end time of the update. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.

ChangeStartTime string

The start time of the update. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.

CheckDomainShow bool

Specifies whether to display the domains in the checking, check_failed, or configure_failed status. Valid values: true or false.

DomainSearchType string

The search method. Default value: fuzzy_match. Valid values: fuzzy_match, pre_match, suf_match, full_match.

EnableDetails bool

Default to false. Set it to true can output more details.

Ids List<string>

A list ids of DCDN Domain.

NameRegex string

A regex string to filter results by the DCDN Domain.

OutputFile string
ResourceGroupId string

The ID of the resource group.

SecurityToken string
Status string

The status of DCDN Domain.

ChangeEndTime string

The end time of the update. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.

ChangeStartTime string

The start time of the update. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.

CheckDomainShow bool

Specifies whether to display the domains in the checking, check_failed, or configure_failed status. Valid values: true or false.

DomainSearchType string

The search method. Default value: fuzzy_match. Valid values: fuzzy_match, pre_match, suf_match, full_match.

EnableDetails bool

Default to false. Set it to true can output more details.

Ids []string

A list ids of DCDN Domain.

NameRegex string

A regex string to filter results by the DCDN Domain.

OutputFile string
ResourceGroupId string

The ID of the resource group.

SecurityToken string
Status string

The status of DCDN Domain.

changeEndTime String

The end time of the update. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.

changeStartTime String

The start time of the update. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.

checkDomainShow Boolean

Specifies whether to display the domains in the checking, check_failed, or configure_failed status. Valid values: true or false.

domainSearchType String

The search method. Default value: fuzzy_match. Valid values: fuzzy_match, pre_match, suf_match, full_match.

enableDetails Boolean

Default to false. Set it to true can output more details.

ids List<String>

A list ids of DCDN Domain.

nameRegex String

A regex string to filter results by the DCDN Domain.

outputFile String
resourceGroupId String

The ID of the resource group.

securityToken String
status String

The status of DCDN Domain.

changeEndTime string

The end time of the update. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.

changeStartTime string

The start time of the update. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.

checkDomainShow boolean

Specifies whether to display the domains in the checking, check_failed, or configure_failed status. Valid values: true or false.

domainSearchType string

The search method. Default value: fuzzy_match. Valid values: fuzzy_match, pre_match, suf_match, full_match.

enableDetails boolean

Default to false. Set it to true can output more details.

ids string[]

A list ids of DCDN Domain.

nameRegex string

A regex string to filter results by the DCDN Domain.

outputFile string
resourceGroupId string

The ID of the resource group.

securityToken string
status string

The status of DCDN Domain.

change_end_time str

The end time of the update. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.

change_start_time str

The start time of the update. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.

check_domain_show bool

Specifies whether to display the domains in the checking, check_failed, or configure_failed status. Valid values: true or false.

domain_search_type str

The search method. Default value: fuzzy_match. Valid values: fuzzy_match, pre_match, suf_match, full_match.

enable_details bool

Default to false. Set it to true can output more details.

ids Sequence[str]

A list ids of DCDN Domain.

name_regex str

A regex string to filter results by the DCDN Domain.

output_file str
resource_group_id str

The ID of the resource group.

security_token str
status str

The status of DCDN Domain.

changeEndTime String

The end time of the update. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.

changeStartTime String

The start time of the update. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.

checkDomainShow Boolean

Specifies whether to display the domains in the checking, check_failed, or configure_failed status. Valid values: true or false.

domainSearchType String

The search method. Default value: fuzzy_match. Valid values: fuzzy_match, pre_match, suf_match, full_match.

enableDetails Boolean

Default to false. Set it to true can output more details.

ids List<String>

A list ids of DCDN Domain.

nameRegex String

A regex string to filter results by the DCDN Domain.

outputFile String
resourceGroupId String

The ID of the resource group.

securityToken String
status String

The status of DCDN Domain.

getDomains Result

The following output properties are available:

Domains List<Pulumi.AliCloud.Dcdn.Outputs.GetDomainsDomain>

A list of domains. Each element contains the following attributes:

Id string

The provider-assigned unique ID for this managed resource.

Ids List<string>

A list ids of DCDN Domain.

Names List<string>

A list of DCDN Domain names.

ChangeEndTime string
ChangeStartTime string
CheckDomainShow bool
DomainSearchType string
EnableDetails bool
NameRegex string
OutputFile string
ResourceGroupId string

The ID of the resource group.

SecurityToken string
Status string

The status of DCDN Domain. Valid values: online, offline, check_failed, checking, configure_failed, configuring.

Domains []GetDomainsDomain

A list of domains. Each element contains the following attributes:

Id string

The provider-assigned unique ID for this managed resource.

Ids []string

A list ids of DCDN Domain.

Names []string

A list of DCDN Domain names.

ChangeEndTime string
ChangeStartTime string
CheckDomainShow bool
DomainSearchType string
EnableDetails bool
NameRegex string
OutputFile string
ResourceGroupId string

The ID of the resource group.

SecurityToken string
Status string

The status of DCDN Domain. Valid values: online, offline, check_failed, checking, configure_failed, configuring.

domains List<GetDomainsDomain>

A list of domains. Each element contains the following attributes:

id String

The provider-assigned unique ID for this managed resource.

ids List<String>

A list ids of DCDN Domain.

names List<String>

A list of DCDN Domain names.

changeEndTime String
changeStartTime String
checkDomainShow Boolean
domainSearchType String
enableDetails Boolean
nameRegex String
outputFile String
resourceGroupId String

The ID of the resource group.

securityToken String
status String

The status of DCDN Domain. Valid values: online, offline, check_failed, checking, configure_failed, configuring.

domains GetDomainsDomain[]

A list of domains. Each element contains the following attributes:

id string

The provider-assigned unique ID for this managed resource.

ids string[]

A list ids of DCDN Domain.

names string[]

A list of DCDN Domain names.

changeEndTime string
changeStartTime string
checkDomainShow boolean
domainSearchType string
enableDetails boolean
nameRegex string
outputFile string
resourceGroupId string

The ID of the resource group.

securityToken string
status string

The status of DCDN Domain. Valid values: online, offline, check_failed, checking, configure_failed, configuring.

domains Sequence[GetDomainsDomain]

A list of domains. Each element contains the following attributes:

id str

The provider-assigned unique ID for this managed resource.

ids Sequence[str]

A list ids of DCDN Domain.

names Sequence[str]

A list of DCDN Domain names.

change_end_time str
change_start_time str
check_domain_show bool
domain_search_type str
enable_details bool
name_regex str
output_file str
resource_group_id str

The ID of the resource group.

security_token str
status str

The status of DCDN Domain. Valid values: online, offline, check_failed, checking, configure_failed, configuring.

domains List<Property Map>

A list of domains. Each element contains the following attributes:

id String

The provider-assigned unique ID for this managed resource.

ids List<String>

A list ids of DCDN Domain.

names List<String>

A list of DCDN Domain names.

changeEndTime String
changeStartTime String
checkDomainShow Boolean
domainSearchType String
enableDetails Boolean
nameRegex String
outputFile String
resourceGroupId String

The ID of the resource group.

securityToken String
status String

The status of DCDN Domain. Valid values: online, offline, check_failed, checking, configure_failed, configuring.

Supporting Types

GetDomainsDomain

CertName string

Indicates the name of the certificate.

Cname string

The canonical name (CNAME) of the accelerated domain.

Description string

The reason that causes the review failure.

DomainName string

The name of the DCDN Domain.

GmtModified string

The time when the accelerated domain was last modified.

Id string

The ID of the DCDN Domain.

ResourceGroupId string

The ID of the resource group.

Scope string

The acceleration region.

Sources List<Pulumi.AliCloud.Dcdn.Inputs.GetDomainsDomainSource>

The origin information.

SslProtocol string

Indicates whether the SSL certificate is enabled.

SslPub string

Indicates the public key of the certificate.

Status string

The status of DCDN Domain.

CertName string

Indicates the name of the certificate.

Cname string

The canonical name (CNAME) of the accelerated domain.

Description string

The reason that causes the review failure.

DomainName string

The name of the DCDN Domain.

GmtModified string

The time when the accelerated domain was last modified.

Id string

The ID of the DCDN Domain.

ResourceGroupId string

The ID of the resource group.

Scope string

The acceleration region.

Sources []GetDomainsDomainSource

The origin information.

SslProtocol string

Indicates whether the SSL certificate is enabled.

SslPub string

Indicates the public key of the certificate.

Status string

The status of DCDN Domain.

certName String

Indicates the name of the certificate.

cname String

The canonical name (CNAME) of the accelerated domain.

description String

The reason that causes the review failure.

domainName String

The name of the DCDN Domain.

gmtModified String

The time when the accelerated domain was last modified.

id String

The ID of the DCDN Domain.

resourceGroupId String

The ID of the resource group.

scope String

The acceleration region.

sources List<GetDomainsDomainSource>

The origin information.

sslProtocol String

Indicates whether the SSL certificate is enabled.

sslPub String

Indicates the public key of the certificate.

status String

The status of DCDN Domain.

certName string

Indicates the name of the certificate.

cname string

The canonical name (CNAME) of the accelerated domain.

description string

The reason that causes the review failure.

domainName string

The name of the DCDN Domain.

gmtModified string

The time when the accelerated domain was last modified.

id string

The ID of the DCDN Domain.

resourceGroupId string

The ID of the resource group.

scope string

The acceleration region.

sources GetDomainsDomainSource[]

The origin information.

sslProtocol string

Indicates whether the SSL certificate is enabled.

sslPub string

Indicates the public key of the certificate.

status string

The status of DCDN Domain.

cert_name str

Indicates the name of the certificate.

cname str

The canonical name (CNAME) of the accelerated domain.

description str

The reason that causes the review failure.

domain_name str

The name of the DCDN Domain.

gmt_modified str

The time when the accelerated domain was last modified.

id str

The ID of the DCDN Domain.

resource_group_id str

The ID of the resource group.

scope str

The acceleration region.

sources Sequence[GetDomainsDomainSource]

The origin information.

ssl_protocol str

Indicates whether the SSL certificate is enabled.

ssl_pub str

Indicates the public key of the certificate.

status str

The status of DCDN Domain.

certName String

Indicates the name of the certificate.

cname String

The canonical name (CNAME) of the accelerated domain.

description String

The reason that causes the review failure.

domainName String

The name of the DCDN Domain.

gmtModified String

The time when the accelerated domain was last modified.

id String

The ID of the DCDN Domain.

resourceGroupId String

The ID of the resource group.

scope String

The acceleration region.

sources List<Property Map>

The origin information.

sslProtocol String

Indicates whether the SSL certificate is enabled.

sslPub String

Indicates the public key of the certificate.

status String

The status of DCDN Domain.

GetDomainsDomainSource

Content string

The origin address.

Enabled string

The status of the origin.

Port int

The port number.

Priority string

The priority of the origin if multiple origins are specified.

Type string

The type of the origin. Valid values:

Weight string

The weight of the origin if multiple origins are specified.

Content string

The origin address.

Enabled string

The status of the origin.

Port int

The port number.

Priority string

The priority of the origin if multiple origins are specified.

Type string

The type of the origin. Valid values:

Weight string

The weight of the origin if multiple origins are specified.

content String

The origin address.

enabled String

The status of the origin.

port Integer

The port number.

priority String

The priority of the origin if multiple origins are specified.

type String

The type of the origin. Valid values:

weight String

The weight of the origin if multiple origins are specified.

content string

The origin address.

enabled string

The status of the origin.

port number

The port number.

priority string

The priority of the origin if multiple origins are specified.

type string

The type of the origin. Valid values:

weight string

The weight of the origin if multiple origins are specified.

content str

The origin address.

enabled str

The status of the origin.

port int

The port number.

priority str

The priority of the origin if multiple origins are specified.

type str

The type of the origin. Valid values:

weight str

The weight of the origin if multiple origins are specified.

content String

The origin address.

enabled String

The status of the origin.

port Number

The port number.

priority String

The priority of the origin if multiple origins are specified.

type String

The type of the origin. Valid values:

weight String

The weight of the origin if multiple origins are specified.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.