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

NetworkInterfacesOperations interface

表示 NetworkInterfaces作的接口。

属性

beginCreate
beginCreateAndWait
beginDelete
beginDeleteAndWait
beginUpdate
beginUpdateAdministrativeState
beginUpdateAdministrativeStateAndWait
beginUpdateAndWait
create

创建一个网络接口资源。

delete
get

获取网络接口资源详细信息。

listByNetworkDevice

列出给定资源组中的所有网络接口资源。

update

更新网络接口资源的某些属性。

updateAdministrativeState

更新网络接口的管理员状态。

属性详细信息

beginCreate

警告

现已弃用此 API。

use create instead

beginCreate: (resourceGroupName: string, networkDeviceName: string, networkInterfaceName: string, body: NetworkInterface, options?: NetworkInterfacesCreateOptionalParams) => Promise<SimplePollerLike<OperationState<NetworkInterface>, NetworkInterface>>

属性值

(resourceGroupName: string, networkDeviceName: string, networkInterfaceName: string, body: NetworkInterface, options?: NetworkInterfacesCreateOptionalParams) => Promise<SimplePollerLike<OperationState<NetworkInterface>, NetworkInterface>>

beginCreateAndWait

警告

现已弃用此 API。

use create instead

beginCreateAndWait: (resourceGroupName: string, networkDeviceName: string, networkInterfaceName: string, body: NetworkInterface, options?: NetworkInterfacesCreateOptionalParams) => Promise<NetworkInterface>

属性值

(resourceGroupName: string, networkDeviceName: string, networkInterfaceName: string, body: NetworkInterface, options?: NetworkInterfacesCreateOptionalParams) => Promise<NetworkInterface>

beginDelete

警告

现已弃用此 API。

use delete instead

beginDelete: (resourceGroupName: string, networkDeviceName: string, networkInterfaceName: string, options?: NetworkInterfacesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

属性值

(resourceGroupName: string, networkDeviceName: string, networkInterfaceName: string, options?: NetworkInterfacesDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

警告

现已弃用此 API。

use delete instead

beginDeleteAndWait: (resourceGroupName: string, networkDeviceName: string, networkInterfaceName: string, options?: NetworkInterfacesDeleteOptionalParams) => Promise<void>

属性值

(resourceGroupName: string, networkDeviceName: string, networkInterfaceName: string, options?: NetworkInterfacesDeleteOptionalParams) => Promise<void>

beginUpdate

警告

现已弃用此 API。

use update instead

beginUpdate: (resourceGroupName: string, networkDeviceName: string, networkInterfaceName: string, body: NetworkInterfacePatch, options?: NetworkInterfacesUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<NetworkInterface>, NetworkInterface>>

属性值

(resourceGroupName: string, networkDeviceName: string, networkInterfaceName: string, body: NetworkInterfacePatch, options?: NetworkInterfacesUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<NetworkInterface>, NetworkInterface>>

beginUpdateAdministrativeState

警告

现已弃用此 API。

use updateAdministrativeState instead

beginUpdateAdministrativeState: (resourceGroupName: string, networkDeviceName: string, networkInterfaceName: string, body: UpdateAdministrativeState, options?: NetworkInterfacesUpdateAdministrativeStateOptionalParams) => Promise<SimplePollerLike<OperationState<CommonPostActionResponseForStateUpdate>, CommonPostActionResponseForStateUpdate>>

属性值

(resourceGroupName: string, networkDeviceName: string, networkInterfaceName: string, body: UpdateAdministrativeState, options?: NetworkInterfacesUpdateAdministrativeStateOptionalParams) => Promise<SimplePollerLike<OperationState<CommonPostActionResponseForStateUpdate>, CommonPostActionResponseForStateUpdate>>

beginUpdateAdministrativeStateAndWait

警告

现已弃用此 API。

use updateAdministrativeState instead

beginUpdateAdministrativeStateAndWait: (resourceGroupName: string, networkDeviceName: string, networkInterfaceName: string, body: UpdateAdministrativeState, options?: NetworkInterfacesUpdateAdministrativeStateOptionalParams) => Promise<CommonPostActionResponseForStateUpdate>

属性值

(resourceGroupName: string, networkDeviceName: string, networkInterfaceName: string, body: UpdateAdministrativeState, options?: NetworkInterfacesUpdateAdministrativeStateOptionalParams) => Promise<CommonPostActionResponseForStateUpdate>

beginUpdateAndWait

警告

现已弃用此 API。

use update instead

beginUpdateAndWait: (resourceGroupName: string, networkDeviceName: string, networkInterfaceName: string, body: NetworkInterfacePatch, options?: NetworkInterfacesUpdateOptionalParams) => Promise<NetworkInterface>

属性值

(resourceGroupName: string, networkDeviceName: string, networkInterfaceName: string, body: NetworkInterfacePatch, options?: NetworkInterfacesUpdateOptionalParams) => Promise<NetworkInterface>

create

创建一个网络接口资源。

create: (resourceGroupName: string, networkDeviceName: string, networkInterfaceName: string, body: NetworkInterface, options?: NetworkInterfacesCreateOptionalParams) => PollerLike<OperationState<NetworkInterface>, NetworkInterface>

属性值

(resourceGroupName: string, networkDeviceName: string, networkInterfaceName: string, body: NetworkInterface, options?: NetworkInterfacesCreateOptionalParams) => PollerLike<OperationState<NetworkInterface>, NetworkInterface>

delete

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

属性值

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

get

获取网络接口资源详细信息。

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

属性值

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

listByNetworkDevice

列出给定资源组中的所有网络接口资源。

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

属性值

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

update

更新网络接口资源的某些属性。

update: (resourceGroupName: string, networkDeviceName: string, networkInterfaceName: string, body: NetworkInterfacePatch, options?: NetworkInterfacesUpdateOptionalParams) => PollerLike<OperationState<NetworkInterface>, NetworkInterface>

属性值

(resourceGroupName: string, networkDeviceName: string, networkInterfaceName: string, body: NetworkInterfacePatch, options?: NetworkInterfacesUpdateOptionalParams) => PollerLike<OperationState<NetworkInterface>, NetworkInterface>

updateAdministrativeState

更新网络接口的管理员状态。

updateAdministrativeState: (resourceGroupName: string, networkDeviceName: string, networkInterfaceName: string, body: UpdateAdministrativeState, options?: NetworkInterfacesUpdateAdministrativeStateOptionalParams) => PollerLike<OperationState<CommonPostActionResponseForStateUpdate>, CommonPostActionResponseForStateUpdate>

属性值

(resourceGroupName: string, networkDeviceName: string, networkInterfaceName: string, body: UpdateAdministrativeState, options?: NetworkInterfacesUpdateAdministrativeStateOptionalParams) => PollerLike<OperationState<CommonPostActionResponseForStateUpdate>, CommonPostActionResponseForStateUpdate>