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

ProximityPlacementGroups interface

表示 ProximityPlacementGroups 的接口。

方法

createOrUpdate(string, string, ProximityPlacementGroup, ProximityPlacementGroupsCreateOrUpdateOptionalParams)

创建或更新邻近放置组。

delete(string, string, ProximityPlacementGroupsDeleteOptionalParams)

删除邻近放置组。

get(string, string, ProximityPlacementGroupsGetOptionalParams)

检索有关邻近放置组 的信息。

listByResourceGroup(string, ProximityPlacementGroupsListByResourceGroupOptionalParams)

列出资源组中的所有邻近放置组。

listBySubscription(ProximityPlacementGroupsListBySubscriptionOptionalParams)

列出订阅中的所有邻近放置组。

update(string, string, ProximityPlacementGroupUpdate, ProximityPlacementGroupsUpdateOptionalParams)

更新邻近放置组。

方法详细信息

createOrUpdate(string, string, ProximityPlacementGroup, ProximityPlacementGroupsCreateOrUpdateOptionalParams)

创建或更新邻近放置组。

function createOrUpdate(resourceGroupName: string, proximityPlacementGroupName: string, parameters: ProximityPlacementGroup, options?: ProximityPlacementGroupsCreateOrUpdateOptionalParams): Promise<ProximityPlacementGroup>

参数

resourceGroupName

string

资源组的名称。

proximityPlacementGroupName

string

邻近放置组的名称。

parameters
ProximityPlacementGroup

提供给“创建邻近放置组”操作的参数。

返回

delete(string, string, ProximityPlacementGroupsDeleteOptionalParams)

删除邻近放置组。

function delete(resourceGroupName: string, proximityPlacementGroupName: string, options?: ProximityPlacementGroupsDeleteOptionalParams): Promise<void>

参数

resourceGroupName

string

资源组的名称。

proximityPlacementGroupName

string

邻近放置组的名称。

返回

Promise<void>

get(string, string, ProximityPlacementGroupsGetOptionalParams)

检索有关邻近放置组 的信息。

function get(resourceGroupName: string, proximityPlacementGroupName: string, options?: ProximityPlacementGroupsGetOptionalParams): Promise<ProximityPlacementGroup>

参数

resourceGroupName

string

资源组的名称。

proximityPlacementGroupName

string

邻近放置组的名称。

返回

listByResourceGroup(string, ProximityPlacementGroupsListByResourceGroupOptionalParams)

列出资源组中的所有邻近放置组。

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

参数

resourceGroupName

string

资源组的名称。

返回

listBySubscription(ProximityPlacementGroupsListBySubscriptionOptionalParams)

列出订阅中的所有邻近放置组。

function listBySubscription(options?: ProximityPlacementGroupsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<ProximityPlacementGroup, ProximityPlacementGroup[], PageSettings>

参数

返回

update(string, string, ProximityPlacementGroupUpdate, ProximityPlacementGroupsUpdateOptionalParams)

更新邻近放置组。

function update(resourceGroupName: string, proximityPlacementGroupName: string, parameters: ProximityPlacementGroupUpdate, options?: ProximityPlacementGroupsUpdateOptionalParams): Promise<ProximityPlacementGroup>

参数

resourceGroupName

string

资源组的名称。

proximityPlacementGroupName

string

邻近放置组的名称。

parameters
ProximityPlacementGroupUpdate

提供给更新邻近放置组操作的参数。

返回