Class CloudBackupClient
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Syntax
public class CloudBackupClient : ClientBase
Constructors
CloudBackupClient(ICloudManagerServiceSettings, Http.HttpClient)
Declaration
public CloudBackupClient(ICloudManagerServiceSettings configuration, Http.HttpClient httpClient)
Parameters
Picturepark.SDK.V1.Partial.Picturepark.SDK.V1.CloudManager.Picturepark.SDK.V1.CloudManager.ICloudManagerServiceSettings
configuration
|
System.Net.Http.HttpClient
httpClient
|
Properties
JsonSerializerSettings
Declaration
protected Newtonsoft.Json.JsonSerializerSettings JsonSerializerSettings { get; }
Property Value
Newtonsoft.Json.JsonSerializerSettings
|
ReadResponseAsString
Declaration
public bool ReadResponseAsString { get; set; }
Property Value
System.Boolean
|
Methods
ArchiveAsync(SnapshotRepositoryArchiveRequest, CancellationToken)
Declaration
public virtual async Task<SnapshotRepository> ArchiveAsync(SnapshotRepositoryArchiveRequest request, CancellationToken cancellationToken = default(CancellationToken))
Parameters
SnapshotRepositoryArchiveRequest
request
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<SnapshotRepository>
|
CleanupAsync(CancellationToken)
Declaration
public virtual async Task<SnapshotRepositoryCleanupResult> CleanupAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<SnapshotRepositoryCleanupResult>
|
CloneAsync(SnapshotCustomerCloneRequest, CancellationToken)
Declaration
public virtual async Task<Customer> CloneAsync(SnapshotCustomerCloneRequest request, CancellationToken cancellationToken = default(CancellationToken))
Parameters
SnapshotCustomerCloneRequest
request
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<Customer>
|
CloneRequestAsync(CancellationToken)
Declaration
public virtual async Task<SnapshotCustomerCloneRequest> CloneRequestAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<SnapshotCustomerCloneRequest>
|
CreateRepository2Async(SnapshotRepositoryEnvironmentCreateRequest, CancellationToken)
Declaration
public virtual async Task<SnapshotRepository> CreateRepository2Async(SnapshotRepositoryEnvironmentCreateRequest request, CancellationToken cancellationToken = default(CancellationToken))
Parameters
SnapshotRepositoryEnvironmentCreateRequest
request
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<SnapshotRepository>
|
CreateRepositoryAsync(SnapshotRepositoryCustomerCreateRequest, CancellationToken)
Declaration
public virtual async Task<SnapshotRepository> CreateRepositoryAsync(SnapshotRepositoryCustomerCreateRequest request, CancellationToken cancellationToken = default(CancellationToken))
Parameters
SnapshotRepositoryCustomerCreateRequest
request
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<SnapshotRepository>
|
CreateSnapshot2Async(SnapshotEnvironmentCreateRequest, CancellationToken)
Declaration
public virtual async Task<SnapshotEnqueueResult> CreateSnapshot2Async(SnapshotEnvironmentCreateRequest request, CancellationToken cancellationToken = default(CancellationToken))
Parameters
SnapshotEnvironmentCreateRequest
request
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<SnapshotEnqueueResult>
|
CreateSnapshotAsync(SnapshotCustomerCreateRequest, CancellationToken)
Declaration
public virtual async Task<SnapshotEnqueueResult> CreateSnapshotAsync(SnapshotCustomerCreateRequest request, CancellationToken cancellationToken = default(CancellationToken))
Parameters
SnapshotCustomerCreateRequest
request
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<SnapshotEnqueueResult>
|
CreateSnapshotWithSecondaryIndicesAsync(SnapshotCustomerAllClustersRequest, CancellationToken)
Declaration
public virtual async Task<SnapshotEnqueueResult> CreateSnapshotWithSecondaryIndicesAsync(SnapshotCustomerAllClustersRequest request, CancellationToken cancellationToken = default(CancellationToken))
Parameters
SnapshotCustomerAllClustersRequest
request
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<SnapshotEnqueueResult>
|
ExportAsync(CustomerExportRequest, Nullable<TimeSpan>, CancellationToken)
Declaration
public virtual async Task<CustomerExportResult> ExportAsync(CustomerExportRequest request, TimeSpan? timeout = null, CancellationToken cancellationToken = default(CancellationToken))
Parameters
CustomerExportRequest
request
|
System.Nullable<System.TimeSpan>
timeout
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<CustomerExportResult>
|
GetGlobalRepositoryStateAsync(CancellationToken)
Declaration
public virtual async Task<GlobalSnapshotRepositoryStateResult> GetGlobalRepositoryStateAsync(CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<GlobalSnapshotRepositoryStateResult>
|
GetSnapshotAllClustersAsync(String, CancellationToken)
Declaration
public virtual async Task<SnapshotCustomerAllClustersResult> GetSnapshotAllClustersAsync(string tokenId, CancellationToken cancellationToken = default(CancellationToken))
Parameters
System.String
tokenId
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<SnapshotCustomerAllClustersResult>
|
ImportAllClustersAsync(CustomerImportAllClustersRequest, CancellationToken)
Declaration
public virtual async Task<Customer> ImportAllClustersAsync(CustomerImportAllClustersRequest request, CancellationToken cancellationToken = default(CancellationToken))
Parameters
CustomerImportAllClustersRequest
request
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<Customer>
|
ImportAsync(CustomerImportRequest, CancellationToken)
Declaration
public virtual async Task<Customer> ImportAsync(CustomerImportRequest request, CancellationToken cancellationToken = default(CancellationToken))
Parameters
CustomerImportRequest
request
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<Customer>
|
ReadObjectResponseAsync<T>(Http.HttpResponseMessage, IReadOnlyDictionary<String, IEnumerable<String>>, CancellationToken)
Declaration
protected virtual async Task<CloudBackupClient.ObjectResponseResult<T>> ReadObjectResponseAsync<T>(Http.HttpResponseMessage response, IReadOnlyDictionary<string, IEnumerable<string>> headers, CancellationToken cancellationToken)
Parameters
System.Net.Http.HttpResponseMessage
response
|
System.Collections.Generic.IReadOnlyDictionary<System.String, System.Collections.Generic.IEnumerable<System.String>>
headers
|
System.Threading.CancellationToken
cancellationToken
|
Returns
System.Threading.Tasks.Task<CloudBackupClient.ObjectResponseResult<T>>
|
Type Parameters
T
|
RestoreAsync(SnapshotCustomerRestoreRequest, CancellationToken)
Declaration
public virtual async Task<SnapshotRestore> RestoreAsync(SnapshotCustomerRestoreRequest request, CancellationToken cancellationToken = default(CancellationToken))
Parameters
SnapshotCustomerRestoreRequest
request
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<SnapshotRestore>
|
RestoreIndicesAsync(RestoreSnapshotIndicesRequest, CancellationToken)
Declaration
public virtual async Task<RestoreSnapshotIndices> RestoreIndicesAsync(RestoreSnapshotIndicesRequest request, CancellationToken cancellationToken = default(CancellationToken))
Parameters
RestoreSnapshotIndicesRequest
request
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<RestoreSnapshotIndices>
|
Search2Async(SnapshotRepositorySearchByNameRequest, CancellationToken)
Declaration
public virtual async Task<SnapshotRepository> Search2Async(SnapshotRepositorySearchByNameRequest request, CancellationToken cancellationToken = default(CancellationToken))
Parameters
SnapshotRepositorySearchByNameRequest
request
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<SnapshotRepository>
|
SearchAsync(SnapshotEnvironmentSearchRequest, CancellationToken)
Declaration
public virtual async Task<SnapshotEnvironmentSearchResult> SearchAsync(SnapshotEnvironmentSearchRequest request, CancellationToken cancellationToken = default(CancellationToken))
Parameters
SnapshotEnvironmentSearchRequest
request
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<SnapshotEnvironmentSearchResult>
|
SearchEnvironmentRepositoriesAsync(SnapshotRepositoryEnvironmentSearchRequest, CancellationToken)
Declaration
public virtual async Task<SnapshotRepositorySearchResult> SearchEnvironmentRepositoriesAsync(SnapshotRepositoryEnvironmentSearchRequest request, CancellationToken cancellationToken = default(CancellationToken))
Parameters
SnapshotRepositoryEnvironmentSearchRequest
request
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<SnapshotRepositorySearchResult>
|
SearchRepositoriesAsync(SnapshotRepositoryCustomerSearchRequest, CancellationToken)
Declaration
public virtual async Task<SnapshotRepositorySearchResult> SearchRepositoriesAsync(SnapshotRepositoryCustomerSearchRequest request, CancellationToken cancellationToken = default(CancellationToken))
Parameters
SnapshotRepositoryCustomerSearchRequest
request
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<SnapshotRepositorySearchResult>
|
SearchSnapshotsAsync(SnapshotCustomerSearchRequest, CancellationToken)
Declaration
public virtual async Task<SnapshotCustomerSearchResult> SearchSnapshotsAsync(SnapshotCustomerSearchRequest request, CancellationToken cancellationToken = default(CancellationToken))
Parameters
SnapshotCustomerSearchRequest
request
|
System.Threading.CancellationToken
cancellationToken
A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
System.Threading.Tasks.Task<SnapshotCustomerSearchResult>
|