Share via


NetworkInterfacesOperations interface

Interface representing a NetworkInterfaces operations.

Properties

createOrUpdate

The operation to create or update a network interface. Please note some properties can be set only during network interface creation.

delete
get

Gets a network interface

listAll

Lists all of the network interfaces in the specified subscription. Use the nextLink property in the response to get the next page of network interfaces.

listByResourceGroup

Lists all of the network interfaces in the specified resource group. Use the nextLink property in the response to get the next page of network interfaces.

update

The operation to update a network interface.

Property Details

createOrUpdate

The operation to create or update a network interface. Please note some properties can be set only during network interface creation.

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

Property Value

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

delete

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

Property Value

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

get

Gets a network interface

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

Property Value

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

listAll

Lists all of the network interfaces in the specified subscription. Use the nextLink property in the response to get the next page of network interfaces.

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

Property Value

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

listByResourceGroup

Lists all of the network interfaces in the specified resource group. Use the nextLink property in the response to get the next page of network interfaces.

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

Property Value

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

update

The operation to update a network interface.

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

Property Value

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