Dela via


DeploymentOperationsExtensions.GetByNameAsync Method

Definition

The Get Deployment By Name operation returns configuration information, status, and system properties for a deployment. (see http://msdn.microsoft.com/en-us/library/windowsazure/ee460804.aspx for more information)

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)

Parameters

operations
IDeploymentOperations

Reference to the Microsoft.WindowsAzure.Management.Compute.IDeploymentOperations.

serviceName
String

Required. The name of the cloud service.

deploymentName
String

Required. The name of the deployment.

Returns

A deployment that exists in the cloud service.

Applies to