Class DNSZone

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<DNSZoneBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class DNSZone
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<DNSZoneBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    DNSZone is used to define a DNS hosted zone. A zone can be identified by an ID or tags.
    See Also:
    Serialized Form
    • Constructor Detail

      • DNSZone

        public DNSZone()
        No args constructor for use in serialization
    • Method Detail

      • getId

        public String getId()
        id is the identifier that can be used to find the DNS hosted zone.


        on AWS zone can be fetched using `ID` as id in [1] on Azure zone can be fetched using `ID` as a pre-determined name in [2], on GCP zone can be fetched using `ID` as a pre-determined name in [3].


        [1]: https://docs.aws.amazon.com/cli/latest/reference/route53/get-hosted-zone.html#options [2]: https://docs.microsoft.com/en-us/cli/azure/network/dns/zone?view=azure-cli-latest#az-network-dns-zone-show [3]: https://cloud.google.com/dns/docs/reference/v1/managedZones/get

      • setId

        public void setId​(String id)
        id is the identifier that can be used to find the DNS hosted zone.


        on AWS zone can be fetched using `ID` as id in [1] on Azure zone can be fetched using `ID` as a pre-determined name in [2], on GCP zone can be fetched using `ID` as a pre-determined name in [3].


        [1]: https://docs.aws.amazon.com/cli/latest/reference/route53/get-hosted-zone.html#options [2]: https://docs.microsoft.com/en-us/cli/azure/network/dns/zone?view=azure-cli-latest#az-network-dns-zone-show [3]: https://cloud.google.com/dns/docs/reference/v1/managedZones/get

      • getTags

        public Map<String,​String> getTags()
        tags can be used to query the DNS hosted zone.


        on AWS, resourcegroupstaggingapi [1] can be used to fetch a zone using `Tags` as tag-filters,


        [1]: https://docs.aws.amazon.com/cli/latest/reference/resourcegroupstaggingapi/get-resources.html#options

      • setTags

        public void setTags​(Map<String,​String> tags)
        tags can be used to query the DNS hosted zone.


        on AWS, resourcegroupstaggingapi [1] can be used to fetch a zone using `Tags` as tag-filters,


        [1]: https://docs.aws.amazon.com/cli/latest/reference/resourcegroupstaggingapi/get-resources.html#options

      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)