共用方式為


IDeploymentOperations.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 System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.DeploymentGetResponse> GetByNameAsync (string serviceName, string deploymentName, System.Threading.CancellationToken cancellationToken);
abstract member GetByNameAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.DeploymentGetResponse>
Public Function GetByNameAsync (serviceName As String, deploymentName As String, cancellationToken As CancellationToken) As Task(Of DeploymentGetResponse)

Parameters

serviceName
String

The name of the cloud service.

deploymentName
String

The name of the deployment.

cancellationToken
CancellationToken

Cancellation token.

Returns

A deployment that exists in the cloud service.

Applies to