Condividi tramite


DbServerCollection Class

Definition

A class representing a collection of DbServerResource and their operations. Each DbServerResource in the collection will belong to the same instance of CloudExadataInfrastructureResource. To get a DbServerCollection instance call the GetDbServers method from an instance of CloudExadataInfrastructureResource.

public class DbServerCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.OracleDatabase.DbServerResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.OracleDatabase.DbServerResource>
type DbServerCollection = class
    inherit ArmCollection
    interface seq<DbServerResource>
    interface IEnumerable
    interface IAsyncEnumerable<DbServerResource>
Public Class DbServerCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of DbServerResource), IEnumerable(Of DbServerResource)
Inheritance
DbServerCollection
Implements

Constructors

DbServerCollection()

Initializes a new instance of the DbServerCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudExadataInfrastructures/{cloudexadatainfrastructurename}/dbServers/{dbserverocid}
  • Operation Id: DbServers_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: DbServerResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudExadataInfrastructures/{cloudexadatainfrastructurename}/dbServers/{dbserverocid}
  • Operation Id: DbServers_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: DbServerResource
Get(String, CancellationToken)

Get a DbServer

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudExadataInfrastructures/{cloudexadatainfrastructurename}/dbServers/{dbserverocid}
  • Operation Id: DbServers_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: DbServerResource
GetAll(CancellationToken)

List DbServer resources by CloudExadataInfrastructure

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudExadataInfrastructures/{cloudexadatainfrastructurename}/dbServers
  • Operation Id: DbServers_ListByCloudExadataInfrastructure
  • Default Api Version: 2023-09-01-preview
  • Resource: DbServerResource
GetAllAsync(CancellationToken)

List DbServer resources by CloudExadataInfrastructure

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudExadataInfrastructures/{cloudexadatainfrastructurename}/dbServers
  • Operation Id: DbServers_ListByCloudExadataInfrastructure
  • Default Api Version: 2023-09-01-preview
  • Resource: DbServerResource
GetAsync(String, CancellationToken)

Get a DbServer

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudExadataInfrastructures/{cloudexadatainfrastructurename}/dbServers/{dbserverocid}
  • Operation Id: DbServers_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: DbServerResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudExadataInfrastructures/{cloudexadatainfrastructurename}/dbServers/{dbserverocid}
  • Operation Id: DbServers_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: DbServerResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudExadataInfrastructures/{cloudexadatainfrastructurename}/dbServers/{dbserverocid}
  • Operation Id: DbServers_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: DbServerResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<DbServerResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DbServerResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to