Share via


NetworkVirtualApplianceResource.GetBootDiagnosticLogsAsync Method

Definition

Retrieves the boot diagnostic logs for a VM instance belonging to the specified Network Virtual Appliance.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/getBootDiagnosticLogs
  • Operation Id: NetworkVirtualAppliances_GetBootDiagnosticLogs
  • Default Api Version: 2024-07-01
  • Resource: NetworkVirtualApplianceResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.NetworkVirtualApplianceInstanceId>> GetBootDiagnosticLogsAsync(Azure.WaitUntil waitUntil, Azure.ResourceManager.Network.Models.NetworkVirtualApplianceBootDiagnosticContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GetBootDiagnosticLogsAsync : Azure.WaitUntil * Azure.ResourceManager.Network.Models.NetworkVirtualApplianceBootDiagnosticContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.NetworkVirtualApplianceInstanceId>>
override this.GetBootDiagnosticLogsAsync : Azure.WaitUntil * Azure.ResourceManager.Network.Models.NetworkVirtualApplianceBootDiagnosticContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.Network.Models.NetworkVirtualApplianceInstanceId>>
Public Overridable Function GetBootDiagnosticLogsAsync (waitUntil As WaitUntil, content As NetworkVirtualApplianceBootDiagnosticContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of NetworkVirtualApplianceInstanceId))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

content
NetworkVirtualApplianceBootDiagnosticContent

Parameters supplied to retrieve boot diagnostic logs for a NVA VM instance.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to