NetworkInterfaces interface
表示 NetworkInterfaces 的接口。
方法
方法详细信息
beginCreateOrUpdate(string, string, NetworkInterface, NetworkInterfacesCreateOrUpdateOptionalParams)
创建或更新网络接口。
function beginCreateOrUpdate(resourceGroupName: string, networkInterfaceName: string, parameters: NetworkInterface, options?: NetworkInterfacesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<NetworkInterface>, NetworkInterface>>
参数
- resourceGroupName
-
string
资源组的名称。
- networkInterfaceName
-
string
网络接口的名称。
- parameters
- NetworkInterface
提供给创建或更新网络接口作的参数。
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<NetworkInterface>, NetworkInterface>>
beginCreateOrUpdateAndWait(string, string, NetworkInterface, NetworkInterfacesCreateOrUpdateOptionalParams)
创建或更新网络接口。
function beginCreateOrUpdateAndWait(resourceGroupName: string, networkInterfaceName: string, parameters: NetworkInterface, options?: NetworkInterfacesCreateOrUpdateOptionalParams): Promise<NetworkInterface>
参数
- resourceGroupName
-
string
资源组的名称。
- networkInterfaceName
-
string
网络接口的名称。
- parameters
- NetworkInterface
提供给创建或更新网络接口作的参数。
选项参数。
返回
Promise<NetworkInterface>
beginDelete(string, string, NetworkInterfacesDeleteOptionalParams)
删除指定的网络接口。
function beginDelete(resourceGroupName: string, networkInterfaceName: string, options?: NetworkInterfacesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
参数
- resourceGroupName
-
string
资源组的名称。
- networkInterfaceName
-
string
网络接口的名称。
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, NetworkInterfacesDeleteOptionalParams)
删除指定的网络接口。
function beginDeleteAndWait(resourceGroupName: string, networkInterfaceName: string, options?: NetworkInterfacesDeleteOptionalParams): Promise<void>
参数
- resourceGroupName
-
string
资源组的名称。
- networkInterfaceName
-
string
网络接口的名称。
选项参数。
返回
Promise<void>
beginGetEffectiveRouteTable(string, string, NetworkInterfacesGetEffectiveRouteTableOptionalParams)
获取应用于网络接口的所有路由表。
function beginGetEffectiveRouteTable(resourceGroupName: string, networkInterfaceName: string, options?: NetworkInterfacesGetEffectiveRouteTableOptionalParams): Promise<SimplePollerLike<OperationState<EffectiveRouteListResult>, EffectiveRouteListResult>>
参数
- resourceGroupName
-
string
资源组的名称。
- networkInterfaceName
-
string
网络接口的名称。
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<EffectiveRouteListResult>, EffectiveRouteListResult>>
beginGetEffectiveRouteTableAndWait(string, string, NetworkInterfacesGetEffectiveRouteTableOptionalParams)
获取应用于网络接口的所有路由表。
function beginGetEffectiveRouteTableAndWait(resourceGroupName: string, networkInterfaceName: string, options?: NetworkInterfacesGetEffectiveRouteTableOptionalParams): Promise<EffectiveRouteListResult>
参数
- resourceGroupName
-
string
资源组的名称。
- networkInterfaceName
-
string
网络接口的名称。
选项参数。
返回
Promise<EffectiveRouteListResult>
beginListEffectiveNetworkSecurityGroups(string, string, NetworkInterfacesListEffectiveNetworkSecurityGroupsOptionalParams)
获取应用于网络接口的所有网络安全组。
function beginListEffectiveNetworkSecurityGroups(resourceGroupName: string, networkInterfaceName: string, options?: NetworkInterfacesListEffectiveNetworkSecurityGroupsOptionalParams): Promise<SimplePollerLike<OperationState<EffectiveNetworkSecurityGroupListResult>, EffectiveNetworkSecurityGroupListResult>>
参数
- resourceGroupName
-
string
资源组的名称。
- networkInterfaceName
-
string
网络接口的名称。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<EffectiveNetworkSecurityGroupListResult>, EffectiveNetworkSecurityGroupListResult>>
beginListEffectiveNetworkSecurityGroupsAndWait(string, string, NetworkInterfacesListEffectiveNetworkSecurityGroupsOptionalParams)
获取应用于网络接口的所有网络安全组。
function beginListEffectiveNetworkSecurityGroupsAndWait(resourceGroupName: string, networkInterfaceName: string, options?: NetworkInterfacesListEffectiveNetworkSecurityGroupsOptionalParams): Promise<EffectiveNetworkSecurityGroupListResult>
参数
- resourceGroupName
-
string
资源组的名称。
- networkInterfaceName
-
string
网络接口的名称。
返回
get(string, string, NetworkInterfacesGetOptionalParams)
获取有关指定网络接口的信息。
function get(resourceGroupName: string, networkInterfaceName: string, options?: NetworkInterfacesGetOptionalParams): Promise<NetworkInterface>
参数
- resourceGroupName
-
string
资源组的名称。
- networkInterfaceName
-
string
网络接口的名称。
选项参数。
返回
Promise<NetworkInterface>
getCloudServiceNetworkInterface(string, string, string, string, NetworkInterfacesGetCloudServiceNetworkInterfaceOptionalParams)
获取云服务中的指定网络接口。
function getCloudServiceNetworkInterface(resourceGroupName: string, cloudServiceName: string, roleInstanceName: string, networkInterfaceName: string, options?: NetworkInterfacesGetCloudServiceNetworkInterfaceOptionalParams): Promise<NetworkInterface>
参数
- resourceGroupName
-
string
资源组的名称。
- cloudServiceName
-
string
云服务的名称。
- roleInstanceName
-
string
角色实例的名称。
- networkInterfaceName
-
string
网络接口的名称。
返回
Promise<NetworkInterface>
getVirtualMachineScaleSetIpConfiguration(string, string, string, string, string, NetworkInterfacesGetVirtualMachineScaleSetIpConfigurationOptionalParams)
获取虚拟机规模集中的指定网络接口 IP 配置。
function getVirtualMachineScaleSetIpConfiguration(resourceGroupName: string, virtualMachineScaleSetName: string, virtualmachineIndex: string, networkInterfaceName: string, ipConfigurationName: string, options?: NetworkInterfacesGetVirtualMachineScaleSetIpConfigurationOptionalParams): Promise<NetworkInterfaceIPConfiguration>
参数
- resourceGroupName
-
string
资源组的名称。
- virtualMachineScaleSetName
-
string
虚拟机规模集的名称。
- virtualmachineIndex
-
string
虚拟机索引。
- networkInterfaceName
-
string
网络接口的名称。
- ipConfigurationName
-
string
IP 配置的名称。
返回
Promise<NetworkInterfaceIPConfiguration>
getVirtualMachineScaleSetNetworkInterface(string, string, string, string, NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceOptionalParams)
获取虚拟机规模集中的指定网络接口。
function getVirtualMachineScaleSetNetworkInterface(resourceGroupName: string, virtualMachineScaleSetName: string, virtualmachineIndex: string, networkInterfaceName: string, options?: NetworkInterfacesGetVirtualMachineScaleSetNetworkInterfaceOptionalParams): Promise<NetworkInterface>
参数
- resourceGroupName
-
string
资源组的名称。
- virtualMachineScaleSetName
-
string
虚拟机规模集的名称。
- virtualmachineIndex
-
string
虚拟机索引。
- networkInterfaceName
-
string
网络接口的名称。
返回
Promise<NetworkInterface>
list(string, NetworkInterfacesListOptionalParams)
获取资源组中的所有网络接口。
function list(resourceGroupName: string, options?: NetworkInterfacesListOptionalParams): PagedAsyncIterableIterator<NetworkInterface, NetworkInterface[], PageSettings>
参数
- resourceGroupName
-
string
资源组的名称。
选项参数。
返回
listAll(NetworkInterfacesListAllOptionalParams)
获取订阅中的所有网络接口。
function listAll(options?: NetworkInterfacesListAllOptionalParams): PagedAsyncIterableIterator<NetworkInterface, NetworkInterface[], PageSettings>
参数
选项参数。
返回
listCloudServiceNetworkInterfaces(string, string, NetworkInterfacesListCloudServiceNetworkInterfacesOptionalParams)
获取云服务中的所有网络接口。
function listCloudServiceNetworkInterfaces(resourceGroupName: string, cloudServiceName: string, options?: NetworkInterfacesListCloudServiceNetworkInterfacesOptionalParams): PagedAsyncIterableIterator<NetworkInterface, NetworkInterface[], PageSettings>
参数
- resourceGroupName
-
string
资源组的名称。
- cloudServiceName
-
string
云服务的名称。
返回
listCloudServiceRoleInstanceNetworkInterfaces(string, string, string, NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesOptionalParams)
获取有关云服务中角色实例中的所有网络接口的信息。
function listCloudServiceRoleInstanceNetworkInterfaces(resourceGroupName: string, cloudServiceName: string, roleInstanceName: string, options?: NetworkInterfacesListCloudServiceRoleInstanceNetworkInterfacesOptionalParams): PagedAsyncIterableIterator<NetworkInterface, NetworkInterface[], PageSettings>
参数
- resourceGroupName
-
string
资源组的名称。
- cloudServiceName
-
string
云服务的名称。
- roleInstanceName
-
string
角色实例的名称。
返回
listVirtualMachineScaleSetIpConfigurations(string, string, string, string, NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsOptionalParams)
获取虚拟机规模集中的指定网络接口 IP 配置。
function listVirtualMachineScaleSetIpConfigurations(resourceGroupName: string, virtualMachineScaleSetName: string, virtualmachineIndex: string, networkInterfaceName: string, options?: NetworkInterfacesListVirtualMachineScaleSetIpConfigurationsOptionalParams): PagedAsyncIterableIterator<NetworkInterfaceIPConfiguration, NetworkInterfaceIPConfiguration[], PageSettings>
参数
- resourceGroupName
-
string
资源组的名称。
- virtualMachineScaleSetName
-
string
虚拟机规模集的名称。
- virtualmachineIndex
-
string
虚拟机索引。
- networkInterfaceName
-
string
网络接口的名称。
返回
listVirtualMachineScaleSetNetworkInterfaces(string, string, NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesOptionalParams)
获取虚拟机规模集中的所有网络接口。
function listVirtualMachineScaleSetNetworkInterfaces(resourceGroupName: string, virtualMachineScaleSetName: string, options?: NetworkInterfacesListVirtualMachineScaleSetNetworkInterfacesOptionalParams): PagedAsyncIterableIterator<NetworkInterface, NetworkInterface[], PageSettings>
参数
- resourceGroupName
-
string
资源组的名称。
- virtualMachineScaleSetName
-
string
虚拟机规模集的名称。
返回
listVirtualMachineScaleSetVMNetworkInterfaces(string, string, string, NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesOptionalParams)
获取有关虚拟机规模集中虚拟机中的所有网络接口的信息。
function listVirtualMachineScaleSetVMNetworkInterfaces(resourceGroupName: string, virtualMachineScaleSetName: string, virtualmachineIndex: string, options?: NetworkInterfacesListVirtualMachineScaleSetVMNetworkInterfacesOptionalParams): PagedAsyncIterableIterator<NetworkInterface, NetworkInterface[], PageSettings>
参数
- resourceGroupName
-
string
资源组的名称。
- virtualMachineScaleSetName
-
string
虚拟机规模集的名称。
- virtualmachineIndex
-
string
虚拟机索引。
返回
updateTags(string, string, TagsObject, NetworkInterfacesUpdateTagsOptionalParams)
更新网络接口标记。
function updateTags(resourceGroupName: string, networkInterfaceName: string, parameters: TagsObject, options?: NetworkInterfacesUpdateTagsOptionalParams): Promise<NetworkInterface>
参数
- resourceGroupName
-
string
资源组的名称。
- networkInterfaceName
-
string
网络接口的名称。
- parameters
- TagsObject
提供用于更新网络接口标记的参数。
选项参数。
返回
Promise<NetworkInterface>