次の方法で共有


NetworkSecurityGroupOperationsExtensions.GetForNetworkInterface メソッド

定義

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

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

パラメーター

operations
INetworkSecurityGroupOperations

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

serviceName
String

必須。

deploymentName
String

必須。

roleName
String

必須。

networkInterfaceName
String

必須。

戻り値

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

適用対象