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

IpAllocations interface

表示 IpAllocations 的接口。

方法

beginCreateOrUpdate(string, string, IpAllocation, IpAllocationsCreateOrUpdateOptionalParams)

在指定的资源组中创建或更新 IpAllocation。

beginCreateOrUpdateAndWait(string, string, IpAllocation, IpAllocationsCreateOrUpdateOptionalParams)

在指定的资源组中创建或更新 IpAllocation。

beginDelete(string, string, IpAllocationsDeleteOptionalParams)

删除指定的 IpAllocation。

beginDeleteAndWait(string, string, IpAllocationsDeleteOptionalParams)

删除指定的 IpAllocation。

get(string, string, IpAllocationsGetOptionalParams)

按资源组获取指定的 IpAllocation。

list(IpAllocationsListOptionalParams)

获取订阅中的所有 IpAllocations。

listByResourceGroup(string, IpAllocationsListByResourceGroupOptionalParams)

获取资源组中的所有 IpAllocations。

updateTags(string, string, TagsObject, IpAllocationsUpdateTagsOptionalParams)

更新 IpAllocation 标记。

方法详细信息

beginCreateOrUpdate(string, string, IpAllocation, IpAllocationsCreateOrUpdateOptionalParams)

在指定的资源组中创建或更新 IpAllocation。

function beginCreateOrUpdate(resourceGroupName: string, ipAllocationName: string, parameters: IpAllocation, options?: IpAllocationsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<IpAllocation>, IpAllocation>>

参数

resourceGroupName

string

资源组的名称。

ipAllocationName

string

IpAllocation 的名称。

parameters
IpAllocation

提供给创建或更新虚拟网络作的参数。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<IpAllocation>, IpAllocation>>

beginCreateOrUpdateAndWait(string, string, IpAllocation, IpAllocationsCreateOrUpdateOptionalParams)

在指定的资源组中创建或更新 IpAllocation。

function beginCreateOrUpdateAndWait(resourceGroupName: string, ipAllocationName: string, parameters: IpAllocation, options?: IpAllocationsCreateOrUpdateOptionalParams): Promise<IpAllocation>

参数

resourceGroupName

string

资源组的名称。

ipAllocationName

string

IpAllocation 的名称。

parameters
IpAllocation

提供给创建或更新虚拟网络作的参数。

返回

Promise<IpAllocation>

beginDelete(string, string, IpAllocationsDeleteOptionalParams)

删除指定的 IpAllocation。

function beginDelete(resourceGroupName: string, ipAllocationName: string, options?: IpAllocationsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

参数

resourceGroupName

string

资源组的名称。

ipAllocationName

string

IpAllocation 的名称。

options
IpAllocationsDeleteOptionalParams

选项参数。

返回

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, IpAllocationsDeleteOptionalParams)

删除指定的 IpAllocation。

function beginDeleteAndWait(resourceGroupName: string, ipAllocationName: string, options?: IpAllocationsDeleteOptionalParams): Promise<void>

参数

resourceGroupName

string

资源组的名称。

ipAllocationName

string

IpAllocation 的名称。

options
IpAllocationsDeleteOptionalParams

选项参数。

返回

Promise<void>

get(string, string, IpAllocationsGetOptionalParams)

按资源组获取指定的 IpAllocation。

function get(resourceGroupName: string, ipAllocationName: string, options?: IpAllocationsGetOptionalParams): Promise<IpAllocation>

参数

resourceGroupName

string

资源组的名称。

ipAllocationName

string

IpAllocation 的名称。

options
IpAllocationsGetOptionalParams

选项参数。

返回

Promise<IpAllocation>

list(IpAllocationsListOptionalParams)

获取订阅中的所有 IpAllocations。

function list(options?: IpAllocationsListOptionalParams): PagedAsyncIterableIterator<IpAllocation, IpAllocation[], PageSettings>

参数

options
IpAllocationsListOptionalParams

选项参数。

返回

listByResourceGroup(string, IpAllocationsListByResourceGroupOptionalParams)

获取资源组中的所有 IpAllocations。

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

参数

resourceGroupName

string

资源组的名称。

返回

updateTags(string, string, TagsObject, IpAllocationsUpdateTagsOptionalParams)

更新 IpAllocation 标记。

function updateTags(resourceGroupName: string, ipAllocationName: string, parameters: TagsObject, options?: IpAllocationsUpdateTagsOptionalParams): Promise<IpAllocation>

参数

resourceGroupName

string

资源组的名称。

ipAllocationName

string

IpAllocation 的名称。

parameters
TagsObject

提供用于更新 IpAllocation 标记的参数。

options
IpAllocationsUpdateTagsOptionalParams

选项参数。

返回

Promise<IpAllocation>