Dela via


DeploymentOperationsExtensions.ListEventsBySlotAsync Method

Definition

Identifies the list of reboot events due to planned maintenance that impacted a deployment in the optionally provided timeframe.

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.DeploymentEventListResponse> ListEventsBySlotAsync (this Microsoft.WindowsAzure.Management.Compute.IDeploymentOperations operations, string serviceName, Microsoft.WindowsAzure.Management.Compute.Models.DeploymentSlot deploymentSlot, DateTime startTime, DateTime endTime);
static member ListEventsBySlotAsync : Microsoft.WindowsAzure.Management.Compute.IDeploymentOperations * string * Microsoft.WindowsAzure.Management.Compute.Models.DeploymentSlot * DateTime * DateTime -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.DeploymentEventListResponse>
<Extension()>
Public Function ListEventsBySlotAsync (operations As IDeploymentOperations, serviceName As String, deploymentSlot As DeploymentSlot, startTime As DateTime, endTime As DateTime) As Task(Of DeploymentEventListResponse)

Parameters

operations
IDeploymentOperations

Reference to the Microsoft.WindowsAzure.Management.Compute.IDeploymentOperations.

serviceName
String

Required. The name of the cloud service.

deploymentSlot
DeploymentSlot

Required. The deployment slot.

startTime
DateTime

Required. Datetime in UTC representing the start time of the query.

endTime
DateTime

Required. Datetime in UTC representing the end time of the query.

Returns

Identifies the list of reboot events due to planned maintenance that impacted a deployment in the optionally provided timeframe.

Applies to