Dela via


MockablePrivateDnsArmClient.GetPrivateDnsCnameRecordResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a PrivateDnsCnameRecordResource object.

Applies to