Class EnvironmentProcessClient
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Syntax
[GeneratedCode("NSwag", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
public class EnvironmentProcessClient : ClientBase, IEnvironmentProcessClient
Constructors
EnvironmentProcessClient(ICloudManagerServiceSettings, HttpClient)
Declaration
public EnvironmentProcessClient(ICloudManagerServiceSettings configuration, HttpClient httpClient)
Parameters
ICloudManagerServiceSettings configuration |
HttpClient httpClient |
Properties
JsonSerializerSettings
Declaration
protected JsonSerializerSettings JsonSerializerSettings { get; }
Property Value
JsonSerializerSettings |
ReadResponseAsString
Methods
AcknowledgeAsync(string, CancellationToken)
Declaration
public virtual Task AcknowledgeAsync(string id, CancellationToken cancellationToken = default)
Parameters
string id |
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Task |
Implements
Exceptions
ApiException
A server side error occurred. |
PictureparkValidationException
Validation exception |
PictureparkForbiddenException
Forbidden |
PictureparkConflictException
Version conflict |
PictureparkTooManyRequestsException
Too many requests |
PictureparkException
Internal server error |
PictureparkException
Entity not found |
PictureparkNotFoundException
Entity not found |
CancelAsync(string, CancellationToken)
Declaration
public virtual Task CancelAsync(string id, CancellationToken cancellationToken = default)
Parameters
string id |
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Task |
Implements
Exceptions
ApiException
A server side error occurred. |
PictureparkValidationException
Validation exception |
PictureparkForbiddenException
Forbidden |
PictureparkConflictException
Version conflict |
PictureparkTooManyRequestsException
Too many requests |
PictureparkException
Internal server error |
PictureparkException
Entity not found |
PictureparkNotFoundException
Entity not found |
GetAsync(string, CancellationToken)
Declaration
public virtual Task<EnvironmentProcess> GetAsync(string id, CancellationToken cancellationToken = default)
Parameters
string id |
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Task<EnvironmentProcess> |
Implements
Exceptions
ApiException
A server side error occurred. |
PictureparkValidationException
Validation exception |
PictureparkForbiddenException
Forbidden |
PictureparkConflictException
Version conflict |
PictureparkTooManyRequestsException
Too many requests |
PictureparkException
Internal server error |
PictureparkException
Entity not found |
PictureparkNotFoundException
Entity not found |
ReadObjectResponseAsync<T>(HttpResponseMessage, IReadOnlyDictionary<string, IEnumerable<string>>, CancellationToken)
Declaration
protected virtual Task<EnvironmentProcessClient.ObjectResponseResult<T>> ReadObjectResponseAsync<T>(HttpResponseMessage response, IReadOnlyDictionary<string, IEnumerable<string>> headers, CancellationToken cancellationToken)
Parameters
HttpResponseMessage response |
IReadOnlyDictionary<string, IEnumerable<string>> headers |
CancellationToken cancellationToken |
Returns
Task<EnvironmentProcessClient.ObjectResponseResult<T>> |
Type Parameters
T |
SearchAsync(EnvironmentProcessSearchRequest, CancellationToken)
Declaration
public virtual Task<EnvironmentProcessSearchResult> SearchAsync(EnvironmentProcessSearchRequest request, CancellationToken cancellationToken = default)
Parameters
EnvironmentProcessSearchRequest request |
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Task<EnvironmentProcessSearchResult> |
Implements
Exceptions
ApiException
A server side error occurred. |
PictureparkValidationException
Validation exception |
PictureparkForbiddenException
Forbidden |
PictureparkConflictException
Version conflict |
PictureparkTooManyRequestsException
Too many requests |
PictureparkException
Internal server error |
PictureparkException
Entity not found |
PictureparkNotFoundException
Entity not found |
WaitForLifeCyclesAsync(string, IEnumerable<EnvironmentProcessLifeCycle>, TimeSpan?, CancellationToken)
Declaration
public virtual Task<EnvironmentProcessWaitResult> WaitForLifeCyclesAsync(string id, IEnumerable<EnvironmentProcessLifeCycle> lifeCycles = null, TimeSpan? timeout = null, CancellationToken cancellationToken = default)
Parameters
string id |
IEnumerable<EnvironmentProcessLifeCycle> lifeCycles |
TimeSpan? timeout |
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Task<EnvironmentProcessWaitResult> |
Implements
Exceptions
ApiException
A server side error occurred. |
PictureparkValidationException
Validation exception |
PictureparkForbiddenException
Forbidden |
PictureparkConflictException
Version conflict |
PictureparkTooManyRequestsException
Too many requests |
PictureparkException
Internal server error |
PictureparkException
Entity not found |
PictureparkNotFoundException
Entity not found |