Delen via


NetworkInterfaces interface

Interface representing a NetworkInterfaces.

Methods

beginCreateOrUpdate(string, string, NetworkInterface, NetworkInterfacesCreateOrUpdateOptionalParams)

Creates or updates a network interface.

beginCreateOrUpdateAndWait(string, string, NetworkInterface, NetworkInterfacesCreateOrUpdateOptionalParams)

Creates or updates a network interface.

beginDelete(string, string, NetworkInterfacesDeleteOptionalParams)

Deletes the specified network interface.

beginDeleteAndWait(string, string, NetworkInterfacesDeleteOptionalParams)

Deletes the specified network interface.

beginGetEffectiveRouteTable(string, string, NetworkInterfacesGetEffectiveRouteTableOptionalParams)

Gets all route tables applied to a network interface.

beginGetEffectiveRouteTableAndWait(string, string, NetworkInterfacesGetEffectiveRouteTableOptionalParams)

Gets all route tables applied to a network interface.

beginListEffectiveNetworkSecurityGroups(string, string, NetworkInterfacesListEffectiveNetworkSecurityGroupsOptionalParams)

Gets all network security groups applied to a network interface.

beginListEffectiveNetworkSecurityGroupsAndWait(string, string, NetworkInterfacesListEffectiveNetworkSecurityGroupsOptionalParams)

Gets all network security groups applied to a network interface.

beginUpdateTags(string, string, TagsObject, NetworkInterfacesUpdateTagsOptionalParams)

Updates a network interface tags.

beginUpdateTagsAndWait(string, string, TagsObject, NetworkInterfacesUpdateTagsOptionalParams)

Updates a network interface tags.

get(string, string, NetworkInterfacesGetOptionalParams)

Gets information about the specified network interface.

list(string, NetworkInterfacesListOptionalParams)

Gets all network interfaces in a resource group.

listAll(NetworkInterfacesListAllOptionalParams)

Gets all network interfaces in a subscription.

Method Details

beginCreateOrUpdate(string, string, NetworkInterface, NetworkInterfacesCreateOrUpdateOptionalParams)

Creates or updates a network interface.

