Class OccDemandSignalClient
Service client instance for OccDemandSignal.
Implements
Inherited Members
Namespace: Oci.DemandsignalService
Assembly: OCI.DotNetSDK.Demandsignal.dll
Syntax
public class OccDemandSignalClient : RegionalClientBase, IDisposable
Constructors
OccDemandSignalClient(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 OccDemandSignalClient(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 OccDemandSignalPaginators Paginators { get; }
Property Value
Type | Description |
---|---|
OccDemandSignalPaginators |
Waiters
Declaration
public OccDemandSignalWaiters Waiters { get; }
Property Value
Type | Description |
---|---|
OccDemandSignalWaiters |
Methods
ChangeOccDemandSignalCompartment(ChangeOccDemandSignalCompartmentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Moves a OccDemandSignal 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<ChangeOccDemandSignalCompartmentResponse> ChangeOccDemandSignalCompartment(ChangeOccDemandSignalCompartmentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ChangeOccDemandSignalCompartmentRequest | 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<ChangeOccDemandSignalCompartmentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ChangeOccDemandSignalCompartment API.
CreateOccDemandSignal(CreateOccDemandSignalRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Creates a OccDemandSignal.
Declaration
public Task<CreateOccDemandSignalResponse> CreateOccDemandSignal(CreateOccDemandSignalRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
CreateOccDemandSignalRequest | 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<CreateOccDemandSignalResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use CreateOccDemandSignal API.
DeleteOccDemandSignal(DeleteOccDemandSignalRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Deletes a OccDemandSignal.
Declaration
public Task<DeleteOccDemandSignalResponse> DeleteOccDemandSignal(DeleteOccDemandSignalRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
DeleteOccDemandSignalRequest | 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<DeleteOccDemandSignalResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use DeleteOccDemandSignal API.
GetOccDemandSignal(GetOccDemandSignalRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Gets information about a OccDemandSignal.
Declaration
public Task<GetOccDemandSignalResponse> GetOccDemandSignal(GetOccDemandSignalRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
GetOccDemandSignalRequest | 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<GetOccDemandSignalResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetOccDemandSignal API.
ListOccDemandSignals(ListOccDemandSignalsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Gets a list of OccDemandSignals.
Declaration
public Task<ListOccDemandSignalsResponse> ListOccDemandSignals(ListOccDemandSignalsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListOccDemandSignalsRequest | 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<ListOccDemandSignalsResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListOccDemandSignals API.
PatchOccDemandSignal(PatchOccDemandSignalRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Updates the data of an OccDemandSignal.
Declaration
public Task<PatchOccDemandSignalResponse> PatchOccDemandSignal(PatchOccDemandSignalRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
PatchOccDemandSignalRequest | 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<PatchOccDemandSignalResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use PatchOccDemandSignal API.
UpdateOccDemandSignal(UpdateOccDemandSignalRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Updates a OccDemandSignal.
Declaration
public Task<UpdateOccDemandSignalResponse> UpdateOccDemandSignal(UpdateOccDemandSignalRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
UpdateOccDemandSignalRequest | 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<UpdateOccDemandSignalResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use UpdateOccDemandSignal API.