共用方式為


IDeploymentOperations.GetBySlotAsync Method

Definition

The Get Deployment By Slot 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> GetBySlotAsync (string serviceName, Microsoft.WindowsAzure.Management.Compute.Models.DeploymentSlot deploymentSlot, System.Threading.CancellationToken cancellationToken);
abstract member GetBySlotAsync : string * Microsoft.WindowsAzure.Management.Compute.Models.DeploymentSlot * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.DeploymentGetResponse>
Public Function GetBySlotAsync (serviceName As String, deploymentSlot As DeploymentSlot, cancellationToken As CancellationToken) As Task(Of DeploymentGetResponse)

Parameters

serviceName
String

The name of the cloud service.

deploymentSlot
DeploymentSlot

The deployment slot.

cancellationToken
CancellationToken

Cancellation token.

Returns

A deployment that exists in the cloud service.

Applies to