Share via


MockablePrivateDnsArmClient.GetPrivateDnsZoneResource Method

Definition

Gets an object representing a PrivateDnsZoneResource 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 PrivateDnsZoneResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.PrivateDns.PrivateDnsZoneResource GetPrivateDnsZoneResource (Azure.Core.ResourceIdentifier id);
abstract member GetPrivateDnsZoneResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.PrivateDns.PrivateDnsZoneResource
override this.GetPrivateDnsZoneResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.PrivateDns.PrivateDnsZoneResource
Public Overridable Function GetPrivateDnsZoneResource (id As ResourceIdentifier) As PrivateDnsZoneResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a PrivateDnsZoneResource object.

Applies to