Class IncidentClient
Service client instance for Incident.
Implements
Inherited Members
Namespace: Oci.CimsService
Assembly: OCI.DotNetSDK.Cims.dll
Syntax
public class IncidentClient : RegionalClientBase, IDisposable
Constructors
IncidentClient(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 IncidentClient(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 IncidentPaginators Paginators { get; }
Property Value
Type | Description |
---|---|
IncidentPaginators |
Methods
CreateIncident(CreateIncidentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Operation to create a support ticket.
Declaration
public Task<CreateIncidentResponse> CreateIncident(CreateIncidentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
CreateIncidentRequest | 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<CreateIncidentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use CreateIncident API.
GetCsiNumber(GetCsiNumberRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Fetches csi number of the user.
Declaration
public Task<GetCsiNumberResponse> GetCsiNumber(GetCsiNumberRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
GetCsiNumberRequest | 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<GetCsiNumberResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetCsiNumber API.
GetIncident(GetIncidentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Gets details about the specified support ticket.
Declaration
public Task<GetIncidentResponse> GetIncident(GetIncidentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
GetIncidentRequest | 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<GetIncidentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetIncident API.
GetStatus(GetStatusRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Gets the status of the service.
Declaration
public Task<GetStatusResponse> GetStatus(GetStatusRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
GetStatusRequest | 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<GetStatusResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetStatus API.
ListIncidentResourceTypes(ListIncidentResourceTypesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
During support ticket creation, returns the list of all possible products that Oracle Cloud Infrastructure supports.
Declaration
public Task<ListIncidentResourceTypesResponse> ListIncidentResourceTypes(ListIncidentResourceTypesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListIncidentResourceTypesRequest | 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<ListIncidentResourceTypesResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListIncidentResourceTypes API.
ListIncidents(ListIncidentsRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Returns the list of support tickets raised by the tenancy.
Declaration
public Task<ListIncidentsResponse> ListIncidents(ListIncidentsRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ListIncidentsRequest | 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<ListIncidentsResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListIncidents API.
UpdateIncident(UpdateIncidentRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Updates the specified support ticket's information.
Declaration
public Task<UpdateIncidentResponse> UpdateIncident(UpdateIncidentRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
UpdateIncidentRequest | 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<UpdateIncidentResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use UpdateIncident API.
ValidateUser(ValidateUserRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Checks whether the requested user is valid.
Declaration
public Task<ValidateUserResponse> ValidateUser(ValidateUserRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
Type | Name | Description |
---|---|---|
ValidateUserRequest | 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<ValidateUserResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ValidateUser API.