共用方式為


VirtualMachinesOperationsExtensions.RetrieveBootDiagnosticsData Method

Definition

The operation to retrieve SAS URIs for a virtual machine's boot diagnostic logs.

public static Microsoft.Azure.Management.Compute.Models.RetrieveBootDiagnosticsDataResult RetrieveBootDiagnosticsData (this Microsoft.Azure.Management.Compute.IVirtualMachinesOperations operations, string resourceGroupName, string vmName, int? sasUriExpirationTimeInMinutes = default);
static member RetrieveBootDiagnosticsData : Microsoft.Azure.Management.Compute.IVirtualMachinesOperations * string * string * Nullable<int> -> Microsoft.Azure.Management.Compute.Models.RetrieveBootDiagnosticsDataResult
<Extension()>
Public Function RetrieveBootDiagnosticsData (operations As IVirtualMachinesOperations, resourceGroupName As String, vmName As String, Optional sasUriExpirationTimeInMinutes As Nullable(Of Integer) = Nothing) As RetrieveBootDiagnosticsDataResult

Parameters

operations
IVirtualMachinesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

vmName
String

The name 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