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

CustomIPPrefixes interface

表示 CustomIPPrefixes 的接口。

方法

beginCreateOrUpdate(string, string, CustomIpPrefix, CustomIPPrefixesCreateOrUpdateOptionalParams)

创建或更新自定义 IP 前缀。

beginCreateOrUpdateAndWait(string, string, CustomIpPrefix, CustomIPPrefixesCreateOrUpdateOptionalParams)

创建或更新自定义 IP 前缀。

beginDelete(string, string, CustomIPPrefixesDeleteOptionalParams)

删除指定的自定义 IP 前缀。

beginDeleteAndWait(string, string, CustomIPPrefixesDeleteOptionalParams)

删除指定的自定义 IP 前缀。

get(string, string, CustomIPPrefixesGetOptionalParams)

获取指定资源组中的指定自定义 IP 前缀。

list(string, CustomIPPrefixesListOptionalParams)

获取资源组中的所有自定义 IP 前缀。

listAll(CustomIPPrefixesListAllOptionalParams)

获取订阅中的所有自定义 IP 前缀。

updateTags(string, string, TagsObject, CustomIPPrefixesUpdateTagsOptionalParams)

更新自定义 IP 前缀标记。

方法详细信息

beginCreateOrUpdate(string, string, CustomIpPrefix, CustomIPPrefixesCreateOrUpdateOptionalParams)

创建或更新自定义 IP 前缀。

function beginCreateOrUpdate(resourceGroupName: string, customIpPrefixName: string, parameters: CustomIpPrefix, options?: CustomIPPrefixesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<CustomIpPrefix>, CustomIpPrefix>>

参数

resourceGroupName

string

资源组的名称。

customIpPrefixName

string

自定义 IP 前缀的名称。

parameters
CustomIpPrefix

提供给创建或更新自定义 IP 前缀作的参数。

返回

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

beginCreateOrUpdateAndWait(string, string, CustomIpPrefix, CustomIPPrefixesCreateOrUpdateOptionalParams)

创建或更新自定义 IP 前缀。

function beginCreateOrUpdateAndWait(resourceGroupName: string, customIpPrefixName: string, parameters: CustomIpPrefix, options?: CustomIPPrefixesCreateOrUpdateOptionalParams): Promise<CustomIpPrefix>

参数

resourceGroupName

string

资源组的名称。

customIpPrefixName

string

自定义 IP 前缀的名称。

parameters
CustomIpPrefix

提供给创建或更新自定义 IP 前缀作的参数。

返回

Promise<CustomIpPrefix>

beginDelete(string, string, CustomIPPrefixesDeleteOptionalParams)

删除指定的自定义 IP 前缀。

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

参数

resourceGroupName

string

资源组的名称。

customIpPrefixName

string

CustomIpPrefix 的名称。

options
CustomIPPrefixesDeleteOptionalParams

选项参数。

返回

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

beginDeleteAndWait(string, string, CustomIPPrefixesDeleteOptionalParams)

删除指定的自定义 IP 前缀。

function beginDeleteAndWait(resourceGroupName: string, customIpPrefixName: string, options?: CustomIPPrefixesDeleteOptionalParams): Promise<void>

参数

resourceGroupName

string

资源组的名称。

customIpPrefixName

string

CustomIpPrefix 的名称。

options
CustomIPPrefixesDeleteOptionalParams

选项参数。

返回

Promise<void>

get(string, string, CustomIPPrefixesGetOptionalParams)

获取指定资源组中的指定自定义 IP 前缀。

function get(resourceGroupName: string, customIpPrefixName: string, options?: CustomIPPrefixesGetOptionalParams): Promise<CustomIpPrefix>

参数

resourceGroupName

string

资源组的名称。

customIpPrefixName

string

自定义 IP 前缀的名称。

options
CustomIPPrefixesGetOptionalParams

选项参数。

返回

Promise<CustomIpPrefix>

list(string, CustomIPPrefixesListOptionalParams)

获取资源组中的所有自定义 IP 前缀。

function list(resourceGroupName: string, options?: CustomIPPrefixesListOptionalParams): PagedAsyncIterableIterator<CustomIpPrefix, CustomIpPrefix[], PageSettings>

参数

resourceGroupName

string

资源组的名称。

options
CustomIPPrefixesListOptionalParams

选项参数。

返回

listAll(CustomIPPrefixesListAllOptionalParams)

获取订阅中的所有自定义 IP 前缀。

function listAll(options?: CustomIPPrefixesListAllOptionalParams): PagedAsyncIterableIterator<CustomIpPrefix, CustomIpPrefix[], PageSettings>

参数

options
CustomIPPrefixesListAllOptionalParams

选项参数。

返回

updateTags(string, string, TagsObject, CustomIPPrefixesUpdateTagsOptionalParams)

更新自定义 IP 前缀标记。

function updateTags(resourceGroupName: string, customIpPrefixName: string, parameters: TagsObject, options?: CustomIPPrefixesUpdateTagsOptionalParams): Promise<CustomIpPrefix>

参数

resourceGroupName

string

资源组的名称。

customIpPrefixName

string

自定义 IP 前缀的名称。

parameters
TagsObject

提供用于更新自定义 IP 前缀标记的参数。

返回

Promise<CustomIpPrefix>