Show / Hide Table of Contents

Class AccessGovernanceCPClient

Service client instance for AccessGovernanceCP.

Inheritance
object
ClientBase
RegionalClientBase
AccessGovernanceCPClient
Implements
IDisposable
Inherited Members
RegionalClientBase.logger
RegionalClientBase.SetRegion(Region)
RegionalClientBase.SetRegion(string)
RegionalClientBase.UseRealmSpecificEndpointTemplate(bool)
RegionalClientBase.PopulateServiceParametersInEndpointTemplate(RestClient, Dictionary<string, object>)
RegionalClientBase.parseEndpointForParameters(string)
ClientBase.restClient
ClientBase.service
ClientBase.userAgent
ClientBase.Dispose()
ClientBase.Dispose(bool)
ClientBase.SetEndpoint(string)
ClientBase.GetEndpoint()
ClientBase.GetUserAgent()
ClientBase.SetRealmSpecificEndpointTemplate(string)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.AccessgovernancecpService
Assembly: OCI.DotNetSDK.Accessgovernancecp.dll
Syntax
public class AccessGovernanceCPClient : RegionalClientBase, IDisposable

Constructors

AccessGovernanceCPClient(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 AccessGovernanceCPClient(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 AccessGovernanceCPPaginators Paginators { get; }
Property Value
Type Description
AccessGovernanceCPPaginators

Waiters

Declaration
public AccessGovernanceCPWaiters Waiters { get; }
Property Value
Type Description
AccessGovernanceCPWaiters

Methods

ChangeGovernanceInstanceCompartment(ChangeGovernanceInstanceCompartmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Moves a GovernanceInstance resource from one compartment identifier to another. When provided, If-Match is checked against ETag values of the resource.

Declaration
public Task<ChangeGovernanceInstanceCompartmentResponse> ChangeGovernanceInstanceCompartment(ChangeGovernanceInstanceCompartmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ChangeGovernanceInstanceCompartmentRequest 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<ChangeGovernanceInstanceCompartmentResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ChangeGovernanceInstanceCompartment API.

CreateGovernanceInstance(CreateGovernanceInstanceRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Creates a new GovernanceInstance.

Declaration
public Task<CreateGovernanceInstanceResponse> CreateGovernanceInstance(CreateGovernanceInstanceRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
CreateGovernanceInstanceRequest 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<CreateGovernanceInstanceResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use CreateGovernanceInstance API.

DeleteGovernanceInstance(DeleteGovernanceInstanceRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Deletes an existing GovernanceInstance.

Declaration
public Task<DeleteGovernanceInstanceResponse> DeleteGovernanceInstance(DeleteGovernanceInstanceRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
DeleteGovernanceInstanceRequest 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<DeleteGovernanceInstanceResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use DeleteGovernanceInstance API.

GetGovernanceInstance(GetGovernanceInstanceRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Gets a GovernanceInstance by OCID.

Declaration
public Task<GetGovernanceInstanceResponse> GetGovernanceInstance(GetGovernanceInstanceRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
GetGovernanceInstanceRequest 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<GetGovernanceInstanceResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use GetGovernanceInstance API.

GetGovernanceInstanceConfiguration(GetGovernanceInstanceConfigurationRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Gets the tenancy-wide configuration for GovernanceInstances

Declaration
public Task<GetGovernanceInstanceConfigurationResponse> GetGovernanceInstanceConfiguration(GetGovernanceInstanceConfigurationRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
GetGovernanceInstanceConfigurationRequest 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<GetGovernanceInstanceConfigurationResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use GetGovernanceInstanceConfiguration API.

ListGovernanceInstances(ListGovernanceInstancesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Returns a list of Governance Instances.

Declaration
public Task<ListGovernanceInstancesResponse> ListGovernanceInstances(ListGovernanceInstancesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
ListGovernanceInstancesRequest 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<ListGovernanceInstancesResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use ListGovernanceInstances API.

UpdateGovernanceInstance(UpdateGovernanceInstanceRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Updates the GovernanceInstance.

Declaration
public Task<UpdateGovernanceInstanceResponse> UpdateGovernanceInstance(UpdateGovernanceInstanceRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
UpdateGovernanceInstanceRequest 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<UpdateGovernanceInstanceResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use UpdateGovernanceInstance API.

UpdateGovernanceInstanceConfiguration(UpdateGovernanceInstanceConfigurationRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)

Updates the tenancy-wide configuration for GovernanceInstances

Declaration
public Task<UpdateGovernanceInstanceConfigurationResponse> UpdateGovernanceInstanceConfiguration(UpdateGovernanceInstanceConfigurationRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type Name Description
UpdateGovernanceInstanceConfigurationRequest 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<UpdateGovernanceInstanceConfigurationResponse>

A response object containing details about the completed operation

Examples

Click here to see an example of how to use UpdateGovernanceInstanceConfiguration API.

Implements

IDisposable
In this article
Back to top