Show / Hide Table of Contents

Class ManagedMySqlDatabasesPaginators

Collection of helper methods that can be used to provide an enumerator interface to any list operations of ManagedMySqlDatabases where multiple pages of data may be fetched. Two styles of enumerators are supported:

  • Enumerating over the Response objects returned by the list operation. These are referred to as ResponseEnumerators, and the methods are suffixed with ResponseEnumerator. For example: listUsersResponseEnumerator.
  • Enumerating over the resources/records being listed. These are referred to as RecordEnumerators, and the methods are suffixed with RecordEnumerator. For example: listUsersRecordEnumerator.
These enumerators abstract away the need to write code to manually handle pagination via looping and using the page tokens. They will automatically fetch more data from the service when required.

As an example, if we were using the ListUsers operation in IdentityService, then the iterator returned by calling a ResponseEnumerator method would iterate over the ListUsersResponse objects returned by each ListUsers call, whereas the enumerables returned by calling a RecordEnumerator method would iterate over the User records and we don't have to deal with ListUsersResponse objects at all. In either case, pagination will be automatically handled so we can iterate until there are no more responses or no more resources/records available.
Inheritance
object
ManagedMySqlDatabasesPaginators
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DatabasemanagementService
Assembly: OCI.DotNetSDK.Databasemanagement.dll
Syntax
public class ManagedMySqlDatabasesPaginators

Constructors

ManagedMySqlDatabasesPaginators(ManagedMySqlDatabasesClient)

Declaration
public ManagedMySqlDatabasesPaginators(ManagedMySqlDatabasesClient client)
Parameters
Type Name Description
ManagedMySqlDatabasesClient client

Methods

ListHighAvailabilityMembersRecordEnumerator(ListHighAvailabilityMembersRequest, RetryConfiguration, CancellationToken)

Creates a new enumerable which will iterate over the ManagedMySqlDatabaseHighAvailabilityMemberSummary objects contained in responses from the ListHighAvailabilityMembers operation. This enumerable will fetch more data from the server as needed.

