Udostępnij za pośrednictwem


DeploymentOperationsExtensions.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 static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.DeploymentGetResponse> GetBySlotAsync (this Microsoft.WindowsAzure.Management.Compute.IDeploymentOperations operations, string serviceName, Microsoft.WindowsAzure.Management.Compute.Models.DeploymentSlot deploymentSlot);
static member GetBySlotAsync : Microsoft.WindowsAzure.Management.Compute.IDeploymentOperations * string * Microsoft.WindowsAzure.Management.Compute.Models.DeploymentSlot -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Compute.Models.DeploymentGetResponse>
<Extension()>
Public Function GetBySlotAsync (operations As IDeploymentOperations, serviceName As String, deploymentSlot As DeploymentSlot) As Task(Of DeploymentGetResponse)

Parameters

operations
IDeploymentOperations

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

serviceName
String

Required. The name of the cloud service.

deploymentSlot
DeploymentSlot

Required. The deployment slot.

Returns

A deployment that exists in the cloud service.

Applies to