Show / Hide Table of Contents

Class ManagedInstanceGroupPaginators

Collection of helper methods that can be used to provide an enumerator interface to any list operations of ManagedInstanceGroup 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
ManagedInstanceGroupPaginators
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.OsmanagementhubService
Assembly: OCI.DotNetSDK.Osmanagementhub.dll
Syntax
public class ManagedInstanceGroupPaginators

Constructors

ManagedInstanceGroupPaginators(ManagedInstanceGroupClient)

Declaration
public ManagedInstanceGroupPaginators(ManagedInstanceGroupClient client)
Parameters
Type Name Description
ManagedInstanceGroupClient client

Methods

ListManagedInstanceGroupAvailableModulesRecordEnumerator(ListManagedInstanceGroupAvailableModulesRequest, RetryConfiguration, CancellationToken)

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

Declaration
public IEnumerable<ManagedInstanceGroupAvailableModuleSummary> ListManagedInstanceGroupAvailableModulesRecordEnumerator(ListManagedInstanceGroupAvailableModulesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListManagedInstanceGroupAvailableModulesRequest 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<ManagedInstanceGroupAvailableModuleSummary>

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

ListManagedInstanceGroupAvailableModulesResponseEnumerator(ListManagedInstanceGroupAvailableModulesRequest, RetryConfiguration, CancellationToken)

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

Declaration
public IEnumerable<ListManagedInstanceGroupAvailableModulesResponse> ListManagedInstanceGroupAvailableModulesResponseEnumerator(ListManagedInstanceGroupAvailableModulesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListManagedInstanceGroupAvailableModulesRequest 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<ListManagedInstanceGroupAvailableModulesResponse>

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

ListManagedInstanceGroupAvailablePackagesRecordEnumerator(ListManagedInstanceGroupAvailablePackagesRequest, RetryConfiguration, CancellationToken)

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

Declaration
public IEnumerable<ManagedInstanceGroupAvailablePackageSummary> ListManagedInstanceGroupAvailablePackagesRecordEnumerator(ListManagedInstanceGroupAvailablePackagesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListManagedInstanceGroupAvailablePackagesRequest 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<ManagedInstanceGroupAvailablePackageSummary>

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

ListManagedInstanceGroupAvailablePackagesResponseEnumerator(ListManagedInstanceGroupAvailablePackagesRequest, RetryConfiguration, CancellationToken)

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

Declaration
public IEnumerable<ListManagedInstanceGroupAvailablePackagesResponse> ListManagedInstanceGroupAvailablePackagesResponseEnumerator(ListManagedInstanceGroupAvailablePackagesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListManagedInstanceGroupAvailablePackagesRequest 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<ListManagedInstanceGroupAvailablePackagesResponse>

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

ListManagedInstanceGroupAvailableSoftwareSourcesRecordEnumerator(ListManagedInstanceGroupAvailableSoftwareSourcesRequest, RetryConfiguration, CancellationToken)

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

Declaration
public IEnumerable<AvailableSoftwareSourceSummary> ListManagedInstanceGroupAvailableSoftwareSourcesRecordEnumerator(ListManagedInstanceGroupAvailableSoftwareSourcesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListManagedInstanceGroupAvailableSoftwareSourcesRequest 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<AvailableSoftwareSourceSummary>

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

ListManagedInstanceGroupAvailableSoftwareSourcesResponseEnumerator(ListManagedInstanceGroupAvailableSoftwareSourcesRequest, RetryConfiguration, CancellationToken)

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

Declaration
public IEnumerable<ListManagedInstanceGroupAvailableSoftwareSourcesResponse> ListManagedInstanceGroupAvailableSoftwareSourcesResponseEnumerator(ListManagedInstanceGroupAvailableSoftwareSourcesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListManagedInstanceGroupAvailableSoftwareSourcesRequest 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<ListManagedInstanceGroupAvailableSoftwareSourcesResponse>

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

ListManagedInstanceGroupInstalledPackagesRecordEnumerator(ListManagedInstanceGroupInstalledPackagesRequest, RetryConfiguration, CancellationToken)

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

Declaration
public IEnumerable<ManagedInstanceGroupInstalledPackageSummary> ListManagedInstanceGroupInstalledPackagesRecordEnumerator(ListManagedInstanceGroupInstalledPackagesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListManagedInstanceGroupInstalledPackagesRequest 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<ManagedInstanceGroupInstalledPackageSummary>

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

ListManagedInstanceGroupInstalledPackagesResponseEnumerator(ListManagedInstanceGroupInstalledPackagesRequest, RetryConfiguration, CancellationToken)

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

Declaration
public IEnumerable<ListManagedInstanceGroupInstalledPackagesResponse> ListManagedInstanceGroupInstalledPackagesResponseEnumerator(ListManagedInstanceGroupInstalledPackagesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListManagedInstanceGroupInstalledPackagesRequest 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<ListManagedInstanceGroupInstalledPackagesResponse>

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

ListManagedInstanceGroupModulesRecordEnumerator(ListManagedInstanceGroupModulesRequest, RetryConfiguration, CancellationToken)

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

Declaration
public IEnumerable<ManagedInstanceGroupModuleSummary> ListManagedInstanceGroupModulesRecordEnumerator(ListManagedInstanceGroupModulesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListManagedInstanceGroupModulesRequest 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<ManagedInstanceGroupModuleSummary>

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

ListManagedInstanceGroupModulesResponseEnumerator(ListManagedInstanceGroupModulesRequest, RetryConfiguration, CancellationToken)

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

Declaration
public IEnumerable<ListManagedInstanceGroupModulesResponse> ListManagedInstanceGroupModulesResponseEnumerator(ListManagedInstanceGroupModulesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListManagedInstanceGroupModulesRequest 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<ListManagedInstanceGroupModulesResponse>

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

ListManagedInstanceGroupsRecordEnumerator(ListManagedInstanceGroupsRequest, RetryConfiguration, CancellationToken)

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

Declaration
public IEnumerable<ManagedInstanceGroupSummary> ListManagedInstanceGroupsRecordEnumerator(ListManagedInstanceGroupsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListManagedInstanceGroupsRequest 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<ManagedInstanceGroupSummary>

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

ListManagedInstanceGroupsResponseEnumerator(ListManagedInstanceGroupsRequest, RetryConfiguration, CancellationToken)

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

Declaration
public IEnumerable<ListManagedInstanceGroupsResponse> ListManagedInstanceGroupsResponseEnumerator(ListManagedInstanceGroupsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListManagedInstanceGroupsRequest 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<ListManagedInstanceGroupsResponse>

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

In this article
Back to top