alicloud logo
Alibaba Cloud v3.34.0, Mar 17 23

alicloud.ga.getDomains

This data source provides Ga Domain available to the user.What is Domain

NOTE: Available in 1.197.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(accelerator_id: Optional[str] = None,
                domain: Optional[str] = None,
                ids: Optional[Sequence[str]] = None,
                output_file: Optional[str] = None,
                page_number: Optional[int] = None,
                page_size: Optional[int] = None,
                status: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetDomainsResult
def get_domains_output(accelerator_id: Optional[pulumi.Input[str]] = None,
                domain: Optional[pulumi.Input[str]] = None,
                ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                output_file: Optional[pulumi.Input[str]] = None,
                page_number: Optional[pulumi.Input[int]] = None,
                page_size: Optional[pulumi.Input[int]] = 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:ga/getDomains:getDomains
  arguments:
    # arguments dictionary

The following arguments are supported:

AcceleratorId string

The ID of the global acceleration instance.

Domain string

The accelerated domain name to be added. only top-level domain names are supported, such as 'example.com'.

Ids List<string>

A list of Ga Domain IDs.

OutputFile string
PageNumber int
PageSize int
Status string

The status of the resource. Valid values: illegal, inactive, active, unknown.

AcceleratorId string

The ID of the global acceleration instance.

Domain string

The accelerated domain name to be added. only top-level domain names are supported, such as 'example.com'.

Ids []string

A list of Ga Domain IDs.

OutputFile string
PageNumber int
PageSize int
Status string

The status of the resource. Valid values: illegal, inactive, active, unknown.

acceleratorId String

The ID of the global acceleration instance.

domain String

The accelerated domain name to be added. only top-level domain names are supported, such as 'example.com'.

ids List<String>

A list of Ga Domain IDs.

outputFile String
pageNumber Integer
pageSize Integer
status String

The status of the resource. Valid values: illegal, inactive, active, unknown.

acceleratorId string

The ID of the global acceleration instance.

domain string

The accelerated domain name to be added. only top-level domain names are supported, such as 'example.com'.

ids string[]

A list of Ga Domain IDs.

outputFile string
pageNumber number
pageSize number
status string

The status of the resource. Valid values: illegal, inactive, active, unknown.

accelerator_id str

The ID of the global acceleration instance.

domain str

The accelerated domain name to be added. only top-level domain names are supported, such as 'example.com'.

ids Sequence[str]

A list of Ga Domain IDs.

output_file str
page_number int
page_size int
status str

The status of the resource. Valid values: illegal, inactive, active, unknown.

acceleratorId String

The ID of the global acceleration instance.

domain String

The accelerated domain name to be added. only top-level domain names are supported, such as 'example.com'.

ids List<String>

A list of Ga Domain IDs.

outputFile String
pageNumber Number
pageSize Number
status String

The status of the resource. Valid values: illegal, inactive, active, unknown.

getDomains Result

The following output properties are available:

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

A list of Domain Entries. Each element contains the following attributes:

Id string

The provider-assigned unique ID for this managed resource.

Ids List<string>
AcceleratorId string

The ID of the global acceleration instance.

Domain string

The accelerated domain name to be added.

OutputFile string
PageNumber int
PageSize int
Status string

The status of the resource

Domains []GetDomainsDomain

A list of Domain Entries. Each element contains the following attributes:

Id string

The provider-assigned unique ID for this managed resource.

Ids []string
AcceleratorId string

The ID of the global acceleration instance.

Domain string

The accelerated domain name to be added.

OutputFile string
PageNumber int
PageSize int
Status string

The status of the resource

domains List<GetDomainsDomain>

A list of Domain Entries. Each element contains the following attributes:

id String

The provider-assigned unique ID for this managed resource.

ids List<String>
acceleratorId String

The ID of the global acceleration instance.

domain String

The accelerated domain name to be added.

outputFile String
pageNumber Integer
pageSize Integer
status String

The status of the resource

domains GetDomainsDomain[]

A list of Domain Entries. Each element contains the following attributes:

id string

The provider-assigned unique ID for this managed resource.

ids string[]
acceleratorId string

The ID of the global acceleration instance.

domain string

The accelerated domain name to be added.

outputFile string
pageNumber number
pageSize number
status string

The status of the resource

domains Sequence[GetDomainsDomain]

A list of Domain Entries. Each element contains the following attributes:

id str

The provider-assigned unique ID for this managed resource.

ids Sequence[str]
accelerator_id str

The ID of the global acceleration instance.

domain str

The accelerated domain name to be added.

output_file str
page_number int
page_size int
status str

The status of the resource

domains List<Property Map>

A list of Domain Entries. Each element contains the following attributes:

id String

The provider-assigned unique ID for this managed resource.

ids List<String>
acceleratorId String

The ID of the global acceleration instance.

domain String

The accelerated domain name to be added.

outputFile String
pageNumber Number
pageSize Number
status String

The status of the resource

Supporting Types

GetDomainsDomain

AcceleratorId string

The ID of the global acceleration instance.

Domain string

The accelerated domain name to be added. only top-level domain names are supported, such as 'example.com'.

Id string

The ID of the Ga Domain.

Status string

The status of the resource. Valid values: illegal, inactive, active, unknown.

AcceleratorId string

The ID of the global acceleration instance.

Domain string

The accelerated domain name to be added. only top-level domain names are supported, such as 'example.com'.

Id string

The ID of the Ga Domain.

Status string

The status of the resource. Valid values: illegal, inactive, active, unknown.

acceleratorId String

The ID of the global acceleration instance.

domain String

The accelerated domain name to be added. only top-level domain names are supported, such as 'example.com'.

id String

The ID of the Ga Domain.

status String

The status of the resource. Valid values: illegal, inactive, active, unknown.

acceleratorId string

The ID of the global acceleration instance.

domain string

The accelerated domain name to be added. only top-level domain names are supported, such as 'example.com'.

id string

The ID of the Ga Domain.

status string

The status of the resource. Valid values: illegal, inactive, active, unknown.

accelerator_id str

The ID of the global acceleration instance.

domain str

The accelerated domain name to be added. only top-level domain names are supported, such as 'example.com'.

id str

The ID of the Ga Domain.

status str

The status of the resource. Valid values: illegal, inactive, active, unknown.

acceleratorId String

The ID of the global acceleration instance.

domain String

The accelerated domain name to be added. only top-level domain names are supported, such as 'example.com'.

id String

The ID of the Ga Domain.

status String

The status of the resource. Valid values: illegal, inactive, active, unknown.

Package Details

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

This Pulumi package is based on the alicloud Terraform Provider.