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

NetworkProfiles interface

表示 NetworkProfiles 的接口。

方法

beginDelete(string, string, NetworkProfilesDeleteOptionalParams)

删除指定的网络配置文件。

beginDeleteAndWait(string, string, NetworkProfilesDeleteOptionalParams)

删除指定的网络配置文件。

createOrUpdate(string, string, NetworkProfile, NetworkProfilesCreateOrUpdateOptionalParams)

创建或更新网络配置文件。

get(string, string, NetworkProfilesGetOptionalParams)

获取指定资源组中的指定网络配置文件。

list(string, NetworkProfilesListOptionalParams)

获取资源组中的所有网络配置文件。

listAll(NetworkProfilesListAllOptionalParams)

获取订阅中的所有网络配置文件。

updateTags(string, string, TagsObject, NetworkProfilesUpdateTagsOptionalParams)

更新网络配置文件标记。

方法详细信息

beginDelete(string, string, NetworkProfilesDeleteOptionalParams)

删除指定的网络配置文件。

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

参数

resourceGroupName

string

资源组的名称。

networkProfileName

string

NetworkProfile 的名称。

options
NetworkProfilesDeleteOptionalParams

选项参数。

返回

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

beginDeleteAndWait(string, string, NetworkProfilesDeleteOptionalParams)

删除指定的网络配置文件。

function beginDeleteAndWait(resourceGroupName: string, networkProfileName: string, options?: NetworkProfilesDeleteOptionalParams): Promise<void>

参数

resourceGroupName

string

资源组的名称。

networkProfileName

string

NetworkProfile 的名称。

options
NetworkProfilesDeleteOptionalParams

选项参数。

返回

Promise<void>

createOrUpdate(string, string, NetworkProfile, NetworkProfilesCreateOrUpdateOptionalParams)

创建或更新网络配置文件。

function createOrUpdate(resourceGroupName: string, networkProfileName: string, parameters: NetworkProfile, options?: NetworkProfilesCreateOrUpdateOptionalParams): Promise<NetworkProfile>

参数

resourceGroupName

string

资源组的名称。

networkProfileName

string

网络配置文件的名称。

parameters
NetworkProfile

提供给创建或更新网络配置文件作的参数。

返回

Promise<NetworkProfile>

get(string, string, NetworkProfilesGetOptionalParams)

获取指定资源组中的指定网络配置文件。

function get(resourceGroupName: string, networkProfileName: string, options?: NetworkProfilesGetOptionalParams): Promise<NetworkProfile>

参数

resourceGroupName

string

资源组的名称。

networkProfileName

string

公共 IP 前缀的名称。

options
NetworkProfilesGetOptionalParams

选项参数。

返回

Promise<NetworkProfile>

list(string, NetworkProfilesListOptionalParams)

获取资源组中的所有网络配置文件。

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

参数

resourceGroupName

string

资源组的名称。

options
NetworkProfilesListOptionalParams

选项参数。

返回

listAll(NetworkProfilesListAllOptionalParams)

获取订阅中的所有网络配置文件。

function listAll(options?: NetworkProfilesListAllOptionalParams): PagedAsyncIterableIterator<NetworkProfile, NetworkProfile[], PageSettings>

参数

options
NetworkProfilesListAllOptionalParams

选项参数。

返回

updateTags(string, string, TagsObject, NetworkProfilesUpdateTagsOptionalParams)

更新网络配置文件标记。

function updateTags(resourceGroupName: string, networkProfileName: string, parameters: TagsObject, options?: NetworkProfilesUpdateTagsOptionalParams): Promise<NetworkProfile>

参数

resourceGroupName

string

资源组的名称。

networkProfileName

string

网络配置文件的名称。

parameters
TagsObject

提供用于更新网络配置文件标记的参数。

options
NetworkProfilesUpdateTagsOptionalParams

选项参数。

返回

Promise<NetworkProfile>