Udostępnij za pośrednictwem


IDeploymentOperations.ListEventsAsync Method

Definition

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

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.DeploymentEventListResponse> ListEventsAsync (string serviceName, string deploymentName, DateTime startTime, DateTime endTime, System.Threading.CancellationToken cancellationToken);
abstract member ListEventsAsync : string * string * DateTime * DateTime * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.DeploymentEventListResponse>
Public Function ListEventsAsync (serviceName As String, deploymentName As String, startTime As DateTime, endTime As DateTime, cancellationToken As CancellationToken) As Task(Of DeploymentEventListResponse)

Parameters

serviceName
String

The name of the cloud service.

deploymentName
String

The name of the deployment.

startTime
DateTime

Datetime in UTC representing the start time of the query.

endTime
DateTime

Datetime in UTC representing the end time of the query.

cancellationToken
CancellationToken

Cancellation token.

Returns

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

Applies to