turbot / steampipe-plugin-alicloud

Use SQL to instantly query Alibaba Cloud resources across regions and accounts. Open source CLI. No DB required.
https://hub.steampipe.io/plugins/turbot/alicloud
Apache License 2.0
12 stars 6 forks source link

Add table alicloud_alidns_domains #450

Open vmdude opened 2 months ago

vmdude commented 2 months ago

References

The table alicloud_alidns_domains should mimic the aliyun alidns DescribeDomains query.

vmdude commented 2 months ago

A sample output from cli:

aliyun alidns DescribeDomains
{
    "Domains": {
        "Domain": [
            {
                "AliDomain": false,
                "CreateTime": "2020-02-08T19:07Z",
                "CreateTimestamp": 1581188831000,
                "DnsServers": {
                    "DnsServer": [
                        "ns7.alidns.com",
                        "ns8.alidns.com"
                    ]
                },
                "DomainId": "REDACTED",
                "DomainLoggingSwitchStatus": "CLOSE",
                "DomainName": "REDACTED",
                "PunyCode": "REDACTED",
                "RecordCount": 0,
                "ResourceGroupId": "rg-REDACTED",
                "Starmark": false,
                "Tags": {
                    "Tag": []
                },
                "VersionCode": "mianfei",
                "VersionName": "Alibaba Cloud DNS"
            },
            {
                "AliDomain": false,
                "CreateTime": "2019-01-29T10:29Z",
                "CreateTimestamp": 1548757740000,
                "DnsServers": {
                    "DnsServer": [
                        "ns7.alidns.com",
                        "ns8.alidns.com"
                    ]
                },
                "DomainId": "REDACTED",
                "DomainLoggingSwitchStatus": "CLOSE",
                "DomainName": "REDACTED",
                "PunyCode": "REDACTED",
                "RecordCount": 0,
                "ResourceGroupId": "rg-REDACTED",
                "Starmark": false,
                "Tags": {
                    "Tag": []
                },
                "VersionCode": "mianfei",
                "VersionName": "Alibaba Cloud DNS"
            }
        ]
    },
    "PageNumber": 1,
    "PageSize": 20,
    "RequestId": "REDACTED",
    "TotalCount": 2
}
github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

vmdude commented 2 weeks ago

Still needing this table, it's no stale