DeploymentOperationsExtensions.GetByNameAsync 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 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
Azure SDK for .NET