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

MicrosoftStorageSync class

Extends

构造函数

MicrosoftStorageSync(TokenCredential, string, MicrosoftStorageSyncOptionalParams)

初始化 MicrosoftStorageSync 类的新实例。

属性

$host
apiVersion
cloudEndpoints
operations
operationStatusOperations
privateEndpointConnections
privateLinkResources
registeredServers
serverEndpoints
storageSyncServices
subscriptionId
syncGroups
workflows

继承属性

pipeline

此客户端用于发出请求的管道

方法

locationOperationStatus(string, string, LocationOperationStatusOptionalParams)

获取操作状态

继承的方法

sendOperationRequest<T>(OperationArguments, OperationSpec)

发送使用提供的 OperationSpec 填充的 HTTP 请求。

sendRequest(PipelineRequest)

发送提供的 httpRequest。

构造函数详细信息

MicrosoftStorageSync(TokenCredential, string, MicrosoftStorageSyncOptionalParams)

初始化 MicrosoftStorageSync 类的新实例。

new MicrosoftStorageSync(credentials: TokenCredential, subscriptionId: string, options?: MicrosoftStorageSyncOptionalParams)

参数

credentials
TokenCredential

唯一标识客户端订阅的订阅凭据。

subscriptionId

string

目标订阅的 ID。

options
MicrosoftStorageSyncOptionalParams

参数选项

属性详细信息

$host

$host: string

属性值

string

apiVersion

apiVersion: string

属性值

string

cloudEndpoints

cloudEndpoints: CloudEndpoints

属性值

operations

operations: Operations

属性值

operationStatusOperations

operationStatusOperations: OperationStatusOperations

属性值

privateEndpointConnections

privateEndpointConnections: PrivateEndpointConnections

属性值

privateLinkResources

privateLinkResources: PrivateLinkResources

属性值

registeredServers

registeredServers: RegisteredServers

属性值

serverEndpoints

serverEndpoints: ServerEndpoints

属性值

storageSyncServices

storageSyncServices: StorageSyncServices

属性值

subscriptionId

subscriptionId: string

属性值

string

syncGroups

syncGroups: SyncGroups

属性值

workflows

workflows: Workflows

属性值

继承属性详细信息

pipeline

此客户端用于发出请求的管道

pipeline: Pipeline

属性值

继承自 coreClient.ServiceClient.pipeline

方法详细信息

locationOperationStatus(string, string, LocationOperationStatusOptionalParams)

获取操作状态

function locationOperationStatus(locationName: string, operationId: string, options?: LocationOperationStatusOptionalParams): Promise<LocationOperationStatusResponse>

参数

locationName

string

要从中获取信息的所需区域。

operationId

string

操作 ID

options
LocationOperationStatusOptionalParams

选项参数。

返回

继承的方法详细信息

sendOperationRequest<T>(OperationArguments, OperationSpec)

发送使用提供的 OperationSpec 填充的 HTTP 请求。

function sendOperationRequest<T>(operationArguments: OperationArguments, operationSpec: OperationSpec): Promise<T>

参数

operationArguments
OperationArguments

将从中填充 HTTP 请求的模板化值的参数。

operationSpec
OperationSpec

用于填充 httpRequest 的 OperationSpec。

返回

Promise<T>

继承自 coreClient.ServiceClient.sendOperationRequest

sendRequest(PipelineRequest)

发送提供的 httpRequest。

function sendRequest(request: PipelineRequest): Promise<PipelineResponse>

参数

request
PipelineRequest

返回

Promise<PipelineResponse>

继承自 coreClient.ServiceClient.sendRequest