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

DeploymentOperationsExtensions.GetByNameAsync 方法

定义

按名称获取部署操作返回部署的配置信息、状态和系统属性。 (有关详细信息,请参阅 http://msdn.microsoft.com/en-us/library/windowsazure/ee460804.aspx)

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.DeploymentGetResponse> GetByNameAsync (this Microsoft.WindowsAzure.Management.Compute.IDeploymentOperations operations, string serviceName, string deploymentName);
static member GetByNameAsync : Microsoft.WindowsAzure.Management.Compute.IDeploymentOperations * string * string -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.DeploymentGetResponse>
<Extension()>
Public Function GetByNameAsync (operations As IDeploymentOperations, serviceName As String, deploymentName As String) As Task(Of DeploymentGetResponse)

参数

operations
IDeploymentOperations

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

serviceName
String

必需。 云服务的名称。

deploymentName
String

必需。 部署的名称。

返回

云服务中存在的部署。

适用于