Condividi tramite


DbNodeCollection Class

Definition

A class representing a collection of DbNodeResource and their operations. Each DbNodeResource in the collection will belong to the same instance of CloudVmClusterResource. To get a DbNodeCollection instance call the GetDbNodes method from an instance of CloudVmClusterResource.

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

Constructors

DbNodeCollection()

Initializes a new instance of the DbNodeCollection 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/cloudVmClusters/{cloudvmclustername}/dbNodes/{dbnodeocid}
  • Operation Id: DbNodes_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: DbNodeResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudVmClusters/{cloudvmclustername}/dbNodes/{dbnodeocid}
  • Operation Id: DbNodes_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: DbNodeResource
Get(String, CancellationToken)

Get a DbNode

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudVmClusters/{cloudvmclustername}/dbNodes/{dbnodeocid}
  • Operation Id: DbNodes_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: DbNodeResource
GetAll(CancellationToken)

List DbNode resources by CloudVmCluster

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudVmClusters/{cloudvmclustername}/dbNodes
  • Operation Id: DbNodes_ListByCloudVmCluster
  • Default Api Version: 2023-09-01-preview
  • Resource: DbNodeResource
GetAllAsync(CancellationToken)

List DbNode resources by CloudVmCluster

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudVmClusters/{cloudvmclustername}/dbNodes
  • Operation Id: DbNodes_ListByCloudVmCluster
  • Default Api Version: 2023-09-01-preview
  • Resource: DbNodeResource
GetAsync(String, CancellationToken)

Get a DbNode

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudVmClusters/{cloudvmclustername}/dbNodes/{dbnodeocid}
  • Operation Id: DbNodes_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: DbNodeResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudVmClusters/{cloudvmclustername}/dbNodes/{dbnodeocid}
  • Operation Id: DbNodes_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: DbNodeResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Oracle.Database/cloudVmClusters/{cloudvmclustername}/dbNodes/{dbnodeocid}
  • Operation Id: DbNodes_Get
  • Default Api Version: 2023-09-01-preview
  • Resource: DbNodeResource
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<DbNodeResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DbNodeResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to