Share via


MockablePrivateDnsArmClient.GetPrivateDnsSrvRecordResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a PrivateDnsSrvRecordResource object.

Applies to