Declaration
public IEnumerable<ManagedMySqlDatabaseHighAvailabilityMemberSummary> ListHighAvailabilityMembersRecordEnumerator(ListHighAvailabilityMembersRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListHighAvailabilityMembersRequest request

The request object containing the details to send

RetryConfiguration retryConfiguration

The configuration for retrying, may be null

CancellationToken cancellationToken

The cancellation token object

Returns
Type Description
IEnumerable<ManagedMySqlDatabaseHighAvailabilityMemberSummary>

The enumerator, which supports a simple iteration over a collection of a specified type

ListHighAvailabilityMembersResponseEnumerator(ListHighAvailabilityMembersRequest, RetryConfiguration, CancellationToken)

Creates a new enumerable which will iterate over the responses received from the ListHighAvailabilityMembers operation. This enumerable will fetch more data from the server as needed.

Declaration
public IEnumerable<ListHighAvailabilityMembersResponse> ListHighAvailabilityMembersResponseEnumerator(ListHighAvailabilityMembersRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListHighAvailabilityMembersRequest request

The request object containing the details to send

RetryConfiguration retryConfiguration

The configuration for retrying, may be null

CancellationToken cancellationToken

The cancellation token object

Returns
Type Description
IEnumerable<ListHighAvailabilityMembersResponse>

The enumerator, which supports a simple iteration over a collection of a specified type

ListInboundReplicationsRecordEnumerator(ListInboundReplicationsRequest, RetryConfiguration, CancellationToken)

Creates a new enumerable which will iterate over the ManagedMySqlDatabaseInboundReplicationSummary objects contained in responses from the ListInboundReplications operation. This enumerable will fetch more data from the server as needed.

Declaration
public IEnumerable<ManagedMySqlDatabaseInboundReplicationSummary> ListInboundReplicationsRecordEnumerator(ListInboundReplicationsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListInboundReplicationsRequest request

The request object containing the details to send

RetryConfiguration retryConfiguration

The configuration for retrying, may be null

CancellationToken cancellationToken

The cancellation token object

Returns
Type Description
IEnumerable<ManagedMySqlDatabaseInboundReplicationSummary>

The enumerator, which supports a simple iteration over a collection of a specified type

ListInboundReplicationsResponseEnumerator(ListInboundReplicationsRequest, RetryConfiguration, CancellationToken)

Creates a new enumerable which will iterate over the responses received from the ListInboundReplications operation. This enumerable will fetch more data from the server as needed.

Declaration
public IEnumerable<ListInboundReplicationsResponse> ListInboundReplicationsResponseEnumerator(ListInboundReplicationsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListInboundReplicationsRequest request

The request object containing the details to send

RetryConfiguration retryConfiguration

The configuration for retrying, may be null

CancellationToken cancellationToken

The cancellation token object

Returns
Type Description
IEnumerable<ListInboundReplicationsResponse>

The enumerator, which supports a simple iteration over a collection of a specified type

ListManagedMySqlDatabaseConfigurationDataRecordEnumerator(ListManagedMySqlDatabaseConfigurationDataRequest, RetryConfiguration, CancellationToken)

Creates a new enumerable which will iterate over the MySqlConfigurationDataSummary objects contained in responses from the ListManagedMySqlDatabaseConfigurationData operation. This enumerable will fetch more data from the server as needed.

Declaration
public IEnumerable<MySqlConfigurationDataSummary> ListManagedMySqlDatabaseConfigurationDataRecordEnumerator(ListManagedMySqlDatabaseConfigurationDataRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListManagedMySqlDatabaseConfigurationDataRequest request

The request object containing the details to send

RetryConfiguration retryConfiguration

The configuration for retrying, may be null

CancellationToken cancellationToken

The cancellation token object

Returns
Type Description
IEnumerable<MySqlConfigurationDataSummary>

The enumerator, which supports a simple iteration over a collection of a specified type

ListManagedMySqlDatabaseConfigurationDataResponseEnumerator(ListManagedMySqlDatabaseConfigurationDataRequest, RetryConfiguration, CancellationToken)

Creates a new enumerable which will iterate over the responses received from the ListManagedMySqlDatabaseConfigurationData operation. This enumerable will fetch more data from the server as needed.

Declaration
public IEnumerable<ListManagedMySqlDatabaseConfigurationDataResponse> ListManagedMySqlDatabaseConfigurationDataResponseEnumerator(ListManagedMySqlDatabaseConfigurationDataRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListManagedMySqlDatabaseConfigurationDataRequest request

The request object containing the details to send

RetryConfiguration retryConfiguration

The configuration for retrying, may be null

CancellationToken cancellationToken

The cancellation token object

Returns
Type Description
IEnumerable<ListManagedMySqlDatabaseConfigurationDataResponse>

The enumerator, which supports a simple iteration over a collection of a specified type

ListManagedMySqlDatabaseSqlDataRecordEnumerator(ListManagedMySqlDatabaseSqlDataRequest, RetryConfiguration, CancellationToken)

Creates a new enumerable which will iterate over the MySqlDataSummary objects contained in responses from the ListManagedMySqlDatabaseSqlData operation. This enumerable will fetch more data from the server as needed.

Declaration
public IEnumerable<MySqlDataSummary> ListManagedMySqlDatabaseSqlDataRecordEnumerator(ListManagedMySqlDatabaseSqlDataRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListManagedMySqlDatabaseSqlDataRequest request

The request object containing the details to send

RetryConfiguration retryConfiguration

The configuration for retrying, may be null

CancellationToken cancellationToken

The cancellation token object

Returns
Type Description
IEnumerable<MySqlDataSummary>

The enumerator, which supports a simple iteration over a collection of a specified type

ListManagedMySqlDatabaseSqlDataResponseEnumerator(ListManagedMySqlDatabaseSqlDataRequest, RetryConfiguration, CancellationToken)

Creates a new enumerable which will iterate over the responses received from the ListManagedMySqlDatabaseSqlData operation. This enumerable will fetch more data from the server as needed.

Declaration
public IEnumerable<ListManagedMySqlDatabaseSqlDataResponse> ListManagedMySqlDatabaseSqlDataResponseEnumerator(ListManagedMySqlDatabaseSqlDataRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListManagedMySqlDatabaseSqlDataRequest request

The request object containing the details to send

RetryConfiguration retryConfiguration

The configuration for retrying, may be null

CancellationToken cancellationToken

The cancellation token object

Returns
Type Description
IEnumerable<ListManagedMySqlDatabaseSqlDataResponse>

The enumerator, which supports a simple iteration over a collection of a specified type

ListManagedMySqlDatabasesRecordEnumerator(ListManagedMySqlDatabasesRequest, RetryConfiguration, CancellationToken)

Creates a new enumerable which will iterate over the ManagedMySqlDatabaseSummary objects contained in responses from the ListManagedMySqlDatabases operation. This enumerable will fetch more data from the server as needed.

Declaration
public IEnumerable<ManagedMySqlDatabaseSummary> ListManagedMySqlDatabasesRecordEnumerator(ListManagedMySqlDatabasesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListManagedMySqlDatabasesRequest request

The request object containing the details to send

RetryConfiguration retryConfiguration

The configuration for retrying, may be null

CancellationToken cancellationToken

The cancellation token object

Returns
Type Description
IEnumerable<ManagedMySqlDatabaseSummary>

The enumerator, which supports a simple iteration over a collection of a specified type

ListManagedMySqlDatabasesResponseEnumerator(ListManagedMySqlDatabasesRequest, RetryConfiguration, CancellationToken)

Creates a new enumerable which will iterate over the responses received from the ListManagedMySqlDatabases operation. This enumerable will fetch more data from the server as needed.

Declaration
public IEnumerable<ListManagedMySqlDatabasesResponse> ListManagedMySqlDatabasesResponseEnumerator(ListManagedMySqlDatabasesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListManagedMySqlDatabasesRequest request

The request object containing the details to send

RetryConfiguration retryConfiguration

The configuration for retrying, may be null

CancellationToken cancellationToken

The cancellation token object

Returns
Type Description
IEnumerable<ListManagedMySqlDatabasesResponse>

The enumerator, which supports a simple iteration over a collection of a specified type

ListMySqlDigestErrorsRecordEnumerator(ListMySqlDigestErrorsRequest, RetryConfiguration, CancellationToken)

Creates a new enumerable which will iterate over the MySqlDigestErrorSummary objects contained in responses from the ListMySqlDigestErrors operation. This enumerable will fetch more data from the server as needed.

Declaration
public IEnumerable<MySqlDigestErrorSummary> ListMySqlDigestErrorsRecordEnumerator(ListMySqlDigestErrorsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListMySqlDigestErrorsRequest request

The request object containing the details to send

RetryConfiguration retryConfiguration

The configuration for retrying, may be null

CancellationToken cancellationToken

The cancellation token object

Returns
Type Description
IEnumerable<MySqlDigestErrorSummary>

The enumerator, which supports a simple iteration over a collection of a specified type

ListMySqlDigestErrorsResponseEnumerator(ListMySqlDigestErrorsRequest, RetryConfiguration, CancellationToken)

Creates a new enumerable which will iterate over the responses received from the ListMySqlDigestErrors operation. This enumerable will fetch more data from the server as needed.

Declaration
public IEnumerable<ListMySqlDigestErrorsResponse> ListMySqlDigestErrorsResponseEnumerator(ListMySqlDigestErrorsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListMySqlDigestErrorsRequest request

The request object containing the details to send

RetryConfiguration retryConfiguration

The configuration for retrying, may be null

CancellationToken cancellationToken

The cancellation token object

Returns
Type Description
IEnumerable<ListMySqlDigestErrorsResponse>

The enumerator, which supports a simple iteration over a collection of a specified type

ListOutboundReplicationsRecordEnumerator(ListOutboundReplicationsRequest, RetryConfiguration, CancellationToken)

Creates a new enumerable which will iterate over the ManagedMySqlDatabaseOutboundReplicationSummary objects contained in responses from the ListOutboundReplications operation. This enumerable will fetch more data from the server as needed.

Declaration
public IEnumerable<ManagedMySqlDatabaseOutboundReplicationSummary> ListOutboundReplicationsRecordEnumerator(ListOutboundReplicationsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListOutboundReplicationsRequest request

The request object containing the details to send

RetryConfiguration retryConfiguration

The configuration for retrying, may be null

CancellationToken cancellationToken

The cancellation token object

Returns
Type Description
IEnumerable<ManagedMySqlDatabaseOutboundReplicationSummary>

The enumerator, which supports a simple iteration over a collection of a specified type

ListOutboundReplicationsResponseEnumerator(ListOutboundReplicationsRequest, RetryConfiguration, CancellationToken)

Creates a new enumerable which will iterate over the responses received from the ListOutboundReplications operation. This enumerable will fetch more data from the server as needed.

Declaration
public IEnumerable<ListOutboundReplicationsResponse> ListOutboundReplicationsResponseEnumerator(ListOutboundReplicationsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListOutboundReplicationsRequest request

The request object containing the details to send

RetryConfiguration retryConfiguration

The configuration for retrying, may be null

CancellationToken cancellationToken

The cancellation token object

Returns
Type Description
IEnumerable<ListOutboundReplicationsResponse>

The enumerator, which supports a simple iteration over a collection of a specified type

In this article
Back to top