次の方法で共有


NetworkSecurityGroupOperationsExtensions.GetForNetworkInterfaceAsync メソッド

定義

特定のネットワーク インターフェイスに適用されるネットワーク セキュリティ グループを取得します。

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.NetworkSecurityGroupGetAssociationResponse> GetForNetworkInterfaceAsync (this Microsoft.WindowsAzure.Management.Network.INetworkSecurityGroupOperations operations, string serviceName, string deploymentName, string roleName, string networkInterfaceName);
static member GetForNetworkInterfaceAsync : Microsoft.WindowsAzure.Management.Network.INetworkSecurityGroupOperations * string * string * string * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Network.Models.NetworkSecurityGroupGetAssociationResponse>
<Extension()>
Public Function GetForNetworkInterfaceAsync (operations As INetworkSecurityGroupOperations, serviceName As String, deploymentName As String, roleName As String, networkInterfaceName As String) As Task(Of NetworkSecurityGroupGetAssociationResponse)

パラメーター

operations
INetworkSecurityGroupOperations

Microsoft.WindowsAzure.Management.Network.INetworkSecurityGroupOperations への参照。

serviceName
String

必須。

deploymentName
String

必須。

roleName
String

必須。

networkInterfaceName
String

必須。

戻り値

エンティティ (サブネット、ネットワーク インターフェイス、またはロール) に関連付けられているネットワーク セキュリティ グループ。

適用対象