你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IDeploymentOperations.ListEventsBySlotAsync 方法

定义

标识由于计划内维护导致在可选提供的时间范围内影响部署的重新启动事件列表。

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)

参数

serviceName
String

云服务的名称。

deploymentSlot
DeploymentSlot

部署槽位。

startTime
DateTime

表示查询开始时间的 UTC 日期时间。

endTime
DateTime

表示查询结束时间的 UTC 日期时间。

cancellationToken
CancellationToken

取消标记。

返回

标识由于计划内维护导致在可选提供的时间范围内影响部署的重新启动事件列表。

适用于