Class SecurityAttributePaginators
Collection of helper methods that can be used to provide an enumerator interface to any list operations of SecurityAttribute 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.
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.
Inherited Members
Namespace: Oci.SecurityattributeService
Assembly: OCI.DotNetSDK.Securityattribute.dll
Syntax
public class SecurityAttributePaginators
Constructors
SecurityAttributePaginators(SecurityAttributeClient)
Declaration
public SecurityAttributePaginators(SecurityAttributeClient client)
Parameters
Type | Name | Description |
---|---|---|
SecurityAttributeClient | client |
Methods
ListSecurityAttributeNamespacesRecordEnumerator(ListSecurityAttributeNamespacesRequest, RetryConfiguration, CancellationToken)
Creates a new enumerable which will iterate over the SecurityAttributeNamespaceSummary objects contained in responses from the ListSecurityAttributeNamespaces operation. This enumerable will fetch more data from the server as needed.
Declaration
public IEnumerable<SecurityAttributeNamespaceSummary> ListSecurityAttributeNamespacesRecordEnumerator(ListSecurityAttributeNamespacesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
ListSecurityAttributeNamespacesRequest | 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<SecurityAttributeNamespaceSummary> | The enumerator, which supports a simple iteration over a collection of a specified type |
ListSecurityAttributeNamespacesResponseEnumerator(ListSecurityAttributeNamespacesRequest, RetryConfiguration, CancellationToken)
Creates a new enumerable which will iterate over the responses received from the ListSecurityAttributeNamespaces operation. This enumerable will fetch more data from the server as needed.
Declaration
public IEnumerable<ListSecurityAttributeNamespacesResponse> ListSecurityAttributeNamespacesResponseEnumerator(ListSecurityAttributeNamespacesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
ListSecurityAttributeNamespacesRequest | 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<ListSecurityAttributeNamespacesResponse> | The enumerator, which supports a simple iteration over a collection of a specified type |
ListSecurityAttributeWorkRequestErrorsRecordEnumerator(ListSecurityAttributeWorkRequestErrorsRequest, RetryConfiguration, CancellationToken)
Creates a new enumerable which will iterate over the SecurityAttributeWorkRequestErrorSummary objects contained in responses from the ListSecurityAttributeWorkRequestErrors operation. This enumerable will fetch more data from the server as needed.
Declaration
public IEnumerable<SecurityAttributeWorkRequestErrorSummary> ListSecurityAttributeWorkRequestErrorsRecordEnumerator(ListSecurityAttributeWorkRequestErrorsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
ListSecurityAttributeWorkRequestErrorsRequest | 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<SecurityAttributeWorkRequestErrorSummary> | The enumerator, which supports a simple iteration over a collection of a specified type |
ListSecurityAttributeWorkRequestErrorsResponseEnumerator(ListSecurityAttributeWorkRequestErrorsRequest, RetryConfiguration, CancellationToken)
Creates a new enumerable which will iterate over the responses received from the ListSecurityAttributeWorkRequestErrors operation. This enumerable will fetch more data from the server as needed.
Declaration
public IEnumerable<ListSecurityAttributeWorkRequestErrorsResponse> ListSecurityAttributeWorkRequestErrorsResponseEnumerator(ListSecurityAttributeWorkRequestErrorsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
ListSecurityAttributeWorkRequestErrorsRequest | 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<ListSecurityAttributeWorkRequestErrorsResponse> | The enumerator, which supports a simple iteration over a collection of a specified type |
ListSecurityAttributeWorkRequestLogsRecordEnumerator(ListSecurityAttributeWorkRequestLogsRequest, RetryConfiguration, CancellationToken)
Creates a new enumerable which will iterate over the SecurityAttributeWorkRequestLogSummary objects contained in responses from the ListSecurityAttributeWorkRequestLogs operation. This enumerable will fetch more data from the server as needed.
Declaration
public IEnumerable<SecurityAttributeWorkRequestLogSummary> ListSecurityAttributeWorkRequestLogsRecordEnumerator(ListSecurityAttributeWorkRequestLogsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
ListSecurityAttributeWorkRequestLogsRequest | 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<SecurityAttributeWorkRequestLogSummary> | The enumerator, which supports a simple iteration over a collection of a specified type |
ListSecurityAttributeWorkRequestLogsResponseEnumerator(ListSecurityAttributeWorkRequestLogsRequest, RetryConfiguration, CancellationToken)
Creates a new enumerable which will iterate over the responses received from the ListSecurityAttributeWorkRequestLogs operation. This enumerable will fetch more data from the server as needed.
Declaration
public IEnumerable<ListSecurityAttributeWorkRequestLogsResponse> ListSecurityAttributeWorkRequestLogsResponseEnumerator(ListSecurityAttributeWorkRequestLogsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
ListSecurityAttributeWorkRequestLogsRequest | 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<ListSecurityAttributeWorkRequestLogsResponse> | The enumerator, which supports a simple iteration over a collection of a specified type |
ListSecurityAttributeWorkRequestsRecordEnumerator(ListSecurityAttributeWorkRequestsRequest, RetryConfiguration, CancellationToken)
Creates a new enumerable which will iterate over the SecurityAttributeWorkRequestSummary objects contained in responses from the ListSecurityAttributeWorkRequests operation. This enumerable will fetch more data from the server as needed.
Declaration
public IEnumerable<SecurityAttributeWorkRequestSummary> ListSecurityAttributeWorkRequestsRecordEnumerator(ListSecurityAttributeWorkRequestsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
ListSecurityAttributeWorkRequestsRequest | 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<SecurityAttributeWorkRequestSummary> | The enumerator, which supports a simple iteration over a collection of a specified type |
ListSecurityAttributeWorkRequestsResponseEnumerator(ListSecurityAttributeWorkRequestsRequest, RetryConfiguration, CancellationToken)
Creates a new enumerable which will iterate over the responses received from the ListSecurityAttributeWorkRequests operation. This enumerable will fetch more data from the server as needed.
Declaration
public IEnumerable<ListSecurityAttributeWorkRequestsResponse> ListSecurityAttributeWorkRequestsResponseEnumerator(ListSecurityAttributeWorkRequestsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
ListSecurityAttributeWorkRequestsRequest | 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<ListSecurityAttributeWorkRequestsResponse> | The enumerator, which supports a simple iteration over a collection of a specified type |
ListSecurityAttributesRecordEnumerator(ListSecurityAttributesRequest, RetryConfiguration, CancellationToken)
Creates a new enumerable which will iterate over the SecurityAttributeSummary objects contained in responses from the ListSecurityAttributes operation. This enumerable will fetch more data from the server as needed.
Declaration
public IEnumerable<SecurityAttributeSummary> ListSecurityAttributesRecordEnumerator(ListSecurityAttributesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
ListSecurityAttributesRequest | 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<SecurityAttributeSummary> | The enumerator, which supports a simple iteration over a collection of a specified type |
ListSecurityAttributesResponseEnumerator(ListSecurityAttributesRequest, RetryConfiguration, CancellationToken)
Creates a new enumerable which will iterate over the responses received from the ListSecurityAttributes operation. This enumerable will fetch more data from the server as needed.
Declaration
public IEnumerable<ListSecurityAttributesResponse> ListSecurityAttributesResponseEnumerator(ListSecurityAttributesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
ListSecurityAttributesRequest | 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<ListSecurityAttributesResponse> | The enumerator, which supports a simple iteration over a collection of a specified type |