Dela via


DeploymentOperationsExtensions.ListEventsAsync 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> ListEventsAsync (this Microsoft.WindowsAzure.Management.Compute.IDeploymentOperations operations, string serviceName, string deploymentName, DateTime startTime, DateTime endTime);
static member ListEventsAsync : Microsoft.WindowsAzure.Management.Compute.IDeploymentOperations * string * string * DateTime * DateTime -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.DeploymentEventListResponse>
<Extension()>
Public Function ListEventsAsync (operations As IDeploymentOperations, serviceName As String, deploymentName As String, 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.

deploymentName
String

Required. The name of the deployment.

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