共用方式為


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>