Class ProductInternalClient
Service client instance for ProductInternal.
Implements
Inherited Members
Namespace: Oci.OciproductcatalogService
Assembly: OCI.DotNetSDK.Ociproductcatalog.dll
Syntax
public class ProductInternalClient : RegionalClientBase, IDisposable
Constructors
ProductInternalClient(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 ProductInternalClient(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 ProductInternalPaginators Paginators { get; }
Property Value
| Type | Description |
|---|---|
| ProductInternalPaginators |
Methods
ChangeInternalProductCompartment(ChangeInternalProductCompartmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Change product compartment
Declaration
public Task<ChangeInternalProductCompartmentResponse> ChangeInternalProductCompartment(ChangeInternalProductCompartmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| ChangeInternalProductCompartmentRequest | 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<ChangeInternalProductCompartmentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ChangeInternalProductCompartment API.
CreateInternalProduct(CreateInternalProductRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Used by the OCI service teams to create a product to control the availability of the relative resources
Declaration
public Task<CreateInternalProductResponse> CreateInternalProduct(CreateInternalProductRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateInternalProductRequest | 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<CreateInternalProductResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use CreateInternalProduct API.
DeleteInternalProduct(DeleteInternalProductRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Delete the product
Declaration
public Task<DeleteInternalProductResponse> DeleteInternalProduct(DeleteInternalProductRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteInternalProductRequest | 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<DeleteInternalProductResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use DeleteInternalProduct API.
GetInternalProduct(GetInternalProductRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Get the product by ID
Declaration
public Task<GetInternalProductResponse> GetInternalProduct(GetInternalProductRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| GetInternalProductRequest | 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<GetInternalProductResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetInternalProduct API.
ListInternalProducts(ListInternalProductsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
List the products with the filters
Declaration
public Task<ListInternalProductsResponse> ListInternalProducts(ListInternalProductsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| ListInternalProductsRequest | 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<ListInternalProductsResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListInternalProducts API.
UpdateInternalProduct(UpdateInternalProductRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Update the product
Declaration
public Task<UpdateInternalProductResponse> UpdateInternalProduct(UpdateInternalProductRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateInternalProductRequest | 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<UpdateInternalProductResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use UpdateInternalProduct API.