Share via


OracleDatabaseExtensions.GetAutonomousDBVersionResource Method

Definition

Gets an object representing an Azure.ResourceManager.OracleDatabase.AutonomousDBVersionResource along with the instance operations that can be performed on it but with no data. You can use Azure.ResourceManager.OracleDatabase.AutonomousDBVersionResource.CreateResourceIdentifier(System.String,Azure.Core.AzureLocation,System.String) to create an Azure.ResourceManager.OracleDatabase.AutonomousDBVersionResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetAutonomousDBVersionResource(ResourceIdentifier) instead.

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Azure.ResourceManager.OracleDatabase.AutonomousDBVersionResource

Returns a Azure.ResourceManager.OracleDatabase.AutonomousDBVersionResource object.

Exceptions

client is null.

Applies to