GetZones

Use this data source to look up Zone records.

Using GetZones

function getZones(args: GetZonesArgs, opts?: InvokeOptions): Promise<GetZonesResult>
function  get_zones(filter=None, opts=None)
func GetZones(ctx *Context, args *GetZonesArgs, opts ...InvokeOption) (*GetZonesResult, error)
public static class GetZones {
    public static Task<GetZonesResult> InvokeAsync(GetZonesArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Filter GetZonesFilterArgs
Filter GetZonesFilter
filter GetZonesFilter
filter Dict[GetZonesFilter]

GetZones Result

The following output properties are available:

Filter GetZonesFilter
Id string

The provider-assigned unique ID for this managed resource.

Zones List<GetZonesZone>
Filter GetZonesFilter
Id string

The provider-assigned unique ID for this managed resource.

Zones []GetZonesZone
filter GetZonesFilter
id string

The provider-assigned unique ID for this managed resource.

zones GetZonesZone[]
filter Dict[GetZonesFilter]
id str

The provider-assigned unique ID for this managed resource.

zones List[GetZonesZone]

Supporting Types

GetZonesFilter

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Name string
Paused bool
Status string
Name string
Paused bool
Status string
name string
paused boolean
status string
name str
paused bool
status str

GetZonesZone

See the output API doc for this type.

See the output API doc for this type.

See the output API doc for this type.

Id string
Name string
Id string
Name string
id string
name string
id str
name str

Package Details

Repository
https://github.com/pulumi/pulumi-cloudflare
License
Apache-2.0
Notes
This Pulumi package is based on the cloudflare Terraform Provider.