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<SimplePollerLike<OperationState<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<@azure/core-lro.SimplePollerLike<OperationState<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<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- networkInterfaceName
-
string
The name of the network interface.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<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<SimplePollerLike<OperationState<EffectiveRouteListResult>, EffectiveRouteListResult>>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- networkInterfaceName
-
string
The name of the network interface.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<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<SimplePollerLike<OperationState<EffectiveNetworkSecurityGroupListResult>, EffectiveNetworkSecurityGroupListResult>>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- networkInterfaceName
-
string
The name of the network interface.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<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
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>
getCloudServiceNetworkInterface(string, string, string, string, NetworkInterfacesGetCloudServiceNetworkInterfaceOptionalParams)
Get the specified network interface in a cloud service.
function getCloudServiceNetworkInterface(resourceGroupName: string, cloudServiceName: string, roleInstanceName: string, networkInterfaceName: string, options?: NetworkInterfacesGetCloudServiceNetworkInterfaceOptionalParams): Promise<NetworkInterface>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- cloudServiceName
-
string
The name of the cloud service.
- roleInstanceName
-
string
The name of role instance.
- networkInterfaceName
-
string
The name of the network interface.
The options parameters.
Returns
Promise<NetworkInterface>
getVirtualMachineScaleSetIpConfiguration(string, string, string, string, string, NetworkInterfacesGetVirtualMachineScaleSetIpConfigurationOptionalParams)
Get the specified network interface ip configuration in a virtual machine scale set.
function getVirtualMachineScaleSetIpConfiguration(resourceGroupName: string, virtualMachineScaleSetName: string, virtualmachineIndex: string, networkInterfaceName: string, ipConfigurationName: string, options?: NetworkInterfacesGetVirtualMachineScaleSetIpConfigurationOptionalParams): Promise<NetworkInterfaceIPConfiguration>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- virtualMachineScaleSetName
-
string
The name of the virtual machine scale set.
- virtualmachineIndex
-
string
The virtual machine index.
- networkInterfaceName
-
string
The name of the network interface.
- ipConfigurationName
-
string
The name of the ip configuration.
The options parameters.
Returns
Promise<NetworkInterfaceIPConfiguration>
getVirtualMachineScaleSetNetworkInterface(string, string, string, string, NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceOptionalParams)
Get the specified network interface in a virtual machine scale set.
function getVirtualMachineScaleSetNetworkInterface(resourceGroupName: string, virtualMachineScaleSetName: string, virtualmachineIndex: string, networkInterfaceName: string, options?: NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceOptionalParams): Promise<NetworkInterface>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- virtualMachineScaleSetName
-
string
The name of the virtual machine scale set.
- virtualmachineIndex
-
string
The virtual machine index.
- 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.
Returns
listCloudServiceNetworkInterfaces(string, string, NetworkInterfacesListCloudServiceNetworkInterfacesOptionalParams)
Gets all network interfaces in a cloud service.
function listCloudServiceNetworkInterfaces(resourceGroupName: string, cloudServiceName: string, options?: NetworkInterfacesListCloudServiceNetworkInterfacesOptionalParams): PagedAsyncIterableIterator<NetworkInterface, NetworkInterface[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- cloudServiceName
-
string
The name of the cloud service.
The options parameters.
Returns
listCloudServiceRoleInstanceNetworkInterfaces(string, string, string, NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesOptionalParams)
Gets information about all network interfaces in a role instance in a cloud service.
function listCloudServiceRoleInstanceNetworkInterfaces(resourceGroupName: string, cloudServiceName: string, roleInstanceName: string, options?: NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesOptionalParams): PagedAsyncIterableIterator<NetworkInterface, NetworkInterface[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- cloudServiceName
-
string
The name of the cloud service.
- roleInstanceName
-
string
The name of role instance.
The options parameters.
Returns
listVirtualMachineScaleSetIpConfigurations(string, string, string, string, NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsOptionalParams)
Get the specified network interface ip configuration in a virtual machine scale set.
function listVirtualMachineScaleSetIpConfigurations(resourceGroupName: string, virtualMachineScaleSetName: string, virtualmachineIndex: string, networkInterfaceName: string, options?: NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsOptionalParams): PagedAsyncIterableIterator<NetworkInterfaceIPConfiguration, NetworkInterfaceIPConfiguration[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- virtualMachineScaleSetName
-
string
The name of the virtual machine scale set.
- virtualmachineIndex
-
string
The virtual machine index.
- networkInterfaceName
-
string
The name of the network interface.
The options parameters.
Returns
listVirtualMachineScaleSetNetworkInterfaces(string, string, NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesOptionalParams)
Gets all network interfaces in a virtual machine scale set.
function listVirtualMachineScaleSetNetworkInterfaces(resourceGroupName: string, virtualMachineScaleSetName: string, options?: NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesOptionalParams): PagedAsyncIterableIterator<NetworkInterface, NetworkInterface[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- virtualMachineScaleSetName
-
string
The name of the virtual machine scale set.
The options parameters.
Returns
listVirtualMachineScaleSetVMNetworkInterfaces(string, string, string, NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesOptionalParams)
Gets information about all network interfaces in a virtual machine in a virtual machine scale set.
function listVirtualMachineScaleSetVMNetworkInterfaces(resourceGroupName: string, virtualMachineScaleSetName: string, virtualmachineIndex: string, options?: NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesOptionalParams): PagedAsyncIterableIterator<NetworkInterface, NetworkInterface[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- virtualMachineScaleSetName
-
string
The name of the virtual machine scale set.
- virtualmachineIndex
-
string
The virtual machine index.
The options parameters.
Returns
updateTags(string, string, TagsObject, NetworkInterfacesUpdateTagsOptionalParams)
Updates a network interface tags.
function updateTags(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>