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

DeploymentOperationsExtensions.ListEventsBySlotAsync 方法

定义

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

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)

参数

operations
IDeploymentOperations

对 Microsoft.WindowsAzure.Management.Compute.IDeploymentOperations 的引用。

serviceName
String

必需。 云服务的名称。

deploymentSlot
DeploymentSlot

必需。 部署槽位。

startTime
DateTime

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

endTime
DateTime

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

返回

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

适用于