/// <summary> /// Check service health status /// </summary> /// <remarks> /// The services resource is the top-level resource that represents the /// Database Migration Service. This action performs a health check and returns /// the status of the service and virtual machine size. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='groupName'> /// Name of the resource group /// </param> /// <param name='serviceName'> /// Name of the service /// </param> public static DataMigrationServiceStatusResponse CheckStatus(this IServicesOperations operations, string groupName, string serviceName) { return(operations.CheckStatusAsync(groupName, serviceName).GetAwaiter().GetResult()); }