1. Packages
  2. Alibaba Cloud
  3. API Docs
  4. dns
  5. getDomainGroups
Alibaba Cloud v3.49.0 published on Sunday, Feb 4, 2024 by Pulumi

alicloud.dns.getDomainGroups

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.49.0 published on Sunday, Feb 4, 2024 by Pulumi

    NOTE: This datasource has been deprecated from v1.3.2. Please use the datasource alicloud.dns.getGroups instead.

    Using getDomainGroups

    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 getDomainGroups(args: GetDomainGroupsArgs, opts?: InvokeOptions): Promise<GetDomainGroupsResult>
    function getDomainGroupsOutput(args: GetDomainGroupsOutputArgs, opts?: InvokeOptions): Output<GetDomainGroupsResult>
    def get_domain_groups(ids: Optional[Sequence[str]] = None,
                          name_regex: Optional[str] = None,
                          output_file: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetDomainGroupsResult
    def get_domain_groups_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                          name_regex: Optional[pulumi.Input[str]] = None,
                          output_file: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetDomainGroupsResult]
    func GetDomainGroups(ctx *Context, args *GetDomainGroupsArgs, opts ...InvokeOption) (*GetDomainGroupsResult, error)
    func GetDomainGroupsOutput(ctx *Context, args *GetDomainGroupsOutputArgs, opts ...InvokeOption) GetDomainGroupsResultOutput

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

    public static class GetDomainGroups 
    {
        public static Task<GetDomainGroupsResult> InvokeAsync(GetDomainGroupsArgs args, InvokeOptions? opts = null)
        public static Output<GetDomainGroupsResult> Invoke(GetDomainGroupsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDomainGroupsResult> getDomainGroups(GetDomainGroupsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: alicloud:dns/getDomainGroups:getDomainGroups
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Ids List<string>
    NameRegex string
    OutputFile string
    Ids []string
    NameRegex string
    OutputFile string
    ids List<String>
    nameRegex String
    outputFile String
    ids string[]
    nameRegex string
    outputFile string
    ids Sequence[str]
    name_regex str
    output_file str
    ids List<String>
    nameRegex String
    outputFile String

    getDomainGroups Result

    The following output properties are available:

    Groups List<Pulumi.AliCloud.Dns.Outputs.GetDomainGroupsGroup>
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids List<string>
    Names List<string>
    NameRegex string
    OutputFile string
    Groups []GetDomainGroupsGroup
    Id string
    The provider-assigned unique ID for this managed resource.
    Ids []string
    Names []string
    NameRegex string
    OutputFile string
    groups List<GetDomainGroupsGroup>
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    names List<String>
    nameRegex String
    outputFile String
    groups GetDomainGroupsGroup[]
    id string
    The provider-assigned unique ID for this managed resource.
    ids string[]
    names string[]
    nameRegex string
    outputFile string
    groups Sequence[GetDomainGroupsGroup]
    id str
    The provider-assigned unique ID for this managed resource.
    ids Sequence[str]
    names Sequence[str]
    name_regex str
    output_file str
    groups List<Property Map>
    id String
    The provider-assigned unique ID for this managed resource.
    ids List<String>
    names List<String>
    nameRegex String
    outputFile String

    Supporting Types

    GetDomainGroupsGroup

    GroupId string
    GroupName string
    GroupId string
    GroupName string
    groupId String
    groupName String
    groupId string
    groupName string
    groupId String
    groupName String

    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.49.0 published on Sunday, Feb 4, 2024 by Pulumi