NetworkInterfacesOperations interface

Interface representing a NetworkInterfaces operations.

Properties

beginCreate
beginCreateAndWait
beginDelete
beginDeleteAndWait
beginUpdate
beginUpdateAdministrativeState
beginUpdateAdministrativeStateAndWait
beginUpdateAndWait
create

Create a Network Interface resource.

delete

Delete the Network Interface resource.

get

Get the Network Interface resource details.

listByNetworkDevice

List all the Network Interface resources in a given resource group.

update

Update certain properties of the Network Interface resource.

updateAdministrativeState

Update the admin state of the Network Interface.

Property Details

beginCreate

Warning

This API is now deprecated.

use create instead

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

Property Value

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

beginCreateAndWait

Warning

This API is now deprecated.

use create instead

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

Property Value

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

beginDelete

Warning

This API is now deprecated.

use delete instead

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

Property Value

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

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

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

Property Value

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

beginUpdate

Warning

This API is now deprecated.

use update instead

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

Property Value

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

beginUpdateAdministrativeState

Warning

This API is now deprecated.

use updateAdministrativeState instead

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

Property Value

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

beginUpdateAdministrativeStateAndWait

Warning

This API is now deprecated.

use updateAdministrativeState instead

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

Property Value

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

beginUpdateAndWait

Warning

This API is now deprecated.

use update instead

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

Property Value

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

create

Create a Network Interface resource.

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

Property Value

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

delete

Delete the Network Interface resource.

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

Property Value

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

get

Get the Network Interface resource details.

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

Property Value

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

listByNetworkDevice

List all the Network Interface resources in a given resource group.

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

Property Value

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

update

Update certain properties of the Network Interface resource.

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

Property Value

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

updateAdministrativeState

Update the admin state of the Network Interface.

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

Property Value

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