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

NetworkInterfacesOperations interface

表示 NetworkInterfaces作的接口。

属性

createOrUpdate

创建或更新网络接口的作。 请注意,某些属性只能在创建网络接口时设置。

delete
get

获取网络接口

listAll

列出指定订阅中的所有网络接口。 在响应中使用 nextLink 属性获取下一页的网络接口。

listByResourceGroup

列出指定资源组中的所有网络接口。 在响应中使用 nextLink 属性获取下一页的网络接口。

update

更新网络接口的作。

属性详细信息

createOrUpdate

创建或更新网络接口的作。 请注意,某些属性只能在创建网络接口时设置。

createOrUpdate: (resourceGroupName: string, networkInterfaceName: string, resource: NetworkInterface, options?: NetworkInterfacesCreateOrUpdateOptionalParams) => PollerLike<OperationState<NetworkInterface>, NetworkInterface>

属性值

(resourceGroupName: string, networkInterfaceName: string, resource: NetworkInterface, options?: NetworkInterfacesCreateOrUpdateOptionalParams) => PollerLike<OperationState<NetworkInterface>, NetworkInterface>

delete

delete: (resourceGroupName: string, networkInterfaceName: string, options?: NetworkInterfacesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

属性值

(resourceGroupName: string, networkInterfaceName: string, options?: NetworkInterfacesDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

获取网络接口

get: (resourceGroupName: string, networkInterfaceName: string, options?: NetworkInterfacesGetOptionalParams) => Promise<NetworkInterface>

属性值

(resourceGroupName: string, networkInterfaceName: string, options?: NetworkInterfacesGetOptionalParams) => Promise<NetworkInterface>

listAll

列出指定订阅中的所有网络接口。 在响应中使用 nextLink 属性获取下一页的网络接口。

listAll: (options?: NetworkInterfacesListAllOptionalParams) => PagedAsyncIterableIterator<NetworkInterface, NetworkInterface[], PageSettings>

属性值

(options?: NetworkInterfacesListAllOptionalParams) => PagedAsyncIterableIterator<NetworkInterface, NetworkInterface[], PageSettings>

listByResourceGroup

列出指定资源组中的所有网络接口。 在响应中使用 nextLink 属性获取下一页的网络接口。

listByResourceGroup: (resourceGroupName: string, options?: NetworkInterfacesListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<NetworkInterface, NetworkInterface[], PageSettings>

属性值

(resourceGroupName: string, options?: NetworkInterfacesListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<NetworkInterface, NetworkInterface[], PageSettings>

update

更新网络接口的作。

update: (resourceGroupName: string, networkInterfaceName: string, properties: NetworkInterfacesUpdateRequest, options?: NetworkInterfacesUpdateOptionalParams) => PollerLike<OperationState<NetworkInterface>, NetworkInterface>

属性值

(resourceGroupName: string, networkInterfaceName: string, properties: NetworkInterfacesUpdateRequest, options?: NetworkInterfacesUpdateOptionalParams) => PollerLike<OperationState<NetworkInterface>, NetworkInterface>