Class UpdateClient
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 UpdateClient : ClientBase, IUpdateClient
Constructors
UpdateClient(ICloudManagerServiceSettings, HttpClient)
Declaration
public UpdateClient(ICloudManagerServiceSettings configuration, HttpClient httpClient)
Parameters
ICloudManagerServiceSettings configuration |
HttpClient httpClient |
Properties
JsonSerializerSettings
Declaration
protected JsonSerializerSettings JsonSerializerSettings { get; }
Property Value
JsonSerializerSettings |
ReadResponseAsString
Methods
DeactivateCustomersAsync(IEnumerable<DeactivationCustomerRequest>, CancellationToken)
Declaration
public virtual Task DeactivateCustomersAsync(IEnumerable<DeactivationCustomerRequest> requests, CancellationToken cancellationToken = default)
Parameters
IEnumerable<DeactivationCustomerRequest> requests |
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 |
DeactivateEnvironmentAsync(DeactivationEnvironmentRequest, CancellationToken)
Declaration
public virtual Task DeactivateEnvironmentAsync(DeactivationEnvironmentRequest request, CancellationToken cancellationToken = default)
Parameters
DeactivationEnvironmentRequest request |
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 |
GetAvailableCustomerUpdateAsync(string, CancellationToken)
Declaration
public virtual Task<UpdateInfo> GetAvailableCustomerUpdateAsync(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<UpdateInfo> |
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 |
GetAvailableEnvironmentUpdateAsync(CancellationToken)
Declaration
public virtual Task<UpdateInfo> GetAvailableEnvironmentUpdateAsync(CancellationToken cancellationToken = default)
Parameters
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Task<UpdateInfo> |
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 |
GetCustomerVersionAsync(string, CancellationToken)
Declaration
public virtual Task<CustomerVersionInfo> GetCustomerVersionAsync(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<CustomerVersionInfo> |
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 |
GetCustomerVersionsAsync(CancellationToken)
Declaration
public virtual Task<ICollection<CustomerVersionInfo>> GetCustomerVersionsAsync(CancellationToken cancellationToken = default)
Parameters
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Task<ICollection<CustomerVersionInfo>> |
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 |
GetEnvironmentVersionAsync(CancellationToken)
Declaration
public virtual Task<VersionInfo> GetEnvironmentVersionAsync(CancellationToken cancellationToken = default)
Parameters
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Task<VersionInfo> |
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 |
ReactivateCustomersAsync(IEnumerable<ReactivationCustomerRequest>, CancellationToken)
Declaration
public virtual Task ReactivateCustomersAsync(IEnumerable<ReactivationCustomerRequest> requests, CancellationToken cancellationToken = default)
Parameters
IEnumerable<ReactivationCustomerRequest> requests |
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 |
ReactivateEnvironmentAsync(ReactivationEnvironmentRequest, CancellationToken)
Declaration
public virtual Task ReactivateEnvironmentAsync(ReactivationEnvironmentRequest request, CancellationToken cancellationToken = default)
Parameters
ReactivationEnvironmentRequest request |
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 |
ReadObjectResponseAsync<T>(HttpResponseMessage, IReadOnlyDictionary<string, IEnumerable<string>>, CancellationToken)
Declaration
protected virtual Task<UpdateClient.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<UpdateClient.ObjectResponseResult<T>> |
Type Parameters
T |
UpdateCustomersAsync(IEnumerable<UpdateCustomerRequest>, CancellationToken)
Declaration
public virtual Task<ICollection<EnvironmentProcess>> UpdateCustomersAsync(IEnumerable<UpdateCustomerRequest> requests, CancellationToken cancellationToken = default)
Parameters
IEnumerable<UpdateCustomerRequest> requests |
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Task<ICollection<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 |
UpdateEnvironmentAsync(UpdateEnvironmentRequest, CancellationToken)
Declaration
public virtual Task<EnvironmentProcess> UpdateEnvironmentAsync(UpdateEnvironmentRequest request, CancellationToken cancellationToken = default)
Parameters
UpdateEnvironmentRequest request |
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 |