Share via


IDeploymentOperations.GetByNameAsync Method (String, String, CancellationToken)

 

Asynchronously returns configuration information, status, and system properties for a deployment.

Namespace:   Microsoft.WindowsAzure.Management.Compute
Assembly:  Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

Syntax

Task<DeploymentGetResponse> GetByNameAsync(
    string serviceName,
    string deploymentName,
    CancellationToken cancellationToken
)
Task<DeploymentGetResponse^>^ GetByNameAsync(
    String^ serviceName,
    String^ deploymentName,
    CancellationToken cancellationToken
)
abstract GetByNameAsync : 
        serviceName:string *
        deploymentName:string *
        cancellationToken:CancellationToken -> Task<DeploymentGetResponse>
Function GetByNameAsync (
    serviceName As String,
    deploymentName As String,
    cancellationToken As CancellationToken
) As Task(Of DeploymentGetResponse)

Parameters

  • serviceName
    Type: System.String

    The name of the cloud service that contains the deployment.

  • deploymentName
    Type: System.String

    The name of the deployment for which information should be retrieved.

Return Value

Type: System.Threading.Tasks.Task<DeploymentGetResponse>

An DeploymentGetResponse object that contains the information about the deployment.

Remarks

For more information about getting deployment information, see the following resources:

See Also

IDeploymentOperations Interface
Microsoft.WindowsAzure.Management.Compute Namespace

Return to top