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

BandwidthSettings interface

表示 BandwidthSettings 的接口。

方法

beginCreateOrUpdate(string, string, string, BandwidthSetting, BandwidthSettingsCreateOrUpdateOptionalParams)

创建或更新带宽设置

beginCreateOrUpdateAndWait(string, string, string, BandwidthSetting, BandwidthSettingsCreateOrUpdateOptionalParams)

创建或更新带宽设置

beginDelete(string, string, string, BandwidthSettingsDeleteOptionalParams)

删除带宽设置

beginDeleteAndWait(string, string, string, BandwidthSettingsDeleteOptionalParams)

删除带宽设置

get(string, string, string, BandwidthSettingsGetOptionalParams)

返回指定带宽设置名称的属性。

listByManager(string, string, BandwidthSettingsListByManagerOptionalParams)

检索管理器中的所有带宽设置。

方法详细信息

beginCreateOrUpdate(string, string, string, BandwidthSetting, BandwidthSettingsCreateOrUpdateOptionalParams)

创建或更新带宽设置

function beginCreateOrUpdate(bandwidthSettingName: string, resourceGroupName: string, managerName: string, parameters: BandwidthSetting, options?: BandwidthSettingsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<BandwidthSetting>, BandwidthSetting>>

参数

bandwidthSettingName

string

带宽设置名称。

resourceGroupName

string

资源组名称

managerName

string

经理姓名

parameters
BandwidthSetting

要添加或更新的带宽设置。

返回

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

beginCreateOrUpdateAndWait(string, string, string, BandwidthSetting, BandwidthSettingsCreateOrUpdateOptionalParams)

创建或更新带宽设置

function beginCreateOrUpdateAndWait(bandwidthSettingName: string, resourceGroupName: string, managerName: string, parameters: BandwidthSetting, options?: BandwidthSettingsCreateOrUpdateOptionalParams): Promise<BandwidthSetting>

参数

bandwidthSettingName

string

带宽设置名称。

resourceGroupName

string

资源组名称

managerName

string

经理姓名

parameters
BandwidthSetting

要添加或更新的带宽设置。

返回

Promise<BandwidthSetting>

beginDelete(string, string, string, BandwidthSettingsDeleteOptionalParams)

删除带宽设置

function beginDelete(bandwidthSettingName: string, resourceGroupName: string, managerName: string, options?: BandwidthSettingsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

参数

bandwidthSettingName

string

带宽设置的名称。

resourceGroupName

string

资源组名称

managerName

string

经理姓名

options
BandwidthSettingsDeleteOptionalParams

选项参数。

返回

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

beginDeleteAndWait(string, string, string, BandwidthSettingsDeleteOptionalParams)

删除带宽设置

function beginDeleteAndWait(bandwidthSettingName: string, resourceGroupName: string, managerName: string, options?: BandwidthSettingsDeleteOptionalParams): Promise<void>

参数

bandwidthSettingName

string

带宽设置的名称。

resourceGroupName

string

资源组名称

managerName

string

经理姓名

options
BandwidthSettingsDeleteOptionalParams

选项参数。

返回

Promise<void>

get(string, string, string, BandwidthSettingsGetOptionalParams)

返回指定带宽设置名称的属性。

function get(bandwidthSettingName: string, resourceGroupName: string, managerName: string, options?: BandwidthSettingsGetOptionalParams): Promise<BandwidthSetting>

参数

bandwidthSettingName

string

要提取的带宽设置的名称。

resourceGroupName

string

资源组名称

managerName

string

经理姓名

options
BandwidthSettingsGetOptionalParams

选项参数。

返回

Promise<BandwidthSetting>

listByManager(string, string, BandwidthSettingsListByManagerOptionalParams)

检索管理器中的所有带宽设置。

function listByManager(resourceGroupName: string, managerName: string, options?: BandwidthSettingsListByManagerOptionalParams): PagedAsyncIterableIterator<BandwidthSetting, BandwidthSetting[], PageSettings>

参数

resourceGroupName

string

资源组名称

managerName

string

经理姓名

返回