Interface ICustomerClient
Namespace: System.Dynamic.ExpandoObject
Syntax
[GeneratedCode("NSwag", "13.20.0.0 (NJsonSchema v10.9.0.0 (Newtonsoft.Json v13.0.0.0))")]
public interface ICustomerClient
Methods
AddMetadataLanguageAsync(string, CustomerMetadataLanguageCreateRequest, TimeSpan?, CancellationToken)
Declaration
Task<EnvironmentProcess> AddMetadataLanguageAsync(string alias, CustomerMetadataLanguageCreateRequest request, TimeSpan? timeout = null, CancellationToken cancellationToken = default)
Parameters
string alias |
CustomerMetadataLanguageCreateRequest request |
TimeSpan? timeout |
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Task<EnvironmentProcess> |
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 |
ChangeStorageSiloAsync(string, ChangeStorageSiloRequest, CancellationToken)
Declaration
Task<BusinessProcess> ChangeStorageSiloAsync(string alias, ChangeStorageSiloRequest request, CancellationToken cancellationToken = default)
Parameters
string alias |
ChangeStorageSiloRequest request |
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Task<BusinessProcess> |
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 |
ClearCacheSiloAsync(string, CancellationToken)
Declaration
Task ClearCacheSiloAsync(string alias, CancellationToken cancellationToken = default)
Parameters
string alias |
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Task |
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 |
CreateAsync(CustomerCreateRequest, CancellationToken)
Declaration
Task<CustomerConfiguration> CreateAsync(CustomerCreateRequest request, CancellationToken cancellationToken = default)
Parameters
CustomerCreateRequest request |
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Task<CustomerConfiguration> |
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 |
DeleteAsync(string, CancellationToken)
Declaration
Task DeleteAsync(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 |
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 |
DeleteWithOptionsAsync(string, CustomerDeleteRequest, CancellationToken)
Declaration
Task DeleteWithOptionsAsync(string id, CustomerDeleteRequest request, CancellationToken cancellationToken = default)
Parameters
string id |
CustomerDeleteRequest request |
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Task |
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
Task<CustomerConfiguration> 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<CustomerConfiguration> |
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 |
GetAvailableMetadataLanguagesAsync(string, CancellationToken)
Declaration
Task<ICollection<string>> GetAvailableMetadataLanguagesAsync(string alias, CancellationToken cancellationToken = default)
Parameters
string alias |
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Task<ICollection<string>> |
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 |
GetCreateRequestAsync(CancellationToken)
Declaration
Task<CustomerCreateRequest> GetCreateRequestAsync(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<CustomerCreateRequest> |
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 |
GetHostConfigurationAsync(string, CancellationToken)
Declaration
Task<CustomerHostConfiguration> GetHostConfigurationAsync(string alias, CancellationToken cancellationToken = default)
Parameters
string alias |
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Task<CustomerHostConfiguration> |
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 |
GetIndicesAsync(string, bool, CancellationToken)
Declaration
Task<ICollection<Index>> GetIndicesAsync(string alias, bool onlyForReshard, CancellationToken cancellationToken = default)
Parameters
string alias |
bool onlyForReshard |
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Task<ICollection<Index>> |
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 |
GetUsersAsync(string, CancellationToken)
Declaration
Task<ICollection<UserWithRoles>> GetUsersAsync(string alias, CancellationToken cancellationToken = default)
Parameters
string alias |
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Task<ICollection<UserWithRoles>> |
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 |
InvalidateAsync(string, CancellationToken)
Declaration
Task InvalidateAsync(string alias, CancellationToken cancellationToken = default)
Parameters
string alias |
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Task |
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 |
ListAsync(CancellationToken)
Declaration
Task<CustomerSearchResult> ListAsync(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<CustomerSearchResult> |
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 |
ReindexAsync(string, SearchIndexReindexShardsRequest, CancellationToken)
Declaration
Task<Index> ReindexAsync(string alias, SearchIndexReindexShardsRequest request, CancellationToken cancellationToken = default)
Parameters
string alias |
SearchIndexReindexShardsRequest request |
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Task<Index> |
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 |
ReshardElasticIndicesAsync(string, CustomerReshardRequest, TimeSpan?, CancellationToken)
Declaration
Task<EnvironmentProcess> ReshardElasticIndicesAsync(string alias, CustomerReshardRequest request, TimeSpan? timeout = null, CancellationToken cancellationToken = default)
Parameters
string alias |
CustomerReshardRequest request |
TimeSpan? timeout |
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Task<EnvironmentProcess> |
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 |
RestoreAsync(string, CancellationToken)
Declaration
Task RestoreAsync(string alias, CancellationToken cancellationToken = default)
Parameters
string alias |
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Task |
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 |
SearchAsync(CustomerSearchRequest, CancellationToken)
Declaration
Task<CustomerSearchResult> SearchAsync(CustomerSearchRequest request, CancellationToken cancellationToken = default)
Parameters
CustomerSearchRequest request |
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Task<CustomerSearchResult> |
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 |
SetAnonymousAccessAsync(string, bool, CancellationToken)
Declaration
Task<UserWithRoles> SetAnonymousAccessAsync(string alias, bool enabled, CancellationToken cancellationToken = default)
Parameters
string alias |
bool enabled |
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Task<UserWithRoles> |
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 |
UpdateAsync(CustomerUpdateRequest, CancellationToken)
Declaration
Task<CustomerConfiguration> UpdateAsync(CustomerUpdateRequest request, CancellationToken cancellationToken = default)
Parameters
CustomerUpdateRequest request |
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Task<CustomerConfiguration> |
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 |
UpdateBoostValuesAsync(string, CustomerBoostValuesUpdateRequest, TimeSpan?, CancellationToken)
Declaration
Task<EnvironmentProcess> UpdateBoostValuesAsync(string alias, CustomerBoostValuesUpdateRequest request, TimeSpan? timeout = null, CancellationToken cancellationToken = default)
Parameters
string alias |
CustomerBoostValuesUpdateRequest request |
TimeSpan? timeout |
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Task<EnvironmentProcess> |
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 |
UpdateHostConfigurationAsync(string, CustomerHostConfigurationWriteRequest, CancellationToken)
Declaration
Task<CustomerHostConfigurationEditable> UpdateHostConfigurationAsync(string alias, CustomerHostConfigurationWriteRequest request, CancellationToken cancellationToken = default)
Parameters
string alias |
CustomerHostConfigurationWriteRequest request |
CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
Task<CustomerHostConfigurationEditable> |
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 |