Share via


VirtualMachineScaleSetVMsOperationsExtensions.RetrieveBootDiagnosticsData Method

Definition

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

public static Microsoft.Azure.Management.Compute.Models.RetrieveBootDiagnosticsDataResult RetrieveBootDiagnosticsData (this Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetVMsOperations operations, string resourceGroupName, string vmScaleSetName, string instanceId, int? sasUriExpirationTimeInMinutes = default);
static member RetrieveBootDiagnosticsData : Microsoft.Azure.Management.Compute.IVirtualMachineScaleSetVMsOperations * string * string * string * Nullable<int> -> Microsoft.Azure.Management.Compute.Models.RetrieveBootDiagnosticsDataResult
<Extension()>
Public Function RetrieveBootDiagnosticsData (operations As IVirtualMachineScaleSetVMsOperations, resourceGroupName As String, vmScaleSetName As String, instanceId As String, Optional sasUriExpirationTimeInMinutes As Nullable(Of Integer) = Nothing) As 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.

Returns

Applies to