Class PrivilegedApiControlClient
Service client instance for PrivilegedApiControl.
Implements
Inherited Members
Namespace: Oci.ApiaccesscontrolService
Assembly: OCI.DotNetSDK.Apiaccesscontrol.dll
Syntax
public class PrivilegedApiControlClient : RegionalClientBase, IDisposable
Constructors
PrivilegedApiControlClient(IBasicAuthenticationDetailsProvider, ClientConfiguration, string)
Creates a new service instance using the given authentication provider and/or client configuration and/or endpoint. A client configuration can also be provided optionally to adjust REST client behaviors.
Declaration
public PrivilegedApiControlClient(IBasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration clientConfiguration = null, string endpoint = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IBasicAuthenticationDetailsProvider | authenticationDetailsProvider | The authentication details provider. Required. |
| ClientConfiguration | clientConfiguration | The client configuration that contains settings to adjust REST client behaviors. Optional. |
| string | endpoint | The endpoint of the service. If not provided and the client is a regional client, the endpoint will be constructed based on region information. Optional. |
Properties
Paginators
Declaration
public PrivilegedApiControlPaginators Paginators { get; }
Property Value
| Type | Description |
|---|---|
| PrivilegedApiControlPaginators |
Waiters
Declaration
public PrivilegedApiControlWaiters Waiters { get; }
Property Value
| Type | Description |
|---|---|
| PrivilegedApiControlWaiters |
Methods
ChangePrivilegedApiControlCompartment(ChangePrivilegedApiControlCompartmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Moves a PrivilegedApiControl into a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment.
Declaration
public Task<ChangePrivilegedApiControlCompartmentResponse> ChangePrivilegedApiControlCompartment(ChangePrivilegedApiControlCompartmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| ChangePrivilegedApiControlCompartmentRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<ChangePrivilegedApiControlCompartmentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ChangePrivilegedApiControlCompartment API.
CreatePrivilegedApiControl(CreatePrivilegedApiControlRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Creates a PrivilegedApiControl.
Declaration
public Task<CreatePrivilegedApiControlResponse> CreatePrivilegedApiControl(CreatePrivilegedApiControlRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| CreatePrivilegedApiControlRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<CreatePrivilegedApiControlResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use CreatePrivilegedApiControl API.
DeletePrivilegedApiControl(DeletePrivilegedApiControlRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Deletes a PrivilegedApiControl.
Declaration
public Task<DeletePrivilegedApiControlResponse> DeletePrivilegedApiControl(DeletePrivilegedApiControlRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| DeletePrivilegedApiControlRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<DeletePrivilegedApiControlResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use DeletePrivilegedApiControl API.
GetPrivilegedApiControl(GetPrivilegedApiControlRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Gets information about a PrivilegedApiControl.
Declaration
public Task<GetPrivilegedApiControlResponse> GetPrivilegedApiControl(GetPrivilegedApiControlRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| GetPrivilegedApiControlRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<GetPrivilegedApiControlResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetPrivilegedApiControl API.
ListPrivilegedApiControls(ListPrivilegedApiControlsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Gets a list of PrivilegedApiControls.
Declaration
public Task<ListPrivilegedApiControlsResponse> ListPrivilegedApiControls(ListPrivilegedApiControlsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| ListPrivilegedApiControlsRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<ListPrivilegedApiControlsResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListPrivilegedApiControls API.
UpdatePrivilegedApiControl(UpdatePrivilegedApiControlRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Updates a PrivilegedApiControl.
Declaration
public Task<UpdatePrivilegedApiControlResponse> UpdatePrivilegedApiControl(UpdatePrivilegedApiControlRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdatePrivilegedApiControlRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<UpdatePrivilegedApiControlResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use UpdatePrivilegedApiControl API.