Share via


OracleDatabaseExtensions.GetDnsPrivateZoneResource Method

Definition

Gets an object representing a DnsPrivateZoneResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, AzureLocation, String) to create a DnsPrivateZoneResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetDnsPrivateZoneResource(ResourceIdentifier) instead.

public static Azure.ResourceManager.OracleDatabase.DnsPrivateZoneResource GetDnsPrivateZoneResource (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id);
static member GetDnsPrivateZoneResource : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.OracleDatabase.DnsPrivateZoneResource
<Extension()>
Public Function GetDnsPrivateZoneResource (client As ArmClient, id As ResourceIdentifier) As DnsPrivateZoneResource

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a DnsPrivateZoneResource object.

Exceptions

client is null.

Applies to