function beginCreateOrUpdate(resourceGroupName: string, networkInterfaceName: string, parameters: NetworkInterface, options?: NetworkInterfacesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<NetworkInterface>, NetworkInterface>>

Parameters

resourceGroupName

string

The name of the resource group.

networkInterfaceName

string

The name of the network interface.

parameters
NetworkInterface

Parameters supplied to the create or update network interface operation.

options
NetworkInterfacesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<NetworkInterface>, NetworkInterface>>

beginCreateOrUpdateAndWait(string, string, NetworkInterface, NetworkInterfacesCreateOrUpdateOptionalParams)

Creates or updates a network interface.

function beginCreateOrUpdateAndWait(resourceGroupName: string, networkInterfaceName: string, parameters: NetworkInterface, options?: NetworkInterfacesCreateOrUpdateOptionalParams): Promise<NetworkInterface>

Parameters

resourceGroupName

string

The name of the resource group.

networkInterfaceName

string

The name of the network interface.

parameters
NetworkInterface

Parameters supplied to the create or update network interface operation.

options
NetworkInterfacesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<NetworkInterface>

beginDelete(string, string, NetworkInterfacesDeleteOptionalParams)

Deletes the specified network interface.

function beginDelete(resourceGroupName: string, networkInterfaceName: string, options?: NetworkInterfacesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group.

networkInterfaceName

string

The name of the network interface.

options
NetworkInterfacesDeleteOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginDeleteAndWait(string, string, NetworkInterfacesDeleteOptionalParams)

Deletes the specified network interface.

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

Parameters

resourceGroupName

string

The name of the resource group.

networkInterfaceName

string

The name of the network interface.

options
NetworkInterfacesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

beginGetEffectiveRouteTable(string, string, NetworkInterfacesGetEffectiveRouteTableOptionalParams)

Gets all route tables applied to a network interface.

function beginGetEffectiveRouteTable(resourceGroupName: string, networkInterfaceName: string, options?: NetworkInterfacesGetEffectiveRouteTableOptionalParams): Promise<PollerLike<PollOperationState<EffectiveRouteListResult>, EffectiveRouteListResult>>

Parameters

resourceGroupName

string

The name of the resource group.

networkInterfaceName

string

The name of the network interface.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<EffectiveRouteListResult>, EffectiveRouteListResult>>

beginGetEffectiveRouteTableAndWait(string, string, NetworkInterfacesGetEffectiveRouteTableOptionalParams)

Gets all route tables applied to a network interface.

function beginGetEffectiveRouteTableAndWait(resourceGroupName: string, networkInterfaceName: string, options?: NetworkInterfacesGetEffectiveRouteTableOptionalParams): Promise<EffectiveRouteListResult>

Parameters

resourceGroupName

string

The name of the resource group.

networkInterfaceName

string

The name of the network interface.

Returns

beginListEffectiveNetworkSecurityGroups(string, string, NetworkInterfacesListEffectiveNetworkSecurityGroupsOptionalParams)

Gets all network security groups applied to a network interface.

function beginListEffectiveNetworkSecurityGroups(resourceGroupName: string, networkInterfaceName: string, options?: NetworkInterfacesListEffectiveNetworkSecurityGroupsOptionalParams): Promise<PollerLike<PollOperationState<EffectiveNetworkSecurityGroupListResult>, EffectiveNetworkSecurityGroupListResult>>

Parameters

resourceGroupName

string

The name of the resource group.

networkInterfaceName

string

The name of the network interface.

Returns

beginListEffectiveNetworkSecurityGroupsAndWait(string, string, NetworkInterfacesListEffectiveNetworkSecurityGroupsOptionalParams)

Gets all network security groups applied to a network interface.

function beginListEffectiveNetworkSecurityGroupsAndWait(resourceGroupName: string, networkInterfaceName: string, options?: NetworkInterfacesListEffectiveNetworkSecurityGroupsOptionalParams): Promise<EffectiveNetworkSecurityGroupListResult>

Parameters

resourceGroupName

string

The name of the resource group.

networkInterfaceName

string

The name of the network interface.

Returns

beginUpdateTags(string, string, TagsObject, NetworkInterfacesUpdateTagsOptionalParams)

Updates a network interface tags.

function beginUpdateTags(resourceGroupName: string, networkInterfaceName: string, parameters: TagsObject, options?: NetworkInterfacesUpdateTagsOptionalParams): Promise<PollerLike<PollOperationState<NetworkInterface>, NetworkInterface>>

Parameters

resourceGroupName

string

The name of the resource group.

networkInterfaceName

string

The name of the network interface.

parameters
TagsObject

Parameters supplied to update network interface tags.

options
NetworkInterfacesUpdateTagsOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<NetworkInterface>, NetworkInterface>>

beginUpdateTagsAndWait(string, string, TagsObject, NetworkInterfacesUpdateTagsOptionalParams)

Updates a network interface tags.

function beginUpdateTagsAndWait(resourceGroupName: string, networkInterfaceName: string, parameters: TagsObject, options?: NetworkInterfacesUpdateTagsOptionalParams): Promise<NetworkInterface>

Parameters

resourceGroupName

string

The name of the resource group.

networkInterfaceName

string

The name of the network interface.

parameters
TagsObject

Parameters supplied to update network interface tags.

options
NetworkInterfacesUpdateTagsOptionalParams

The options parameters.

Returns

Promise<NetworkInterface>

get(string, string, NetworkInterfacesGetOptionalParams)

Gets information about the specified network interface.

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

Parameters

resourceGroupName

string

The name of the resource group.

networkInterfaceName

string

The name of the network interface.

options
NetworkInterfacesGetOptionalParams

The options parameters.

Returns

Promise<NetworkInterface>

list(string, NetworkInterfacesListOptionalParams)

Gets all network interfaces in a resource group.

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

Parameters

resourceGroupName

string

The name of the resource group.

options
NetworkInterfacesListOptionalParams

The options parameters.

Returns

listAll(NetworkInterfacesListAllOptionalParams)

Gets all network interfaces in a subscription.

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

Parameters

options
NetworkInterfacesListAllOptionalParams

The options parameters.

Returns