次の方法で共有


NetworkSecurityGroupOperationsExtensions.GetForRoleAsync メソッド

定義

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

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

パラメーター

operations
INetworkSecurityGroupOperations

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

serviceName
String

必須。

deploymentName
String

必須。

roleName
String

必須。

戻り値

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

適用対象