Dela via


DeploymentOperationsExtensions.BeginDeletingRoleInstanceByBeploymentSlotAsync 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> BeginDeletingRoleInstanceByBeploymentSlotAsync (this Microsoft.WindowsAzure.Management.Compute.IDeploymentOperations operations, string serviceName, string deploymentSlot, Microsoft.WindowsAzure.Management.Compute.Models.DeploymentDeleteRoleInstanceParameters parameters);
static member BeginDeletingRoleInstanceByBeploymentSlotAsync : Microsoft.WindowsAzure.Management.Compute.IDeploymentOperations * string * string * Microsoft.WindowsAzure.Management.Compute.Models.DeploymentDeleteRoleInstanceParameters -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function BeginDeletingRoleInstanceByBeploymentSlotAsync (operations As IDeploymentOperations, serviceName As String, deploymentSlot 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.

deploymentSlot
String

Required. The name of the deployment slot.

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