Bagikan melalui


SelfHelp.DiagnosticsCreateWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.IDiagnosticResource> DiagnosticsCreateWithResult(string scope, string diagnosticsResourceName, Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.IDiagnosticResource body, Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Runtime.SerializationMode.IncludeCreateOrUpdate);
member this.DiagnosticsCreateWithResult : string * string * Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.IDiagnosticResource * Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Runtime.ISendAsync * Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Runtime.SerializationMode -> System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Models.IDiagnosticResource>
Public Function DiagnosticsCreateWithResult (scope As String, diagnosticsResourceName As String, body As IDiagnosticResource, eventListener As IEventListener, sender As ISendAsync, Optional serializationMode As SerializationMode = Microsoft.Azure.PowerShell.Cmdlets.SelfHelp.Runtime.SerializationMode.IncludeCreateOrUpdate) As Task(Of IDiagnosticResource)

Parameters

scope
String
diagnosticsResourceName
String
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to