GatewayOperationsExtensions.StopDiagnosticsAsync 方法 (IGatewayOperations, String, StopGatewayPublicDiagnosticsParameters)
停止诊断操作开始到指定的虚拟网络网关在 Azure 中的 stopa 诊断会话的异步操作。 (请参阅 https://msdn.microsoft.com/en-us/library/windowsazure/jj154119.aspx 有关详细信息)
命名空间: Microsoft.WindowsAzure.Management.Network
程序集: Microsoft.WindowsAzure.Management.Network(Microsoft.WindowsAzure.Management.Network.dll 中)
语法
public static Task<GatewayOperationResponse> StopDiagnosticsAsync(
this IGatewayOperations operations,
string networkName,
StopGatewayPublicDiagnosticsParameters parameters
)
public:
[ExtensionAttribute]
static Task<GatewayOperationResponse^>^ StopDiagnosticsAsync(
IGatewayOperations^ operations,
String^ networkName,
StopGatewayPublicDiagnosticsParameters^ parameters
)
static member StopDiagnosticsAsync :
operations:IGatewayOperations *
networkName:string *
parameters:StopGatewayPublicDiagnosticsParameters -> Task<GatewayOperationResponse>
<ExtensionAttribute>
Public Shared Function StopDiagnosticsAsync (
operations As IGatewayOperations,
networkName As String,
parameters As StopGatewayPublicDiagnosticsParameters
) As Task(Of GatewayOperationResponse)
参数
operations
Type: Microsoft.WindowsAzure.Management.Network.IGatewayOperations对 Microsoft.WindowsAzure.Management.Network.IGatewayOperations 引用。
networkName
Type: System.String必需。 此网关的虚拟网络的的名称。
parameters
Type: Microsoft.WindowsAzure.Management.Network.Models.StopGatewayPublicDiagnosticsParameters必需。 提供给停止诊断操作的参数。
返回值
Type: System.Threading.Tasks.Task<GatewayOperationResponse>
标准服务响应,包括 HTTP 状态代码和请求 ID。
请参阅
GatewayOperationsExtensions 类
Microsoft.WindowsAzure.Management.Network 命名空间
返回页首