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

StorageSyncServices interface

表示 StorageSyncServices 的接口。

方法

beginCreate(string, string, StorageSyncServiceCreateParameters, StorageSyncServicesCreateOptionalParams)

创建新的 StorageSyncService。

beginCreateAndWait(string, string, StorageSyncServiceCreateParameters, StorageSyncServicesCreateOptionalParams)

创建新的 StorageSyncService。

beginDelete(string, string, StorageSyncServicesDeleteOptionalParams)

删除给定的 StorageSyncService。

beginDeleteAndWait(string, string, StorageSyncServicesDeleteOptionalParams)

删除给定的 StorageSyncService。

beginUpdate(string, string, StorageSyncServicesUpdateOptionalParams)

修补给定的 StorageSyncService。

beginUpdateAndWait(string, string, StorageSyncServicesUpdateOptionalParams)

修补给定的 StorageSyncService。

checkNameAvailability(string, CheckNameAvailabilityParameters, StorageSyncServicesCheckNameAvailabilityOptionalParams)

检查提供命名空间名称的可用性。

get(string, string, StorageSyncServicesGetOptionalParams)

获取给定的 StorageSyncService。

listByResourceGroup(string, StorageSyncServicesListByResourceGroupOptionalParams)

按资源组名称获取 StorageSyncService 列表。

listBySubscription(StorageSyncServicesListBySubscriptionOptionalParams)

按订阅获取 StorageSyncService 列表。

方法详细信息

beginCreate(string, string, StorageSyncServiceCreateParameters, StorageSyncServicesCreateOptionalParams)

创建新的 StorageSyncService。

function beginCreate(resourceGroupName: string, storageSyncServiceName: string, parameters: StorageSyncServiceCreateParameters, options?: StorageSyncServicesCreateOptionalParams): Promise<PollerLike<PollOperationState<StorageSyncService>, StorageSyncService>>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

storageSyncServiceName

string

存储同步服务资源的名称。

parameters
StorageSyncServiceCreateParameters

存储同步服务资源名称。

options
StorageSyncServicesCreateOptionalParams

选项参数。

返回

Promise<PollerLike<@azure/core-lro.PollOperationState<StorageSyncService>, StorageSyncService>>

beginCreateAndWait(string, string, StorageSyncServiceCreateParameters, StorageSyncServicesCreateOptionalParams)

创建新的 StorageSyncService。

function beginCreateAndWait(resourceGroupName: string, storageSyncServiceName: string, parameters: StorageSyncServiceCreateParameters, options?: StorageSyncServicesCreateOptionalParams): Promise<StorageSyncService>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

storageSyncServiceName

string

存储同步服务资源的名称。

parameters
StorageSyncServiceCreateParameters

存储同步服务资源名称。

options
StorageSyncServicesCreateOptionalParams

选项参数。

返回

beginDelete(string, string, StorageSyncServicesDeleteOptionalParams)

删除给定的 StorageSyncService。

function beginDelete(resourceGroupName: string, storageSyncServiceName: string, options?: StorageSyncServicesDeleteOptionalParams): Promise<PollerLike<PollOperationState<StorageSyncServicesDeleteHeaders>, StorageSyncServicesDeleteHeaders>>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

storageSyncServiceName

string

存储同步服务资源的名称。

options
StorageSyncServicesDeleteOptionalParams

选项参数。

返回

Promise<PollerLike<@azure/core-lro.PollOperationState<StorageSyncServicesDeleteHeaders>, StorageSyncServicesDeleteHeaders>>

beginDeleteAndWait(string, string, StorageSyncServicesDeleteOptionalParams)

删除给定的 StorageSyncService。

function beginDeleteAndWait(resourceGroupName: string, storageSyncServiceName: string, options?: StorageSyncServicesDeleteOptionalParams): Promise<StorageSyncServicesDeleteHeaders>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

storageSyncServiceName

string

存储同步服务资源的名称。

options
StorageSyncServicesDeleteOptionalParams

选项参数。

返回

beginUpdate(string, string, StorageSyncServicesUpdateOptionalParams)

修补给定的 StorageSyncService。

function beginUpdate(resourceGroupName: string, storageSyncServiceName: string, options?: StorageSyncServicesUpdateOptionalParams): Promise<PollerLike<PollOperationState<StorageSyncServicesUpdateResponse>, StorageSyncServicesUpdateResponse>>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

storageSyncServiceName

string

存储同步服务资源的名称。

options
StorageSyncServicesUpdateOptionalParams

选项参数。

返回

Promise<PollerLike<@azure/core-lro.PollOperationState<StorageSyncServicesUpdateResponse>, StorageSyncServicesUpdateResponse>>

beginUpdateAndWait(string, string, StorageSyncServicesUpdateOptionalParams)

修补给定的 StorageSyncService。

function beginUpdateAndWait(resourceGroupName: string, storageSyncServiceName: string, options?: StorageSyncServicesUpdateOptionalParams): Promise<StorageSyncServicesUpdateResponse>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

storageSyncServiceName

string

存储同步服务资源的名称。

options
StorageSyncServicesUpdateOptionalParams

选项参数。

返回

checkNameAvailability(string, CheckNameAvailabilityParameters, StorageSyncServicesCheckNameAvailabilityOptionalParams)

检查提供命名空间名称的可用性。

function checkNameAvailability(locationName: string, parameters: CheckNameAvailabilityParameters, options?: StorageSyncServicesCheckNameAvailabilityOptionalParams): Promise<CheckNameAvailabilityResult>

参数

locationName

string

名称检查的所需区域。

parameters
CheckNameAvailabilityParameters

用于检查给定命名空间名称可用性的参数

返回

get(string, string, StorageSyncServicesGetOptionalParams)

获取给定的 StorageSyncService。

function get(resourceGroupName: string, storageSyncServiceName: string, options?: StorageSyncServicesGetOptionalParams): Promise<StorageSyncServicesGetResponse>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

storageSyncServiceName

string

存储同步服务资源的名称。

options
StorageSyncServicesGetOptionalParams

选项参数。

返回

listByResourceGroup(string, StorageSyncServicesListByResourceGroupOptionalParams)

按资源组名称获取 StorageSyncService 列表。

function listByResourceGroup(resourceGroupName: string, options?: StorageSyncServicesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<StorageSyncService, StorageSyncService[], PageSettings>

参数

resourceGroupName

string

资源组的名称。 此名称不区分大小写。

返回

listBySubscription(StorageSyncServicesListBySubscriptionOptionalParams)

按订阅获取 StorageSyncService 列表。

function listBySubscription(options?: StorageSyncServicesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<StorageSyncService, StorageSyncService[], PageSettings>

参数

返回