getZone

suspend fun getZone(argument: GetZonePlainArgs): GetZoneResult

Gets a DNS zone. Retrieves the zone properties, but not the record sets within the zone. Uses Azure REST API version 2018-05-01. Other available API versions: 2023-07-01-preview.

Return

Describes a DNS zone.

Parameters

argument

null


suspend fun getZone(resourceGroupName: String, zoneName: String): GetZoneResult

Return

Describes a DNS zone.

Parameters

resourceGroupName

The name of the resource group.

zoneName

The name of the DNS zone (without a terminating dot).

See also


suspend fun getZone(argument: suspend GetZonePlainArgsBuilder.() -> Unit): GetZoneResult

Return

Describes a DNS zone.

Parameters

argument

Builder for com.pulumi.azurenative.network.kotlin.inputs.GetZonePlainArgs.

See also