Class PartnerIntegerationClient
Service client instance for PartnerIntegeration.
Implements
Inherited Members
Namespace: Oci.SelfService
Assembly: OCI.DotNetSDK.Self.dll
Syntax
public class PartnerIntegerationClient : RegionalClientBase, IDisposable
Constructors
PartnerIntegerationClient(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 PartnerIntegerationClient(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 PartnerIntegerationPaginators Paginators { get; }
Property Value
| Type | Description |
|---|---|
| PartnerIntegerationPaginators |
Methods
ActivateSubscription(ActivateSubscriptionRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Activates a subscription identified by the provided subscription ID and updates its status.
Declaration
public Task<ActivateSubscriptionResponse> ActivateSubscription(ActivateSubscriptionRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| ActivateSubscriptionRequest | 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<ActivateSubscriptionResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ActivateSubscription API.
ListPartners(ListPartnersRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Lists marketplace publisher partner info for a compartment.
Declaration
public Task<ListPartnersResponse> ListPartners(ListPartnersRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| ListPartnersRequest | 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<ListPartnersResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListPartners API.
ListingSubscriptions(ListingSubscriptionsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Gets information about a Subscription.
Declaration
public Task<ListingSubscriptionsResponse> ListingSubscriptions(ListingSubscriptionsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| ListingSubscriptionsRequest | 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<ListingSubscriptionsResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListingSubscriptions API.
ResolveSubscription(ResolveSubscriptionRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
This API returns the subscription details by resolving JWT token to corresponding subscription and move its state to Pending Activation state.
Declaration
public Task<ResolveSubscriptionResponse> ResolveSubscription(ResolveSubscriptionRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| ResolveSubscriptionRequest | 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<ResolveSubscriptionResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ResolveSubscription API.
SubmitSubscriptionUsageBatch(SubmitSubscriptionUsageBatchRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Asynchronously submits a UTF-8 CSV usage file for marketplace offers. The file must not exceed 50 MB or 10,000 rows and must include required usage columns.
Declaration
public Task<SubmitSubscriptionUsageBatchResponse> SubmitSubscriptionUsageBatch(SubmitSubscriptionUsageBatchRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| SubmitSubscriptionUsageBatchRequest | 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<SubmitSubscriptionUsageBatchResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use SubmitSubscriptionUsageBatch API.
SubmitSubscriptionUsageRecords(SubmitSubscriptionUsageRecordsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Synchronously submits usage records for marketplace offers. Each record must include
id, marketplaceOfferId, amount, currencyCode, timeUsageStarted,
timeUsageEnded, and usageDimensionName.
Declaration
public Task<SubmitSubscriptionUsageRecordsResponse> SubmitSubscriptionUsageRecords(SubmitSubscriptionUsageRecordsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| SubmitSubscriptionUsageRecordsRequest | 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<SubmitSubscriptionUsageRecordsResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use SubmitSubscriptionUsageRecords API.