共用方式為


MockableDnsArmClient.GetDnsZoneResource(ResourceIdentifier) Method

Definition

Gets an object representing a DnsZoneResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a DnsZoneResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.Dns.DnsZoneResource GetDnsZoneResource (Azure.Core.ResourceIdentifier id);
abstract member GetDnsZoneResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Dns.DnsZoneResource
override this.GetDnsZoneResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Dns.DnsZoneResource
Public Overridable Function GetDnsZoneResource (id As ResourceIdentifier) As DnsZoneResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a DnsZoneResource object.

Applies to