Udostępnij za pośrednictwem


IDeploymentOperations.ListEventsBySlotAsync 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> ListEventsBySlotAsync (string serviceName, Microsoft.WindowsAzure.Management.Compute.Models.DeploymentSlot deploymentSlot, DateTime startTime, DateTime endTime, System.Threading.CancellationToken cancellationToken);
abstract member ListEventsBySlotAsync : string * Microsoft.WindowsAzure.Management.Compute.Models.DeploymentSlot * DateTime * DateTime * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.DeploymentEventListResponse>
Public Function ListEventsBySlotAsync (serviceName As String, deploymentSlot As DeploymentSlot, startTime As DateTime, endTime As DateTime, cancellationToken As CancellationToken) As Task(Of DeploymentEventListResponse)

Parameters

serviceName
String

The name of the cloud service.

deploymentSlot
DeploymentSlot

The deployment slot.

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