DeploymentOperationsExtensions.GetByNameAsync Method (IDeploymentOperations, String, String)
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
public static Task<DeploymentGetResponse> GetByNameAsync(
this IDeploymentOperations operations,
string serviceName,
string deploymentName
)
public:
[ExtensionAttribute]
static Task<DeploymentGetResponse^>^ GetByNameAsync(
IDeploymentOperations^ operations,
String^ serviceName,
String^ deploymentName
)
static member GetByNameAsync :
operations:IDeploymentOperations *
serviceName:string *
deploymentName:string -> Task<DeploymentGetResponse>
<ExtensionAttribute>
Public Shared Function GetByNameAsync (
operations As IDeploymentOperations,
serviceName As String,
deploymentName As String
) As Task(Of DeploymentGetResponse)
Parameters
operations
Type: Microsoft.WindowsAzure.Management.Compute.IDeploymentOperationsThe IDeploymentOperations object that specifies the deployment operations.
serviceName
Type: System.StringThe name of the cloud service that contains the deployment.
deploymentName
Type: System.StringThe 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
DeploymentOperationsExtensions Class
Microsoft.WindowsAzure.Management.Compute Namespace
Return to top