Dela via


OracleDatabaseExtensions.GetAutonomousDatabases Method

Definition

Overloads

GetAutonomousDatabases(ResourceGroupResource)

Gets a collection of AutonomousDatabaseResources in the ResourceGroupResource. MockingTo mock this method, please mock GetAutonomousDatabases() instead.

GetAutonomousDatabases(SubscriptionResource, CancellationToken)

List AutonomousDatabase resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Oracle.Database/autonomousDatabases
  • Operation Id: AutonomousDatabases_ListBySubscription
  • Default Api Version: 2023-09-01
  • Resource: AutonomousDatabaseResource

GetAutonomousDatabases(ResourceGroupResource)

Source:
OracleDatabaseExtensions.cs
Source:
OracleDatabaseExtensions.cs

Gets a collection of AutonomousDatabaseResources in the ResourceGroupResource. MockingTo mock this method, please mock GetAutonomousDatabases() instead.

public static Azure.ResourceManager.OracleDatabase.AutonomousDatabaseCollection GetAutonomousDatabases (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetAutonomousDatabases : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.OracleDatabase.AutonomousDatabaseCollection
<Extension()>
Public Function GetAutonomousDatabases (resourceGroupResource As ResourceGroupResource) As AutonomousDatabaseCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of AutonomousDatabaseResources and their operations over a AutonomousDatabaseResource.

Exceptions

resourceGroupResource is null.

Applies to

GetAutonomousDatabases(SubscriptionResource, CancellationToken)

Source:
OracleDatabaseExtensions.cs
Source:
OracleDatabaseExtensions.cs

List AutonomousDatabase resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Oracle.Database/autonomousDatabases
  • Operation Id: AutonomousDatabases_ListBySubscription
  • Default Api Version: 2023-09-01
  • Resource: AutonomousDatabaseResource
public static Azure.Pageable<Azure.ResourceManager.OracleDatabase.AutonomousDatabaseResource> GetAutonomousDatabases (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetAutonomousDatabases : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.OracleDatabase.AutonomousDatabaseResource>
<Extension()>
Public Function GetAutonomousDatabases (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of AutonomousDatabaseResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of AutonomousDatabaseResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to