你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RecoveryServicesClient 类

定义

恢复服务客户端

public class RecoveryServicesClient : Microsoft.Rest.ServiceClient<Microsoft.Azure.Management.RecoveryServices.RecoveryServicesClient>, IDisposable, Microsoft.Azure.Management.RecoveryServices.IRecoveryServicesClient, Microsoft.Rest.Azure.IAzureClient
type RecoveryServicesClient = class
    inherit ServiceClient<RecoveryServicesClient>
    interface IRecoveryServicesClient
    interface IDisposable
    interface IAzureClient
Public Class RecoveryServicesClient
Inherits ServiceClient(Of RecoveryServicesClient)
Implements IAzureClient, IDisposable, IRecoveryServicesClient
继承
RecoveryServicesClient
实现

构造函数

RecoveryServicesClient(DelegatingHandler[])

初始化 RecoveryServicesClient 类的新实例。

RecoveryServicesClient(HttpClient, Boolean)

初始化 RecoveryServicesClient 类的新实例。

RecoveryServicesClient(HttpClient, DelegatingHandler[])

恢复服务客户端

RecoveryServicesClient(HttpClientHandler, DelegatingHandler[])

初始化 RecoveryServicesClient 类的新实例。

RecoveryServicesClient(ServiceClientCredentials, DelegatingHandler[])

初始化 RecoveryServicesClient 类的新实例。

RecoveryServicesClient(ServiceClientCredentials, HttpClient, Boolean)

初始化 RecoveryServicesClient 类的新实例。

RecoveryServicesClient(ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

初始化 RecoveryServicesClient 类的新实例。

RecoveryServicesClient(Uri, DelegatingHandler[])

初始化 RecoveryServicesClient 类的新实例。

RecoveryServicesClient(Uri, HttpClientHandler, DelegatingHandler[])

初始化 RecoveryServicesClient 类的新实例。

RecoveryServicesClient(Uri, ServiceClientCredentials, DelegatingHandler[])

初始化 RecoveryServicesClient 类的新实例。

RecoveryServicesClient(Uri, ServiceClientCredentials, HttpClient, Boolean, DelegatingHandler[])

恢复服务客户端

RecoveryServicesClient(Uri, ServiceClientCredentials, HttpClientHandler, DelegatingHandler[])

初始化 RecoveryServicesClient 类的新实例。

属性

AcceptLanguage

响应的首选语言。

ApiVersion

客户端 API 版本。

BaseUri

服务的基 URI。

Credentials

客户端连接到 Azure 所需的凭据。

DeserializationSettings

获取或设置 json 反序列化设置。

DisableDispose

恢复服务客户端

FirstMessageHandler

恢复服务客户端

(继承自 ServiceClient<T>)
GenerateClientRequestId

是否应生成唯一的 x-ms-client-request-id。 设置为 true 时,将生成唯一的 x-ms-client-request-id 值并将其包含在每个请求中。 默认值为 true。

HttpClient

恢复服务客户端

(继承自 ServiceClient<T>)
HttpClientHandler

恢复服务客户端

(继承自 ServiceClient<T>)
HttpMessageHandlers

恢复服务客户端

(继承自 ServiceClient<T>)
LongRunningOperationRetryTimeout

长时间运行的操作的重试超时(以秒为单位)。 默认值为 30。

Operations

获取 IOperations。

PrivateLinkResources

获取 IPrivateLinkResourcesOperations。

RecoveryServices

获取 IRecoveryServicesOperations。

RegisteredIdentities

获取 IRegisteredIdentitiesOperations。

ReplicationUsages

获取 IReplicationUsagesOperations。

SerializationSettings

获取或设置 json 序列化设置。

SubscriptionId

订阅 ID。

Usages

获取 IUsagesOperations。

UserAgent

恢复服务客户端

(继承自 ServiceClient<T>)
VaultCertificates

获取 IVaultCertificatesOperations。

VaultExtendedInfo

获取 IVaultExtendedInfoOperations。

Vaults

获取 IVaultsOperations。

方法

CreateHttpHandlerPipeline(HttpClientHandler, DelegatingHandler[])

恢复服务客户端

(继承自 ServiceClient<T>)
Dispose()

恢复服务客户端

(继承自 ServiceClient<T>)
Dispose(Boolean)

恢复服务客户端

GetOperationResultWithHttpMessagesAsync(String, String, String, Dictionary<String,List<String>>, CancellationToken)

获取资源的操作结果。

GetOperationStatusWithHttpMessagesAsync(String, String, String, Dictionary<String,List<String>>, CancellationToken)

获取资源的操作状态。

InitializeHttpClient(HttpClient, HttpClientHandler, DelegatingHandler[])

恢复服务客户端

(继承自 ServiceClient<T>)
InitializeHttpClient(HttpClientHandler, DelegatingHandler[])

恢复服务客户端

(继承自 ServiceClient<T>)
SetHttpClient(HttpClient)

恢复服务客户端

SetRetryPolicy(RetryPolicy)

恢复服务客户端

(继承自 ServiceClient<T>)
SetUserAgent(String)

恢复服务客户端

(继承自 ServiceClient<T>)
SetUserAgent(String, String)

恢复服务客户端

(继承自 ServiceClient<T>)

扩展方法

GetOperationResult(IRecoveryServicesClient, String, String, String)

获取资源的操作结果。

GetOperationResultAsync(IRecoveryServicesClient, String, String, String, CancellationToken)

获取资源的操作结果。

GetOperationStatus(IRecoveryServicesClient, String, String, String)

获取资源的操作状态。

GetOperationStatusAsync(IRecoveryServicesClient, String, String, String, CancellationToken)

获取资源的操作状态。

适用于