Aracılığıyla paylaş


VirtualMachineScaleSetVMsOperationsExtensions.RetrieveBootDiagnosticsDataAsync Method

Definition

The operation to retrieve SAS URIs of boot diagnostic logs for a virtual machine in a VM scale set.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.RetrieveBootDiagnosticsDataResult> RetrieveBootDiagnosticsDataAsync (this Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetVMsOperations operations, string resourceGroupName, string vmScaleSetName, string instanceId, int? sasUriExpirationTimeInMinutes = default, System.Threading.CancellationToken cancellationToken = default);
static member RetrieveBootDiagnosticsDataAsync : Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetVMsOperations * string * string * string * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.RetrieveBootDiagnosticsDataResult>
<Extension()>
Public Function RetrieveBootDiagnosticsDataAsync (operations As IVirtualMachineScaleSetVMsOperations, resourceGroupName As String, vmScaleSetName As String, instanceId As String, Optional sasUriExpirationTimeInMinutes As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RetrieveBootDiagnosticsDataResult)

Parameters

operations
IVirtualMachineScaleSetVMsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

vmScaleSetName
String

The name of the VM scale set.

instanceId
String

The instance ID of the virtual machine.

sasUriExpirationTimeInMinutes
Nullable<Int32>

Expiration duration in minutes for the SAS URIs with a value between 1 to 1440 minutes. Note: If not specified, SAS URIs will be generated with a default expiration duration of 120 minutes.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to