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

PeeringServices interface

表示 PeeringServices 的接口。

方法

createOrUpdate(string, string, PeeringService, PeeringServicesCreateOrUpdateOptionalParams)

创建新的对等互连服务,或更新具有给定订阅和资源组下指定名称的现有对等互连。

delete(string, string, PeeringServicesDeleteOptionalParams)

删除具有给定订阅和资源组下指定名称的现有对等互连服务。

get(string, string, PeeringServicesGetOptionalParams)

获取具有给定订阅和资源组下指定名称的现有对等互连服务。

initializeConnectionMonitor(PeeringServicesInitializeConnectionMonitorOptionalParams)

为连接监视器功能初始化对等互连服务

listByResourceGroup(string, PeeringServicesListByResourceGroupOptionalParams)

列出给定订阅和资源组下的所有对等互连服务。

listBySubscription(PeeringServicesListBySubscriptionOptionalParams)

列出给定订阅下的所有对等互连。

update(string, string, ResourceTags, PeeringServicesUpdateOptionalParams)

更新具有给定订阅和资源组下指定名称的对等互连服务的标记。

方法详细信息

createOrUpdate(string, string, PeeringService, PeeringServicesCreateOrUpdateOptionalParams)

创建新的对等互连服务,或更新具有给定订阅和资源组下指定名称的现有对等互连。

function createOrUpdate(resourceGroupName: string, peeringServiceName: string, peeringService: PeeringService, options?: PeeringServicesCreateOrUpdateOptionalParams): Promise<PeeringService>

参数

resourceGroupName

string

资源组的名称。

peeringServiceName

string

对等互连服务的名称。

peeringService
PeeringService

创建或更新对等互连服务所需的属性。

返回

Promise<PeeringService>

delete(string, string, PeeringServicesDeleteOptionalParams)

删除具有给定订阅和资源组下指定名称的现有对等互连服务。

function delete(resourceGroupName: string, peeringServiceName: string, options?: PeeringServicesDeleteOptionalParams): Promise<void>

参数

resourceGroupName

string

资源组的名称。

peeringServiceName

string

对等互连服务的名称。

options
PeeringServicesDeleteOptionalParams

选项参数。

返回

Promise<void>

get(string, string, PeeringServicesGetOptionalParams)

获取具有给定订阅和资源组下指定名称的现有对等互连服务。

function get(resourceGroupName: string, peeringServiceName: string, options?: PeeringServicesGetOptionalParams): Promise<PeeringService>

参数

resourceGroupName

string

资源组的名称。

peeringServiceName

string

对等互连的名称。

options
PeeringServicesGetOptionalParams

选项参数。

返回

Promise<PeeringService>

initializeConnectionMonitor(PeeringServicesInitializeConnectionMonitorOptionalParams)

为连接监视器功能初始化对等互连服务

function initializeConnectionMonitor(options?: PeeringServicesInitializeConnectionMonitorOptionalParams): Promise<void>

参数

返回

Promise<void>

listByResourceGroup(string, PeeringServicesListByResourceGroupOptionalParams)

列出给定订阅和资源组下的所有对等互连服务。

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

参数

resourceGroupName

string

资源组的名称。

返回

listBySubscription(PeeringServicesListBySubscriptionOptionalParams)

列出给定订阅下的所有对等互连。

function listBySubscription(options?: PeeringServicesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<PeeringService, PeeringService[], PageSettings>

参数

返回

update(string, string, ResourceTags, PeeringServicesUpdateOptionalParams)

更新具有给定订阅和资源组下指定名称的对等互连服务的标记。

function update(resourceGroupName: string, peeringServiceName: string, tags: ResourceTags, options?: PeeringServicesUpdateOptionalParams): Promise<PeeringService>

参数

resourceGroupName

string

资源组的名称。

peeringServiceName

string

对等互连服务的名称。

tags
ResourceTags

资源标记。

options
PeeringServicesUpdateOptionalParams

选项参数。

返回

Promise<PeeringService>