Udostępnij za pośrednictwem


DeploymentOperationsExtensions.BeginDeletingRoleInstanceByDeploymentNameAsync Method

Definition

The Delete Role Instances operation deletes a role instance from a deployment in a cloud service. (see http://msdn.microsoft.com/en-us/library/windowsazure/dn469418.aspx for more information)

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> BeginDeletingRoleInstanceByDeploymentNameAsync (this Microsoft.WindowsAzure.Management.Compute.IDeploymentOperations operations, string serviceName, string deploymentName, Microsoft.WindowsAzure.Management.Compute.Models.DeploymentDeleteRoleInstanceParameters parameters);
static member BeginDeletingRoleInstanceByDeploymentNameAsync : Microsoft.WindowsAzure.Management.Compute.IDeploymentOperations * string * string * Microsoft.WindowsAzure.Management.Compute.Models.DeploymentDeleteRoleInstanceParameters -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function BeginDeletingRoleInstanceByDeploymentNameAsync (operations As IDeploymentOperations, serviceName As String, deploymentName As String, parameters As DeploymentDeleteRoleInstanceParameters) As Task(Of AzureOperationResponse)

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.

parameters
DeploymentDeleteRoleInstanceParameters

Required. The parameters to delete the role.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

A standard service response including an HTTP status code and request ID.

Applies to