Share via


DeploymentOperationsExtensions.DeleteRoleInstanceByDeploymentNameAsync Method

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

Usage

'Usage
Dim operations As IDeploymentOperations
Dim serviceName As String
Dim deploymentName As String
Dim roleInstanceName As DeploymentDeleteRoleInstanceParameters
Dim returnValue As Task(Of OperationStatusResponse)

returnValue = DeploymentOperationsExtensions.DeleteRoleInstanceByDeploymentNameAsync(operations, serviceName, deploymentName, roleInstanceName)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function DeleteRoleInstanceByDeploymentNameAsync ( _
    operations As IDeploymentOperations, _
    serviceName As String, _
    deploymentName As String, _
    roleInstanceName As DeploymentDeleteRoleInstanceParameters _
) As Task(Of OperationStatusResponse)
[ExtensionAttribute] 
public static Task<OperationStatusResponse> DeleteRoleInstanceByDeploymentNameAsync (
    IDeploymentOperations operations,
    string serviceName,
    string deploymentName,
    DeploymentDeleteRoleInstanceParameters roleInstanceName
)
[ExtensionAttribute] 
public:
static Task<OperationStatusResponse^>^ DeleteRoleInstanceByDeploymentNameAsync (
    IDeploymentOperations^ operations, 
    String^ serviceName, 
    String^ deploymentName, 
    DeploymentDeleteRoleInstanceParameters^ roleInstanceName
)
/** @attribute ExtensionAttribute() */ 
public static Task<OperationStatusResponse> DeleteRoleInstanceByDeploymentNameAsync (
    IDeploymentOperations operations, 
    String serviceName, 
    String deploymentName, 
    DeploymentDeleteRoleInstanceParameters roleInstanceName
)
ExtensionAttribute 
public static function DeleteRoleInstanceByDeploymentNameAsync (
    operations : IDeploymentOperations, 
    serviceName : String, 
    deploymentName : String, 
    roleInstanceName : DeploymentDeleteRoleInstanceParameters
) : Task<OperationStatusResponse>

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

DeploymentOperationsExtensions Class
DeploymentOperationsExtensions Members
Microsoft.WindowsAzure.Management.Compute Namespace