/// <summary>
 ///     Wait for role to respond
 /// </summary>
 /// <param name="role"></param>
 /// <param name="timeoutInMilliSeconds"></param>
 /// <returns></returns>
 public bool WaitForRoleToRespond(DeploymentInfo role, int timeoutInMilliSeconds = 900000)
 {
     return WaitForRoleToRespond(role.Deployment.Uri.ToString(), timeoutInMilliSeconds);
 }
Esempio n. 2
0
 /// <summary>
 ///     Wait for role to respond
 /// </summary>
 /// <param name="role"></param>
 /// <param name="timeoutInMilliSeconds"></param>
 /// <returns></returns>
 public bool WaitForRoleToRespond(DeploymentInfo role, int timeoutInMilliSeconds = 900000)
 {
     return(WaitForRoleToRespond(role.Deployment.Uri.ToString(), timeoutInMilliSeconds));
 }
 /// <summary>
 ///     Delete worker role
 /// </summary>
 /// <param name="role"></param>
 public void DeleteRole(DeploymentInfo role)
 {
     // blob and container will be deleted later when portal is disposed
     DeleteDeployment(role.HostedService, role.Deployment.Name);
 }
Esempio n. 4
0
 /// <summary>
 ///     Delete worker role
 /// </summary>
 /// <param name="role"></param>
 public void DeleteRole(DeploymentInfo role)
 {
     // blob and container will be deleted later when portal is disposed
     DeleteDeployment(role.HostedService, role.Deployment.Name);
 }