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

DeploymentOperationsExtensions.ListEventsAsync 方法

定义

标识由于计划内维护而导致的重启事件列表,这些事件会影响可选的时间范围内部署。

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)

参数

operations
IDeploymentOperations

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

serviceName
String

必需。 云服务的名称。

deploymentName
String

必需。 部署的名称。

startTime
DateTime

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

endTime
DateTime

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

返回

标识由于计划内维护而导致的重启事件列表,这些事件会影响可选的时间范围内部署。

适用于