get Zone
Use this data source to look up zone info. This is the singular alternative to cloudflare.getZones
.
Note Cloudflare zone names are not unique. It is possible for multiple accounts to have the same zone created but in different states. If you are using this setup, it is advised to use the
account_id
attribute on this resource or swap tocloudflare.getZones
to further filter the results. {{% examples %}}
Example Usage
{{tffile "examples/data-sources/cloudflare_zone/data-source.tf"}} {{% /examples %}}
Return
A collection of values returned by getZone.
Parameters
A collection of arguments for invoking getZone.
Return
A collection of values returned by getZone.
Parameters
The account identifier to target for the resource.
The name of the zone. Must provide only one of zone_id
, name
.
The zone identifier to target for the resource. Must provide only one of zone_id
, name
.
See also
Return
A collection of values returned by getZone.
Parameters
Builder for com.pulumi.cloudflare.kotlin.inputs.GetZonePlainArgs.