IDeploymentOperations.GetBySlotAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET