Class OperatorControlAssignmentClient
Service client instance for OperatorControlAssignment.
Implements
Inherited Members
Namespace: Oci.OperatoraccesscontrolService
Assembly: OCI.DotNetSDK.Operatoraccesscontrol.dll
Syntax
public class OperatorControlAssignmentClient : RegionalClientBase, IDisposable
Constructors
OperatorControlAssignmentClient(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 OperatorControlAssignmentClient(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 OperatorControlAssignmentPaginators Paginators { get; }
Property Value
Type | Description |
---|---|
OperatorControlAssignmentPaginators |
Waiters
Declaration
public OperatorControlAssignmentWaiters Waiters { get; }
Property Value
Type | Description |
---|---|
OperatorControlAssignmentWaiters |
Methods
ChangeOperatorControlAssignmentCompartment(ChangeOperatorControlAssignmentCompartmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Changes the compartment of the specified Operator Control assignment ID.
Declaration
public Task<ChangeOperatorControlAssignmentCompartmentResponse> ChangeOperatorControlAssignmentCompartment(ChangeOperatorControlAssignmentCompartmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ChangeOperatorControlAssignmentCompartmentRequest | 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<ChangeOperatorControlAssignmentCompartmentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ChangeOperatorControlAssignmentCompartment API.
CreateOperatorControlAssignment(CreateOperatorControlAssignmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Creates an Operator Control Assignment resource. In effect, this brings the target resource under the governance of the Operator Control for specified time duration.
Declaration
public Task<CreateOperatorControlAssignmentResponse> CreateOperatorControlAssignment(CreateOperatorControlAssignmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
CreateOperatorControlAssignmentRequest | 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<CreateOperatorControlAssignmentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use CreateOperatorControlAssignment API.
DeleteOperatorControlAssignment(DeleteOperatorControlAssignmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Deletes the specified Operator Control Assignment. This has the effect of unassigning the specific Operator Control from the target resource.
Declaration
public Task<DeleteOperatorControlAssignmentResponse> DeleteOperatorControlAssignment(DeleteOperatorControlAssignmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
DeleteOperatorControlAssignmentRequest | 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<DeleteOperatorControlAssignmentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use DeleteOperatorControlAssignment API.
GetAssignmentValidationStatus(GetAssignmentValidationStatusRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Returns the status of assignment validation associated with the assignmentId and the executionId.
Declaration
public Task<GetAssignmentValidationStatusResponse> GetAssignmentValidationStatus(GetAssignmentValidationStatusRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
GetAssignmentValidationStatusRequest | 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<GetAssignmentValidationStatusResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetAssignmentValidationStatus API.
GetOperatorControlAssignment(GetOperatorControlAssignmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Gets the details of an Operator Control Assignment of the specified ID.
Declaration
public Task<GetOperatorControlAssignmentResponse> GetOperatorControlAssignment(GetOperatorControlAssignmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
GetOperatorControlAssignmentRequest | 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<GetOperatorControlAssignmentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetOperatorControlAssignment API.
ListOperatorControlAssignments(ListOperatorControlAssignmentsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Lists all Operator Control Assignments.
Declaration
public Task<ListOperatorControlAssignmentsResponse> ListOperatorControlAssignments(ListOperatorControlAssignmentsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListOperatorControlAssignmentsRequest | 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<ListOperatorControlAssignmentsResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListOperatorControlAssignments API.
UpdateOperatorControlAssignment(UpdateOperatorControlAssignmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Modifies the existing Operator Control assignment of the specified Operator Control assignment ID. Modifying the assignment does not change the Operator Control assignment ID.
Declaration
public Task<UpdateOperatorControlAssignmentResponse> UpdateOperatorControlAssignment(UpdateOperatorControlAssignmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
UpdateOperatorControlAssignmentRequest | 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<UpdateOperatorControlAssignmentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use UpdateOperatorControlAssignment API.
ValidateOperatorAssignment(ValidateOperatorAssignmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Validates the assignment for the specified Operator Control Assignment ID.
Declaration
public Task<ValidateOperatorAssignmentResponse> ValidateOperatorAssignment(ValidateOperatorAssignmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ValidateOperatorAssignmentRequest | 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<ValidateOperatorAssignmentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ValidateOperatorAssignment API.