VirtualMachineScaleSetVMsOperationsExtensions.RetrieveBootDiagnosticsData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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
Azure SDK for .NET