NetworkInterfaces interface
Interface representing a NetworkInterfaces.
Methods
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.
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.
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.
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.
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.
The options parameters.
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.
The options parameters.
Returns
Promise<EffectiveRouteListResult>
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.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<EffectiveNetworkSecurityGroupListResult>, EffectiveNetworkSecurityGroupListResult>>
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.
The options parameters.
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.
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.
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.
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.
The options parameters.
Returns
listAll(NetworkInterfacesListAllOptionalParams)
Gets all network interfaces in a subscription.
function listAll(options?: NetworkInterfacesListAllOptionalParams): PagedAsyncIterableIterator<NetworkInterface, NetworkInterface[], PageSettings>
Parameters
The options parameters.