次の方法で共有


NetworkSecurityGroupOperationsExtensions.GetForRole メソッド

定義

特定のロールに適用されたネットワーク セキュリティ グループを取得します。

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

パラメーター

operations
INetworkSecurityGroupOperations

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

serviceName
String

必須です。

deploymentName
String

必須です。

roleName
String

必須です。

戻り値

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

適用対象