你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

NetworkInterfacesOperationsExtensions.GetCloudServiceNetworkInterface 方法

定义

获取云服务中的指定网络接口。

public static Microsoft.Azure.Management.Network.Models.NetworkInterface GetCloudServiceNetworkInterface (this Microsoft.Azure.Management.Network.INetworkInterfacesOperations operations, string resourceGroupName, string cloudServiceName, string roleInstanceName, string networkInterfaceName, string expand = default);
static member GetCloudServiceNetworkInterface : Microsoft.Azure.Management.Network.INetworkInterfacesOperations * string * string * string * string * string -> Microsoft.Azure.Management.Network.Models.NetworkInterface
<Extension()>
Public Function GetCloudServiceNetworkInterface (operations As INetworkInterfacesOperations, resourceGroupName As String, cloudServiceName As String, roleInstanceName As String, networkInterfaceName As String, Optional expand As String = Nothing) As NetworkInterface

参数

operations
INetworkInterfacesOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。

cloudServiceName
String

云服务的名称。

roleInstanceName
String

角色实例的名称。

networkInterfaceName
String

网络接口的名称。

expand
String

展开引用的资源。

返回

适用于